Summary: | dev-haskell/mtl-1.1.0.2 fails to emerge due to Stack space overflow | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | New packages | Assignee: | Gentoo's Haskell Language team <haskell> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Juergen Rose
2009-05-02 08:20:34 UTC
Which dev-lang/ghc version did you use, and which dev-haskell/haddock version? I have: root@condor:/usr/share/pixmaps(27)# emerge -pvD dev-lang/ghc dev-haskell/haddock These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-lang/ghc-6.10.2 USE="bash-completion doc -binary -ghcbootstrap -ghcmakebinary" 0 kB [ebuild N ] dev-haskell/ghc-paths-0.1.0.5 USE="doc -profile" 0 kB [ebuild U ] dev-haskell/haddock-2.4.2 [0.9] USE="doc" 0 kB And I can't update haddock, because it depends on ghc-paths and 'emerge ghc-paths' fails also with: Stack space overflow: current size 8388608 bytes. Use `+RTS -Ksize' to increase it. * * ERROR: dev-haskell/ghc-paths-0.1.0.5 failed. Install ghc-paths with USE=-doc to prevent a recursive dep (I don't see how this stack space problem could have occurred, as haddock-2.4.2 depends on ghc-paths...). So your installed versions are: ghc-6.10.2 haddock-0.9 Running $ emerge -pvD dev-lang/ghc wants to update to haddock-2.4.2 by first installing ghc-paths-1.0.5.0 and then haddock-2.4.2. Building any packages seems to trigger bugs in haddock-0.9, possibly due to the changed ghc version (missing interface files or something...). I think we should use a similar solution we've used before, namely to bundle all deps into the haddock package. Previously this was only filepath, now it would also include the ghc-paths package. This would allow to install haddock without having any deps on packages that might have the USE=doc flag, thus should not trigger any faults in haddock. You would probably like to build your packages with the most recent haddock anyway, to get your docs up to date as well. A quick workaround, if you're in a hurry, would be to emerge filepath and ghc-paths with USE=-doc to avoid the dependency on haddock, then update your haddock and recompile the packages with USE=doc. Thanks for using the masked packages and reporting issues, it helps us find errors more quickly and to unmask ghc sooner. Removing the doc USE flag from dev-haskell/ghc-paths was the solution. After that I could emerge ghc-paths, haddock and mtl. Thanks, Juergen ghc-updater should make sure that haddock-2.4.2 is installed before attempting to upgrade any other packages. Closing the bug as FIXED as haddock does not depend on anything, which can lead to circular depends. |