256lights / zb

An experiment in hermetic, reproducible build systems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to build automake 1.11.2

zombiezen opened this issue · comments

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:

  • The configure script seems to not run properly when run with the bootstrapped bash 2.05b, complaining of invalid syntax of sh -c.
  • I am certain that the bootstrapped bash 2.05b is the one used with live-bootstrap, since the built checksum matches.

Logs from building at 388bf66:

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