"make" error on guix master

  • Done
  • quality assurance status badge
Details
3 participants
  • Ben Sturmfels
  • Ludovic Courtès
  • Ricardo Wurmus
Owner
unassigned
Submitted by
Ben Sturmfels
Severity
normal
B
B
Ben Sturmfels wrote on 15 Jun 2018 02:41
(address . bug-guix@gnu.org)
877en0lw34.fsf@sturm.com.au
Hi folks,

I'm on the current head of Guix master,
b494bbe466419dcac9f415c1152131f012b9555e, and I'm getting an error
building guix. I've just run a "make clean" and "./bootstrap" prior to
the below.

Regards,
Ben

ben@Marseille ~/work/ws/guix [env][master*]$ make
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --localstatedir=/var PKG_CONFIG_PATH=/gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/lib/pkgconfig --no-create --no-recursion
checking for a BSD-compatible install... /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/grep
checking for egrep... /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether NLS is requested... yes
checking for msgfmt... /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/msgfmt
checking for gmsgfmt... /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/msgfmt
checking for xgettext... /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/xgettext
checking for msgmerge... /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/msgmerge
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for ld used by GCC... /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/ld
checking if the linker (/gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for sed... /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/sed
checking for the Guix system type... x86_64-linux
checking for the store directory... /gnu/store
checking the length of the installed socket file name... 30
checking for unit test root directory... /home/ben/work/ws/guix/test-tmp
checking the length of the socket file name used in tests... 63
checking the length of a typical hash bang line... 73
checking the length of a hash bang line used in tests... 100
checking for pkg-config... /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: checking for guile 2.2
configure: found guile 2.2
checking for guile-2.2... no
checking for guile2.2... no
checking for guile-2... no
checking for guile2... no
checking for guile... /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/guile
checking for Guile version >= 2.2... 2.2.3
checking for guild... /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/guild
checking for guile-config... /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/guile-config
checking if (gnutls) is available... yes
checking if (git) is available... yes
checking if (json) is available... yes
checking whether Guile-Sqlite3 is available and recent enough... yes
checking whether /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/guile provides feature 'regex'... yes
checking whether /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/guile provides feature 'posix'... yes
checking whether /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/guile provides feature 'socket'... yes
checking whether /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/guile provides feature 'net-db'... yes
checking whether /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/guile provides feature 'threads'... yes
checking whether 'equal?' works for syntax objects... yes
checking for a sed that does not truncate output... (cached) /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/sed
checking for gzip... /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/gzip
checking for bzip2... /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/bzip2
checking for xz... /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/xz
checking for nix-instantiate... no
checking for nix-hash... no
checking for Nixpkgs source tree... not found
checking for libgcrypt-config... /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/libgcrypt-config
checking libgcrypt's library directory... /gnu/store/hc5cak3fj0dijbm86kpz2asl7ld4gf8y-libgcrypt-1.8.3/lib
checking for libgcrypt shared library name... /gnu/store/hc5cak3fj0dijbm86kpz2asl7ld4gf8y-libgcrypt-1.8.3/lib/libgcrypt
checking whether /gnu/store/hc5cak3fj0dijbm86kpz2asl7ld4gf8y-libgcrypt-1.8.3/lib/libgcrypt can be dynamically loaded... yes
checking zlib's library directory... /gnu/store/fxiwj2wpp11sif613axdax7gmwzsg6kp-zlib-1.2.11/lib
checking for zlib's shared library name... /gnu/store/fxiwj2wpp11sif613axdax7gmwzsg6kp-zlib-1.2.11/lib/libz
checking whether Guile-SSH is available and recent enough... yes
checking whether to build daemon... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking whether g++ supports C++11... yes
checking for ranlib... ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for gzdopen in -lz... yes
checking how to run the C++ preprocessor... g++ -E
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for BZ2_bzWriteOpen in -lbz2... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for sqlite3 >= 3.6.19... yes
checking for gcry_md_open in -lgcrypt... yes
checking gcrypt.h usability... yes
checking gcrypt.h presence... yes
checking for gcrypt.h... yes
checking for chroot... yes
checking for unshare... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking for lutimes... yes
checking for lchown... yes
checking for posix_fallocate... yes
checking for sched_setaffinity... yes
checking for statvfs... yes
checking for nanosleep... yes
checking for strsignal... yes
checking whether it is possible to create a link to a symlink... yes
checking locale usability... yes
checking locale presence... yes
checking for locale... yes
checking sys/personality.h usability... yes
checking sys/personality.h presence... yes
checking for sys/personality.h... yes
checking linux/fs.h usability... yes
checking linux/fs.h presence... yes
checking for linux/fs.h... yes
checking for default substitute URLs... https://mirror.hydra.gnu.org
checking whether Guile-SSH is available and recent enough... (cached) yes
checking for unit test root directory... (cached) /home/ben/work/ws/guix/test-tmp
checking for guile... (cached) /gnu/store/53zl5kgyvk1w0bbq61k9xxx5hr8hq0c4-profile/bin/guile
checking the current installation's localstatedir... /var
checking for emacs... /home/ben/.guix-profile/bin/emacs
checking that generated files are newer than configure... done
configure: creating ./config.status
/bin/sh ./config.status
config.status: creating nix/scripts/list-runtime-roots
config.status: creating nix/scripts/download
config.status: creating nix/scripts/substitute
config.status: creating nix/scripts/guix-authenticate
config.status: creating nix/scripts/offload
config.status: creating Makefile
config.status: creating po/guix/Makefile.in
config.status: creating po/packages/Makefile.in
config.status: creating etc/guix-daemon.cil
config.status: creating guix/config.scm
config.status: creating test-env
config.status: creating pre-inst-env
config.status: creating etc/indent-code.el
config.status: creating nix/config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/guix/POTFILES
config.status: creating po/guix/Makefile
config.status: creating po/packages/POTFILES
config.status: creating po/packages/Makefile
GEN nix/libstore/schema.sql.hh
make all-recursive
make[1]: Entering directory '/home/ben/work/ws/guix'
Making all in po/guix
make[2]: Entering directory '/home/ben/work/ws/guix/po/guix'
make[2]: Leaving directory '/home/ben/work/ws/guix/po/guix'
Making all in po/packages
make[2]: Entering directory '/home/ben/work/ws/guix/po/packages'
make[2]: Leaving directory '/home/ben/work/ws/guix/po/packages'
make[2]: Entering directory '/home/ben/work/ws/guix'
Updating ./doc/version.texi
Updating ./doc/version-fr.texi
CXX nix/nix-daemon/guix_daemon-nix-daemon.o
CXX nix/nix-daemon/guix_daemon-guix-daemon.o
CXX nix/libstore/libstore_a-gc.o
CXX nix/libstore/libstore_a-globals.o
^[[B CXX nix/libstore/libstore_a-misc.o
CXX nix/libstore/libstore_a-references.o
CXX nix/libstore/libstore_a-store-api.o
CXX nix/libstore/libstore_a-optimise-store.o
CXX nix/libstore/libstore_a-local-store.o
CXX nix/libstore/libstore_a-build.o
CXX nix/libstore/libstore_a-pathlocks.o
CXX nix/libstore/libstore_a-derivations.o
CXX nix/libstore/libstore_a-builtins.o
CXX nix/libstore/libstore_a-sqlite.o
AR libstore.a
ar: `u' modifier ignored since `D' is the default (see `U')
CXX nix/libutil/libutil_a-archive.o
CXX nix/libutil/libutil_a-affinity.o
CXX nix/libutil/libutil_a-serialise.o
CXX nix/libutil/libutil_a-util.o
CXX nix/libutil/libutil_a-hash.o
CXX nix/libutil/libutil_a-gcrypt-hash.o
AR libutil.a
ar: `u' modifier ignored since `D' is the default (see `U')
CXX nix/boost/format/libformat_a-free_funcs.o
CXX nix/boost/format/libformat_a-parsing.o
CXX nix/boost/format/libformat_a-format_implementation.o
AR libformat.a
ar: `u' modifier ignored since `D' is the default (see `U')
CXXLD guix-daemon
/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib/libpthread.so.0: undefined reference to `__sigtimedwait@GLIBC_PRIVATE'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:3366: guix-daemon] Error 1
make[2]: Leaving directory '/home/ben/work/ws/guix'
make[1]: *** [Makefile:4493: all-recursive] Error 1
make[1]: Leaving directory '/home/ben/work/ws/guix'
make: *** [Makefile:3144: all] Error 2
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEPn825zvdanEG+SAhAjwF4snAaPAFAlsjC08ACgkQAjwF4snA
aPDuqhAAsN0rcjiaw2IoJBHKpjuVfGu50JtqCzT17XOxCdDDQsBkrdfNxTThAhqW
yV0FMgaDPEf/TJzZXReBTkLktabqB4qeVn+TCGRA9bum9FyguRB9CvEPIXp826dZ
JlggPAC5k/APZ0X8IMtWdIMCeY4h+9gctrqibQqRHK5lvLj8fFyUKuY8FbV+lhQ1
0nQs4wdHZDsox21sEsKAR2Ef/A+/eSk1uHW5QW85FabBx7hdYl1B9UNqdGfVc94S
Z38knVKsGBIcf1RCr5cMZrfyyVOscPozZvOKkQbPV1XIHtQzQPWbzf8NqrVxRoiA
IfMqgi84xOmvQTRq2awnF282x9mZBe6vis4oPyOQIqdiYmqg5Ofm+a2f/XOp/Cbh
HlIXkW54b5Zdqh0eLp0K45vpJ8Vj+IRuwPk4c7Lt0dHdQInknlu2JrmZpvGXrob8
m6WuhctvAYosEpwYO4dTzTL66IGNqwwZ0PA+s3L/3yZfBDteB+8ohBxHgZItDTTs
atpnXyaaPWpLqNuxCXQFQOJrm7TmSQhq+Gj+H00gQGEe0+PNoLORT3ciM0m+Yku+
qYHwAVZx9zSiLAhff4rWOwfkup/Sp1l3cWDuRBYhJAzzSKLVV40jqSVvnHBAomVu
K7JXARfE891BGyc8kAIY4P1OMPR6Z7EuP77Kls88BQYwvS84/wg=
=iZdf
-----END PGP SIGNATURE-----

R
R
Ricardo Wurmus wrote on 16 Jun 2018 23:08
(name . Ben Sturmfels)(address . ben@stumbles.id.au)(address . 31838@debbugs.gnu.org)
87fu1m5tj1.fsf@elephly.net
Hi Ben,

Toggle quote (4 lines)
> I'm on the current head of Guix master,
> b494bbe466419dcac9f415c1152131f012b9555e, and I'm getting an error
> building guix. I've just run a "make clean" and "./bootstrap" prior to
> the below.
[…]
Toggle quote (9 lines)
> CXXLD guix-daemon
> /gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib/libpthread.so.0: undefined reference to `__sigtimedwait@GLIBC_PRIVATE'
> collect2: error: ld returned 1 exit status
> make[2]: *** [Makefile:3366: guix-daemon] Error 1
> make[2]: Leaving directory '/home/ben/work/ws/guix'
> make[1]: *** [Makefile:4493: all-recursive] Error 1
> make[1]: Leaving directory '/home/ben/work/ws/guix'
> make: *** [Makefile:3144: all] Error 2

