Subject: "Building from GIT" not succeeding

From: Laurence Taylor <[email-masked]>
Date: Mon, 16 Jan 2023 13:08:37 +0100

commit eb329c946181557f3dd63195d4938592ef9f4f98
Here is the readout on using the instructions at
https://guix.gnu.org/manual/en/html_node/Building-from-Git.html
I have the impression this build is necessary to get documentation
completion working in emacs/geiser and am working up from downstream errors.

⋊> ~/o/s/guix on master ⨯ guix pull
>
>                                                    12:56:41
> Updating channel 'guix' from Git repository at '
> https://git.savannah.gnu.org/git/guix.git'...
> Building from this channel:
>   guix      https://git.savannah.gnu.org/git/guix.git f094c38
> Computing Guix derivation for 'x86_64-linux'... \
> nothing to be done
>
> News for channel 'guix'
>   Linux-libre 6.0 removed due to end of upstream support
>
>
> hint: Run `guix pull --news' to read all the news.
>
> hint: After setting `PATH', run `hash guix' to make sure your shell refers
> to `/home/dayz/.config/guix/current/bin/guix'.
>
> ⋊> ~/o/s/guix on master ⨯
>
>                                                      13:01:02
> ⋊> ~/o/s/guix on master ⨯ guix shell -D guix help2man git strace --pure
>
>                                                      13:01:06
> Welcome to fish, the friendly interactive shell
> ⋊> /m/d/o/s/guix on master ⨯ ./bootstrap
>
>                                                     13:01:19
> + find po/doc -type f -name guix-manual*.po
> + sed -e s,.*/guix-manual\.,,;s,\.po$,,
> + langs=ru
> zh_CN
> fr
> pt_BR
> es
> de
> + [ ! -e doc/guix.ru.texi ]
> + [ ! -e doc/guix.zh_CN.texi ]
> + [ ! -e doc/guix.fr.texi ]
> + [ ! -e doc/guix.pt_BR.texi ]
> + [ ! -e doc/guix.es.texi ]
> + [ ! -e doc/guix.de.texi ]
> + find po/doc -type f -name guix-cookbook*.po
> + sed -e s,.*/guix-cookbook\.,,;s,\.po$,,
> + langs=sk
> ko
> fr
> de
> + [ ! -e doc/guix-cookbook.sk.texi ]
> + [ ! -e doc/guix-cookbook.ko.texi ]
> + [ ! -e doc/guix-cookbook.fr.texi ]
> + [ ! -e doc/guix-cookbook.de.texi ]
> + exec autoreconf -vfi
> autoreconf: Entering directory `.'
> autoreconf: running: autopoint --force
> autoreconf: running: aclocal --force -I m4
> autoreconf: configure.ac: tracing
> autoreconf: configure.ac: not using Libtool
> autoreconf: running:
> /gnu/store/km9l89sd4wm9jp358481v2z6qacwl2h9-autoconf-2.69/bin/autoconf
> --force
> autoreconf: running:
> /gnu/store/km9l89sd4wm9jp358481v2z6qacwl2h9-autoconf-2.69/bin/autoheader
> --force
> autoreconf: running: automake --add-missing --copy --force-missing
> Makefile.am:848: warning: AM_GNU_GETTEXT used but 'po' not in SUBDIRS
> autoreconf: Leaving directory `.'
> ⋊> /m/d/o/s/guix on master ⨯ ./configure --localstatedir=/var
>
>                                                      13:01:36
>
> checking for a BSD-compatible install...
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p...
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether UID '1000' is supported by ustar format... yes
> checking whether GID '1000' is supported by ustar format... yes
> checking how to create a ustar tar archive... gnutar
> 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/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/grep
> checking for egrep...
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-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 for a sed that does not truncate output...
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/sed
> checking whether NLS is requested... yes
> checking for msgfmt...
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/msgfmt
> checking for gmsgfmt...
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/msgfmt
> checking for xgettext...
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/xgettext
> checking for msgmerge...
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-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/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/ld
> checking if the linker
> (/gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-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... (cached)
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-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... /mnt/dat/o/src/guix/test-tmp
> checking the length of the socket file name used in tests... 60
> checking the length of a typical hash bang line... 73
> checking the length of a hash bang line used in tests... 97
> checking for pkg-config...
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> configure: checking for guile 3.0
> configure: found guile 3.0
> checking for guile-3.0... no
> checking for guile3.0... no
> checking for guile-3... no
> checking for guile3... no
> checking for guile...
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/guile
> checking for Guile version >= 3.0... 3.0.8
> checking for guild...
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/guild
> checking for guile-config...
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/guile-config
> checking for guile-3.0 >= 3.0.3... yes
> checking for guile-3.0... yes
> checking if (gnutls) is available... yes
> checking if (git) is available... yes
> checking whether Guile-JSON is available and recent enough... yes
> checking whether Guile-Sqlite3 is available and recent enough... yes
> checking whether Guile-Gcrypt is available and recent enough... yes
> checking whether Guile-Git is available and recent enough... yes
> checking if (htmlprag) exports `%strict-tokenizer?'... yes
> checking whether Guile-zlib is available and recent enough... yes
> checking if (lzlib) is available... yes
> checking if (avahi) is available... yes
> checking if (newt) is available... no
> checking whether
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/guile provides
> feature 'regex'... yes
> checking whether
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/guile provides
> feature 'posix'... yes
> checking whether
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/guile provides
> feature 'socket'... yes
> checking whether
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/guile provides
> feature 'net-db'... yes
> checking whether
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/guile provides
> feature 'threads'... yes
> checking for a sed that does not truncate output... (cached)
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/sed
> checking for gzip...
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/gzip
> checking for bzip2...
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/bzip2
> checking for xz...
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/xz
> checking for libgcrypt-config...
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/libgcrypt-config
> checking libgcrypt's library directory...
> /gnu/store/3kl94m3ksm45a880b6lnn3kagk857lj9-libgcrypt-1.8.8/lib
> 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 for statx... 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 for default substitute URLs... https://ci.guix.gnu.org
> https://bordeaux.guix.gnu.org
> checking whether Guile-SSH is available and recent enough... (cached) yes
> checking for unit test root directory... (cached)
> /mnt/dat/o/src/guix/test-tmp
> checking for guile... (cached)
> /gnu/store/yrkpm59y0n77n20aijs0yfha44s69h88-profile/bin/guile
> checking the current installation's localstatedir... none
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> 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 etc/committer.scm
> config.status: creating etc/teams.scm
> config.status: creating test-env
> config.status: creating pre-inst-env
> config.status: creating nix/config.h
> config.status: nix/config.h is unchanged
> 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
> ⋊> /m/d/o/s/guix on master ⨯ make
>
>                                                      13:02:08
>   GEN      .version
> make  all-recursive
> make[1]: Entering directory '/mnt/dat/o/src/guix'
> Making all in po/guix
> make[2]: Entering directory '/mnt/dat/o/src/guix/po/guix'
> make[2]: Nothing to be done for 'all'.
> make[2]: Leaving directory '/mnt/dat/o/src/guix/po/guix'
> Making all in po/packages
> make[2]: Entering directory '/mnt/dat/o/src/guix/po/packages'
> make[2]: Nothing to be done for 'all'.
> make[2]: Leaving directory '/mnt/dat/o/src/guix/po/packages'
> make[2]: Entering directory '/mnt/dat/o/src/guix'
>   GEN      scripts/guix
> Compiling Scheme modules...
> [ 23%] LOAD     guix/config.scm
> ;;; note: source file ./guix/config.scm
> ;;;       newer than compiled /mnt/dat/o/src/guix/guix/config.go
> ;;; note: source file ./guix/config.scm
> ;;;       newer than compiled /mnt/dat/o/src/guix/guix/config.go
> [ 23%] GUILEC   guix/config.go
> Compiling Scheme modules...
> Compiling Scheme modules...
> Compiling Scheme modules...
> [ 78%] LOAD     gnu.scm
> error: failed to load 'gnu.scm':
> ice-9/eval.scm:293:34: no code for module (sExplorer Excluderfi srfi-35)
> make[2]: *** [Makefile:6873: make-system-go] Error 1
> make[2]: Leaving directory '/mnt/dat/o/src/guix'
> make[1]: *** [Makefile:5940: all-recursive] Error 1
> make[1]: Leaving directory '/mnt/dat/o/src/guix'
> make: *** [Makefile:4054: all] Error 2
>