Subject: Re: bug#37789: guix pull: error: You found a bug: the program

From: George Clemmer <[email-masked]>
Date: Mon, 21 Oct 2019 17:00:48 -0400

Hi Ludo’,

Ludovic Courtès <[email-masked]> writes:

> Ludovic Courtès <[email-masked]> skribis:
>
>>> The guix-configuration is unchanged since then. Shouldn't 'guix pull'
>>> still work?
>>
>> It should work, yes.  What does ‘guix describe’ report?
>
> Note that what you initially reported is not so much that ‘guix pull’
> “doesn’t work” but rather that it failed to build ghostscript.

Good point. I will respond to your earlier ...

>> configure: error: Guile-JSON is missing; please install it.
>
> How are you getting this error?  Please provide all the context.

... in a second email.

> Could you send the tail of the log returned by:
>
>   guix build --log-file /gnu/store/j5lp13iwcwnsdk545lgg1nh8kn4jdj3d-ghostscript-9.27.drv

That gave a ref to the build farm so I did this ...

guix build /gnu/store/j5lp13iwcwnsdk545lgg1nh8kn4jdj3d-ghostscript-9.27.drv
[...]
starting phase `install-locale'
warning: failed to install 'en_US.utf8' locale: Invalid argument
phase `install-locale' succeeded after 0.0 seconds
starting phase `unpack'
[...]
starting phase `configure'
PATH="/gnu/store/lxwhz2y0m3c38figfl5sfdydsb7sk7g2-bootstrap-binaries-0/bin:/gnu/store/niv24i583siranb6ydphx991dkvj8x8g-mes-boot-0.19/bin:/gnu/store/grybsvhmi38gbrdl3i8cc31i0r1x7x6z-bootstrap-mescc-tools-0.5.2/bin"
configure: error: 'gcc' failed to compile conftest.c.
configure: line 332: ./conftest: No such file or directory
configure: line 336: ./conftest: No such file or directory
Binary  directory   /gnu/store/fkxk1l6l1cvs524q2cmd733gg1wsa6z6-tcc-boot0-0.9.26-6.c004e9a/bin
TinyCC directory    .
[...]
55_lshift_type: [FAIL]
expect: 14
failed: 15
passed: 209
total:  224
FAILED: 15/224
command "sh" "check.sh" failed with status 1
builder for `/gnu/store/nvhjn6b5hi4mj7wnjxrmj0dmdigq9m2z-tcc-boot0-0.9.26-6.c004e9a.drv' failed with exit code 1
build of /gnu/store/nvhjn6b5hi4mj7wnjxrmj0dmdigq9m2z-tcc-boot0-0.9.26-6.c004e9a.drv failed
View build log at '/var/log/guix/drvs/nv/hjn6b5hi4mj7wnjxrmj0dmdigq9m2z-tcc-boot0-0.9.26-6.c004e9a.drv.bz2'.
cannot build derivation `/gnu/store/fglx0fz62bygkdxxg878j7x9pfl37zhh-tcc-boot-0.9.27.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/x9shp86cz9f4rb5xvhs37zzxg1ngi4dr-binutils-mesboot0-2.20.1a.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/r50fj43103526ga6pi2f9jkk4gvaav7m-diffutils-mesboot-2.7.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/kcyh6k46ijm9nsq1as26rr0aq7rkx4f7-gcc-core-mesboot-2.95.3.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/57da9mdiqhyn72m8wv00pdvzqi2ng4xb-make-mesboot0-3.80.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/2lpg626q4x8v7hgqajywpq1rc8y72hzx-binutils-mesboot-2.20.1a.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/q8f5yjxp0kcdn2mwqf83bvhal71cnr71-gcc-mesboot-4.9.4.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/lp6fycqqd8adndlfylh4mlihm0qakxzw-glibc-mesboot-2.16.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/5xh3f9lxl86imd56fk8n6wcqdcrzh2mb-binutils-cross-boot0-2.32.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/492grrzzhh8z7nv9vrh9vai6kk7zfj8i-diffutils-boot0-3.7.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/56xfnvjd2qv05vx3j0s6b30h9dg3dqcj-file-boot0-5.33.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/b1n16vi8ypfr1bsgrcgk67h6sixghy0c-findutils-boot0-4.6.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/h6pl88jbzlgan2majgy0z6kcphzp2x6q-gcc-cross-boot0-7.4.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/5lcadggb83v1dfyza323lcw8ih199v1l-gcc-mesboot-wrapper-4.9.4.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/rmfsg2dsb88b136arb40z3kgd57kcnzs-glibc-2.29.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/qcx5p89cac2ghvc4k6cq2c6dsm3xncp1-glibc-intermediate-2.29.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/djxlq3ilag624v2zr8ya3zivwcrpiji7-linux-libre-headers-4.19.56.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/88azrsd0d3axcp043yrd4pl78ifd5368-make-boot0-4.2.1.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/my4rsf2nhcxd9n106bjrdmw56k26cc2j-perl-boot0-5.30.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/rhqqd8kmr1fqc9fkzpbh0qca4mwb03xa-texinfo-6.6.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/j5lp13iwcwnsdk545lgg1nh8kn4jdj3d-ghostscript-9.27.drv': 1 dependencies couldn't be built
guix build: error: build failed: build of `/gnu/store/j5lp13iwcwnsdk545lgg1nh8kn4jdj3d-ghostscript-9.27.drv' failed
glc@g1 ~ [def]$ date
Sat Oct 19 23:52:51 EDT 2019

TIA - George