I haven’t seen this error before. Are you doing this inside of a *pure*
environment?

--
Ricardo
L
L
Ludovic Courtès wrote on 27 Jun 2018 22:50
control message for bug #31838
(address . control@debbugs.gnu.org)
87tvpovtqn.fsf@gnu.org
tags 31838 unreproducible
B
B
Ben Sturmfels wrote on 28 Jun 2018 02:44
Re: bug#31838: "make" error on guix master
(name . Ricardo Wurmus)(address . rekado@elephly.net)(address . 31838@debbugs.gnu.org)
5B342F54.6090605@stumbles.id.au
On 17/06/18 07:08, Ricardo Wurmus wrote:

Toggle quote (17 lines)
>> I'm on the current head of Guix master,
>> b494bbe466419dcac9f415c1152131f012b9555e, and I'm getting an error
>> building guix. I've just run a "make clean" and "./bootstrap" prior to
>> the below.
> […]
>> CXXLD guix-daemon
>> /gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib/libpthread.so.0: undefined reference to `__sigtimedwait@GLIBC_PRIVATE'
>> collect2: error: ld returned 1 exit status
>> make[2]: *** [Makefile:3366: guix-daemon] Error 1
>> make[2]: Leaving directory '/home/ben/work/ws/guix'
>> make[1]: *** [Makefile:4493: all-recursive] Error 1
>> make[1]: Leaving directory '/home/ben/work/ws/guix'
>> make: *** [Makefile:3144: all] Error 2
>
> I haven’t seen this error before. Are you doing this inside of a *pure*
> environment?

Thanks Ricardo, I tried "--pure" which didn't do the trick on its own,
but then tried disabling my .bashrc, which made the issue go away.

Regards,
Ben
Attachment: signature.asc
L
L
Ludovic Courtès wrote on 29 Jun 2018 10:35
control message for bug #31838
(address . control@debbugs.gnu.org)
8736x6vvlh.fsf@gnu.org
tags 31838 notabug
close 31838
?
Your comment

This issue is archived.

To comment on this conversation send an email to 31838@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 31838
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch