Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147685 - ghc-package.eclass uses best_version in a wrong way
Summary: ghc-package.eclass uses best_version in a wrong way
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-15 06:13 UTC by Radoslaw Szkodzinski
Modified: 2006-10-04 10:46 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Radoslaw Szkodzinski 2006-09-15 06:13:20 UTC
ghc-package.eclass launches best_version with an unspecified name on line 66:
cabalpackage="$(best_version cabal)"

Should be:
cabalpackage="$(best_version dev-haskell/cabal)"

The previous version will break if someone introduces a virtual or another package of that name.

(also - it breaks paludis)
Comment 1 Duncan Coutts (RETIRED) gentoo-dev 2006-09-15 06:42:44 UTC
Ok, fixed in the official haskell overlay. It'll make its way into portage cvs from there.
Comment 2 Andres Loeh (RETIRED) gentoo-dev 2006-10-04 10:46:43 UTC
Finally in portage. Thanks for the report.

ks