Leo Famulari <l...@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’.