Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482086 - dev-lang/ghc-7.6.3-r1 fails to build
Summary: dev-lang/ghc-7.6.3-r1 fails to build
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:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-22 13:02 UTC by Alexis Ballier
Modified: 2014-02-12 07:49 UTC (History)
0 users

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


Attachments
emerge --info (info,7.07 KB, text/plain)
2013-08-22 13:03 UTC, Alexis Ballier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Ballier gentoo-dev 2013-08-22 13:02:34 UTC
no clue what's wrong :(

"inplace/bin/mkdirhier" rts/dist/build/hooks//.
"inplace/bin/mkdirhier" rts/dist/build/parallel//.
  rts_dist_HC rts/dist/build/sm/MBlock.o
  rts_dist_HC rts/dist/build/sm/Scav.o
  rts_dist_HC rts/dist/build/sm/GCUtils.o
  rts_dist_HC rts/dist/build/sm/Compact.o
  rts_dist_HC rts/dist/build/sm/Sweep.o
  rts_dist_HC rts/dist/build/sm/GCAux.o
  rts_dist_HC rts/dist/build/sm/MarkWeak.o
  rts_dist_HC rts/dist/build/sm/BlockAlloc.o
  rts_dist_HC rts/dist/build/sm/GC.o
  rts_dist_HC rts/dist/build/sm/Sanity.o
  rts_dist_HC rts/dist/build/sm/Evac.o
  rts_dist_HC rts/dist/build/sm/Storage.o
"inplace/bin/mkdirhier" rts/dist/build/eventlog//.
"inplace/bin/mkdirhier" rts/dist/build/posix//.
  rts_dist_HC rts/dist/build/StgStartup.o

/var/tmp/portage/dev-lang/ghc-7.6.3-r1/work/ghc-7.6.3/:1:2:
    lexical error
make[1]: *** [rts/dist/build/StgStartup.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
 * ERROR: dev-lang/ghc-7.6.3-r1::gentoo failed (compile phase):
 *   emake failed
 * 

[ebuild     U  ] dev-lang/ghc-7.6.3-r1:0/7.6.3 [7.6.3:0/7.6.3] USE="gmp -binary -doc -ghcbootstrap -ghcmakebinary -llvm" 0 kB
Comment 1 Alexis Ballier gentoo-dev 2013-08-22 13:03:24 UTC
Created attachment 356684 [details]
emerge --info
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2013-08-22 18:07:23 UTC
It could be either paralle build failure (quite common for ghc and a bit hard to fix). Try MAKEOPTS=-j1 to make sure it is.

Or it's unreadable by SplitObjs assembler files. Would be interesting
to trackdown exact CFLAGS killing ghc.
Comment 3 Alexis Ballier gentoo-dev 2013-08-22 23:02:38 UTC
MAKEOPTS="" gives me the same result; removing -ggdb3 was the solution; maybe it should be replaced by -g ?
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2014-02-12 07:49:42 UTC
Pushed as:

> 12 Feb 2014; Sergei Trofimovich <slyfox@gentoo.org> ghc-6.12.3-r2.ebuild,
> ghc-7.0.4.ebuild, ghc-7.4.1-r1.ebuild, ghc-7.4.1.ebuild, ghc-7.4.2.ebuild,
> ghc-7.6.2.ebuild, ghc-7.6.3-r1.ebuild, ghc-7.6.3.ebuild:
> Demote -ggdb3+ down to -ggdb2 (CMM parser currently can't handle line
> numbers). Bug #482086 by Alexis Ballier.

Thanks!

Will report upstream as sometimes -ggdb3 is the only
way to get lines for temporary .c/.cmm files.