Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346519 - app-portage/gentoolkit-0.3.0_rc11-r2: euse does not support new portage config file locations
Summary: app-portage/gentoolkit-0.3.0_rc11-r2: euse does not support new portage confi...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 237964
  Show dependency tree
 
Reported: 2010-11-23 12:18 UTC by Ben Sagal
Modified: 2010-11-24 19:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
0.3.0_rc11-euse.patch (0.3.0_rc11-euse.patch,783 bytes, patch)
2010-11-23 17:36 UTC, Paul Varner (RETIRED)
Details | Diff
euse (euse,16.80 KB, text/plain)
2010-11-23 22:50 UTC, Paul Varner (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Sagal 2010-11-23 12:18:57 UTC
portage-2.1.9 and portage-2.2 support the use of /etc/portage/make.conf in addition to /etc/make.conf.

/etc/portage/make.conf is ignored by euse, and on systems only using this file euse will not start.
Comment 1 Paul Varner (RETIRED) gentoo-dev 2010-11-23 17:36:55 UTC
Created attachment 255205 [details, diff]
0.3.0_rc11-euse.patch

Patch for euse in 0.3.0_rc11.
Comment 2 Ben Sagal 2010-11-23 18:31:52 UTC
Thanks for the patch, howerver it does not take into account the situation where there are both /etc/portage/make.conf and /etc/make.conf files.

In the is case both are should be read with /etc/portage/make.conf overriding /etc/make.conf

also /etc/make.globals has been moved to /usr/share/portage/config/make.globals
Comment 3 Paul Varner (RETIRED) gentoo-dev 2010-11-23 22:09:56 UTC
I was afraid of that.  We also have the same issue with /etc/make.profile and /etc/portage/make.profile

I've reverted my changes in subversion since the is going to be a more complex change.
Comment 4 Paul Varner (RETIRED) gentoo-dev 2010-11-23 22:50:30 UTC
Created attachment 255261 [details]
euse

Try this version of euse.
Comment 5 Paul Varner (RETIRED) gentoo-dev 2010-11-24 17:53:10 UTC
zmedico: would you mind looking at the euse that I attached to the bug and make sure I got it right for which files to use?  It's all pretty much at the start of the script
fuzzyray: that looks good


$ svn commit -m "Update euse to look for portage config files in new as well as old paths. Bug 346519"
Sending        gentoolkit/ChangeLog
Sending        gentoolkit/bin/euse
Transmitting file data ..
Committed revision 868.

I will revision bump the ebuild to -r3 to contain the fixed version of euse.
Comment 6 Paul Varner (RETIRED) gentoo-dev 2010-11-24 19:02:50 UTC
My IRC snippet didn't paste well. I asked zmedico to comment and he responded that it looked okay.  Anyhow, this is released in gentoolkit-0.3.0_rc11-r3