URL:
  <https://savannah.gnu.org/support/?111273>

                 Summary: autoreconf -i should use option "-I m4" after
running autopoint
                   Group: Autoconf
               Submitter: haible
               Submitted: Mi 02 Jul 2025 02:55:14 CEST
                Priority: 5 - Unprioritized
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mi 02 Jul 2025 02:55:14 CEST   By: Bruno Haible <haible>
A list of 'autoreconf' failures, reported by Debian, was analyzed in
https://lists.gnu.org/archive/html/bug-gettext/2025-06/msg00009.html

In order to fix these, some changes are needed on the GNU gettext side and
some changes are needed on the autoreconf side. Now that GNU gettext 0.23.2,
0.24.2, 0.25.1 are released with the GNU gettext side fixes, only the
autoreconf side problems remain. This issue is one of them.

'autopoint -i' installs some macros in the m4/ subdirectory.
But since 'm4' is not declared in configure.ac nor in the ACLOCAL_AMFLAGS in
Makefile.am, 'autoreconf -v -i' invokes 'aclocal' without '-I m4' options. But
that does not provide a working 'configure' file, since it does not see the
macros.

How to reproduce:
Download the mozo_1.26.2.orig.tar.xz tarball from
https://packages.debian.org/sid/mozo .
Unpack it.
Run 'autoreconf -v -i'.

The output is:

autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: running: autopoint
autopoint: using AM_GNU_GETTEXT_REQUIRE_VERSION instead of
AM_GNU_GETTEXT_VERSION
Copying file ABOUT-NLS
Copying file config.rpath
Creating directory m4
Copying file m4/build-to-host.m4
Copying file m4/gettext.m4
Copying file m4/host-cpu-c-abi.m4
Copying file m4/iconv.m4
Copying file m4/intlmacosx.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/progtest.m4
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/en@boldquot.header
Copying file po/en@quot.header
Copying file po/insert-header.sed
Copying file po/quot.sed
Copying file po/remove-potcdate.sed
autoreconf: running: aclocal 
configure.ac:18: warning: macro 'AM_GNU_GETTEXT_VERSION' not found in library
configure.ac:19: warning: macro 'AM_GNU_GETTEXT_REQUIRE_VERSION' not found in
library
configure.ac:20: warning: macro 'AM_GNU_GETTEXT' not found in library
autoreconf: configure.ac: tracing
configure.ac: warning: AM_GNU_GETTEXT_VERSION or
AM_GNU_GETTEXT_REQUIRE_VERSION is used, but not AM_GNU_GETTEXT
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: configure.ac: not needing autopoint
autoreconf: running: /gnu/bin/autoconf
configure.ac:26: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:26: You should run autoupdate.
./lib/autoconf/general.m4:205: AC_HELP_STRING is expanded from...
configure.ac:26: the top level
configure.ac:18: error: undefined or overquoted macro: AM_GNU_GETTEXT_VERSION
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:19: error: undefined or overquoted macro:
AM_GNU_GETTEXT_REQUIRE_VERSION
configure.ac:20: error: undefined or overquoted macro: AM_GNU_GETTEXT
autoreconf: error: /gnu/bin/autoconf failed with exit status: 1









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?111273>

_______________________________________________
Nachricht gesendet über Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to