-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
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-----