#1036448 debhelper: please add helper for autoconf 2.71 autoupdate

#1036448#5
Date:
2023-05-21 07:11:00 UTC
From:
To:
Possibly related to dh_autoreconf:

Since autoconf 2.71 has entered the archive, it often complains about outdated macros, asking for 'autoupdate' to be run. Example:

dh binary --builddirectory=build/
   dh_update_autotools_config -O--builddirectory=build/
   dh_autoreconf -O--builddirectory=build/
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:42: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:42: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:42: the top level
configure.ac:48: warning: The macro `AC_PROG_CC_C99' is obsolete.
configure.ac:48: You should run autoupdate.
./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from...
aclocal.m4:1899: XORG_COMPILER_BRAND is expanded from...
aclocal.m4:2018: XORG_COMPILER_FLAGS is expanded from...
aclocal.m4:2190: XORG_DEFAULT_OPTIONS is expanded from...
configure.ac:48: the top level
configure.ac:52: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:52: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:52: the top level

Running 'autoupdate' indeed makes autoconf stop complaining, but it also results in dpkg forcing us to create a patch against autoconf.ac, which is IMHO the wrong approach.

Unless I'm mistaken, this is a case similar to updating config.guess and config.sub, so there should be a way to tell dh_autoreconf to run 'autoupdate' without making dkpg complain.

Martin-Éric

- -- System Information:
Debian Release: 12.0
  APT prefers unstable
  APT policy: (900, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 5.10.0-23-amd64 (SMP w/4 CPU threads)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages debhelper depends on:
ii  autotools-dev            20220109.1
ii  dh-autoreconf            20
ii  dh-strip-nondeterminism  1.13.1-1
ii  dpkg                     1.21.22
ii  dpkg-dev                 1.21.22
ii  dwz                      0.15-1
ii  file                     1:5.44-3
ii  libdebhelper-perl        13.11.4
ii  libdpkg-perl             1.21.22
ii  man-db                   2.11.2-2
ii  perl                     5.36.0-7
ii  po-debconf               1.0.21+nmu1

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  2.202301

- -- no debconf information
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAmRpxAEACgkQrh+Cd8S0
17ZaAw/+K9euosHMApOBvX1v3MzuprbhfQ9JJCDU5wszBjShgl6XjbtdSXgfU4kv
LtrEq8NBbaDqPfLkigkev1Ae98xwMAVOcaMULaCauzuOHTi3vJbWLxvJjMcF9RHu
iEP817dT8a5FxSAQFut8Fpy+2bqKJuTVyFrd7UN/9iysG2Lcgv59ErO28WYGynIy
ZAbjZ4WWmWXk0arduZSxICbkRZ4tNm1TiAbnTbMXSMndgJKlj2JymAdfcbev5A7P
OKKvK7+OisqO53WRk3M+LF1A8BBYq3w+Y57mK+DXzFCWg4X4zx76/WYOFk5KrMF/
IyqnzizxQZsP+LoS3daEtEm2oDVGN96qfk/RKvknTfZ13lpXDa0nNJzML3FGNS1m
d2KeuFvXzF18swt7unl5LeeF98opGB2+xh1e4V4m1LAEjJVTmxhru555Uhze+2kG
BJK+QGUdPxbyXBCwmUQ/xnntd5+x4XRKdGzJDxA9rcYZdYPelwL26LaDFIp9JP13
KXm1IZUTJ1TSlfcUFfsZmQnJzwB8T0ImQXop5t8fHVsNkVjUhMk3Uzo60clqEg3T
VpThgdeNgofcdDe54/2KcYCYx56QQTvv5TL9oM7zbGU7v+kKkHTUrTw95NSp3ZvX
in5sOL8/27X2Os7SpoLn3m1L5ZSzXhdaLMO85fCv/W6D4935zkA=
=+U8W
-----END PGP SIGNATURE-----

#1036448#10
Date:
2023-05-22 07:30:55 UTC
From:
To:
The dh-autoreconf tool is maintained in a separate package; re-assigning.

Best regards,
Niels

Martin-Éric Racine:

#1036448#19
Date:
2024-06-09 12:59:14 UTC
From:
To:
Fair enough.

Could the dh-autoreconf maintainer acknowledge this bug and tell us
his intentions?

Martin-Éric

#1036448#26
Date:
2024-07-07 09:41:44 UTC
From:
To:
Greetings,

Has there been any progress on this?

Martin-Éric


- -- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 6.1.0-22-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages dh-autoreconf depends on:
ii  autoconf           2.71-3
ii  automake           1:1.16.5-1.3
ii  autopoint          0.22.5-1
ii  debhelper          13.16
ii  libdebhelper-perl  13.16
ii  libtool            2.4.7-7
ii  perl               5.38.2-5

dh-autoreconf recommends no packages.

dh-autoreconf suggests no packages.

- -- no debconf information
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAmaKYtUACgkQrh+Cd8S0
17bD0A/9EH/23xJ9zIC/JhcFZs4j8J5TstmNMzm24vtXNA89QO0NMBig9+jmwBkW
SIdhwfcAbrr591oDbJjzJHwQ51NzgYqPA23X/4kxXaRm2JbvIftCWauh3SIbjqHj
DZUi3p08/qp866g1kIGHrOzRKkaDMoUV01LNz2FSXkxrMN7BI1BgjESBz6MS0vS+
1Gz0mkjah/2y3wL1WO/23EwWAALGbS00Lmk593vslzC5aMVG5t8I21W8NKojDU6w
0DG9JfxDJoaR9xtI9L/8MVcfqGyLYHb60mKTcn7xFJ1P9xu0yjxyEKnLUUwXlFQh
koepvz+UX+sbUGCdOyj4/cK1mqD7NunwELMbt8+oi62utDakOmu7VPSXKRQIRRdt
3DIa1n+olf+wkouDgB5aKTQsUwpoC+3fJss/2XZUHH2N97DdvB17n40DlJuug6Ca
ZAUXaH/oydvj04fbfn0LG478W4RyAEXbkOduAGk9SpJ4KSufFW9ocpyrf9eEGbKd
JPvASZjzxVE855RZzsfabyg3G9OzMhxYkL0WODk6v22ldTgiGBqR0Q1UouJznfGU
SX/dQ9wsDvnslO4eqDvWCOLAeRi4LEPdZvKvijvYeW7agqVgy2BYSoYUy8ISgmiS
dz5g7UN3Mvjy59wj5J59yCm/3dIDjsqGWPoTCacKxfmsu1E7NFs=
=m9u1
-----END PGP SIGNATURE-----

#1036448#31
Date:
2024-07-08 12:30:43 UTC
From:
To:
If we want to do this for the next debhelper compat level,
we need to figure out when to call autoupdate, and possibly
also need a switch to disable it.

It's not clear to me that this is something we should always
be running, maybe it is?

I'm not particularly concerned about this issue, after all,
you can easily run autoupdate yourself anyway using something
like:

    override_dh_autoreconf:
        dh_autoreconf debian/rules autoreconf

    autoreconf:
        autoupdate -f
        autoreconf -f -i

#1036448#36
Date:
2024-07-08 12:35:22 UTC
From:
To:
ma 8. heinäk. 2024 klo 15.30 Julian Andres Klode (jak@debian.org) kirjoitti:

Why would this necessitate a new compat level?

I think it is. There's a lot of code that upstream ships with outdated macros.

Last time I tried something similar, dpkg barfed and asked me to create a patch.

Martin-Éric

#1036448#41
Date:
2026-01-10 10:09:17 UTC
From:
To:
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie
Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran,
Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun.

Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie
für weitere Details.

#1036448#46
Date:
2026-01-10 10:09:17 UTC
From:
To:
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie
Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran,
Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun.

Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie
für weitere Details.