Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311117 - app-portage/g-cpan ignores GCPAN_OVERLAY in /etc/make.conf
Summary: app-portage/g-cpan ignores GCPAN_OVERLAY in /etc/make.conf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 308409 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-24 13:31 UTC by Juergen Rose
Modified: 2011-07-22 08:50 UTC (History)
2 users (show)

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 Juergen Rose 2010-03-24 13:31:20 UTC
I have set GCPAN_OVERLAY="/usr/local/portage/perl-gcpan" in /etc/make.conf and expect that perl-gcpan will installed under /usr/local/portage/perl-gcpan. But they are installed in other overlay dirctories. After doing today 'g-cpan -p -u'
I found:
root@moose:/root(44)# grep GCPAN /etc/make.conf
GCPAN_OVERLAY="/usr/local/portage/perl-gcpan"
root@moose:/root(45)#  find /var/lib -name perl-gcpan
/var/lib/layman/x11/perl-gcpan
/var/lib/layman/science/perl-gcpan
root@moose:/root(46)# ll /var/lib/layman/x11/perl-gcpan/
total 20
drwxr-xr-x 3 root root 4096 Mar 24 14:18 Class-C3-Adopt-NEXT/
drwxr-xr-x 3 root root 4096 Mar 24 14:18 File-ChangeNotify/
drwxr-xr-x 3 root root 4096 Mar 24 14:18 MooseX-Emulate-Class-Accessor-Fast/
drwxr-xr-x 3 root root 4096 Mar 24 14:18 MooseX-SemiAffordanceAccessor/
drwxr-xr-x 3 root root 4096 Mar 24 14:19 Statistics-Distributions/
root@moose:/root(47)# ll /var/lib/layman/science/perl-gcpan
total 108
drwxr-xr-x 3 root root 4096 Mar 24 14:19 AI-Genetic-Pro/
drwxr-xr-x 3 root root 4096 Mar 24 14:19 Algorithm-Cluster/
drwxr-xr-x 3 root root 4096 Mar 24 14:19 Catalyst-Action-RenderView/
drwxr-xr-x 3 root root 4096 Mar 24 14:19 Catalyst-Devel/
drwxr-xr-x 3 root root 4096 Mar 24 14:18 Catalyst-Plugin-ConfigLoader/
drwxr-xr-x 3 root root 4096 Mar 24 14:19 Catalyst-Plugin-Static-Simple/
drwxr-xr-x 3 root root 4096 Mar 24 14:18 Catalyst-Runtime/
drwxr-xr-x 3 root root 4096 Mar 24 14:19 Class-Accessor-Fast-XS/
drwxr-xr-x 3 root root 4096 Mar 24 14:17 Class-C3-Adopt-NEXT/
drwxr-xr-x 3 root root 4096 Mar 24 14:18 File-ChangeNotify/
drwxr-xr-x 3 root root 4096 Mar 24 14:19 HTML-SimpleLinkExtor/
drwxr-xr-x 3 root root 4096 Mar 24 14:18 HTTP-Body/
drwxr-xr-x 3 root root 4096 Mar 24 14:18 HTTP-Request-AsCGI/
drwxr-xr-x 3 root root 4096 Mar 24 14:19 Math-Function-Roots/
drwxr-xr-x 3 root root 4096 Mar 24 14:18 MooseX-Emulate-Class-Accessor-Fast/
drwxr-xr-x 3 root root 4096 Mar 24 14:18 MooseX-Params-Validate/
drwxr-xr-x 3 root root 4096 Mar 24 14:18 MooseX-Role-WithOverloading/
drwxr-xr-x 3 root root 4096 Mar 24 14:17 MooseX-SemiAffordanceAccessor/
drwxr-xr-x 3 root root 4096 Mar 24 14:19 Statistics-Basic/
drwxr-xr-x 3 root root 4096 Mar 24 14:19 Statistics-Distributions/
drwxr-xr-x 3 root root 4096 Mar 24 14:19 Statistics-TTest/
drwxr-xr-x 3 root root 4096 Mar 24 14:19 String-Random/
drwxr-xr-x 3 root root 4096 Mar 24 14:18 String-RewritePrefix/
drwxr-xr-x 3 root root 4096 Mar 24 14:19 Struct-Compare/
drwxr-xr-x 3 root root 4096 Mar 24 14:18 Text-SimpleTable/
drwxr-xr-x 3 root root 4096 Mar 24 14:19 Tie-Array-Packed/
drwxr-xr-x 3 root root 4096 Mar 24 14:18 aliased/


Reproducible: Always




root@moose:/root(48)# qlist -Iv g-cpan
app-portage/g-cpan-0.16.1
Comment 1 Juergen Rose 2010-03-24 13:34:26 UTC
And there was not any updates in /usr/local/portage/perl-gcpan/:
 
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-03-24 17:32:30 UTC
0.16.2 out now with a fix.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-03-24 17:33:07 UTC
*** Bug 308409 has been marked as a duplicate of this bug. ***
Comment 4 Simon Perry 2010-03-24 23:59:15 UTC
This is not fixed with 0.16.2

Relevant make.conf lines:

# Overlay Control
GCPAN_OVERLAY="/usr/local/portage/g-cpan"
source /var/lib/layman/make.conf

PORTDIR_OVERLAY="${PORTDIR_OVERLAY}
/usr/local/portage/fixes"

Output shows that g-cpan doesn't even look at GCPAN_OVERLAY:

[root@nexus]-[10:54:53]-[~]
# g-cpan -uv
 * OVERLAY: /var/lib/layman/sunrise/perl-gcpan
 * Couldn't open folder /var/lib/layman/sunrise/perl-gcpan: No such file or directory
 * OVERLAY: /var/lib/layman/hardened-development/perl-gcpan
 * Couldn't open folder /var/lib/layman/hardened-development/perl-gcpan: No such file or directory
 * OVERLAY: /usr/local/portage/fixes/perl-gcpan
 * Couldn't open folder /usr/local/portage/fixes/perl-gcpan: No such file or directory
 * Everything was up to date, nothing to do!
 * Cleaning temporary space