g-cpan should repackage and rename module tarballs named <MODULE>-v<VERSION>.tar.gz (or other extension) to <MODULE>-<VERSION>.tar.gz, that is expected by emerge. Important is also to rename also directory inside tarball from <MODULE>-v<VERSION> to <MODULE>-<VERSION>. Reproducible: Always Steps to Reproduce: 1. g-cpan -g Alien::Tidyp 2. emerge Alien::Tidyp Actual Results: - g-cpan generates correct Alien-Tidyp ebuild - copies Alien-Tidyp-v1.4.5.tar.gz to /usr/portage/distfiles, that contains directory Alien-Tidyp-v1.4.5 - emerge succeeds, without actually installing anything Expected Results: emerge expects Alien-Tidyp-1.4.5.tar.gz with directory Alien-Tidyp-1.4.5 (manual repackage makes emerge to work again) >>> Emerging (1 of 1) perl-gcpan/Alien-Tidyp-1.4.5 from zugaina * Alien-Tidyp-1.4.5.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: perl-gcpan/Alien-Tidyp-1.4.5 * Repository: zugaina * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU >>> Unpacking source... >>> Unpacking Alien-Tidyp-1.4.5.tar.gz to /var/tmp/portage/perl-gcpan/Alien-Tidyp-1.4.5/work >>> Source unpacked in /var/tmp/portage/perl-gcpan/Alien-Tidyp-1.4.5/work >>> Preparing source in /var/tmp/portage/perl-gcpan/Alien-Tidyp-1.4.5/work ... /var/tmp/portage/perl-gcpan/Alien-Tidyp-1.4.5/temp/environment: line 276: pushd: /var/tmp/portage/perl-gcpan/Alien-Tidyp-1.4.5/work/Alien-Tidyp-1.4.5: No such file or directory /var/tmp/portage/perl-gcpan/Alien-Tidyp-1.4.5/temp/environment: line 308: popd: directory stack empty find: `/var/tmp/portage/perl-gcpan/Alien-Tidyp-1.4.5/work/Alien-Tidyp-1.4.5': No such file or directory >>> Source prepared. >>> Configuring source in /var/tmp/portage/perl-gcpan/Alien-Tidyp-1.4.5/work ... * No Make or Build file detected... >>> Source configured. >>> Compiling source in /var/tmp/portage/perl-gcpan/Alien-Tidyp-1.4.5/work ... >>> Source compiled. >>> Test phase [not enabled]: perl-gcpan/Alien-Tidyp-1.4.5 >>> Install Alien-Tidyp-1.4.5 into /var/tmp/portage/perl-gcpan/Alien-Tidyp-1.4.5/image/ category perl-gcpan >>> Completed installing Alien-Tidyp-1.4.5 into /var/tmp/portage/perl-gcpan/Alien-Tidyp-1.4.5/image/ >>> Installing (1 of 1) perl-gcpan/Alien-Tidyp-1.4.5
fix for this bug https://github.com/gentoo-perl/g-cpan/pull/1
I missed this in my bug list for 0.16.5; I can confirm that the pull request was actioned and the fix is in this release. My apologies for the rather extreme delays here.