src-extralibs are not included in the ghc tarball Reproducible: Always
Please, don't refer to pastebins; attach anything relevant here instead.
If pugs uses mtl it has to depend on dev-haskell/mtl. See this link as a reference: http://www.haskell.org/~gentoo/gentoo-haskell/projects/GHC-6.6-launch.html Related bug 170650 as you need dev-haskell/mtl to get ~ppc too before you can add that dep.
Any progress on this? It looks like all you need is to add dev-haskell/mtl to the DEPEND.
Adding dev-haskell/mtl to the DEPEND does not help for me. Emerging pugs-6.2.13 fails with: ... [16 of 92] Compiling Pugs.Compat ( src/Pugs/Compat.hs, dist/build/Pugs/Compat.o ) [17 of 92] Compiling Pugs.Internals ( src/Pugs/Internals.hs, dist/build/Pugs/Internals.o ) src/Pugs/Internals.hs:124:26: Module `Control.Monad.RWS' does not export `MonadIO(..)' ... src/Pugs/Internals.hs:124:254: Module `Control.Monad.RWS' does not export `msum' Build failed: 256 at util/build_pugs.pl line 360. make: *** [pugs] Error 2
Someone who is familiar with pugs has to figure out the correct versions of it's dependencies and write them down. I expect in this case it just needs a different version of mtl but we really need to know from someone who knows pugs what it should be rather than just hacking around trying various random combinations.
Ping.
After installing ghc-6.8.2 the error emerging pugs change to: ... ../../Setup configure --with-compiler=/var/tmp/portage/dev-lang/pugs-6.2.13/work/Perl6-Pugs-6.2.13/util/runcom piler --with-hc-pkg=/var/tmp/portage/dev-lang/pugs-6.2.13/work/Perl6-Pugs-6.2.13/util/ghc-pkg-wrapper --with-h sc2hs=/usr/bin/hsc2hs --prefix=/var/tmp/portage/dev-lang/pugs-6.2.13/work/Perl6-Pugs-6.2.13/third-party/instal led Configuring pugs-filepath-0.1... Warning: No license-file field. *** Building the 'filepath' dependency. Please wait... Preprocessing library pugs-filepath-0.1... Building pugs-filepath-0.1... System/FilePath.hs:96:7: Could not find module `System.Directory': it is a member of package directory-1.0.0.0, which is hidden Installing: /var/tmp/portage/dev-lang/pugs-6.2.13/work/Perl6-Pugs-6.2.13/third-party/installed/lib/pugs-filepa th-0.1/ghc-6.8.2 Setup: Error: Could not find module: System.FilePath with any suffix: ["hi"] ghc-pkg: cannot find package pugs-filepath ../../Setup configure --with-compiler=/var/tmp/portage/dev-lang/pugs-6.2.13/work/Perl6-Pugs-6.2.13/util/runcom piler --with-hc-pkg=/var/tmp/portage/dev-lang/pugs-6.2.13/work/Perl6-Pugs-6.2.13/util/ghc-pkg-wrapper --with-h sc2hs=/usr/bin/hsc2hs --prefix=/var/tmp/portage/dev-lang/pugs-6.2.13/work/Perl6-Pugs-6.2.13/third-party/instal led Configuring pugs-fps-0.7... *** Building the 'fps' dependency. Please wait... Preprocessing library pugs-fps-0.7... Building pugs-fps-0.7... Data/ByteString.hs:245:17: Could not find module `Data.Array': it is a member of package array-0.1.0.0, which is hidden Installing: /var/tmp/portage/dev-lang/pugs-6.2.13/work/Perl6-Pugs-6.2.13/third-party/installed/lib/pugs-fps-0. 7/ghc-6.8.2 Setup: Error: Could not find module: Data.ByteString with any suffix: ["hi"] ghc-pkg: cannot find package pugs-fps ../../Setup configure --with-compiler=/var/tmp/portage/dev-lang/pugs-6.2.13/work/Perl6-Pugs-6.2.13/util/runcom piler --with-hc-pkg=/var/tmp/portage/dev-lang/pugs-6.2.13/work/Perl6-Pugs-6.2.13/util/ghc-pkg-wrapper --with-h sc2hs=/usr/bin/hsc2hs --prefix=/var/tmp/portage/dev-lang/pugs-6.2.13/work/Perl6-Pugs-6.2.13/third-party/instal led Configuring pugs-HsSyck-0.2... Setup: At least the following dependencies are missing: pugs-fps >=0.7 *** Building the 'HsSyck' dependency. Please wait... Setup: error reading dist/setup-config; run "setup configure" command? Setup: error reading dist/setup-config; run "setup configure" command? Installation failed for HsSyck at util/build_pugs.pl line 237. make: *** [pugs] Error 1
You need a pugs that has been updated to work with ghc-6.8. It's non-trivial to update and is the responsibility of pugs upstream not the haskell team. As for the other deps, from: http://search.cpan.org/src/AUDREYT/Perl6-Pugs-6.2.13/Pugs.cabal.in : build-depends: pugs-fps -any, pugs-HsSyck -any, pugs-filepath -any, base -any, mtl -any, stm -any, parsec -any, network -any, haskell98 -any, template-haskell -any__DEPENDS__ now we can assume that the pugs-* are bundled and base, haskell98 and template haskell are core libs. So for the external packages that have ebuilds we need: DEPEND= dev-haskell/filepath dev-haskell/mtl dev-haskell/network dev-haskell/parsec dev-haskell/stm I have no idea what __DEPENDS__ is going to get substituted for and I cannot see obviously from looking at the other scripts. So at least the above need adding and you need to prod upstream to get a release that works with ghc-6.8.x.
aaaw :(
*** Bug 202643 has been marked as a duplicate of this bug. ***
dev-lang/pugs is package.masked for removal
Removed from the tree.