mainAutoconf - Support: sr #111273, autoreconf -i should use option...

 
 

sr #111273: autoreconf -i should use option "-I m4" after running autopoint

Submitter:  Bruno Haible <haible>
Submitted:  Wed 02 Jul 2025 12:55:14 AM UTC
   
 
Priority:  * 5 - Unprioritized Severity:  3 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Sat 05 Jul 2025 03:38:19 PM UTC, comment #1: 

Find attached a proposed fix, assuming the fix of sr #111272 as prerequisite. Tested on the mozo, grcompiler, and libmatheval tarballs.

(file #57364)

Bruno Haible <haible>
Wed 02 Jul 2025 12:55:14 AM UTC, original submission:  

A list of 'autoreconf' failures, reported by Debian, was analyzed in
https://lists.gnu ... -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. ... bian.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


Bruno Haible <haible>

 

Attached Files

(Note: upload size limit is set to 4.0MiB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by haible (Submitted the item)
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    History

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-07-05 haible Attached File- Added 0001-autoreconf-Adapt-to-the-on-disk-situation-after-auto.patch, #57364

    Back to the top

    Powered by Savane 3.16-ed84.
    Corresponding source code