all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Profile symlink error w. python
@ 2016-02-29  8:20 Pjotr Prins
  2016-02-29  8:50 ` Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Pjotr Prins @ 2016-02-29  8:20 UTC (permalink / raw)
  To: guix-devel@gnu.org

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

On latest commit of guix. 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Profile symlink error w. python
  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
  0 siblings, 2 replies; 4+ messages in thread
From: Leo Famulari @ 2016-02-29  8:50 UTC (permalink / raw)
  To: Pjotr Prins; +Cc: guix-devel@gnu.org

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).

Is this our bug or do other distros have to work around it too?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Profile symlink error w. python
  2016-02-29  8:50 ` Leo Famulari
@ 2016-02-29  8:56   ` Pjotr Prins
  2016-03-01 21:52   ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Pjotr Prins @ 2016-02-29  8:56 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel@gnu.org

On Mon, Feb 29, 2016 at 03:50:53AM -0500, Leo Famulari wrote:
> > 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).

Well spotted.

> Is this our bug or do other distros have to work around it too?

They probably don't notice ;)

Pj.

-- 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Profile symlink error w. python
  2016-02-29  8:50 ` Leo Famulari
  2016-02-29  8:56   ` Pjotr Prins
@ 2016-03-01 21:52   ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2016-03-01 21:52 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel@gnu.org

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’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-01 21:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.