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
And there was not any updates in /usr/local/portage/perl-gcpan/:
0.16.2 out now with a fix.
*** Bug 308409 has been marked as a duplicate of this bug. ***
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