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":
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 ?
emerge -pv app-portage/g-cpan
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
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
I hope this will be included in the package some day :)
See also (ebuild with full patch)
Created attachment 313593 [details]
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.