Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435620 - <app-portage/fetchcommandwrapper-0.7.2 has path "/etc/make.conf" hardcoded
Summary: <app-portage/fetchcommandwrapper-0.7.2 has path "/etc/make.conf" hardcoded
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-20 08:44 UTC by Mike Nerone
Modified: 2016-10-08 20:29 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 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.