Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 52315

Summary: ghc depends on readline but not mentioned in ebuild
Product: Gentoo Linux Reporter: Duncan Coutts (RETIRED) <dcoutts>
Component: [OLD] DevelopmentAssignee: Gentoo's Haskell Language team <haskell>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: 1.4   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ghc-6.2.2.ebuild.patch

Description Duncan Coutts (RETIRED) gentoo-dev 2004-05-28 20:55:07 UTC
ldd /usr/lib/ghc-6.2.1/ghc-6.2.1
        linux-gate.so.1 =>  (0xffffe000)
        libreadline.so.4 => /lib/libreadline.so.4 (0x4254f000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x41bc8000)
        etc...

So ghc's default build depends on readline (specifically the readline package depends on readline), but this is not mentioned in the ebuild. It also seems to depend on libncurses which I didn't realise. I'm not quite sure why.

BTW I've got ebuilds for DrIFT, hs-plugins & buddha in the pipeline, I should submit them as three seperate bugs right?
Comment 1 Duncan Coutts (RETIRED) gentoo-dev 2004-11-03 16:17:27 UTC
Created attachment 43245 [details, diff]
ghc-6.2.2.ebuild.patch

patch to add readline as ghc dependency
Comment 2 Andres Loeh (RETIRED) gentoo-dev 2004-11-22 14:35:06 UTC
I've added the dependency to ghc-6.2.2.ebuild, along with some other
changes. If you have time, please remerge the ebuild to test it.
It now also uses ghc-package.eclass, and calls the reregister method,
so your installed libraries should remain available.

Closing.