Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420505 - app-portage/g-ctan does not honour PORTDIR
Summary: app-portage/g-ctan does not honour PORTDIR
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Reported: 2012-06-10 15:56 UTC by sphakka
Modified: 2016-07-24 10:57 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description sphakka 2012-06-10 15:56:34 UTC
I have a custom PORTDIR in my /etc/make.conf.

# g-ctan -u l3kernel
* Updating ebuild for g-ctan/l3kernel ...
* You have insufficient permissions to access /usr/portage/distfiles or it does not exist.
* Please create it or check the permissions, some path definitions can be altered
* through the /etc/g-ctan/g-ctan.conf file.
* This program should be run as root in most environments.

Indeed /usr/portage/distfiles doesn't exist. However a symlink to the correct location solves the problem... It looks like g-ctan doesn't take into account the PORTDIR variable; if that's not possible, a specific configuration option should be provided.

Reproducible: Always

Steps to Reproduce:
1. Configure a non-standard PORTDIR in /etc/make.conf
2. run 'g-ctan -u'

Actual Results:  
g-ctan doesn't found the portage directory.

Expected Results:  
g-ctan looks into PORTDIR to get the portage directory.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2012-06-11 10:19:35 UTC
Please provide the installed version of g-ctan by commenting
`emerge -pv g-ctan`, thanks.
Comment 2 sphakka 2012-06-11 11:20:25 UTC
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-07-24 10:57:58 UTC
The package has been removed.