Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110195 - Error in Chapter 2, Part 2 of the Handbook: USE flags
Summary: Error in Chapter 2, Part 2 of the Handbook: USE flags
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:
Depends on:
Blocks:
 
Reported: 2005-10-22 23:13 UTC by Eric Pretorious
Modified: 2005-10-25 17:22 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 Eric Pretorious 2005-10-22 23:13:31 UTC
The "Precedence" section describes the /etc/make.profile/use.defaults file. This
is not the actual location of the use.defaults file for 2005.1 systems.

Reproducible: Always
Steps to Reproduce:
%>  readlink /etc/make.profile
../usr/portage/profiles/default-linux/x86/2005.1
Actual Results:  
%> find /usr/portage -name use.defaults
/usr/portage/profiles/base/use.defaults
/usr/portage/profiles/embedded/use.defaults
/usr/portage/profiles/default-linux/use.defaults
/usr/portage/profiles/hardened/x86/use.defaults
/usr/portage/profiles/hardened/amd64/use.defaults
/usr/portage/profiles/vserver/use.defaults
Comment 1 nm (RETIRED) gentoo-dev 2005-10-22 23:19:09 UTC
(In reply to comment #0)
> The "Precedence" section describes the /etc/make.profile/use.defaults file. This
> is not the actual location of the use.defaults file for 2005.1 systems.

Yes and no. make.profile is a _symlink_ to the profiles found in
/usr/portage/profiles. Please *read the manpage* for Portage: man portage.
Scroll down to the "make.profile" and "make.defaults" section. ;)



Comment 2 SpanKY gentoo-dev 2005-10-24 06:57:56 UTC
earlier in the chapter this stuff is explained

both the /etc/make.profile symlink and the stacked profiles
Comment 3 Eric Pretorious 2005-10-24 22:33:30 UTC
The Handbook states...

#  Default USE setting declared in the make.defaults files part of your profile
# Inherited USE setting if a package from /etc/make.profile/use.defaults is
installed
# User-defined USE setting in /etc/make.conf
# User-defined USE setting in /etc/portage/package.use
# User-defined USE setting as environment variable

The /etc/make.profile/use.defaults does NOT exist. Have I overlooked some
relevant passage? Could this be an issue with the x86/2005.1 profile?
Comment 4 SpanKY gentoo-dev 2005-10-25 06:27:01 UTC
yes, you missed the earlier part in the chapter where it talks about
cascading profiles
Comment 5 Jan Kundrát (RETIRED) gentoo-dev 2005-10-25 07:42:07 UTC
Nope, Handbook should be fixed to include something like 
"check /etc/make.profile/use.defaults (if exists) and use.defaults of parent 
profiles". 
Comment 6 SpanKY gentoo-dev 2005-10-25 08:18:42 UTC
or we just change it to 'use.defaults' so people who skip the section
on cascading profiles will stop filing bugs
Comment 7 Sven Vermeulen (RETIRED) gentoo-dev 2005-10-25 11:24:55 UTC
SpanKY++... "your profile's use.defaults" would probably suit the context and
the issue. 
Comment 8 SpanKY gentoo-dev 2005-10-25 17:22:24 UTC
should be set now then