unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Leo Famulari <leo@famulari.name>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Re: Profile symlink error w. python
Date: Tue, 01 Mar 2016 22:52:40 +0100	[thread overview]
Message-ID: <87fuw9lvbr.fsf@gnu.org> (raw)
In-Reply-To: <20160229085053.GD18766@jasmine> (Leo Famulari's message of "Mon, 29 Feb 2016 03:50:53 -0500")

Leo Famulari <leo@famulari.name> skribis:

> On Mon, Feb 29, 2016 at 09:20:40AM +0100, Pjotr Prins wrote:
>> I am hitting this problem:
>> 
>> guix$ ./pre-inst-env guix package -i python-2.7.10
>> The following package will be installed:
>>    python       2.7.10  /gnu/store/4bs4mx6xyx0jx9827vmmbxyhjln7cmcv-python-2.7.10
>> 
>> (...)
>> 
>>      ?: 4 [hash-for-each #<procedure 155d9f0 at ./guix/build/union.scm:141:21 (file dirs-with-file)> ...]
>>   In ./guix/build/union.scm:
>>    108: 3 [union "/gnu/store/251b1fh9rsmfzry523xi4fb7w4j7x2af-profile/share/man/man1/python.1" ...]
>>   In unknown file:
>>      ?: 2 [partition #<procedure file-is-directory? (file)> #]
>>   In ./guix/build/union.scm:
>>     49: 1 [file-is-directory? "/gnu/store/4bs4mx6xyx0jx9827vmmbxyhjln7cmcv-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" ...]
>> 
>>   ERROR: In procedure stat:
>>   ERROR: In procedure stat: No such file or directory: "/gnu/store/4bs4mx6xyx0jx9827vmmbxyhjln7cmcv-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/m3lfvp9sby8yx9i7np0wv16i7kj7bc51-profile.drv' failed
>> 
>> the symlink points to a symlink:
>> 
>> ls -l /gnu/store/4bs4mx6xyx0jx9827vmmbxyhjln7cmcv-python-2.7.10/share/man/man1/*
>> lrwxrwxrwx 6 kranz root   12 Jan  1  1970 /gnu/store/4bs4mx6xyx0jx9827vmmbxyhjln7cmcv-python-2.7.10/share/man/man1/python.1 -> python2.1.gz
>> lrwxrwxrwx 6 kranz root   14 Jan  1  1970 /gnu/store/4bs4mx6xyx0jx9827vmmbxyhjln7cmcv-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/4bs4mx6xyx0jx9827vmmbxyhjln7cmcv-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’t 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’.

      parent reply	other threads:[~2016-03-01 21:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-29  8:20 Profile symlink error w. python Pjotr Prins
2016-02-29  8:50 ` Leo Famulari
2016-02-29  8:56   ` Pjotr Prins
2016-03-01 21:52   ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fuw9lvbr.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=leo@famulari.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).