256lights / zb

An experiment in hermetic, reproducible build systems
MIT License
185 stars 3 forks source link

Unable to build automake 1.11.2 #1

Closed zombiezen closed 4 months ago

zombiezen commented 4 months ago

I'm having a fair degree of trouble in building automake 1.11.2. As best as I can tell, the configure script is failing to generate a script properly (see https://github.com/autotools-mirror/automake/blob/v1.11.2/configure#L1512).

Other information I've gathered:

Logs from building at 388bf6695003c33ce109074dcf266db7e5cd7356:

automake-1.11.2: beginning build using script pass1.sh
automake-1.11.2: getting sources.
automake-1.11.2.tar.bz2: OK
automake-1.11.2: unpacking source.
automake-1.11.2: preparing source.
Applying patch: /build/src/automake-1.11.2/patches/aclocal_glob.patch
patching file aclocal.in
Applying patch: /build/src/automake-1.11.2/patches/bootstrap-shell.patch
patching file bootstrap
patching script interpreter paths in bootstrap
bootstrap: interpreter directive changed from "#! /bin/sh" to "/nix/store/lrqvi27q4lmd6cl0m7hyyhyd6wmasy2a-bash-2.05b/bin/sh"
automake-1.11.2: configuring source.
checking build system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /nix/store/acsbl8f67z5dg0aa6i04irc18y7gxlxs-coreutils-5.0/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /nix/store/acsbl8f67z5dg0aa6i04irc18y7gxlxs-coreutils-5.0/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for perl... /nix/store/fv216aj22zgzm7m22q2qfl5mc725fafr-perl-5.6.2/bin/perl
checking whether /nix/store/fv216aj22zgzm7m22q2qfl5mc725fafr-perl-5.6.2/bin/perl supports ithreads... no
checking for tex... no
checking whether autoconf is installed... yes
checking whether autoconf works... yes
checking whether autoconf is recent enough... yes
checking whether ln works... yes
checking for grep that handles long lines and -e... /nix/store/i0iwbw4bflbx3yp7qwjczj0mvac244ln-grep-2.4/bin/grep
checking for egrep... /nix/store/i0iwbw4bflbx3yp7qwjczj0mvac244ln-grep-2.4/bin/grep -E
checking for fgrep... /nix/store/i0iwbw4bflbx3yp7qwjczj0mvac244ln-grep-2.4/bin/grep -F
checking whether /bin/sh has working 'set -e' with exit trap... yes
configure: creating ./config.status
sed: couldn't write %d items to %s: %s
config.status: creating Makefile
gawk: ./conf0Ww8Bl/subs.awk:3: S["LTLIBOBJS"]=
gawk: ./conf0Ww8Bl/subs.awk:3:                ^ unexpected newline
sed: couldn't write %d items to %s: %s
config.status: error: could not create Makefile