Summary: | dev-haskell/network-2.2.1 fails to build with ghc-6.12.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Myckel Habets <myckel> |
Component: | [OLD] Development | Assignee: | Gentoo's Haskell Language team <haskell> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | arne_bab, stefano.priore |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 339153 | ||
Bug Blocks: | |||
Attachments: |
Build.log
dev-haskell-2.2.1.7 build.log |
Description
Myckel Habets
2010-09-28 02:51:39 UTC
Created attachment 248871 [details]
Build.log
The package dev-vcs/darcs-2.4.4-r1 pulls in dev-haskell/network-2.2.1.7 which fails to compile on amd64. Created attachment 251001 [details]
dev-haskell-2.2.1.7 build.log
Stefano, thanks for your interest in gentoo haskell, and for reporting this issue. In the future, please open a new bug for bugs about different package versions. Your build fails due to missing package parsec on your system. You have likely upgraded from an older ghc version and as a result ended up with a broken haskell environment. Please run haskell-updater to fix your environment. Then try to emerge again, it should succeed. Thanks for your advice... now everything works fine! Shouldn’t dev-haskell/network DEPEND on parsec instead of RDEPEND? It’s a build dependency after all. (In reply to comment #6) > Shouldn’t dev-haskell/network DEPEND on parsec instead of RDEPEND? > > It’s a build dependency after all. > It does... note the "${RDEPEND}" part of DEPEND="...": http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-haskell/network/network-2.2.1.7.ebuild?view=markup *ouch* yes - sorry for not looking close enough. Does it already inform the user to run the haskell updater if the build doesn’t work? No, there's nothing explicitly saying so. Would it be possible to add a note like “If dev-haskell/network failed to build, you might have to run haskell-updater to clean up your haskell environment. If dev-haskell/network still fails to build after running haskell-updater, please file a bug.” Is there some way to run haskell updater on emerge -auDN world or similar? Well, this applies to _all_ Haskell libraries, not just network. Does every C library tell you to run revdep-rebuild in case its ABI has changed and packages that depend upon it need to be rebuilt? That's the same situation here, except that the ABI of Haskell libaries built with GHC are even more fragile. (In reply to comment #11) > Well, this applies to _all_ Haskell libraries, not just network. > > Does every C library tell you to run revdep-rebuild in case its ABI has changed > and packages that depend upon it need to be rebuilt? That's the same situation > here, except that the ABI of Haskell libaries built with GHC are even more > fragile. > Actually many C libraries do tell you exactly this. It might be a good idea with any dependencies on darcs, since for many people, darcs is the only thing in their world set that pulls in anything haskell related. Closed as WONTFIX as there is stable 2.2.1.7 (bug #339153) |