Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 775860

Summary: dev-lang/ghc-8.8.4: fails to emerge with autoconf-2.71 (configure:7018: error: possibly undefined macro: _AC_PROG_CC_C99)
Product: Gentoo Linux Reporter: Alessandro Barbieri <lssndrbarbieri>
Component: Current packagesAssignee: Gentoo's Haskell Language team <haskell>
Status: RESOLVED FIXED    
Severity: normal CC: ionen, mike, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://gitlab.haskell.org/ghc/ghc/-/issues/19655
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732648    
Attachments: ghc-8.8.4:20210313-212248.log
autoconf.out

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.