Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346569 - app-portage/portage-utils - does not support new portage configuration files
Summary: app-portage/portage-utils - does not support new portage configuration files
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Utils Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-23 20:52 UTC by Daniel Pielmeier
Modified: 2010-12-07 01:13 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 Daniel Pielmeier gentoo-dev 2010-11-23 20:52:05 UTC
sys-apps/portage-2.1.9.24 uses new configuration files (/etc/portage/package.accept_keywords, /etc/portage/make.conf, /etc/portage/package.env). I don't know if this list is complete and if all files influence the behavior of portage-utils. At least qgrep fails /etc/make conf is not present because there is only /etc/portage/make.conf

qgrep du
grep: chdir to PORTDIR '/usr/portage' failed: No such file or directory
Comment 1 SpanKY gentoo-dev 2010-12-04 11:15:57 UTC
/etc/portage/make.conf is now checked.  if there's something else missing, you'll need to highlight it.

http://sources.gentoo.org/gentoo-projects/portage-utils/main.c?r1=1.174&r2=1.175
http://sources.gentoo.org/gentoo-projects/portage-utils/qsync?r1=1.7&r2=1.8
Comment 2 Paul Varner (RETIRED) gentoo-dev 2010-12-06 16:12:58 UTC
I had to fix euse for these changes as well.  Here are the files that I had to check:

make.conf: /etc/make.conf and /etc/portage/make.conf - /etc/portage/make.conf is an incremental override to /etc/make.conf, if both exist.

make.globals: /etc/make.globals moved to /usr/share/portage/config/make.globals

make.profile: /etc/make.profile and /etc/portage/make.profile.  If /etc/make.profile exists, it will be used instead of /etc/portage/make.profile if both exist.
Comment 3 SpanKY gentoo-dev 2010-12-07 01:13:26 UTC
thanks, the code now scans those two places.  i didnt bother adding logic to prefer one over the other.  if your system has both, then i dont care.

http://sources.gentoo.org/gentoo-projects/portage-utils/main.c?r1=1.177&r2=1.178