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

Bug 304915

Summary: unable to compile =dev-lang/ghc-6.8.2-r1 ; even when using LC_ALL=C emerge ghc
Product: Gentoo Linux Reporter: Niklas Johansson <raphexion>
Component: [OLD] DevelopmentAssignee: Gentoo's Haskell Language team <haskell>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info =dev-lang/ghc-6.8.2-r1
emerge -pqv =dev-lang/ghc-6.8.2-r
locale
/var/tmp/portage/dev-lang/ghc-6.8.2-r1/temp/build.log

Description Niklas Johansson 2010-02-13 17:56:13 UTC
~ # LC_ALL=C emerge ghc

...
Configuring bytestring-0.9.0.1...
rm -f bytestring/GNUmakefile
cp Makefile.local bytestring
if ifBuildable/ifBuildable bytestring; then \
           cd bytestring && setup/Setup makefile -f GNUmakefile; \
        fi
Setup: dist/build/autogen: createDirectory: failed (Structure needs cleaning)

make[1]: *** [bytestring/GNUmakefile] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-lang/ghc-6.8.2-r1/work/ghc-6.8.2/libraries'
make: *** [stage1] Error 2
 * ERROR: dev-lang/ghc-6.8.2-r1 failed:
 *   make failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 3441:  Called die
 * The specific snippet of code:
 *       emake all || die "make failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-lang/ghc-6.8.2-r1',
 * the complete build log and the output of 'emerge -pqv =dev-lang/ghc-6.8.2-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-lang/ghc-6.8.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ghc-6.8.2-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-lang/ghc-6.8.2-r1/work/ghc-6.8.2'

 * Messages for package dev-lang/ghc-6.8.2-r1:

 * ERROR: dev-lang/ghc-6.8.2-r1 failed:
 *   make failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 3441:  Called die
 * The specific snippet of code:
 *       emake all || die "make failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-lang/ghc-6.8.2-r1',
 * the complete build log and the output of 'emerge -pqv =dev-lang/ghc-6.8.2-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-lang/ghc-6.8.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ghc-6.8.2-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-lang/ghc-6.8.2-r1/work/ghc-6.8.2'



Reproducible: Always
Comment 1 Niklas Johansson 2010-02-13 17:57:04 UTC
Created attachment 219469 [details]
emerge --info =dev-lang/ghc-6.8.2-r1
Comment 2 Niklas Johansson 2010-02-13 17:57:27 UTC
Created attachment 219471 [details]
emerge -pqv =dev-lang/ghc-6.8.2-r
Comment 3 Niklas Johansson 2010-02-13 17:58:00 UTC
Created attachment 219473 [details]
locale
Comment 4 Niklas Johansson 2010-02-13 17:59:52 UTC
Created attachment 219475 [details]
/var/tmp/portage/dev-lang/ghc-6.8.2-r1/temp/build.log
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2011-02-25 22:00:22 UTC
Oh, a year ago.

Looks like parallel building issue.
Closing as WONTFIX as we have stable ghc-6.12.3.
Comment 6 Niklas Johansson 2011-02-26 06:45:02 UTC
(In reply to comment #5)
> Oh, a year ago.

Well I gave up and moved on :)

> Looks like parallel building issue.
> Closing as WONTFIX as we have stable ghc-6.12.3.

I just tried ghc-6.12.3 and it work. In addition it now very fast to build compared to the old versions. Thanks !