On Mon, 20 Feb 2023 18:50:05 +0100 John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> wrote:
> Hi Glenn! > > On Mon, 2023-02-20 at 11:34 -0600, Glenn Washburn wrote: > > Does the 2.06 release build with the new autoconf? It looks like > > sid is using 2.06, I don't see any special patches for > > configure.ac, and I presume that the sid grub binary is built with > > the new autoconf. If this all is true, then I'd guess some of the > > recent configure.ac changes may have something to do with it. > > Very good point. I checked out grub-2.06 to verify that theory, but > it actually shows the same problem: > > autoreconf: export WARNINGS= > autoreconf: Entering directory '.' > autoreconf: running: true --force > autoreconf: running: aclocal -I m4 --force -I m4 > autoreconf: configure.ac: tracing > autoreconf: configure.ac: not using Libtool > autoreconf: configure.ac: not using Intltool > autoreconf: configure.ac: not using Gtkdoc > autoreconf: running: /usr/bin/autoconf --include=m4 --force > configure.ac:54: warning: The macro `AC_CONFIG_HEADER' is obsolete. > configure.ac:54: You should run autoupdate. > ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... > configure.ac:54: the top level > configure.ac:336: warning: AC_PROG_LEX without either yywrap or > noyywrap is obsolete ./lib/autoconf/programs.m4:716: _AC_PROG_LEX is > expanded from... ./lib/autoconf/programs.m4:709: AC_PROG_LEX is > expanded from... configure.ac:336: the top level > configure.ac:361: warning: The macro `AC_GNU_SOURCE' is obsolete. > configure.ac:361: You should run autoupdate. > ./lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from... > m4/gnulib-comp.m4:34: gl_EARLY is expanded from... > configure.ac:361: the top level > configure.ac:361: warning: AC_COMPILE_IFELSE was called before > AC_USE_SYSTEM_EXTENSIONS ./lib/autoconf/specific.m4:312: > AC_GNU_SOURCE is expanded from... m4/gnulib-comp.m4:34: gl_EARLY is > expanded from... configure.ac:361: the top level > configure.ac:361: warning: The macro `AC_HELP_STRING' is obsolete. > configure.ac:361: You should run autoupdate. > ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... > m4/threadlib.m4:38: gl_THREADLIB_EARLY_BODY is expanded from... > m4/threadlib.m4:31: gl_THREADLIB_EARLY is expanded from... > m4/gnulib-comp.m4:34: gl_EARLY is expanded from... > configure.ac:361: the top level > configure.ac:372: warning: The macro `AC_GNU_SOURCE' is obsolete. > configure.ac:372: You should run autoupdate. > ./lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from... > configure.ac:372: the top level It looks like the debian build log[1] for sid has the same messages, up to here. The package goes on to build successfully. > configure.ac:423: error: possibly undefined macro: AC_CHECK_HEADERS > If this token and others are legitimate, please use > m4_pattern_allow. See the Autoconf documentation. > configure.ac:514: error: possibly undefined macro: AC_LINK_IFELSE > configure.ac:1608: error: possibly undefined macro: AC_LANG_CALL > autoreconf: error: /usr/bin/autoconf failed with exit status: 1 > ./bootstrap: autoreconf failed Do you have installed all the packages that are installed in that build log? Are you applying all the patches or just building from 2.06 git? Glenn [1] https://buildd.debian.org/status/fetch.php?pkg=grub2&arch=amd64&ver=2.06-8&stamp=1675915603&raw=0 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel