>> In my environments, autoconf does not raise such error. >> Do you set the "set -u" or "set -o nounset" somewhere? >> If so, would you remove the setting? > The set -u (or to be complete set -ux) I discovered inside > > /home/gub/gub/target/freebsd-x86/src/lilypond-git.sv.gnu.org--lilypond.git-master/smart-configure.sh > > which was the command that was called when the error was signalled
I've noticed that smart-autogen.sh has "set -ux" and it is invoked from GUB. If I understand correctly, "set -u" and "set -x" etc. do not carry over into child processes. However, at least in your log file, "set -x" seems to be carried over to the child process. >From smart-autogen.sh through autogen.sh to autoconf, all scripts are setted trace mode. Your log file: *** Stage: autoupdate (lilypond, freebsd-x86) invoking cd /home/gub/gub/target/freebsd-x86/src/lilypond-git.sv.gnu.org--lilypond.git-master && ./smart-autogen.sh --noconfigure ++ cat /home/gub/gub/target/freebsd-x86/src/lilypond-git.sv.gnu.org--lilypond.git-master/configure.ac /home/gub/gub/target/freebsd-x86/src/lilypond-git.sv.gnu.org--lilypond.git-master/aclocal.m4 ++ md5sum ++ cut -b 1-32 + AUTOGEN_INPUT_CHECKSUM=6d044a282ff778474007c3d61d131ebc + CHECKSUM_FILE=autogen.checksum ++ cat autogen.checksum cat: autogen.checksum: No such file or directory + test '' = 6d044a282ff778474007c3d61d131ebc + set -e + /home/gub/gub/target/freebsd-x86/src/lilypond-git.sv.gnu.org--lilypond.git-master/autogen.sh --noconfigure ++ dirname /home/gub/gub/target/freebsd-x86/src/lilypond-git.sv.gnu.org--lilypond.git-master/autogen.sh + srcdir=/home/gub/gub/target/freebsd-x86/src/lilypond-git.sv.gnu.org--lilypond.git-master + case $1 in + NOCONFIGURE=true + for i in '$srcdir/configure.ac' ++ dirname /home/gub/gub/target/freebsd-x86/src/lilypond-git.sv.gnu.org--lilypond.git-master/configure.ac + dir=/home/gub/gub/target/freebsd-x86/src/lilypond-git.sv.gnu.org--lilypond.git-master + echo processing /home/gub/gub/target/freebsd-x86/src/lilypond-git.sv.gnu.org--lilypond.git-master processing /home/gub/gub/target/freebsd-x86/src/lilypond-git.sv.gnu.org--lilypond.git-master + cd /home/gub/gub/target/freebsd-x86/src/lilypond-git.sv.gnu.org--lilypond.git-master + echo 'Running autoconf ...' Running autoconf ... + autoconf + DUALCASE=1 [...snip...] In my log file, "set -x" does not seem to be carried over to the child process. Only smart-autogen.sh is setted tracemode. autogen.sh and autoconf are not setted trace mode. My log file: *** Stage: autoupdate (lilypond, freebsd-x86) invoking cd /home/gub/gub/target/freebsd-x86/src/lilypond-git.sv.gnu.org--lilypond.git-master && ./smart-autogen.sh --noconfigure + cat /home/gub/gub/target/freebsd-x86/src/lilypond-git.sv.gnu.org--lilypond.git-master/configure.ac /home/gub/gub/target/freebsd-x86/src/lilypond-git.sv.gnu.org--lilypond.git-master/aclocal.m4 + cut -b 1-32 + md5sum + AUTOGEN_INPUT_CHECKSUM=6d044a282ff778474007c3d61d131ebc + CHECKSUM_FILE=autogen.checksum + cat autogen.checksum cat: autogen.checksum: No such file or directory + test = 6d044a282ff778474007c3d61d131ebc + set -e + /home/gub/gub/target/freebsd-x86/src/lilypond-git.sv.gnu.org--lilypond.git-master/autogen.sh --noconfigure processing /home/gub/gub/target/freebsd-x86/src/lilypond-git.sv.gnu.org--lilypond.git-master Running autoconf ... Skipping configure process. + printf %s 6d044a282ff778474007c3d61d131ebc [...snip...] Perhaps, also "set -u" is carried over in your environment and it is not carried over in my environment. I have no idea. But, in CentOS, /bin/sh is symbolic link to bash, whereas in Ubuntu, /bin/sh is dash. I think that this difference is influenced. _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel