Very closely related to https://bugs.gentoo.org/750191 While trying to emerge ghc-8.8.4 the process fails at the first steps. * Running 'autoconf --force' ... [ !! ] * Failed running 'autoconf'! I will attach the relevant logs. Reproducible: Always Steps to Reproduce: 1. emerge -v =ghc-8.8.4-r1 2. boom Actual Results: Should build fine. Portage 3.0.28 (python 3.9.9-final-0, default/linux/amd64/17.1, gcc-9.3.0, glibc-2.33-r7, 5.14.21-gentoo x86_64) ================================================================= System uname: Linux-5.14.21-gentoo-x86_64-Intel-R-_Core-TM-_i5-2500K_CPU_@_3.30GHz-with-glibc2.33 KiB Mem: 24596160 total, 247552 free KiB Swap: 4699132 total, 4692732 free Timestamp of repository gentoo: Tue, 14 Dec 2021 02:15:01 +0000 Head commit of repository gentoo: 150450f1997dd0f91d5e7e8c4236376b24d028ae sh bash 5.1_p12 ld GNU ld (Gentoo 2.33.1 p2) 2.33.1 ccache version 4.4.2 [enabled] app-shells/bash: 5.1_p12::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r3::gentoo dev-lang/python: 2.7.18_p13::gentoo, 3.6.13_p1::gentoo, 3.7.10_p3::gentoo, 3.8.12_p1::gentoo, 3.9.9::gentoo, 3.10.0_p1::gentoo dev-lang/rust: 1.56.1::gentoo dev-util/ccache: 4.4.2::gentoo dev-util/cmake: 3.20.5::gentoo sys-apps/baselayout: 2.7-r3::gentoo sys-apps/openrc: 0.44.9::gentoo sys-apps/sandbox: 2.25::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.14.1-r2::gentoo, 1.16.4::gentoo sys-devel/binutils: 2.33.1-r1::gentoo, 2.34-r2::gentoo, 2.35.2::gentoo, 2.36.1-r2::gentoo, 2.37_p1::gentoo sys-devel/gcc: 9.3.0-r2::gentoo, 10.3.0-r2::gentoo, 11.2.0::gentoo sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.10-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.33-r7::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 local location: /usr/local/portage/overlay masters: gentoo priority: 0 haskell location: /var/lib/layman/haskell masters: gentoo priority: 50 steam-overlay location: /var/lib/layman/steam-overlay masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -g -mstackrealign" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe -g -mstackrealign" DISTDIR="/stor/david/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --quiet-build=n" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nostrip parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS=" https://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.fi.muni.cz/pub/linux/gentoo/ " LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_US en_GB en fi" MAKEOPTS="-j7" PKGDIR="/usr/portage/packages" PORTAGE_BINHOST="http://packages.gentooexperimental.org/" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X acl alsa amd64 avx bash-completion bluray bzip2 cli crypt dri fbcondecor fortran gdbm gif iconv ipv6 jpeg libglvnd libtirpc mmx mp3 multilib ncurses nls nptl offensive ogg openmp pam pcre png readline seccomp split-usr sse sse2 ssl ssse3 svg tcpd tiff unicode vim vim-syntax xattr xft xinerama zlib zsh-completion" ABI_X86="64 32" ADA_TARGET="gnat_2020" ALSA_CARDS="ice1724 ice1712" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="en-US en-GB en fi" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Created attachment 758922 [details] build.log
Created attachment 758923 [details] autoconf.out
Not an autoconf bug. They're using a deprecated/obsolete removed internal macro. configure:7018: error: possibly undefined macro: _AC_PROG_CC_C99 If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1896d50ddab8495c4fb1f116799c0fbf6b22a817 commit 1896d50ddab8495c4fb1f116799c0fbf6b22a817 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-14 11:45:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-14 11:45:48 +0000 dev-lang/ghc: fix build with autoconf 2.71 Closes: https://bugs.gentoo.org/829162 Signed-off-by: Sam James <sam@gentoo.org> dev-lang/ghc/files/ghc-8.8.4-autoconf-2.71.patch | 22 ++++++++++++++++++++++ dev-lang/ghc/ghc-8.8.4-r1.ebuild | 1 + 2 files changed, 23 insertions(+)
*** This bug has been marked as a duplicate of bug 775860 ***
Speedy operation! My humble thanks, and sorry for not finding the old duplicate.