Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 775860 - dev-lang/ghc-8.8.4: fails to emerge with autoconf-2.71 (configure:7018: error: possibly undefined macro: _AC_PROG_CC_C99)
Summary: dev-lang/ghc-8.8.4: fails to emerge with autoconf-2.71 (configure:7018: error...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL: https://gitlab.haskell.org/ghc/ghc/-/...
Whiteboard:
Keywords:
: 829162 (view as bug list)
Depends on:
Blocks: autoconf-2.7x
  Show dependency tree
 
Reported: 2021-03-13 21:38 UTC by Alessandro Barbieri
Modified: 2021-12-14 11:48 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ghc-8.8.4:20210313-212248.log (ghc-8.8.4:20210313-212248.log,5.19 KB, text/plain)
2021-03-13 21:39 UTC, Alessandro Barbieri
Details
autoconf.out (autoconf.out,19.65 KB, text/plain)
2021-03-13 21:39 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2021-03-13 21:38:49 UTC
pbzip2: *WARNING: Trailing garbage after EOF ignored!
>>> Source unpacked in /var/tmp/portage/dev-lang/ghc-8.8.4/work
>>> Preparing source in /var/tmp/portage/dev-lang/ghc-8.8.4/work/ghc-8.8.4 ...
 * Applying ghc-7.0.4-CHOST-prefix.patch ...
patching file aclocal.m4
Hunk #1 succeeded at 1964 with fuzz 2 (offset 606 lines).
 [ ok ]
 * Applying ghc-8.2.1-darwin.patch ...
patching file aclocal.m4
Hunk #1 succeeded at 2069 with fuzz 2 (offset 163 lines).
 [ ok ]
 * Applying ghc-7.8.3-prim-lm.patch ...
 [ ok ]
 * Applying ghc-8.0.2-no-relax-everywhere.patch ...
 [ ok ]
 * Applying ghc-8.4.2-allow-cross-bootstrap.patch ...
 [ ok ]
/var/tmp/portage/dev-lang/ghc-8.8.4/work/ghc-8.8.4/libraries/Win32 /var/tmp/portage/dev-lang/ghc-8.8.4/work/ghc-8.8.4
 * Applying ghc-8.2.1_rc1-win32-cross-2-hack.patch ...
 [ ok ]
/var/tmp/portage/dev-lang/ghc-8.8.4/work/ghc-8.8.4
 * Running eautoreconf in '/var/tmp/portage/dev-lang/ghc-8.8.4/work/ghc-8.8.4' ...
 * Running autoconf --force ...
 [ !! ]

 * Failed Running autoconf !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/dev-lang/ghc-8.8.4/temp/autoconf.out

 * ERROR: dev-lang/ghc-8.8.4::gentoo failed (prepare phase):
 *   Failed Running autoconf !
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_prepare
 *   environment, line 4177:  Called eautoreconf
 *   environment, line 2548:  Called eautoconf '--force'
 *   environment, line 2461:  Called autotools_run_tool '--at-m4flags' 'autoconf' '--force'
 *   environment, line 2004:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
Comment 1 Alessandro Barbieri 2021-03-13 21:39:21 UTC
Created attachment 691227 [details]
ghc-8.8.4:20210313-212248.log

buildlog
Comment 2 Alessandro Barbieri 2021-03-13 21:39:48 UTC
Created attachment 691230 [details]
autoconf.out

autoconf.out
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2021-03-14 08:28:42 UTC
We should aim to add ghc-8.10 to the ::gentoo from ::haskell. Almost all packages are working with it.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-14 11:47:37 UTC
*** Bug 829162 has been marked as a duplicate of this bug. ***
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-14 11:48:00 UTC
Fixed: https://bugs.gentoo.org/829162#c4.