Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187147 - ghc-6.6.x fails to build ghc-6.6.x on hppa
Summary: ghc-6.6.x fails to build ghc-6.6.x on hppa
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Haskell Language team
URL: http://dev.gentoo.org/~jer/ghc-bin-6....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-30 16:08 UTC by Duncan Coutts (RETIRED)
Modified: 2007-08-29 14:34 UTC (History)
1 user (show)

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


Attachments
dev-lang:ghc-6.6:20070730-170815.log (dev-lang:ghc-6.6:20070730-170815.log,32.47 KB, text/plain)
2007-07-30 17:29 UTC, Jeroen Roovers (RETIRED)
Details
dev-lang:ghc-6.6.1:20070730-173037.log (dev-lang:ghc-6.6.1:20070730-173037.log,32.57 KB, text/plain)
2007-07-30 17:55 UTC, Jeroen Roovers (RETIRED)
Details
dev-lang:ghc-6.6.1:20070731-160707.log (dev-lang:ghc-6.6.1:20070731-160707.log,32.57 KB, text/plain)
2007-07-31 16:52 UTC, Jeroen Roovers (RETIRED)
Details
emerge --info (emerge.info-elmer,4.55 KB, text/plain)
2007-07-31 16:53 UTC, Jeroen Roovers (RETIRED)
Details
ghc-6.6.1.ebuild (ghc-6.6.1.ebuild,11.59 KB, text/plain)
2007-08-16 03:47 UTC, Jeroen Roovers (RETIRED)
Details
emerge --info (successful build) (emerge.info-elmer,4.57 KB, text/plain)
2007-08-24 14:11 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan Coutts (RETIRED) gentoo-dev 2007-07-30 16:08:37 UTC
Apparently building ghc-6.6.x using ghc-6.4.2 on hppa fails.
Awaiting a build log for further analysis.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2007-07-30 17:29:03 UTC
Created attachment 126459 [details]
dev-lang:ghc-6.6:20070730-170815.log

ghc-6.6 failing to build ghc-6.6
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2007-07-30 17:55:58 UTC
Created attachment 126461 [details]
dev-lang:ghc-6.6.1:20070730-173037.log

6.6 (built by 6.4.2) -> 6.6.1
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2007-07-31 16:52:46 UTC
Created attachment 126525 [details]
dev-lang:ghc-6.6.1:20070731-160707.log

6.6.1 (built by 6.4.2) -> 6.6.1
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2007-07-31 16:53:39 UTC
Created attachment 126526 [details]
emerge --info
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2007-08-16 03:47:04 UTC
Created attachment 128233 [details]
ghc-6.6.1.ebuild

The unregisterised build worked fine building ghc-6.6.1 with ghc-6.6.1 (based on ghc-6.4.2) for HPPA (using gcc-4.1.2). The attached ebuild is what I used. It doesn't diff clearly with the ebuild in the tree, so some more work is needed to patch the ebuild in the tree for HPPA support. Based on this build I will be able to build a ghc-bin with minimal sub-arch requirements. Please patch the 6.6.1 ebuild to support HPPA.
Comment 6 Duncan Coutts (RETIRED) gentoo-dev 2007-08-16 04:16:16 UTC
Yay! great work Jeroen.

So yeah, the ebuild you were working from is more-or-less our current version from our overlay, so what we should do is get that version into portage so you can add the hppa .tbz2 for it.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2007-08-24 14:11:18 UTC
Created attachment 129070 [details]
emerge --info (successful build)

I have just built a ghc-bin-6.6.1-hppa.tbz2 with what must be optimal architectural compatibility[1] and I am currently testing it (building haddock, for instance, and later maybe building ghc with it once more). If all goes well, and it finishes building in time, I will upload it to distfiles.

[1] CFLAGS='-O2 -pipe -mschedule=700 -march=1.0 -Wall' being the only change to emerge --info.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2007-08-29 14:34:34 UTC
ghc-bin-6.6.1-hppa.tbz2 is in distfiles-local, ghc-6.6.1.ebuild has the ~hppa keyword and refers to the aforementioned ghc-bin tbz2.

*Please* normalise your distribution of ghc now (no regressions, as few as possible dropped keywords) and don't attend to arches piecemeal as you have in the past.


Thank you,
     JeR