If you try to install eg. g-cpan -i CPAN-Reporter-Smoker there is an error during generating ghet ebuild for "Term-Title-0.03": ... Term-Title-0.03/Build.PL CPAN: Time::HiRes loaded ok (v1.9719) * Test::More is part of the core perl install * perl is part of the core perl install \Unmatched ( in regex; marked by <-- HERE in m/\$^OeqMSWin32?( <-- HERE "Win32/Console"/ at /usr/bin/g-cpan line 541. ,,, The issue is caused by an unsecure way of using foreign data inside of a perl regexp. Patch is attached.
Created attachment 313279 [details, diff] patch unsecure/broken regexp execution
Andreas, are you sure about version ? Please show emerge -pv app-portage/g-cpan
Hi Sergiy, yes, I think that's correct: mirror ~ # emerge -pv app-portage/g-cpan These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] app-portage/g-cpan-0.16.4 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Andreas
Sorry Andreas, you are right problem exists. I just made another path that IMHO could be better, because it tries to resolve depends like those. Please check it if you want. As usually I added it to https://github.com/gentoo-perl/g-cpan/pull/1 I hope this will be included in the package some day :) See also (ebuild with full patch) https://github.com/bor/gentoo-overlay/tree/master/app-portage/g-cpan
Created attachment 313593 [details] CPAN.pm.patch
This pull request was actioned and the fix has made it into the 0.16.5 release. My apologies for the rather extreme delay here.