From unknown Mon Aug 18 02:05:28 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#25634 <25634@debbugs.gnu.org> To: bug#25634 <25634@debbugs.gnu.org> Subject: Status: 'guix environment mpv' fails to handle '/gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-1.9.5' file (not-a-dir) Reply-To: bug#25634 <25634@debbugs.gnu.org> Date: Mon, 18 Aug 2025 09:05:28 +0000 retitle 25634 'guix environment mpv' fails to handle '/gnu/store/i1139n4ab0= fn9v4bwkvqzp6sw3w66mqr-python-waf-1.9.5' file (not-a-dir) reassign 25634 guix submitter 25634 Sergei Trofimovich severity 25634 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 06 11:35:23 2017 Received: (at submit) by debbugs.gnu.org; 6 Feb 2017 16:35:23 +0000 Received: from localhost ([127.0.0.1]:57989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1camGA-0008Vu-JN for submit@debbugs.gnu.org; Mon, 06 Feb 2017 11:35:23 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cafRH-00052z-1m for submit@debbugs.gnu.org; Mon, 06 Feb 2017 04:18:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cafRB-0004sm-20 for submit@debbugs.gnu.org; Mon, 06 Feb 2017 04:18:17 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50680) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cafRA-0004si-V9 for submit@debbugs.gnu.org; Mon, 06 Feb 2017 04:18:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cafR9-0006hM-Ge for bug-guix@gnu.org; Mon, 06 Feb 2017 04:18:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cafR4-0004qg-GD for bug-guix@gnu.org; Mon, 06 Feb 2017 04:18:15 -0500 Received: from smtp33.i.mail.ru ([94.100.177.93]:46590) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cafR4-0004pq-3x for bug-guix@gnu.org; Mon, 06 Feb 2017 04:18:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=inbox.ru; s=mail; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=4MHwl7rmUZ/Cbf3fL35MM7EL5Im0H9rF4yXB9vG+SBE=; b=Wy3Aj1gB3q5udjrXnDFTlRj49F/ZPNUKxRP6/W2wyxaILLqpPIj6zkzV5WI96Gtt+ePMji6eiPUZBpq1IbC/btIVuFjmpxUAhKfdJJEJchig5w7xlyST3gShAJr8MYLrq5HkxzEfacdRvMn8qh0m0Dso0cyKb9nIZhtB1dkxw64=; Received: from host86-155-194-87.range86-155.btcentralplus.com ([86.155.194.87]:44298 helo=sf) by smtp33.i.mail.ru with esmtpa (envelope-from ) id 1cafQz-0002Lr-Po for bug-guix@gnu.org; Mon, 06 Feb 2017 12:18:06 +0300 Date: Mon, 6 Feb 2017 09:18:03 +0000 From: Sergei Trofimovich To: bug-guix@gnu.org Subject: 'guix environment mpv' fails to handle '/gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-1.9.5' file (not-a-dir) Message-ID: <20170206091803.1fb17326@sf> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/nzn91YU7BPW+O08fzOc7Swr"; protocol="application/pgp-signature" Authentication-Results: smtp33.i.mail.ru; auth=pass smtp.auth=slyfox@inbox.ru smtp.mailfrom=slyfox@inbox.ru X-E1FCDC63: 6EE452D55EC392CCE15A11266EA35CAE51CE0648C9E8651D X-E1FCDC64: 58E2337679C69383CF66E83B05AFF60E43FC33CB8C4F6EB61F449915C055AADB X-Mailru-Sender: E88416E66AC30BB722D265769DBCCA9D678ED5DABFDE4CC41005C4D8DA5F8BE5776870A2D4DBF31FC5C7FD16981B76AE X-Mras: OK X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 06 Feb 2017 11:35:21 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --Sig_/nzn91YU7BPW+O08fzOc7Swr Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable It looks like 'guix environment' does not handles derivations-as-files. I don't know if it's a bug in the package or 'guix environment': $ ls -l /gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-1.9.5 -r-xr-xr-x 2 root root 99280 Jan 1 1970 /gnu/store/i1139n4ab0fn9v4bwkvqzp= 6sw3w66mqr-python-waf-1.9.5 $ ./pre-inst-env guix environment mpv The following derivation will be built: /gnu/store/b5ph69m9z0qgwkf1w1p39r3wyab6x4hi-profile.drv Backtrace: In ice-9/boot-9.scm: 160: 14 [catch #t # ...] In unknown file: ?: 13 [apply-smob/1 #] In ice-9/boot-9.scm: 66: 12 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 11 [eval # #] In ice-9/boot-9.scm: 2404: 10 [save-module-excursion #] 4056: 9 [#] 1727: 8 [%start-stack load-stack #] 1732: 7 [#] In unknown file: ?: 6 [primitive-load "/gnu/store/yax60hx75hyarsfpraplhhfhkaqs30ia-profil= e-builder"] In ./guix/build/profiles.scm: 133: 5 [build-profile "/gnu/store/dd9fznm75rdjkdhb4zqz67lvr8d1ya5d-profile= " # ...] In ./guix/build/union.scm: 136: 4 [union-of-directories "/gnu/store/dd9fznm75rdjkdhb4zqz67lvr8d1ya5d-= profile" ...] In srfi/srfi-1.scm: 613: 3 [for-each # #] In ./guix/build/union.scm: 138: 2 [# "/gnu/s= tore/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-1.9.5"] 37: 1 [files-in-directory "/gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-py= thon-waf-1.9.5"] In unknown file: ?: 0 [opendir "/gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-1.= 9.5"] ERROR: In procedure opendir: ERROR: In procedure opendir: Not a directory builder for `/gnu/store/b5ph69m9z0qgwkf1w1p39r3wyab6x4hi-profile.drv' faile= d with exit code 1 guix environment: error: build failed: build of `/gnu/store/b5ph69m9z0qgwkf= 1w1p39r3wyab6x4hi-profile.drv' failed --=20 Sergei --Sig_/nzn91YU7BPW+O08fzOc7Swr Content-Type: application/pgp-signature Content-Description: Цифровая подпись OpenPGP -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAliYP0sACgkQcaHudmEf86pKCgCaAxMPP6tEkiJ6Cc+KhPBqDkm3 Jr8An1qkmtX9sSewuKgkR5ud5q2VMfJ1 =wsbB -----END PGP SIGNATURE----- --Sig_/nzn91YU7BPW+O08fzOc7Swr-- From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 07 09:08:38 2017 Received: (at 25634) by debbugs.gnu.org; 7 Feb 2017 14:08:38 +0000 Received: from localhost ([127.0.0.1]:58479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cb6Ri-0008FU-0q for submit@debbugs.gnu.org; Tue, 07 Feb 2017 09:08:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cb6Rg-0008FC-3C for 25634@debbugs.gnu.org; Tue, 07 Feb 2017 09:08:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cb6RX-0000Rf-JT for 25634@debbugs.gnu.org; Tue, 07 Feb 2017 09:08:30 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cb6RG-0000K9-OB; Tue, 07 Feb 2017 09:08:10 -0500 Received: from [193.50.110.68] (port=39450 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cb6RG-0005Vk-12; Tue, 07 Feb 2017 09:08:10 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Sergei Trofimovich Subject: Re: bug#25634: 'guix environment mpv' fails to handle '/gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-1.9.5' file (not-a-dir) References: <20170206091803.1fb17326@sf> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 19 =?utf-8?Q?Pluvi=C3=B4se?= an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Tue, 07 Feb 2017 15:08:06 +0100 In-Reply-To: <20170206091803.1fb17326@sf> (Sergei Trofimovich's message of "Mon, 6 Feb 2017 09:18:03 +0000") Message-ID: <87y3xiaybd.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 25634 Cc: iyzsong@openmailbox.org, 25634@debbugs.gnu.org, Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi, Sergei Trofimovich skribis: > It looks like 'guix environment' does not handles derivations-as-files. > I don't know if it's a bug in the package or 'guix environment': > > $ ls -l /gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-1.9.5 > -r-xr-xr-x 2 root root 99280 Jan 1 1970 /gnu/store/i1139n4ab0fn9v4bwkvq= zp6sw3w66mqr-python-waf-1.9.5 > > $ ./pre-inst-env guix environment mpv > The following derivation will be built: > /gnu/store/b5ph69m9z0qgwkf1w1p39r3wyab6x4hi-profile.drv > Backtrace: > In ice-9/boot-9.scm: > 160: 14 [catch #t # ...] > In unknown file: > ?: 13 [apply-smob/1 #] > In ice-9/boot-9.scm: > 66: 12 [call-with-prompt prompt0 ...] > In ice-9/eval.scm: > 432: 11 [eval # #] > In ice-9/boot-9.scm: > 2404: 10 [save-module-excursion #] > 4056: 9 [#] > 1727: 8 [%start-stack load-stack #] > 1732: 7 [#] > In unknown file: > ?: 6 [primitive-load "/gnu/store/yax60hx75hyarsfpraplhhfhkaqs30ia-prof= ile-builder"] > In ./guix/build/profiles.scm: > 133: 5 [build-profile "/gnu/store/dd9fznm75rdjkdhb4zqz67lvr8d1ya5d-profi= le" # ...] > In ./guix/build/union.scm: > 136: 4 [union-of-directories "/gnu/store/dd9fznm75rdjkdhb4zqz67lvr8d1ya5= d-profile" ...] > In srfi/srfi-1.scm: > 613: 3 [for-each # #] > In ./guix/build/union.scm: > 138: 2 [# "/gnu= /store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-1.9.5"] > 37: 1 [files-in-directory "/gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-= python-waf-1.9.5"] > In unknown file: > ?: 0 [opendir "/gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-= 1.9.5"] > > ERROR: In procedure opendir: > ERROR: In procedure opendir: Not a directory I think you=E2=80=99re right: there are 2 bugs here. :-) Packages should definitely produce a directory, not a flat file. In this case, the package should be a directory containing =E2=80=98bin/waf=E2= =80=99 I think. =E5=AE=8B=E6=96=87=E6=AD=A6 & Efraim, WDYT? The second thing is a bug in =E2=80=98guix environment=E2=80=99. It should= not manifest itself normally, but it=E2=80=99s worth fixing. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 07 09:18:23 2017 Received: (at 25634) by debbugs.gnu.org; 7 Feb 2017 14:18:24 +0000 Received: from localhost ([127.0.0.1]:58497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cb6b9-0008VB-MA for submit@debbugs.gnu.org; Tue, 07 Feb 2017 09:18:23 -0500 Received: from flashner.co.il ([178.62.234.194]:33803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cb6b8-0008Uy-1k for 25634@debbugs.gnu.org; Tue, 07 Feb 2017 09:18:22 -0500 Received: from [192.168.1.11] (85.64.232.168.dynamic.barak-online.net [85.64.232.168]) by flashner.co.il (Postfix) with ESMTPSA id B38A54005F; Tue, 7 Feb 2017 14:18:15 +0000 (UTC) Date: Tue, 07 Feb 2017 14:18:14 +0000 User-Agent: K-9 Mail for Android In-Reply-To: <87y3xiaybd.fsf@gnu.org> References: <20170206091803.1fb17326@sf> <87y3xiaybd.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: bug#25634: 'guix environment mpv' fails to handle '/gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-1.9.5' file (not-a-dir) To: ludo@gnu.org,Sergei Trofimovich From: Efraim Flashner Message-ID: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 25634 Cc: iyzsong@openmailbox.org, 25634@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On February 7, 2017 4:08:06 PM GMT+02:00, ludo@gnu=2Eorg wrote: >Hi, > >Sergei Trofimovich skribis: > >> It looks like 'guix environment' does not handles >derivations-as-files=2E >> I don't know if it's a bug in the package or 'guix environment': >> >> $ ls -l /gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-1=2E9=2E= 5 >> -r-xr-xr-x 2 root root 99280 Jan 1 1970 >/gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-1=2E9=2E5 >> >> $ =2E/pre-inst-env guix environment mpv >> The following derivation will be built: >> /gnu/store/b5ph69m9z0qgwkf1w1p39r3wyab6x4hi-profile=2Edrv >> Backtrace: >> In ice-9/boot-9=2Escm: >> 160: 14 [catch #t # =2E=2E=2E] >> In unknown file: >> ?: 13 [apply-smob/1 #] >> In ice-9/boot-9=2Escm: >> 66: 12 [call-with-prompt prompt0 =2E=2E=2E] >> In ice-9/eval=2Escm: >> 432: 11 [eval # #] >> In ice-9/boot-9=2Escm: >> 2404: 10 [save-module-excursion #ice-9/boot-9=2Escm:4051:3 ()>] >> 4056: 9 [#] >> 1727: 8 [%start-stack load-stack #ice-9/boot-9=2Escm:4047:10 ()>] >> 1732: 7 [#] >> In unknown file: >> ?: 6 [primitive-load >"/gnu/store/yax60hx75hyarsfpraplhhfhkaqs30ia-profile-builder"] >> In =2E/guix/build/profiles=2Escm: >> 133: 5 [build-profile >"/gnu/store/dd9fznm75rdjkdhb4zqz67lvr8d1ya5d-profile" # =2E=2E=2E] >> In =2E/guix/build/union=2Escm: >> 136: 4 [union-of-directories >"/gnu/store/dd9fznm75rdjkdhb4zqz67lvr8d1ya5d-profile" =2E=2E=2E] >> In srfi/srfi-1=2Escm: >> 613: 3 [for-each #(dir)> #] >> In =2E/guix/build/union=2Escm: >> 138: 2 [# >"/gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-1=2E9=2E5"] >> 37: 1 [files-in-directory >"/gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-1=2E9=2E5"] >> In unknown file: >> ?: 0 [opendir >"/gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-1=2E9=2E5"] >> >> ERROR: In procedure opendir: >> ERROR: In procedure opendir: Not a directory > >I think you=E2=80=99re right: there are 2 bugs here=2E :-) > >Packages should definitely produce a directory, not a flat file=2E In >this case, the package should be a directory containing =E2=80=98bin/waf= =E2=80=99 I >think=2E =E5=AE=8B=E6=96=87=E6=AD=A6 & Efraim, WDYT? > I dont feel strongly about it, but it would be more consistent if it were = inside a bin directory=2E We'd have to change the few places that we call w= af and substitute the one we have packaged=2E >The second thing is a bug in =E2=80=98guix environment=E2=80=99=2E It sh= ould not >manifest >itself normally, but it=E2=80=99s worth fixing=2E > >Thanks, >Ludo=E2=80=99=2E --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 21 08:22:21 2018 Received: (at 25634-done) by debbugs.gnu.org; 21 Nov 2018 13:22:21 +0000 Received: from localhost ([127.0.0.1]:37948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPSST-0006up-GF for submit@debbugs.gnu.org; Wed, 21 Nov 2018 08:22:21 -0500 Received: from flashner.co.il ([178.62.234.194]:46096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPSSS-0006ud-3j for 25634-done@debbugs.gnu.org; Wed, 21 Nov 2018 08:22:20 -0500 Received: from localhost (unknown [5.102.239.133]) by flashner.co.il (Postfix) with ESMTPSA id 2B45B401E8; Wed, 21 Nov 2018 13:22:14 +0000 (UTC) Date: Wed, 21 Nov 2018 15:22:13 +0200 From: Efraim Flashner To: ludo@gnu.org, Sergei Trofimovich Subject: Re: bug#25634: 'guix environment mpv' fails to handle '/gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-1.9.5' file (not-a-dir) Message-ID: <20181121132213.GF28778@macbook41> References: <20170206091803.1fb17326@sf> <87y3xiaybd.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hK8Uo4Yp55NZU70L" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 25634-done Cc: iyzsong@openmailbox.org, 25634-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --hK8Uo4Yp55NZU70L Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 07, 2017 at 02:18:14PM +0000, Efraim Flashner wrote: >=20 >=20 > On February 7, 2017 4:08:06 PM GMT+02:00, ludo@gnu.org wrote: > >Hi, > > > >Sergei Trofimovich skribis: > > > >> It looks like 'guix environment' does not handles > >derivations-as-files. > >> I don't know if it's a bug in the package or 'guix environment': > >> > >> $ ls -l /gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-1.9.5 > >> -r-xr-xr-x 2 root root 99280 Jan 1 1970 > >/gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-1.9.5 > >> > >> $ ./pre-inst-env guix environment mpv > >> The following derivation will be built: > >> /gnu/store/b5ph69m9z0qgwkf1w1p39r3wyab6x4hi-profile.drv > >> Backtrace: > >> In ice-9/boot-9.scm: > >> 160: 14 [catch #t # ...] > >> In unknown file: > >> ?: 13 [apply-smob/1 #] > >> In ice-9/boot-9.scm: > >> 66: 12 [call-with-prompt prompt0 ...] > >> In ice-9/eval.scm: > >> 432: 11 [eval # #] > >> In ice-9/boot-9.scm: > >> 2404: 10 [save-module-excursion # >ice-9/boot-9.scm:4051:3 ()>] > >> 4056: 9 [#] > >> 1727: 8 [%start-stack load-stack # >ice-9/boot-9.scm:4047:10 ()>] > >> 1732: 7 [#] > >> In unknown file: > >> ?: 6 [primitive-load > >"/gnu/store/yax60hx75hyarsfpraplhhfhkaqs30ia-profile-builder"] > >> In ./guix/build/profiles.scm: > >> 133: 5 [build-profile > >"/gnu/store/dd9fznm75rdjkdhb4zqz67lvr8d1ya5d-profile" # ...] > >> In ./guix/build/union.scm: > >> 136: 4 [union-of-directories > >"/gnu/store/dd9fznm75rdjkdhb4zqz67lvr8d1ya5d-profile" ...] > >> In srfi/srfi-1.scm: > >> 613: 3 [for-each # >(dir)> #] > >> In ./guix/build/union.scm: > >> 138: 2 [# > >"/gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-1.9.5"] > >> 37: 1 [files-in-directory > >"/gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-1.9.5"] > >> In unknown file: > >> ?: 0 [opendir > >"/gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-1.9.5"] > >> > >> ERROR: In procedure opendir: > >> ERROR: In procedure opendir: Not a directory > > > >I think you=E2=80=99re right: there are 2 bugs here. :-) > > > >Packages should definitely produce a directory, not a flat file. In > >this case, the package should be a directory containing =E2=80=98bin/waf= =E2=80=99 I > >think. =E5=AE=8B=E6=96=87=E6=AD=A6 & Efraim, WDYT? > > >=20 > I dont feel strongly about it, but it would be more consistent if it were= inside a bin directory. We'd have to change the few places that we call wa= f and substitute the one we have packaged. >=20 > >The second thing is a bug in =E2=80=98guix environment=E2=80=99. It sho= uld not > >manifest > >itself normally, but it=E2=80=99s worth fixing. > > > >Thanks, > >Ludo=E2=80=99. >=20 Only took 21 months but 'guix environment mpv' now works. Fix pushed in a2aa746cfe38076b87d9cde2252904c0bddd9f9e. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --hK8Uo4Yp55NZU70L Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlv1XAQACgkQQarn3Mo9 g1EwOQ/5AZEwtRHze1oqxhCjZbrsucrMtuzOkPd+XnGHt6aAIEpamPlneF2R1ho7 vbrmF5zOrc7FgkXrudK4KF03X3zAcm4pqGDSq8TpxZ0DGuS54D8ozEYSDkArkbIQ G3K2Q93f05GzMFqQmX8Hy9QUPNN4vgu1qbdx//x52N84PQfUrPIe9tMKyyNqOH8l bCnU/PA8aD3cVAwOakDmYjvvgyDm4812LY1uFK1N+WWgdnVfrXcMSKvh0k8QjGPF DMyhzEtVu0eQ8sSM6WhpD+tLsW+BHgjAx+m0A06XK91NTjT/HlCSHdOX4nfSHJKz DtIvm3gXbnNB7Z600QoCy7xf8ZcbSjgr79Zk7BrZAUDYcQ6JRaGhcVy2SMUhHb/u Dlabf2uLpTKCU+CUzkL5NXKxQKW7sNNK02i4Nee0TRfQpw+pbpFlA01JFhIyjo/b w7eXuUpZ81CGlSsa8AB0vA+DdWmGewyqWXbSTYw1BzSsRPIhIpSBOfBxsrmjrs1b LLoCOzEe12mkZL+AcjS2UvKynozav9lMIC30GF0Za5syMBAMMksmc2mUAKJ5xAMW +6Kb7M9j1WS1Z301GZqum/OVm/IqzbQTrw1wePv3YUKVGH+wLskXjM/NQg3pPObI 2yvy8yg2ttpflYlfp9zv/E4nehZmO+85JNrXwQHL9x4Jyh4mDDs= =etzy -----END PGP SIGNATURE----- --hK8Uo4Yp55NZU70L-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 21 08:59:11 2018 Received: (at 25634-done) by debbugs.gnu.org; 21 Nov 2018 13:59:11 +0000 Received: from localhost ([127.0.0.1]:37961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPT26-00083r-Vf for submit@debbugs.gnu.org; Wed, 21 Nov 2018 08:59:11 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPT25-00083R-IS for 25634-done@debbugs.gnu.org; Wed, 21 Nov 2018 08:59:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPT1z-0006Zi-J1 for 25634-done@debbugs.gnu.org; Wed, 21 Nov 2018 08:59:04 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47675) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPT1z-0006Zc-G8; Wed, 21 Nov 2018 08:59:03 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57758 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gPT1z-0006b1-3f; Wed, 21 Nov 2018 08:59:03 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Efraim Flashner Subject: Re: bug#25634: 'guix environment mpv' fails to handle '/gnu/store/i1139n4ab0fn9v4bwkvqzp6sw3w66mqr-python-waf-1.9.5' file (not-a-dir) References: <20170206091803.1fb17326@sf> <87y3xiaybd.fsf@gnu.org> <20181121132213.GF28778@macbook41> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 1 Frimaire an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 21 Nov 2018 14:59:01 +0100 In-Reply-To: <20181121132213.GF28778@macbook41> (Efraim Flashner's message of "Wed, 21 Nov 2018 15:22:13 +0200") Message-ID: <87sgzusfa2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 25634-done Cc: iyzsong@openmailbox.org, Sergei Trofimovich , 25634-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Efraim Flashner skribis: > Only took 21 months but 'guix environment mpv' now works. > Fix pushed in a2aa746cfe38076b87d9cde2252904c0bddd9f9e. Heheh better late than never, thank you Efraim! :-) Ludo=E2=80=99. From unknown Mon Aug 18 02:05:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 20 Dec 2018 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator