* ERROR: dev-lang/ghc-8.8.4::gentoo failed (prepare phase): * Failed Running autoconf ! * ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no-multilib-20201019-041507 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10.2.0 * Available Python interpreters, in order of preference: [1] python3.7 [2] python3.9 (fallback) timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Mon Oct 19 10:41:32 AM UTC 2020 emerge -qpvO dev-lang/ghc --- Invalid atom in /etc/portage/package.mask/00common: /s6
Created attachment 666971 [details] emerge-info.txt
Created attachment 666974 [details] autoconf.out
Created attachment 666977 [details] dev-lang:ghc-8.8.4:20201019-113300.log
Created attachment 666980 [details] emerge-history.txt
Created attachment 666983 [details] environment
Created attachment 666986 [details] etc.portage.tbz2
Created attachment 666989 [details] temp.tbz2
Yeah, temp/autoconf.out says we are using removed?) macro: configure.ac:16: error: possibly undefined macro: AC_PACKAGE_VERSION
Minimal examle: $ cat configure.ac AC_INIT([The Glorious Glasgow Haskell Compilation System], [9.1.0], [glasgow-haskell-bugs@haskell.org], [ghc-AC_PACKAGE_VERSION]) echo "$PACKAGE_VERSION" AC_OUTPUT $ autoconf-2.69 $ ./configure 9.1.0 configure: creating ./config.status $ autoconf-2.70_beta2 configure.ac:1: error: possibly undefined macro: AC_PACKAGE_VERSION If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.
Asked upstream at https://lists.gnu.org/archive/html/bug-autoconf/2020-10/msg00012.html Apparently it's a negative effect of Gentoo-specific patch: autoconf-2.70_beta2-AC_INIT_argument_quoting.patch Reassigning to base-system@.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=071cf1ca76377ce19b3f4267327436d36da6df50 commit 071cf1ca76377ce19b3f4267327436d36da6df50 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2020-10-21 06:57:45 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2020-10-21 07:00:11 +0000 Revert "sys-devel/autoconf: Revbump to improve AC_INIT arg quoting" This reverts commit c95e99d3956c8d0f6816937107fb0cfeae12366e. As slyfox reported in bug #750191, this patch breaks AC_INIT for many packages and thus has not been added to autoconf upstream repo. Bug: https://bugs.gentoo.org/750191 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> ..._beta2-r1.ebuild => autoconf-2.70_beta2.ebuild} | 4 - ...oconf-2.70_beta2-AC_INIT_argument_quoting.patch | 573 --------------------- 2 files changed, 577 deletions(-)