Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43841 - Catalyst source_subpath does not change upon changing subarch
Summary: Catalyst source_subpath does not change upon changing subarch
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Git (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: John Davis (zhen) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-05 18:06 UTC by Pieter Van den Abeele (RETIRED)
Modified: 2011-10-30 22:47 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 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-03-05 18:06:24 UTC
This feature was introduced to make sure that for instance stage2-g4 is build from a stage1-ppc and not a stage1-g4.
But this also means stage3-g4 will start from a stage2-ppc. Unless a different stage3 spec is written for each subarch. 
This can be solved easily by introducing a variable notion to the catalyst spec format:

source_subpath for a stage3 would be profile-bla-bla/stage2-${subarch}-bla instead of hardcoded.
I think a lot of architectures didn't realise this and have build their optimized stage3 from an unoptimized stage2. 

An easy way to circumvent this would be to add optimized stage1's.
Comment 1 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-03-05 18:19:07 UTC
Same side effect for GRP: G4 GRP would be built against a generic stage3 instead of a G4 stage3. Catalyst users need to overwrite the source_subpath to prevent that from happening
Comment 2 John Davis (zhen) (RETIRED) gentoo-dev 2004-03-11 11:27:04 UTC
this is the intended behaviour. I don't see a problem with having a different spec file for each subarch.