Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 346519

Summary: app-portage/gentoolkit-0.3.0_rc11-r2: euse does not support new portage config file locations
Product: Portage Development Reporter: Ben Sagal <bensagal>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: 2.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 237964    
Attachments: 0.3.0_rc11-euse.patch
euse

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