Le 21 décembre 2019 22:06:26 GMT+01:00, Michael Zucchi <not...@gmail.com> a écrit : >On 19/12/19 6:33 pm, Julien Lepiller wrote: >> Le 19 décembre 2019 00:50:18 GMT+01:00, Michael Zucchi ><not...@gmail.com> a écrit : >>> Morning, >>> >>> Just a couple of comments re: building from git. Well that was the >>> intention, but it's turned into a failure to build. >>> >>> >>> Hi, have you tried runinhg everything in a pure environment, from >the bootstrap? Guix environment guix --pure should give you an >environment where none of your system is visible. >>> >Hi Julien, > >Ok I did that (again not mentioned in readme), sourced the profile and >tried again from scratch, same error. libc is installed in the >directory LIBRARY_PATH is set to by the guix profile script. > >This is the output running the link line manually with "g++ -v", it is >unfortunately rather difficult to read. > >notzed@shitzone:~/src/guix$ g++ -v -Wall -std=c++11 -g -O2 -o >guix-daemon nix/nix-daemon/guix_daemon-nix-daemon.o >nix/nix-daemon/guix_daemon-guix-daemon.o libstore.a libutil.a >libformat.a -lz >-L/gnu/store/i6l1579g80387rda658jy9cfqq82643d-sqlite-3.28.0/lib >-lsqlite3 -L/usr/lib64 -lgcrypt -lbz2 >Using built-in specs. >COLLECT_GCC=g++ >COLLECT_LTO_WRAPPER=/gnu/store/3pa3gmb9np87iz7sjrs405kbbj9bx74m-gcc-9.2.0/libexec/gcc/x86_64-unknown-linux-gnu/9.2.0/lto-wrapper >Target: x86_64-unknown-linux-gnu >Configured with: >Thread model: posix >gcc version 9.2.0 (GCC) >COMPILER_PATH=/gnu/store/3pa3gmb9np87iz7sjrs405kbbj9bx74m-gcc-9.2.0/libexec/gcc/x86_64-unknown-linux-gnu/9.2.0/:/gnu/store/3pa3gmb9np87iz7sjrs405kbbj9bx74m-gcc-9.2.0/libexec/gcc/x86_64-unknown-linux-gnu/9.2.0/:/gnu/store/3pa3gmb9np87iz7sjrs405kbbj9bx74m-gcc-9.2.0/libexec/gcc/x86_64-unknown-linux-gnu/:/gnu/store/347y0zr1a9s2f5pkcncgi3gd0r33qq81-gcc-9.2.0-lib/lib/gcc/x86_64-unknown-linux-gnu/9.2.0/:/gnu/store/347y0zr1a9s2f5pkcncgi3gd0r33qq81-gcc-9.2.0-lib/lib/gcc/x86_64-unknown-linux-gnu/ >LIBRARY_PATH=/gnu/store/fkxd3lilg97sn5qb2xsf80f76bjghcs4-profile/lib/:/gnu/store/x6ybr0rx2mz3ywdj7ai3xfh3p5ybd8ki-profile/lib/:/gnu/store/347y0zr1a9s2f5pkcncgi3gd0r33qq81-gcc-9.2.0-lib/lib/gcc/x86_64-unknown-linux-gnu/9.2.0/:/gnu/store/347y0zr1a9s2f5pkcncgi3gd0r33qq81-gcc-9.2.0-lib/lib/gcc/x86_64-unknown-linux-gnu/9.2.0/../../../:/gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib >COLLECT_GCC_OPTIONS='-v' '-Wall' '-std=c++11' '-g' '-O2' '-o' >'guix-daemon' >'-L/gnu/store/i6l1579g80387rda658jy9cfqq82643d-sqlite-3.28.0/lib' >'-L/usr/lib64' '-shared-libgcc' '-mtune=generic' '-march=x86-64' > >/gnu/store/3pa3gmb9np87iz7sjrs405kbbj9bx74m-gcc-9.2.0/libexec/gcc/x86_64-unknown-linux-gnu/9.2.0/collect2 >-plugin >/gnu/store/3pa3gmb9np87iz7sjrs405kbbj9bx74m-gcc-9.2.0/libexec/gcc/x86_64-unknown-linux-gnu/9.2.0/liblto_plugin.so >-plugin-opt=/gnu/store/3pa3gmb9np87iz7sjrs405kbbj9bx74m-gcc-9.2.0/libexec/gcc/x86_64-unknown-linux-gnu/9.2.0/lto-wrapper >-plugin-opt=-fresolution=/tmp/ccQDgVTV.res >-plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc >-plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc >-plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc >--eh-frame-hdr -m elf_x86_64 -dynamic-linker >/gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/ld-linux-x86-64.so.2 >-o guix-daemon >/gnu/store/fkxd3lilg97sn5qb2xsf80f76bjghcs4-profile/lib/crt1.o >/gnu/store/fkxd3lilg97sn5qb2xsf80f76bjghcs4-profile/lib/crti.o >/gnu/store/347y0zr1a9s2f5pkcncgi3gd0r33qq81-gcc-9.2.0-lib/lib/gcc/x86_64-unknown-linux-gnu/9.2.0/crtbegin.o >-L/gnu/store/i6l1579g80387rda658jy9cfqq82643d-sqlite-3.28.0/lib >-L/usr/lib64 -L/gnu/store/fkxd3lilg97sn5qb2xsf80f76bjghcs4-profile/lib >-L/gnu/store/x6ybr0rx2mz3ywdj7ai3xfh3p5ybd8ki-profile/lib >-L/gnu/store/347y0zr1a9s2f5pkcncgi3gd0r33qq81-gcc-9.2.0-lib/lib/gcc/x86_64-unknown-linux-gnu/9.2.0 >-L/gnu/store/347y0zr1a9s2f5pkcncgi3gd0r33qq81-gcc-9.2.0-lib/lib/gcc/x86_64-unknown-linux-gnu/9.2.0/../../.. >-L/gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib >nix/nix-daemon/guix_daemon-nix-daemon.o >nix/nix-daemon/guix_daemon-guix-daemon.o libstore.a libutil.a >libformat.a -lz -lsqlite3 -lgcrypt -lbz2 -lstdc++ -lm -lgcc_s -lgcc >-L/gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib >-rpath=/gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib >-rpath=/gnu/store/347y0zr1a9s2f5pkcncgi3gd0r33qq81-gcc-9.2.0-lib/lib >-lgcc_s -lc -lgcc_s -lgcc >/gnu/store/347y0zr1a9s2f5pkcncgi3gd0r33qq81-gcc-9.2.0-lib/lib/gcc/x86_64-unknown-linux-gnu/9.2.0/crtend.o >/gnu/store/fkxd3lilg97sn5qb2xsf80f76bjghcs4-profile/lib/crtn.o >guile: warning: failed to install locale >ld: >/gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/libpthread.so.0: > >undefined reference to `__libc_vfork@GLIBC_PRIVATE' >collect2: error: ld returned 1 exit status >notzed@shitzone:~/src/guix$
"'-L/usr/lib64'". This is unexpected. Please make sure your environment not poluted, eg. by a .bashrc. make sure "env | grep /usr" doesn't return anything, and that g++ is actually coming from the store.