Summary: | g-cpan ignores PORTDIR_OVERLAY order | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Weedy <weedy2887> |
Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | filip, gentoo, levertond, madumlao, mcummings, mephinet, nicolas, perl, Sergiy.Borodych, stroller |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
g-cpan output
patch to g-cpan and ebuild Do not try to unpack an archive more than once in a single run Once created, g-cpan uses the first found overlay that has a perl-gcpan folder |
Description
Weedy
2007-04-30 21:43:54 UTC
Created attachment 117777 [details]
g-cpan output
heres the complete output
for me too this bug appear Acknowledged bug. I'm actively working on the next release of g-cpan, this is added as a test case (basically, the quirk arises because we check for a working overlay repeatedly and the results can get mixed - new version will check once, pick a working overlay, and use it from there on out). (In reply to comment #3) > Acknowledged bug. I'm actively working on the next release of g-cpan, this is > added as a test case (basically, the quirk arises because we check for a > working overlay repeatedly and the results can get mixed - new version will > check once, pick a working overlay, and use it from there on out). > sooo hows that comming? Created attachment 137624 [details, diff]
patch to g-cpan and ebuild
Thank you niko for taking the time to fix this.
Created attachment 138933 [details, diff]
Do not try to unpack an archive more than once in a single run
*** Bug 205562 has been marked as a duplicate of this bug. *** What about the new release? I also have here this: Insufficient permissions! at /usr/lib/perl5/vendor_perl/5.8.8/Gentoo/CPAN.pm problem and g-cpan is writing in all my overlay directories. Here my layman overlay(s) are organised a little differently from the OP: $ grep local /etc/make.conf PORTDIR_OVERLAY=/usr/local/portage source /usr/portage/local/layman/make.conf $ should they be? Anyway, the workaround that works for me is to comment out the "source" line whilst using g-cpan Created attachment 212614 [details, diff]
Once created, g-cpan uses the first found overlay that has a perl-gcpan folder
This little patch makes g-cpan look through all overlays where a subfolder "perl-gcpan" can be found and uses that overlay in the future. So once your preferred overlay is prepared (either by initial run with commenting out all other overlays (and layman "source" line) in make.conf or by a simple mkdir) the other folders will remain untouched.
*** Bug 280550 has been marked as a duplicate of this bug. *** GCPAN_OVERLAY variable now implemented for explicit override, rather than detection. This is because other overlay authors might have perl-gcpan categories of their own, that you don't want to place files into. |