GNU bug report logs - #26949
(guix build union) fails when stumbling upon a dangling symlink

Previous Next

Package: guix;

Reported by: Pjotr Prins <pjotr.public12 <at> thebird.nl>

Date: Tue, 16 May 2017 10:01:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Pjotr Prins <pjotr.public12 <at> thebird.nl>
Subject: bug#26949: closed (Re: bug#26949: Python path conflict)
Date: Thu, 18 May 2017 09:44:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#26949: (guix build union) fails when stumbling upon a dangling symlink

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 26949 <at> debbugs.gnu.org.

-- 
26949: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26949
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: Pjotr Prins <pjotr.public12 <at> thebird.nl>
Cc: 26949-done <at> debbugs.gnu.org
Subject: Re: bug#26949: Python path conflict
Date: Thu, 18 May 2017 11:43:31 +0200
Pjotr Prins <pjotr.public12 <at> thebird.nl> skribis:

> In ./guix/build/union.scm:
>  117: 3 [union "/gnu/store/b5rq0sl2jsqpqjxkhi68dy3racz1wfpv-profile/share/man/man1/python.1" ...]
> In unknown file:
>    ?: 2 [partition #<procedure file-is-directory? (file)> #]
> 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"

Ooh, got it.  I managed to reproduce it with a toy example.  Should be
fixed in 22ef06b801b284760b4ffd9587ea1a3dffd31baa.  Can you confirm?

Thank you!

Ludo’.

[Message part 3 (message/rfc822, inline)]
From: Pjotr Prins <pjotr.public12 <at> thebird.nl>
To: bug-guix <at> gnu.org
Subject: Python path conflict
Date: Tue, 16 May 2017 12:00:08 +0200
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 <at> 2.7.13 

renders

Backtrace:
In ice-9/eval.scm:
 432: 19 [eval # #]
In ice-9/boot-9.scm:
2412: 18 [save-module-excursion #<procedure 1f8e900 at ice-9/boot-9.scm:4084:3 ()>]
4089: 17 [#<procedure 1f8e900 at ice-9/boot-9.scm:4084:3 ()>]
1734: 16 [%start-stack load-stack ...]
1739: 15 [#<procedure 1fa0b70 ()>]
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 <at> 2.7.13"]
In ice-9/boot-9.scm:
 160: 12 [catch srfi-34 #<procedure 2984020 at guix/ui.scm:442:2 ()> ...]
 160: 11 [catch system-error ...]
In guix/scripts/package.scm:
 898: 10 [#<procedure 2984080 at guix/scripts/package.scm:886:4 ()>]
 865: 9 [process-actions #<build-daemon 256.97 29acb80> (# # # # ...)]
In guix/ui.scm:
 713: 8 [show-manifest-transaction # # # ...]
In srfi/srfi-1.scm:
 598: 7 [map #<procedure upgrade-string (name old-version new-version output item)> ...]
In guix/ui.scm:
 689: 6 [upgrade-string "python" "3.5.2" ...]
In guix/packages.scm:
1174: 5 [package-output # # "out" ...]
 817: 4 [cache! #<weak-key-hash-table 2844460 352/443> # # ...]
In guix/grafts.scm:
 312: 3 [graft-derivation # # # ...]
 267: 2 [#<procedure 52d30a0 at guix/grafts.scm:267:2 (state)> #<vlist ()>]
 272: 1 [#<procedure 5ae7c60 at guix/grafts.scm:267:2 (t-1b71430ac-17aa)> #]
In unknown file:
   ?: 0 [# # #<procedure dependency-grafts (item)> #]

ERROR: In procedure #<syntax-transformer mapm>:
ERROR: Wrong type to apply: #<syntax-transformer mapm>

and

  ./pre-inst-env guix package --no-grafts -i python <at> 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 #<catch-closure 8c2080> ...]
In unknown file:
   ?: 16 [apply-smob/1 #<catch-closure 8c2080>]
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 #<procedure 8e67c0 at ice-9/boot-9.scm:4084:3 ()>]
4089: 12 [#<procedure 8e67c0 at ice-9/boot-9.scm:4084:3 ()>]
1734: 11 [%start-stack load-stack #<procedure 8f6de0 at ice-9/boot-9.scm:4080:10 ()>]
1739: 10 [#<procedure 8f86c0 ()>]
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 #<procedure d5b150 at ./guix/build/union.scm:150:21 (file dirs-with-file)> ...]
   ?: 6 [hash-for-each #<procedure d4b120 at ./guix/build/union.scm:150:21 (file dirs-with-file)> ...]
   ?: 5 [hash-for-each #<procedure e25450 at ./guix/build/union.scm:150:21 (file dirs-with-file)> ...]
   ?: 4 [hash-for-each #<procedure ec02a0 at ./guix/build/union.scm:150:21 (file dirs-with-file)> ...]
In ./guix/build/union.scm:
 117: 3 [union "/gnu/store/b5rq0sl2jsqpqjxkhi68dy3racz1wfpv-profile/share/man/man1/python.1" ...]
In unknown file:
   ?: 2 [partition #<procedure file-is-directory? (file)> #]
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

-- 



This bug report was last modified 8 years and 57 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.