ghc is a haskell compiler written in haskell (so it needs binary form of ghc to build itself). Haskell team does not have access to ppc/ppc64 hardware yet, so we ask you to build binaries for us (and help to resolve this bug) What you need to bootstrap ghc: 1. working installed ghc binary not later, than two versions back from bootstrapable one, in other words you need ghc-6.10.4-r1 or ghc-6.12.3 to build this one. 2. add ~arch keyword to the local tree 3. run bootstrap script to get the binary: http://dev.gentoo.org/~slyfox/build-ghc-bin.sh and move result to distfiles in the scheme below. OR ACCEPT_KEYWORDS="~arch **" USE="-binary doc ghcbootstrap ghcmakebinary" emerge --buildpkgonly =ghc-7.0.4 4. When script is done you should add binary to the ebuild like others there: ... arch_binaries="$arch_binaries ppc64? ( mirror://gentoo/ghc-bin-${PV}-ppc64.tbz2 )" ... and try to install ghc without bootstrap keyword ('USE=binary emerge ghc' will just install binary you've just built) 5. Test installed ghc a litle: 5.1. run script, which checks minimal functionality: http://dev.gentoo.org/~slyfox/test_ghc_hello.sh 5.2. try to emerge dev-haskell/cabal (an example of haskell library), dev-haskell/alex(an example of haskell binary) and haskell-updater 6. Push ghc binary to mirrors space and commit an ebuild to the tree. I can be pinged on IRC for help to resolve various build-time issues. Thanks! P.S.: In order to offload burden of building binaries for next ghc versions and keywording most packages symmetrically for all supported arches I (slyfox) am asking ppc/ppc64 teams for access to boxes on those platforms in order to: * build ghc binaries solely by haskell team forces * running/fixing ghc testsuite (not in tree yet) on those platforms * keywording/debugging haskell related stuff there I promise not to drain the box CPU power and run all tasks under 'nice -n 19', as ghc chews up to 10 hours of building time. Thanks again!
ppc is done.
~ppc64 done; closing as last arch
(In reply to comment #2) > ~ppc64 done; closing as last arch We badly need prebuilt ghc-bin-7.0.4-ppc64.tbz2 here (arch_binaries= fields in ebuild). CCed ppc64 again. Looks like I was unclear in Summary field (amended). Sorry about that.
Built binary on rooster and pushed as: > 09 Mar 2012; Sergei Trofimovich <slyfox@gentoo.org> ghc-7.0.4.ebuild: > Added prebuild ppc64 binary (bug #394361). (Re)closed as last arch. Thanks!