From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Profile symlink error w. python Date: Tue, 01 Mar 2016 22:52:40 +0100 Message-ID: <87fuw9lvbr.fsf@gnu.org> References: <20160229082040.GA1302@thebird.nl> <20160229085053.GD18766@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aasDn-0005fA-UF for guix-devel@gnu.org; Tue, 01 Mar 2016 16:52:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aasDk-000414-Ok for guix-devel@gnu.org; Tue, 01 Mar 2016 16:52:47 -0500 In-Reply-To: <20160229085053.GD18766@jasmine> (Leo Famulari's message of "Mon, 29 Feb 2016 03:50:53 -0500") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Leo Famulari Cc: "guix-devel@gnu.org" Leo Famulari skribis: > On Mon, Feb 29, 2016 at 09:20:40AM +0100, Pjotr Prins wrote: >> I am hitting this problem: >>=20 >> guix$ ./pre-inst-env guix package -i python-2.7.10 >> The following package will be installed: >> python 2.7.10 /gnu/store/4bs4mx6xyx0jx9827vmmbxyhjln7cmcv-pyth= on-2.7.10 >>=20 >> (...) >>=20 >> ?: 4 [hash-for-each # ...] >> In ./guix/build/union.scm: >> 108: 3 [union "/gnu/store/251b1fh9rsmfzry523xi4fb7w4j7x2af-profile/sh= are/man/man1/python.1" ...] >> In unknown file: >> ?: 2 [partition # #] >> In ./guix/build/union.scm: >> 49: 1 [file-is-directory? "/gnu/store/4bs4mx6xyx0jx9827vmmbxyhjln7cm= cv-python-2.7.10/share/man/man1/python.1"] >> In unknown file: >> ?: 0 [stat "/gnu/store/4bs4mx6xyx0jx9827vmmbxyhjln7cmcv-python-2.7.= 10/share/man/man1/python.1" ...] >>=20 >> ERROR: In procedure stat: >> ERROR: In procedure stat: No such file or directory: "/gnu/store/4bs4m= x6xyx0jx9827vmmbxyhjln7cmcv-python-2.7.10/share/man/man1/python.1" >> builder for `/gnu/store/m3lfvp9sby8yx9i7np0wv16i7kj7bc51-profile.drv' = failed with exit code 1 >> guix package: error: build failed: build of `/gnu/store/m3lfvp9sby8yx9= i7np0wv16i7kj7bc51-profile.drv' failed >>=20 >> the symlink points to a symlink: >>=20 >> ls -l /gnu/store/4bs4mx6xyx0jx9827vmmbxyhjln7cmcv-python-2.7.10/share/ma= n/man1/* >> lrwxrwxrwx 6 kranz root 12 Jan 1 1970 /gnu/store/4bs4mx6xyx0jx9827vm= mbxyhjln7cmcv-python-2.7.10/share/man/man1/python.1 -> python2.1.gz >> lrwxrwxrwx 6 kranz root 14 Jan 1 1970 /gnu/store/4bs4mx6xyx0jx9827vm= mbxyhjln7cmcv-python-2.7.10/share/man/man1/python2.1 -> python2.7.1.gz >> -r--r--r-- 6 kranz root 5620 Jan 1 1970 /gnu/store/4bs4mx6xyx0jx9827vm= mbxyhjln7cmcv-python-2.7.10/share/man/man1/python2.7.1.gz > > It looks like python.1 points to a non-existent file (python2.1.gz > instead of python2.1). Indeed, we should fix it. I can=E2=80=99t reproduce the profile creation bug though. For instance, guix package -p foo -i python-2.7.10 idutils works fine. Pjotr, do you think you could find the package combination that triggers this bug? Thanks, Ludo=E2=80=99.