Patrice Dumas wrote: > The './autogen.sh' step in opencsw fails: > https://buildfarm.opencsw.org/buildbot/waterfall?category=texinfo > > It fails since commit > https://git.savannah.gnu.org/cgit/texinfo.git/commit/?id=d695e0fbef88a285884ccd1f1661d13b75013a39
Yes, it fails in my CI as well: aclocal -I gnulib/m4 && autoconf && autoheader && automake (cd tp/Texinfo/XS && libtoolize && aclocal -I gnulib/m4 && autoconf && autoheader && automake) libtoolize: putting auxiliary files in '.'. libtoolize: linking file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'gnulib/m4'. libtoolize: linking file 'gnulib/m4/libtool.m4' libtoolize: linking file 'gnulib/m4/ltoptions.m4' libtoolize: linking file 'gnulib/m4/ltsugar.m4' libtoolize: linking file 'gnulib/m4/ltversion.m4' libtoolize: linking file 'gnulib/m4/lt~obsolete.m4' configure.ac:132: error: required file './compile' not found configure.ac:132: 'automake --add-missing' can install 'compile' configure.ac:134: error: required file './config.guess' not found configure.ac:134: 'automake --add-missing' can install 'config.guess' configure.ac:134: error: required file './config.sub' not found configure.ac:134: 'automake --add-missing' can install 'config.sub' configure.ac:14: error: required file './install-sh' not found configure.ac:14: 'automake --add-missing' can install 'install-sh' configure.ac:14: error: required file './missing' not found configure.ac:14: 'automake --add-missing' can install 'missing' Makefile.am: error: required file './depcomp' not found Makefile.am: 'automake --add-missing' can install 'depcomp' Fixed through the attached patch. More precisely, fixed through the second part of the attached patch. The first part serves the purpose of updating the same files also in the build-aux/ directory, so that you don't risk distributing outdated files for 6 years any more :) But it assumes that the main contributors are all on the same Automake version, otherwise one guy gets differences, commits them, and then the other contributor gets the reverse differences. Bruno
>From a65dbe54257656b92a81261e22725370f855d469 Mon Sep 17 00:00:00 2001 From: Bruno Haible <br...@clisp.org> Date: Mon, 12 Aug 2024 12:01:21 +0200 Subject: [PATCH] build: Tell automake to install various build-aux/ files. * autogen.sh: Invoke AUTOMAKE with options -a -c. --- autogen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index a2f530d46f..3b9b06d5e7 100755 --- a/autogen.sh +++ b/autogen.sh @@ -42,13 +42,13 @@ fi : ${AUTOHEADER=autoheader} : ${AUTOMAKE=automake} : ${AUTOCONF=autoconf} -cmd="$ACLOCAL -I gnulib/m4 && $AUTOCONF && $AUTOHEADER && $AUTOMAKE" +cmd="$ACLOCAL -I gnulib/m4 && $AUTOCONF && $AUTOHEADER && $AUTOMAKE -a -c" echo " $cmd $*" $chicken eval $cmd "$@" || exit 1 : ${LIBTOOLIZE=libtoolize} cmd="(cd tp/Texinfo/XS && ${LIBTOOLIZE} \ - && $ACLOCAL -I gnulib/m4 && $AUTOCONF && $AUTOHEADER && $AUTOMAKE)" + && $ACLOCAL -I gnulib/m4 && $AUTOCONF && $AUTOHEADER && $AUTOMAKE -a -c)" echo " $cmd" $chicken eval $cmd || exit 1 -- 2.34.1