Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92760 - scripts/bootstrap.sh building stage 1 gives dependency error
Summary: scripts/bootstrap.sh building stage 1 gives dependency error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-15 20:39 UTC by Mike Nugent
Modified: 2005-05-15 21:30 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 Mike Nugent 2005-05-15 20:39:09 UTC
When running scripts/bootstrap.sh I receive, I receive:
!!! Problem in sys-apps/baselayout-1.9.4-r6 dependencies.
!!! "Specific key requires an operator
(sys-apps/baselayout-1.9.4-r6) (try adding an '=')" exceptions

during the operation.

I modified the scripts/bootstrap.sh from:
[[ -z ${myBASELAYOUT} ]] && myBASELAYOUT="$(portageq best_version / virtual/bas
elayout)"
to:
[[ -z ${myBASELAYOUT} ]] && myBASELAYOUT="baselayout"

And it seems to be running without a problem now.

On a side note, strangely enough after it failed, if I ran the same command again, the system told me it finished successfully although it had not.  Only running it again afterwords would I get another failure.  It would only say "nothing to resume".  So this fails with the dependency error every odd attempt and with "nothing to resume" after every even attempt.

System information:
Image: install-x86-minimal-2005.0.iso
System package: stage1-x86-2005.0.tar.bz2
Portage: portage-20050514.tar.bz2


Reproducible: Always
Steps to Reproduce:
1. Boot from 2005.0 iso 
2. Follow the x86 handbook from gentoo.org and use the portage-20050514.tar.bz2 image
3. run scripts/bootstrap.sh

Actual Results:  
!!! Problem in sys-apps/baselayout-1.9.4-r6 dependencies.
!!! "Specific key requires an operator
(sys-apps/baselayout-1.9.4-r6) (try adding an '=')" exceptions


Expected Results:  
Compiled a whole wack of stuff.

This bug stops me from doing installation on a system without modification to
the scripts in a way that is not assumed.
Comment 1 SpanKY gentoo-dev 2005-05-15 20:46:53 UTC
looks like portage has changed behavior ?

i thought older versions of portage would resolve virtuals to just 'sys-apps/baselayout' instead of a full version ?
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2005-05-15 21:19:52 UTC
I can't see how that's possible... best_version asks for the best _version_. In other words, it essentially gives back the same as if `emerge -p virtual/baselayout` had been run.
Comment 3 SpanKY gentoo-dev 2005-05-15 21:30:44 UTC
well the code has been like that since march 28th ... maybe no one has reported it before

added a '>=' in the variable