QA Notice: Automake "maintainer mode" detected: (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/var/tmp/portage/media-gfx/gnuclad-0.2.4-r1/work/gnuclad-0.2.4/build-aux/missing' autoheader) If you patch Makefile.am, configure.in, or configure.ac then you should use autotools.eclass and eautomake or eautoreconf. Exceptions are limited to system packages for which it is impossible to run autotools during stage building. See https://wiki.gentoo.org/wiki/Proj ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_desktop-20240907-083002 The build log matches a QA pattern or sth. requested by a dev. The attached etc.portage.tar.xz has all details. -------------------------------------------------------------------
Created attachment 902649 [details] emerge-info.txt
Created attachment 902650 [details] emerge-history.txt
Created attachment 902651 [details] etc.portage.tar.xz
Created attachment 902652 [details] media-gfx:gnuclad-0.2.4-r1:20240911-120142.log
Created attachment 902653 [details] qlist-info.txt.xz
autotools.eclass runs autoheader without options (and in particular without --force). This will only remake config.h.in if there are actual changes to the content, which in turn means that it will be out of date compared to aclocal.m4 (which we very much expect to have changes). So `make` sees that the header is out of date, and runs autoheader yet again, this time updating the timestamp for `make` purposes. Possibly an eclass bug...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ff4a902b3706209c6fe148d9e3c621f6cc53ba4 commit 5ff4a902b3706209c6fe148d9e3c621f6cc53ba4 Author: YiFei Zhu <zhuyifei1999@gmail.com> AuthorDate: 2024-09-13 04:38:04 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-09-24 11:51:20 +0000 autotools.eclass: Run eautoheader with --force To quote Eli [1] (I can't explain it better than this): autotools.eclass runs autoheader without options (and in particular without --force). This will only remake config.h.in if there are actual changes to the content, which in turn means that it will be out of date compared to aclocal.m4 (which we very much expect to have changes). So `make` sees that the header is out of date, and runs autoheader yet again, this time updating the timestamp for `make` purposes. This causes QA warning that "maintainer mode" is detected. autoheader and autoconf added --force option at the same time [2], so no reason only autoconf has that option in the eclass and not autoheader. Like, autoconf, a check on WANT_AUTOCONF != 2.1 is added because the feature was added in autoconf 2.52. [1] https://bugs.gentoo.org/939468#c6 [2] https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=dbf7fc61 Closes: https://bugs.gentoo.org/939468 Closes: https://bugs.gentoo.org/939535 Signed-off-by: YiFei Zhu <zhuyifei1999@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/38588 Signed-off-by: Sam James <sam@gentoo.org> eclass/autotools.eclass | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)