From debbugs-submit-bounces@debbugs.gnu.org Tue May 16 06:00:45 2017 Received: (at submit) by debbugs.gnu.org; 16 May 2017 10:00:45 +0000 Received: from localhost ([127.0.0.1]:47450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dAZHZ-0008QM-1I for submit@debbugs.gnu.org; Tue, 16 May 2017 06:00:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39147) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dAZHX-0008QA-EI for submit@debbugs.gnu.org; Tue, 16 May 2017 06:00:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dAZHN-00047O-Lz for submit@debbugs.gnu.org; Tue, 16 May 2017 06:00:38 -0400 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 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44614) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dAZHN-00047J-Hy for submit@debbugs.gnu.org; Tue, 16 May 2017 06:00:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAZHM-0008Ce-33 for bug-guix@gnu.org; Tue, 16 May 2017 06:00:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dAZHH-000463-Lj for bug-guix@gnu.org; Tue, 16 May 2017 06:00:32 -0400 Received: from mail.thebird.nl ([95.154.246.10]:42861) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dAZHH-00045h-Cd for bug-guix@gnu.org; Tue, 16 May 2017 06:00:27 -0400 Received: by mail.thebird.nl (Postfix, from userid 502) id 42D1440018; Tue, 16 May 2017 12:00:08 +0200 (CEST) Date: Tue, 16 May 2017 12:00:08 +0200 From: Pjotr Prins To: bug-guix@gnu.org Subject: Python path conflict Message-ID: <20170516100008.GA8723@thebird.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit 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 (-----) Note that I do most of my buiding with --no-grafts. Not sure they are related: Using the Guix tree from source 4a3495d57c08dff9287fe559482a6d2009109304 ./pre-inst-env guix package -i python@2.7.13 renders Backtrace: In ice-9/eval.scm: 432: 19 [eval # #] In ice-9/boot-9.scm: 2412: 18 [save-module-excursion #] 4089: 17 [#] 1734: 16 [%start-stack load-stack ...] 1739: 15 [#] In unknown file: ?: 14 [primitive-load "/gnu/export/local/home/wrk/izip/git/opensource/genenetwork/gn-latest-guix/scripts/guix"] In guix/ui.scm: 1257: 13 [run-guix-command package "-i" "python@2.7.13"] In ice-9/boot-9.scm: 160: 12 [catch srfi-34 # ...] 160: 11 [catch system-error ...] In guix/scripts/package.scm: 898: 10 [#] 865: 9 [process-actions # (# # # # ...)] In guix/ui.scm: 713: 8 [show-manifest-transaction # # # ...] In srfi/srfi-1.scm: 598: 7 [map # ...] In guix/ui.scm: 689: 6 [upgrade-string "python" "3.5.2" ...] In guix/packages.scm: 1174: 5 [package-output # # "out" ...] 817: 4 [cache! # # # ...] In guix/grafts.scm: 312: 3 [graft-derivation # # # ...] 267: 2 [# #] 272: 1 [# #] In unknown file: ?: 0 [# # # #] ERROR: In procedure #: ERROR: Wrong type to apply: # and ./pre-inst-env guix package --no-grafts -i python@2.7.13 renders The following package will be downgraded: python 3.5.2 -> 2.7.13 /gnu/store/q5kdj7gpawi94pqd15x3wizjq0nx4zhx-python-2.7.13 The following derivation will be built: /gnu/store/hrl55dd3m9v8jqwf3jn5g0j36ix5n1n5-profile.drv warning: collision encountered: /gnu/store/36nzwbcn09kd72aywi4idpasrlnpcphy-gdk-pixbuf+svg-2.34.0/share/gir-1.0/GdkPixbuf-2.0.gir /gnu/store/8mv63hjx5ba8f1mgqb7hkx6xmlfamaxp-gdk-pixbuf-2.32.3/share/gir-1.0/GdkPixbuf-2.0.gir warning: arbitrarily choosing /gnu/store/36nzwbcn09kd72aywi4idpasrlnpcphy-gdk-pixbuf+svg-2.34.0/share/gir-1.0/GdkPixbuf-2.0.gir (...) warning: collision encountered: /gnu/store/dag4djb807a57vb7s9kkj04bz7v4c3ji-mysql-5.7.13/share/man/man1/mysqltest.1.gz /gnu/store/vdvwj57w1rnay7khvi0c4wp05f35gqcl-mysql-5.6.25/share/man/man1/mysqltest.1.gz warning: arbitrarily choosing /gnu/store/dag4djb807a57vb7s9kkj04bz7v4c3ji-mysql-5.7.13/share/man/man1/mysqltest.1.gz Backtrace: In ice-9/boot-9.scm: 160: 17 [catch #t # ...] In unknown file: ?: 16 [apply-smob/1 #] In ice-9/boot-9.scm: 66: 15 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 14 [eval # #] In ice-9/boot-9.scm: 2412: 13 [save-module-excursion #] 4089: 12 [#] 1734: 11 [%start-stack load-stack #] 1739: 10 [#] In unknown file: ?: 9 [primitive-load "/gnu/store/jcgmg7mnfzqhnwf8svrydcv67z13fpdb-profile-builder"] In ./guix/build/profiles.scm: 137: 8 [build-profile "/gnu/store/b5rq0sl2jsqpqjxkhi68dy3racz1wfpv-profile" # ...] In unknown file: ?: 7 [hash-for-each # ...] ?: 6 [hash-for-each # ...] ?: 5 [hash-for-each # ...] ?: 4 [hash-for-each # ...] In ./guix/build/union.scm: 117: 3 [union "/gnu/store/b5rq0sl2jsqpqjxkhi68dy3racz1wfpv-profile/share/man/man1/python.1" ...] In unknown file: ?: 2 [partition # #] In ./guix/build/union.scm: 50: 1 [file-is-directory? "/gnu/store/q5kdj7gpawi94pqd15x3wizjq0nx4zhx-python-2.7.13/share/man/man1/python.1"] In unknown file: ?: 0 [stat "/gnu/store/q5kdj7gpawi94pqd15x3wizjq0nx4zhx-python-2.7.13/share/man/man1/python.1" ...] ERROR: In procedure stat: ERROR: In procedure stat: No such file or directory: "/gnu/store/q5kdj7gpawi94pqd15x3wizjq0nx4zhx-python-2.7.13/share/man/man1/python.1" builder for `/gnu/store/hrl55dd3m9v8jqwf3jn5g0j36ix5n1n5-profile.drv' failed with exit code 1 guix package: error: build failed: build of `/gnu/store/hrl55dd3m9v8jqwf3jn5g0j36ix5n1n5-profile.drv' failed -- From debbugs-submit-bounces@debbugs.gnu.org Wed May 17 06:42:41 2017 Received: (at 26949) by debbugs.gnu.org; 17 May 2017 10:42:41 +0000 Received: from localhost ([127.0.0.1]:49579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dAwPh-00067p-3u for submit@debbugs.gnu.org; Wed, 17 May 2017 06:42:41 -0400 Received: from mail.thebird.nl ([95.154.246.10]:49159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dAwPf-00067c-EW for 26949@debbugs.gnu.org; Wed, 17 May 2017 06:42:39 -0400 Received: by mail.thebird.nl (Postfix, from userid 502) id 10A6140018; Wed, 17 May 2017 12:42:15 +0200 (CEST) Date: Wed, 17 May 2017 12:42:15 +0200 From: Pjotr Prins To: Pjotr Prins Subject: Re: bug#26949: Python path conflict Message-ID: <20170517104215.GA16273@thebird.nl> References: <20170516100008.GA8723@thebird.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170516100008.GA8723@thebird.nl> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26949 Cc: 26949@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 (/) The two errors are not related. When I choose a different target profile the second error goes away. In a clean profile both errors will probably go away... -- From debbugs-submit-bounces@debbugs.gnu.org Wed May 17 09:08:22 2017 Received: (at 26949) by debbugs.gnu.org; 17 May 2017 13:08:22 +0000 Received: from localhost ([127.0.0.1]:49710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dAygg-0004Ym-3H for submit@debbugs.gnu.org; Wed, 17 May 2017 09:08:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60701) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dAygd-0004YZ-Li for 26949@debbugs.gnu.org; Wed, 17 May 2017 09:08:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dAygS-0002YY-3i for 26949@debbugs.gnu.org; Wed, 17 May 2017 09:08:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58496) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAygS-0002YU-0y; Wed, 17 May 2017 09:08:08 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:47868 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dAygR-0000zU-EN; Wed, 17 May 2017 09:08:07 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Pjotr Prins Subject: Re: bug#26949: Python path conflict References: <20170516100008.GA8723@thebird.nl> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 28 =?utf-8?Q?Flor=C3=A9al?= an 225 de la =?utf-8?Q?R?= =?utf-8?Q?=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: Wed, 17 May 2017 15:08:05 +0200 In-Reply-To: <20170516100008.GA8723@thebird.nl> (Pjotr Prins's message of "Tue, 16 May 2017 12:00:08 +0200") Message-ID: <878tlvy6kq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (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: 26949 Cc: 26949@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: -5.0 (-----) Hi, Pjotr Prins skribis: > Note that I do most of my buiding with --no-grafts. This is an unsafe thing to do. > Using the Guix tree from source 4a3495d57c08dff9287fe559482a6d2009109304 > > ./pre-inst-env guix package -i python@2.7.13=20 > > renders [...] > In unknown file: > ?: 0 [# # # #] > > ERROR: In procedure #: > ERROR: Wrong type to apply: # This is due to an ABI change a few weeks ago. Just run =E2=80=9Cmake clean= -go && make=E2=80=9D. > and > > ./pre-inst-env guix package --no-grafts -i python@2.7.13 > > renders > > The following package will be downgraded: > python 3.5.2 -> 2.7.13 /gnu/store/q5kdj7gpawi94pqd15x3wizjq0nx4zhx-pyt= hon-2.7.13 > > The following derivation will be built: > /gnu/store/hrl55dd3m9v8jqwf3jn5g0j36ix5n1n5-profile.drv [...] > In ./guix/build/union.scm: > 50: 1 [file-is-directory? "/gnu/store/q5kdj7gpawi94pqd15x3wizjq0nx4zhx-= python-2.7.13/share/man/man1/python.1"] > In unknown file: > ?: 0 [stat "/gnu/store/q5kdj7gpawi94pqd15x3wizjq0nx4zhx-python-2.7.13/= share/man/man1/python.1" ...] > > ERROR: In procedure stat: > ERROR: In procedure stat: No such file or directory: "/gnu/store/q5kdj7gp= awi94pqd15x3wizjq0nx4zhx-python-2.7.13/share/man/man1/python.1" > builder for `/gnu/store/hrl55dd3m9v8jqwf3jn5g0j36ix5n1n5-profile.drv' fai= led with exit code 1 > guix package: error: build failed: build of `/gnu/store/hrl55dd3m9v8jqwf3= jn5g0j36ix5n1n5-profile.drv' failed I can=E2=80=99t seem to reproduce it: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix package -p foo -i python@2.7 The following package will be installed: python 2.7.13 /gnu/store/p0ygwmwspjpn4pwnla3p26n0xrypzdxv-python-2.7.13 substitute: updating list of substitutes from 'https://bayfront.guixsd.org'= ... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org= '... 100.0% The following derivations will be built: /gnu/store/x0pffs6dzzzrajvhajicwgw6aj0g34zl-profile.drv /gnu/store/xi5js16n6f9v5vr4cdqsqnh9vcm3yppn-manual-database.drv substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org= '... 100.0% Creating manual page database for 1 packages... done in 0.015 s find-files: /gnu/store/p0ygwmwspjpn4pwnla3p26n0xrypzdxv-python-2.7.13/share= /man/man1/python.1: No such file or directory 1 package in profile The following environment variable definitions may be needed: export PATH=3D"foo/bin${PATH:+:}$PATH" export PYTHONPATH=3D"foo/lib/python2.7/site-packages${PYTHONPATH:+:}$PYT= HONPATH" $ git describe v0.12.0-3905-g516bfed7a --8<---------------cut here---------------end--------------->8--- Could you check if the problem occurs with current Guix, and if it does, whether the above command is easy to reproduce it? Thanks for reporting it! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed May 17 09:23:42 2017 Received: (at 26949) by debbugs.gnu.org; 17 May 2017 13:23:42 +0000 Received: from localhost ([127.0.0.1]:49736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dAyvW-0004v4-6T for submit@debbugs.gnu.org; Wed, 17 May 2017 09:23:42 -0400 Received: from mail.thebird.nl ([95.154.246.10]:49330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dAyvU-0004uq-H8 for 26949@debbugs.gnu.org; Wed, 17 May 2017 09:23:41 -0400 Received: by mail.thebird.nl (Postfix, from userid 502) id E472F40018; Wed, 17 May 2017 15:23:12 +0200 (CEST) Date: Wed, 17 May 2017 15:23:12 +0200 From: Pjotr Prins To: Ludovic Court??s Subject: Re: bug#26949: Python path conflict Message-ID: <20170517132312.GA17216@thebird.nl> References: <20170516100008.GA8723@thebird.nl> <878tlvy6kq.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <878tlvy6kq.fsf@gnu.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26949 Cc: Pjotr Prins , 26949@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 Wed, May 17, 2017 at 03:08:05PM +0200, Ludovic Court??s wrote: > Hi, > > Pjotr Prins skribis: > > > Note that I do most of my buiding with --no-grafts. > > This is an unsafe thing to do. Depends on the machine and what it is used for. Yes, for services that can be vulnerable you need to use grafts using an older guix tree. But I mostly build against git checkouts of guix - which means I am using the latest versions of packages anyway. Agree? > > This is due to an ABI change a few weeks ago. Just run ???make clean-go > && make???. clean-go is a new one for me. > > > In ./guix/build/union.scm: > > 50: 1 [file-is-directory? "/gnu/store/q5kdj7gpawi94pqd15x3wizjq0nx4zhx-python-2.7.13/share/man/man1/python.1"] > > In unknown file: > > ?: 0 [stat "/gnu/store/q5kdj7gpawi94pqd15x3wizjq0nx4zhx-python-2.7.13/share/man/man1/python.1" ...] > > > > ERROR: In procedure stat: > > ERROR: In procedure stat: No such file or directory: "/gnu/store/q5kdj7gpawi94pqd15x3wizjq0nx4zhx-python-2.7.13/share/man/man1/python.1" > > builder for `/gnu/store/hrl55dd3m9v8jqwf3jn5g0j36ix5n1n5-profile.drv' failed with exit code 1 > > guix package: error: build failed: build of `/gnu/store/hrl55dd3m9v8jqwf3jn5g0j36ix5n1n5-profile.drv' failed > > I can???t seem to reproduce it: > --8<---------------cut here---------------start------------->8--- > $ ./pre-inst-env guix package -p foo -i python@2.7 > The following package will be installed: > python 2.7.13 /gnu/store/p0ygwmwspjpn4pwnla3p26n0xrypzdxv-python-2.7.13 > > substitute: updating list of substitutes from 'https://bayfront.guixsd.org'... 100.0% > substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% > The following derivations will be built: > /gnu/store/x0pffs6dzzzrajvhajicwgw6aj0g34zl-profile.drv > /gnu/store/xi5js16n6f9v5vr4cdqsqnh9vcm3yppn-manual-database.drv > substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% > Creating manual page database for 1 packages... done in 0.015 s > find-files: /gnu/store/p0ygwmwspjpn4pwnla3p26n0xrypzdxv-python-2.7.13/share/man/man1/python.1: No such file or directory > 1 package in profile > The following environment variable definitions may be needed: > export PATH="foo/bin${PATH:+:}$PATH" > export PYTHONPATH="foo/lib/python2.7/site-packages${PYTHONPATH:+:}$PYTHONPATH" > $ git describe > v0.12.0-3905-g516bfed7a > --8<---------------cut here---------------end--------------->8--- > > Could you check if the problem occurs with current Guix, and if it does, > whether the above command is easy to reproduce it? I am using current Guix. The problem occurs on an existing profile. On a new profile it does not happen. I remember the python.1 path is a symlink not pointing anywhere. We dealt with that a year ago. Maybe it now confuses the man db builder. Does it somehow use the (existing) profile? Note that python-2.7.3 is the newly installed package. Pj. From debbugs-submit-bounces@debbugs.gnu.org Wed May 17 15:54:22 2017 Received: (at 26949) by debbugs.gnu.org; 17 May 2017 19:54:22 +0000 Received: from localhost ([127.0.0.1]:51348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dB51a-00063E-9q for submit@debbugs.gnu.org; Wed, 17 May 2017 15:54:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59151) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dB51Y-000632-BT for 26949@debbugs.gnu.org; Wed, 17 May 2017 15:54:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dB51O-0006w4-Sg for 26949@debbugs.gnu.org; Wed, 17 May 2017 15:54:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dB51O-0006vz-Om; Wed, 17 May 2017 15:54:10 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:48430 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dB51O-0007WV-2I; Wed, 17 May 2017 15:54:10 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Pjotr Prins Subject: Re: bug#26949: Python path conflict References: <20170516100008.GA8723@thebird.nl> <878tlvy6kq.fsf@gnu.org> <20170517132312.GA17216@thebird.nl> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 28 =?utf-8?Q?Flor=C3=A9al?= an 225 de la =?utf-8?Q?R?= =?utf-8?Q?=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: Wed, 17 May 2017 21:54:07 +0200 In-Reply-To: <20170517132312.GA17216@thebird.nl> (Pjotr Prins's message of "Wed, 17 May 2017 15:23:12 +0200") Message-ID: <87vaozuun4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (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: 26949 Cc: 26949@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: -5.0 (-----) Hello, Pjotr Prins skribis: > On Wed, May 17, 2017 at 03:08:05PM +0200, Ludovic Court??s wrote: >> Hi, >>=20 >> Pjotr Prins skribis: >>=20 >> > Note that I do most of my buiding with --no-grafts. >>=20 >> This is an unsafe thing to do. > > Depends on the machine and what it is used for. Yes, for services that > can be vulnerable you need to use grafts using an older guix tree. But > I mostly build against git checkouts of guix - which means I am using > the latest versions of packages anyway. Agree? Yes, sure; I just wanted to make sure you had check the =E2=80=9CI understa= nd the risks=E2=80=9D box. ;-) >> > In ./guix/build/union.scm: >> > 50: 1 [file-is-directory? "/gnu/store/q5kdj7gpawi94pqd15x3wizjq0nx4z= hx-python-2.7.13/share/man/man1/python.1"] >> > In unknown file: >> > ?: 0 [stat "/gnu/store/q5kdj7gpawi94pqd15x3wizjq0nx4zhx-python-2.7.= 13/share/man/man1/python.1" ...] >> > >> > ERROR: In procedure stat: >> > ERROR: In procedure stat: No such file or directory: "/gnu/store/q5kdj= 7gpawi94pqd15x3wizjq0nx4zhx-python-2.7.13/share/man/man1/python.1" >> > builder for `/gnu/store/hrl55dd3m9v8jqwf3jn5g0j36ix5n1n5-profile.drv' = failed with exit code 1 >> > guix package: error: build failed: build of `/gnu/store/hrl55dd3m9v8jq= wf3jn5g0j36ix5n1n5-profile.drv' failed >>=20 >> I can???t seem to reproduce it: >=20=20 >> --8<---------------cut here---------------start------------->8--- >> $ ./pre-inst-env guix package -p foo -i python@2.7 >> The following package will be installed: >> python 2.7.13 /gnu/store/p0ygwmwspjpn4pwnla3p26n0xrypzdxv-python-2.7.= 13 >>=20 >> substitute: updating list of substitutes from 'https://bayfront.guixsd.o= rg'... 100.0% >> substitute: updating list of substitutes from 'https://mirror.hydra.gnu.= org'... 100.0% >> The following derivations will be built: >> /gnu/store/x0pffs6dzzzrajvhajicwgw6aj0g34zl-profile.drv >> /gnu/store/xi5js16n6f9v5vr4cdqsqnh9vcm3yppn-manual-database.drv >> substitute: updating list of substitutes from 'https://mirror.hydra.gnu.= org'... 100.0% >> Creating manual page database for 1 packages... done in 0.015 s >> find-files: /gnu/store/p0ygwmwspjpn4pwnla3p26n0xrypzdxv-python-2.7.13/sh= are/man/man1/python.1: No such file or directory >> 1 package in profile >> The following environment variable definitions may be needed: >> export PATH=3D"foo/bin${PATH:+:}$PATH" >> export PYTHONPATH=3D"foo/lib/python2.7/site-packages${PYTHONPATH:+:}$= PYTHONPATH" >> $ git describe >> v0.12.0-3905-g516bfed7a >> --8<---------------cut here---------------end--------------->8--- >>=20 >> Could you check if the problem occurs with current Guix, and if it does, >> whether the above command is easy to reproduce it? > > I am using current Guix. The problem occurs on an existing profile. On > a new profile it does not happen. > > I remember the python.1 path is a symlink not pointing anywhere. We > dealt with that a year ago. Maybe it now confuses the man db builder. > Does it somehow use the (existing) profile? Yes, it could be that it happens with a particular combination of packages in the profile. Could you try to see if you could reproduce the problem in a fresh profile starting from what the offending profile has and gradually reducing the package set? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu May 18 04:36:35 2017 Received: (at 26949) by debbugs.gnu.org; 18 May 2017 08:36:35 +0000 Received: from localhost ([127.0.0.1]:51853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBGvD-0000bx-F0 for submit@debbugs.gnu.org; Thu, 18 May 2017 04:36:35 -0400 Received: from mail.thebird.nl ([95.154.246.10]:51143) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBGvC-0000bk-4n for 26949@debbugs.gnu.org; Thu, 18 May 2017 04:36:34 -0400 Received: by mail.thebird.nl (Postfix, from userid 502) id 6F1C640018; Thu, 18 May 2017 10:36:08 +0200 (CEST) Date: Thu, 18 May 2017 10:36:08 +0200 From: Pjotr Prins To: Ludovic Court??s Subject: Re: bug#26949: Python path conflict Message-ID: <20170518083608.GA24424@thebird.nl> References: <20170516100008.GA8723@thebird.nl> <878tlvy6kq.fsf@gnu.org> <20170517132312.GA17216@thebird.nl> <87vaozuun4.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87vaozuun4.fsf@gnu.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26949 Cc: Pjotr Prins , 26949@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 Wed, May 17, 2017 at 09:54:07PM +0200, Ludovic Court??s wrote: > > I remember the python.1 path is a symlink not pointing anywhere. We > > dealt with that a year ago. Maybe it now confuses the man db builder. > > Does it somehow use the (existing) profile? > > Yes, it could be that it happens with a particular combination of > packages in the profile. > > Could you try to see if you could reproduce the problem in a fresh > profile starting from what the offending profile has and gradually > reducing the package set? I can reproduce the problem, but I can not reproduce the environment. I tried. All I can see is that when the profile gets updated the new path $profile/share/man/man1/python.1 is a symlink pointing to nothing. You can see that when installing python-2.7.13. All I can tell is that the version that was installed (2.7.11). actually pointed to something. When overwriting the old version, strangely, the man pages generator balks. Strangely because installing in a fresh profile gives no complaints. The old package path was /gnu/store/vcx1n5nj4gr52xx5m6gvi7zrwngy06s3-python-2.7.11/share/man/man1/python.1 Pj. -- From debbugs-submit-bounces@debbugs.gnu.org Thu May 18 05:09:16 2017 Received: (at control) by debbugs.gnu.org; 18 May 2017 09:09:16 +0000 Received: from localhost ([127.0.0.1]:51880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBHQo-0001PA-QY for submit@debbugs.gnu.org; Thu, 18 May 2017 05:09:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35787) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBHQn-0001Oq-AO for control@debbugs.gnu.org; Thu, 18 May 2017 05:09:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBHQf-0003Nv-3F for control@debbugs.gnu.org; Thu, 18 May 2017 05:09:08 -0400 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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBHQe-0003Nq-W0 for control@debbugs.gnu.org; Thu, 18 May 2017 05:09:05 -0400 Received: from [193.50.110.69] (port=50922 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dBHQe-0001zZ-EC for control@debbugs.gnu.org; Thu, 18 May 2017 05:09:04 -0400 Date: Thu, 18 May 2017 11:09:03 +0200 Message-Id: <871srma5w0.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #26949 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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: control 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 (-----) retitle 26949 (guix build union) fails when stumbling upon a dangling symlink From debbugs-submit-bounces@debbugs.gnu.org Thu May 18 05:43:44 2017 Received: (at 26949-done) by debbugs.gnu.org; 18 May 2017 09:43:44 +0000 Received: from localhost ([127.0.0.1]:51927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBHyC-0004au-Mc for submit@debbugs.gnu.org; Thu, 18 May 2017 05:43:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBHyB-0004ab-Jl for 26949-done@debbugs.gnu.org; Thu, 18 May 2017 05:43:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBHy2-0005Q6-Bl for 26949-done@debbugs.gnu.org; Thu, 18 May 2017 05:43:38 -0400 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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48442) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBHy2-0005Q2-8W; Thu, 18 May 2017 05:43:34 -0400 Received: from [193.50.110.69] (port=57868 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dBHy1-0004pc-Nm; Thu, 18 May 2017 05:43:34 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Pjotr Prins Subject: Re: bug#26949: Python path conflict References: <20170516100008.GA8723@thebird.nl> Date: Thu, 18 May 2017 11:43:31 +0200 In-Reply-To: <20170516100008.GA8723@thebird.nl> (Pjotr Prins's message of "Tue, 16 May 2017 12:00:08 +0200") Message-ID: <87tw4i8pq4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (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: 26949-done Cc: 26949-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: -5.0 (-----) Pjotr Prins skribis: > In ./guix/build/union.scm: > 117: 3 [union "/gnu/store/b5rq0sl2jsqpqjxkhi68dy3racz1wfpv-profile/share= /man/man1/python.1" ...] > In unknown file: > ?: 2 [partition # #] > In ./guix/build/union.scm: > 50: 1 [file-is-directory? "/gnu/store/q5kdj7gpawi94pqd15x3wizjq0nx4zhx-= python-2.7.13/share/man/man1/python.1"] > In unknown file: > ?: 0 [stat "/gnu/store/q5kdj7gpawi94pqd15x3wizjq0nx4zhx-python-2.7.13/= share/man/man1/python.1" ...] > > ERROR: In procedure stat: > ERROR: In procedure stat: No such file or directory: "/gnu/store/q5kdj7gp= awi94pqd15x3wizjq0nx4zhx-python-2.7.13/share/man/man1/python.1" Ooh, got it. I managed to reproduce it with a toy example. Should be fixed in 22ef06b801b284760b4ffd9587ea1a3dffd31baa. Can you confirm? Thank you! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri May 19 02:34:09 2017 Received: (at 26949-done) by debbugs.gnu.org; 19 May 2017 06:34:09 +0000 Received: from localhost ([127.0.0.1]:54239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBbUH-0005LR-2u for submit@debbugs.gnu.org; Fri, 19 May 2017 02:34:09 -0400 Received: from mail.thebird.nl ([95.154.246.10]:52880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBbUF-0005Ky-Lg for 26949-done@debbugs.gnu.org; Fri, 19 May 2017 02:34:08 -0400 Received: by mail.thebird.nl (Postfix, from userid 502) id 7CB0340018; Fri, 19 May 2017 08:33:41 +0200 (CEST) Date: Fri, 19 May 2017 08:33:41 +0200 From: Pjotr Prins To: Ludovic Court??s Subject: Re: bug#26949: Python path conflict Message-ID: <20170519063341.GA29948@thebird.nl> References: <20170516100008.GA8723@thebird.nl> <87tw4i8pq4.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87tw4i8pq4.fsf@gnu.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26949-done Cc: Pjotr Prins , 26949-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: -0.0 (/) On Thu, May 18, 2017 at 11:43:31AM +0200, Ludovic Court??s wrote: > Ooh, got it. I managed to reproduce it with a toy example. Should be > fixed in 22ef06b801b284760b4ffd9587ea1a3dffd31baa. Can you confirm? Fixed! Pj. From unknown Mon Aug 11 19:03:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 16 Jun 2017 11: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