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

Bug 435620

Summary: <app-portage/fetchcommandwrapper-0.7.2 has path "/etc/make.conf" hardcoded
Product: Gentoo Linux Reporter: Mike Nerone <mike>
Component: Current packagesAssignee: Sebastian Pipping <sping>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: 10.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mike Nerone 2012-09-20 08:44:23 UTC
Recent "eselect news" specified that upcoming stages will have make.conf and make.profile in /etc/portage instead of the old location of /etc.

app-portage/fetchcommandwrapper-0.7.1 has a hardcoded path to the old location of make.conf:

$ ack 'make\.conf' /usr/lib64/python2.7/site-packages/fetchcommandwrapper/main.py
    p = subprocess.Popen(['/bin/bash', '-c', 'source /etc/make.conf; echo ${GENTOO_MIRRORS}'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)

Anyone who attempts to install fetchcommandwrapper after installing from the new media (or proactively tries to move the files to the new locations as I did) will be unable to fetch distfiles.
Comment 1 Sebastian Pipping gentoo-dev 2016-10-08 20:29:42 UTC
0.7.2 has

  p = subprocess.Popen(['/usr/bin/portageq', 'gentoo_mirrors'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)

instead.  Closing as fixed.