Summary: | app-portage/g-cpan-0.16.4-r1 should use default $PORTDIR | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | mephinet <mephinet> |
Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | joules, nbowler, perl, petr.pisar, q, Sergiy.Borodych, wtt6 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Output of emerge --info |
As for me even uncommented line doesn't help, because the make.conf moved to portage dir. I fixed by this:
50c50
< foreach my $file ( "$ENV{HOME}/.gcpanrc", "/etc/make.conf", "/etc/make.globals" ) {
---
> foreach my $file ( "$ENV{HOME}/.gcpanrc", "/etc/make.conf", "/etc/make.globals", "/etc/portage/make.conf" ) {
cono, this is what the g-cpan-0.16.4-r1 ebuild fixes already. This bug is not fixed on ebuild g-cpan-0.16.4-r1 See my problem: cloud ~ # genlop -s g-cpan|tail -2 Fri Feb 15 10:54:15 2013 >>> app-portage/g-cpan-0.16.4-r1 cloud ~ # rm -rf /root/.cpan/ cloud ~ # g-cpan --upgrade * No CPAN Config found, auto-generating a basic one mkdir /root/.cpan mkdir /root/.cpan/CPAN * ERROR READING /profiles/arch.list: No such file or directory Fixed manually: cloud ~ # echo 'PORTDIR="/usr/portage"' >> /etc/portage/make.conf cloud ~ # g-cpan --upgrade Use of uninitialized value $overlay in split at /usr/bin/g-cpan line 435. * Everything was up to date, nothing to do! I got same bug, now. Yeah, this is another effect of the moved make.globals *** This bug has been marked as a duplicate of bug 432992 *** |
Created attachment 330032 [details] Output of emerge --info If the PORTDIR variable is commented out in /etc/make.conf or /etc/portage/make.conf, g-cpan fails with the following error message: * ERROR READING /profiles/arch.list: No such file or directory Adding the line PORTDIR=/usr/portage into make.conf solves the issue. As the line is commented out by default, this is an issue to most first-time users, I guess...