Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75336 - Catalyst doesn't check version of portage in seed stage
Summary: Catalyst doesn't check version of portage in seed stage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-12-22 09:54 UTC by Stephen Ulmer
Modified: 2005-01-14 11:52 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 Stephen Ulmer 2004-12-22 09:54:53 UTC
Using catalyst 1.1.0 and an old stage3 tarball (my own), my new stage1 build kept failing with errors something like "--newuse isn't a valid option".

Reproducible: Always
Steps to Reproduce:
Use a seed stage with an older portage, and the build will fail with a cryptic error message. That is, the error message is from the embedded portage, but it's not trivial to diagnose.


Expected Results:  
Catalyst clearly depends on the version of portage in the seed stage.  It should
check the version number against an internal minimum at run-time. (This can
probably even be grokked from the ebuild at build-time, so you wouldn't have to
keep track of it twice.)
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-01-13 13:48:00 UTC
zhen: can you script up some foo for catalyst to ensure that at least portage 2.0.51 is used in the seed stages?

If not, I'll just do it in the bash, which I think will be a bit less elegant.
Comment 2 John Davis (zhen) (RETIRED) gentoo-dev 2005-01-13 14:03:12 UTC
bash foo it - catalyst stays out of the chroot. 

Use portageq ;)
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-01-13 15:04:22 UTC
Way to pass the buck, zhen... ;]

I was actually hoping that you could have caught it in catalyst in the python, as it could have saved a bit of repetition.

Unpack source -> check portage version -> bail

It would have only had to have been added once and could have just been applied to all targets.  Anyway, I used my nasty bash-fu and showed it who was boss.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2005-01-14 11:52:53 UTC
Catalyst 1.1.2 is now out!