mainAutoconf - Support: sr #111272, autoreconf -i should invoke...

 
 

sr #111272: autoreconf -i should invoke autopoint when configure.ac invokes AM_ICONV or AC_LIB_LINKFLAGS

Submitter:  Bruno Haible <haible>
Submitted:  Wed 02 Jul 2025 12:47:24 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

Fri 18 Jul 2025 01:03:56 PM UTC, comment #3: 

Similarly, 'autopoint' needs to be invoked when the configure.ac contains an invocation of AM_PO_SUBDIRS or AC_LIB_LINKFLAGS_FROM_LIBS.

How to reproduce regarding AM_PO_SUBDIRS:
Download the chemical-mime-data_0.1.94.orig.tar.gz tarball from https://packages. ... hemical-mime-data .
Unpack it.
Run 'autoreconf -v -i -f'.

How to reproduce regarding AC_LIB_LINKFLAGS_FROM_LIBS:
Download the jellyfish_2.3.0.orig.tar.gz tarball from https://packages. ... ookworm/jellyfish .
Unpack it.
Run 'autoreconf -v -i -f'.

Find attached an updated patch that handles these two cases as well.

(file #57421)

Bruno Haible <haible>
Wed 16 Jul 2025 06:59:18 PM UTC, comment #2: 

Similarly, 'autopoint' needs to be invoked when the configure.ac contains an invocation of AM_GNU_GETTEXT without an invocation of AM_GNU_GETTEXT_VERSION or AM_GNU_GETTEXT_REQUIRE_VERSION.

How to reproduce:
Download the gnujump_1.0.8.orig.tar.gz tarball from https://packages. ... /bookworm/gnujump .
Unpack it.
Run 'autoreconf -v -i -f'.

Find attached an updated patch that handles this case as well.

(file #57419)

Bruno Haible <haible>
Wed 02 Jul 2025 12:49:56 AM UTC, comment #1: 

Find attached a proposed fix. Tested on the grcompiler and libmatheval tarballs mentioned above.

(file #57356)

Bruno Haible <haible>
Wed 02 Jul 2025 12:47:24 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.

'autoreconf -i' should invoke 'autopoint' on packages that reference AM_ICONV or AC_LIB_LINKFLAGS or AC_LIB_HAVE_LINKFLAGS in their configure.ac, because that is the only supported way to get the relevant *.m4 and config.rpath files, other than using gnulib-tool. (Recall that AM_ICONV relies on AC_LIB_LINKFLAGS, and AC_LIB_LINKFLAGS relies on config.rpath, and 'aclocal' would not install config.rpath.)

How to reproduce for AM_ICONV:
Download the grcompiler_5.2.1.orig.tar.gz tarball from https://packages. ... rg/sid/grcompiler .
Unpack it.
Run 'autoreconf -v -i -f'.

How to reproduce for AC_LIB_LINKFLAGS:
Download the libmatheval_1.1.11+dfsg.orig.tar.gz tarball from https://packages. ... d/libmatheval-dev .
Unpack it.
Copy guile.m4 from Guile 3.x into m4/guile.m4.
Run 'autoreconf -v -i -f'.

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

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-07-18 haible Attached File- Added 0001-autoreconf-Invoke-autopoint-in-more-situations.patch, #57421
    2025-07-16 haible Attached File- Added 0001-autoreconf-Invoke-autopoint-in-more-situations.patch, #57419
    2025-07-02 haible Attached File- Added 0001-autoreconf-Invoke-autopoint-in-more-situations.patch, #57356

    Back to the top

    Powered by Savane 3.16-11ef.
    Corresponding source code