Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286119 - CHOST is now defined in the profile linked to by /etc/make.profile. Documentation on putting CHOST in /etc/make.conf is unnecessary
Summary: CHOST is now defined in the profile linked to by /etc/make.profile. Documenta...
Status: RESOLVED WONTFIX
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on:
Blocks: 260403
  Show dependency tree
 
Reported: 2009-09-23 17:19 UTC by Rachel Greenham
Modified: 2009-11-30 08:48 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 Rachel Greenham 2009-09-23 17:19:52 UTC
In the section on setting up /etc/make.conf instructions are given to put a CHOST line in, and to make sure it's correct. (Associated with this, the make.conf supplied as default in the stage3 download has a default CHOST line.)

It turns out that these days CHOST is defined in /etc/make.profile; specifically the profile to which that is a symlink. Therefore the CHOST line in /etc/make.conf is unnecessary, as is the documentation about it.

The references to CHOST should be removed from both the handbook and the stage3 default /etc/make.conf; or at least have a mention that you can put it in if for some mad reason you need to override the profile's CHOST. Though /etc/make.conf.example is probably the place for that.

The current documentation doesn't *fail* in that the resulting system works; it's just unnecessary duplication (and might be more failure-prone as it may encourage some to fiddle with it when they shouldn't!)


Reproducible: Always
Comment 1 SpanKY gentoo-dev 2009-10-18 07:40:21 UTC
that's not really true.  there will always be a case for setting the CHOST in make.conf as it is impossible to have profiles for every possible CHOST variant.
Comment 2 nm (RETIRED) gentoo-dev 2009-11-30 08:48:08 UTC
Will leave as-is per comment #1. Thanks for the suggestion, though.