Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23572 - bootstrap.sh builds duplicates of all packages (build takes 2x as long)
Summary: bootstrap.sh builds duplicates of all packages (build takes 2x as long)
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: John Davis (zhen) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-27 03:53 UTC by Stephen Argo
Modified: 2004-02-16 16:09 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 Stephen Argo 2003-06-27 03:53:26 UTC
this problem only seems to happen when ACCEPT_KEYWORDS="~x86" is selected, which
means gcc-3.2.3 will be built.  this doesn't happen when gcc-3.3 or gcc-3.2.2 is
selected to be built in the bootstrap.  when ~x86 is used, bootstrap.sh seems to
build both the 'stable' pkg's and the 'unstable' pkg's together, then on the
next emerge (such as emerge system) the older duplicate packages are then
unmerged.  it's very annoying, as the bootstrap takes 2x as long, and portage is
just unmerging the excess builds right after anyway.

Reproducible: Always
Steps to Reproduce:
1. Set portage to compile gcc-3.2.3 during bootstrap (ACCEPT_KEYWORDS=~x86)
2. run /usr/portage/scripts/bootstrap.sh
3. watch the build take 2x longer than usual
4. watch the excess (older version builds of gcc, glibc, etc) become unmerged on
the very next instance of emerge.

Actual Results:  
bootstrap took 2x as long, and the next emerge unmerged the excess (older) builds.

Expected Results:  
bootstrap should only have only built ~x86 packages not x86 *and* ~x86 ;).  i.e.
bootstrap should only build once, not make duplicates.

athlon-xp 2600+ 333fsb 512mb pc2700
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-08-23 16:45:28 UTC
we do not support bootstrapping on ~arch KEYWORDS, so I'm rather tempted to close this as WONTFIX.  However, if someone wants to fix the bootstrap.sh script, then that's fine too.
Comment 2 John Davis (zhen) (RETIRED) gentoo-dev 2004-01-23 17:39:56 UTC
I will look @ the script
Comment 3 John Davis (zhen) (RETIRED) gentoo-dev 2004-02-16 16:09:20 UTC
this will have to wait - we will not be supporting ~x86 bootstraps anytime soon