On Tue, 2023-03-28 at 08:44 +0100, Richard Purdie wrote: > On Mon, 2023-03-27 at 08:38 -0700, Jim Meyering wrote: > > We're overdue for a new release, so here's a snapshot in preparation > > for that, which I want to call 2.73 (skipping 2.72). There has never > > been an autoconf-2.72 release, yet `git describe` now prints 2.72c and > > has been printing strings like v2.72a-92-g8db00aa8 for years. > > > > If you maintain a package that uses autoconf and can make a release soon, > > please install this and use it to bootstrap its configs. We'd love to > > expose any issues before we make the release. I've already done that > > with grep-3.10, so far without incident. > > I work on Yocto Project which cross compiles Linux systems from > sources. We run autoreconf against most things. > > I tried the 2.72c tarball and found three things which failed. > > libarchive 3.6.2 at configure time: > > > checking for int16_t... no > > checking for uint16_t... no > > checking for uint8_t... no > > checking for gcc options needed to detect all undeclared functions... cannot detect > > configure: error: in '/media/build/poky/build/tmp/work/x86_64-linux/libarchive-native/3.6.2-r0/build': > > configure: error: cannot make gcc report undeclared builtins > > See 'config.log' for more details > > NOTE: The following config.log files may provide further information. > > NOTE: /media/build/poky/build/tmp/work/x86_64-linux/libarchive-native/3.6.2-r0/build/config.log > > > gettext 0.21.1: > > > autoreconf: running: aclocal --system-acdir=/media/build/poky/build/tmp/work/x86_64-linux/gettext-native/0.21.1-r0/recipe-sysroot-native/usr/share/aclocal/ --automake-acdir=/media/build/poky/build/tmp/work/x86_64-linux/gettext-native/0.21.1-r0/recipe-sysroot-native/usr/share/aclocal-1.16 -I /media/build/poky/build/tmp/work/x86_64-linux/gettext-native/0.21.1-r0/gettext-0.21.1/gettext-runtime/m4 -I /media/build/poky/build/tmp/work/x86_64-linux/gettext-native/0.21.1-r0/gettext-0.21.1/gettext-tools/m4 --force -I m4 -I ../m4 -I gnulib-m4 > > autoreconf: running: /media/build/poky/build/tmp/work/x86_64-linux/gettext-native/0.21.1-r0/recipe-sysroot-native/usr/bin/autoconf --include=/media/build/poky/build/tmp/work/x86_64-linux/gettext-native/0.21.1-r0/gettext-0.21.1/gettext-runtime/m4 --include=/media/build/poky/build/tmp/work/x86_64-linux/gettext-native/0.21.1-r0/gettext-0.21.1/gettext-tools/m4 --force > > configure.ac:113: warning: AC_RUN_IFELSE called without default to allow cross compiling > > ../autoconf-2.72c/lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... > > ../autoconf-2.72c/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... > > ../autoconf-2.72c/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... > > ../autoconf-2.72c/lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... > > ../autoconf-2.72c/lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... > > gnulib-m4/calloc.m4:18: _AC_FUNC_CALLOC_IF is expanded from... > > gnulib-m4/calloc.m4:57: gl_FUNC_CALLOC_GNU is expanded from... > > gnulib-m4/gnulib-comp.m4:213: gl_INIT is expanded from... > > configure.ac:113: the top level > > configure.ac:113: warning: AC_RUN_IFELSE called without default to allow cross compiling > > ../autoconf-2.72c/lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... > > ../autoconf-2.72c/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... > > ../autoconf-2.72c/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... > > ../autoconf-2.72c/lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... > > ../autoconf-2.72c/lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... > > gnulib-m4/getopt.m4:50: gl_GETOPT_CHECK_HEADERS is expanded from... > > gnulib-m4/getopt.m4:8: gl_FUNC_GETOPT_POSIX is expanded from... > > gnulib-m4/gnulib-comp.m4:213: gl_INIT is expanded from... > > configure.ac:113: the top level > > configure:8321: error: possibly undefined macro: _AC_SYS_LARGEFILE_TEST_INCLUDES > > If this token and others are legitimate, please use m4_pattern_allow. > > See the Autoconf documentation. > > autoreconf: error: /media/build/poky/build/tmp/work/x86_64-linux/gettext-native/0.21.1-r0/recipe-sysroot-native/usr/bin/autoconf failed with exit status: 1 > > ERROR: autoreconf execution failed. > > > and a similar autoreconf failure from bison 3.8.2: > > > autoreconf: configure.ac: not using Gtkdoc > > autoreconf: running: /media/build/poky/build/tmp/work/x86_64-linux/bison-native/3.8.2-r0/recipe-sysroot-native/usr/bin/autoconf --include=./m4 --force > > configure.ac:285: warning: AC_RUN_IFELSE called without default to allow cross compiling > > ../autoconf-2.72c/lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... > > ../autoconf-2.72c/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... > > ../autoconf-2.72c/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... > > ../autoconf-2.72c/lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... > > ../autoconf-2.72c/lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... > > m4/calloc.m4:18: _AC_FUNC_CALLOC_IF is expanded from... > > m4/calloc.m4:57: gl_FUNC_CALLOC_GNU is expanded from... > > m4/gnulib-comp.m4:385: gl_INIT is expanded from... > > configure.ac:285: the top level > > configure.ac:285: warning: AC_RUN_IFELSE called without default to allow cross compiling > > ../autoconf-2.72c/lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... > > ../autoconf-2.72c/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... > > ../autoconf-2.72c/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... > > ../autoconf-2.72c/lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... > > ../autoconf-2.72c/lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... > > m4/getopt.m4:48: gl_GETOPT_CHECK_HEADERS is expanded from... > > m4/getopt.m4:8: gl_FUNC_GETOPT_POSIX is expanded from... > > m4/gnulib-comp.m4:385: gl_INIT is expanded from... > > configure.ac:285: the top level > > configure.ac:285: warning: AC_RUN_IFELSE called without default to allow cross compiling > > ../autoconf-2.72c/lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... > > ../autoconf-2.72c/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... > > ../autoconf-2.72c/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... > > ../autoconf-2.72c/lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... > > ../autoconf-2.72c/lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... > > m4/posix_spawn.m4:132: gl_POSIX_SPAWN_WORKS is expanded from... > > m4/posix_spawn.m4:13: gl_POSIX_SPAWN_BODY is expanded from... > > m4/posix_spawn.m4:8: gl_POSIX_SPAWN is expanded from... > > m4/gnulib-comp.m4:385: gl_INIT is expanded from... > > configure.ac:285: the top level > > configure:8273: error: possibly undefined macro: _AC_SYS_LARGEFILE_TEST_INCLUDES > > If this token and others are legitimate, please use m4_pattern_allow. > > See the Autoconf documentation. > > autoreconf: error: /media/build/poky/build/tmp/work/x86_64-linux/bison-native/3.8.2-r0/recipe-sysroot-native/usr/bin/autoconf failed with exit status: 1 > > ERROR: autoreconf execution failed. > > WARNING: exit code 1 from a shell command. > > I haven't dug into any of the issues yet so I don't know if there is a > simple fix or I'm missing something obvious. The latter two look like they're as I'm missing the gnulib fixes to largefile.m4. Whilst we run autoreconf, we don't pull in new gnulib as doing that is much less standardised so this could be a bit of a pain for us. Cheers, Richard