Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73678 - Incorrect code to bootstrap with linux26-headers when nptl USE flag is set
Summary: Incorrect code to bootstrap with linux26-headers when nptl USE flag is set
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Handbook (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
: 73766 73998 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-07 08:54 UTC by Joe D
Modified: 2004-12-22 13:54 UTC (History)
2 users (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 Joe D 2004-12-07 08:54:35 UTC
Section 6.c. Progressing from Stage1 to Stage2, code listing 14.

It currently reads:
# emerge -C linux-headers
# emerge --oneshot linux26-headers
# scripts/bootstrap.sh

It should read:
# emerge -C linux-headers
# emerge --nodeps linux26-headers
# scripts/bootstrap.sh

When emerging linux26-headers with the --oneshot option, it attempts to emerge glibc first, which fails because it needs linux26-headers for nptl, and linux26-headers isn't installed yet.  Catch-22.

Using --nodeps instead installs the headers, and then the bootstrap can proceed.  I think the confusion came about because the short option for --nodeps is -o.

Reproducible: Always
Steps to Reproduce:
Comment 1 SpanKY gentoo-dev 2004-12-08 10:48:09 UTC
*** Bug 73766 has been marked as a duplicate of this bug. ***
Comment 2 SpanKY gentoo-dev 2004-12-10 06:35:59 UTC
*** Bug 73998 has been marked as a duplicate of this bug. ***
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2004-12-10 12:27:16 UTC
Someone please tell me a way without "--nodeps". What will our users think when we tell them to use a flag that ignores dependencies...
Comment 4 SpanKY gentoo-dev 2004-12-10 14:16:19 UTC
integrate it into bootstrap.sh ?

bootstrap.sh can check to see if USE=nptl and if so, clean out linux-headers and emerge linux26-headers if need be
Comment 5 Sven Vermeulen (RETIRED) gentoo-dev 2004-12-16 02:49:19 UTC
Bleh, I've added in the --nodeps due to "popular demand", but I won't resolve this bug. I'd rather see a clean solution so we can remove the use of --nodeps again.
Comment 6 Sven Vermeulen (RETIRED) gentoo-dev 2004-12-22 13:54:51 UTC
Bleh, enough discussion and stuff. Seems like it's the only solution currently until the new release.