Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52315 - ghc depends on readline but not mentioned in ebuild
Summary: ghc depends on readline but not mentioned in ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-28 20:55 UTC by Duncan Coutts (RETIRED)
Modified: 2004-11-22 14:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ghc-6.2.2.ebuild.patch (ghc-6.2.2.ebuild.diff,341 bytes, patch)
2004-11-03 16:17 UTC, Duncan Coutts (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.