Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124218 - virtual/ghc should not be overridden in ppc profiles
Summary: virtual/ghc should not be overridden in ppc profiles
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-26 17:12 UTC by Duncan Coutts (RETIRED)
Modified: 2006-03-30 18:40 UTC (History)
1 user (show)

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 Duncan Coutts (RETIRED) gentoo-dev 2006-02-26 17:12:59 UTC
virtual/ghc is set to be dev-lang/ghc-bin in profiles/base/virtuals. This should not be changed for any arch.

Currently all ppc profiles (and the new ppc64 subprofile) override this and set virtual/ghc to resolve to dev-lang/ghc by default. This breaks the installation of ghc for ppc users that do not already have ghc or ghc-bin installed.

dev-lang/ghc-bin is not like other '-bin' ebuilds. It's not an optional precompiled version. It is essential for bootstrapping dev-lang/ghc. ghc requires ghc to compile itself. We break this cycle by having a ghc-bin ebuild and making ghc depend on virtual/ghc. Both ghc and ghc-bin provide virtual/ghc. However for this to work, it is esential that virtual/ghc default to ghc-bin. Otherwise, upon trying to emerge ghc, portage would just emerge ghc rather than first emerging ghc-bin.
Comment 1 Luca Barbato gentoo-dev 2006-02-27 00:21:36 UTC
Fixed, thanks for spotting it
Comment 2 Duncan Coutts (RETIRED) gentoo-dev 2006-02-27 02:51:24 UTC
So do we not care about:

ppc/2005.1/ppc64/32bit-userland
ppc/2005.0
ppc/2004.3
and all older profiles?

I just wanted to double check. If you're happy that these other profiles are unused/obsolete then we're fine.
Comment 3 Duncan Coutts (RETIRED) gentoo-dev 2006-02-28 16:20:38 UTC
Apparently ppc/2005.0 is not deprecated yet so it should probably be fixed.
Comment 4 Duncan Coutts (RETIRED) gentoo-dev 2006-03-10 16:29:27 UTC
Any word on this?
Comment 5 Lars Weiler (RETIRED) gentoo-dev 2006-03-10 17:12:42 UTC
We're waiting for the cleaning lady.
Comment 6 Joe Jezak (RETIRED) gentoo-dev 2006-03-30 18:40:05 UTC
This is fixed in all profiles as far as I can tell, please reopen the bug if this isn't the case.