Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160137 - app-portage/g-cpan-0.15_rc1 does not accept source statement in /etc/make.conf
Summary: app-portage/g-cpan-0.15_rc1 does not accept source statement in /etc/make.conf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 160965 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-04 16:39 UTC by jieryn
Modified: 2007-01-09 14:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (einfo,12.88 KB, text/plain)
2007-01-04 17:24 UTC, jieryn
Details
/etc/make.conf (make.conf,1.69 KB, text/plain)
2007-01-04 17:25 UTC, jieryn
Details
/usr/portage/local/layman/make.conf (layman_make.conf,86 bytes, text/plain)
2007-01-04 17:25 UTC, jieryn
Details
Updated g-cpan file (g-cpan,30.72 KB, text/plain)
2007-01-05 10:47 UTC, Michael Cummings (RETIRED)
Details
latest g-cpan with another fix for this problem (g-cpan,30.75 KB, text/plain)
2007-01-08 22:10 UTC, Michael Cummings (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jieryn 2007-01-04 16:39:15 UTC
Because I use layman to manage my portage overlays, I am required to source the layman's make.conf file from within my own /etc/make.conf; this causes problems with (minimally) app-portage/g-cpan-0.15_rc1 rejecting all g-cpan requests with an overlay error message.

a lead from IRC:

  @ mcummings : i'm suprised that Shell::EnvImporter couldn't handle it either...
Comment 1 jieryn 2007-01-04 17:24:58 UTC
Created attachment 105439 [details]
emerge --info
Comment 2 jieryn 2007-01-04 17:25:17 UTC
Created attachment 105440 [details]
/etc/make.conf
Comment 3 jieryn 2007-01-04 17:25:51 UTC
Created attachment 105441 [details]
/usr/portage/local/layman/make.conf
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2007-01-05 10:24:36 UTC
working on it - and thanks for filing the bug, i wasn't kidding in irc, memory like a swiss cheese block :)
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2007-01-05 10:47:42 UTC
Created attachment 105549 [details]
Updated g-cpan file
Comment 6 Michael Cummings (RETIRED) gentoo-dev 2007-01-05 10:48:37 UTC
fixed in svn and attached. Mostly just a touch up of the lame strip_ends function to clean up some funkiness from Shell::EnvImporter (not the best module in the world, but it does service a need). going ahead and closing, give me a ping if for some reason it doesn't work (though i tested using your examples and it worked now  ;)
Comment 7 Michael Cummings (RETIRED) gentoo-dev 2007-01-08 22:10:00 UTC
Created attachment 106119 [details]
latest g-cpan with another fix for this problem

'nother fix for this
Comment 8 Michael Cummings (RETIRED) gentoo-dev 2007-01-08 23:09:35 UTC
*** Bug 160965 has been marked as a duplicate of this bug. ***
Comment 9 Martin Mokrejš 2007-01-09 14:51:33 UTC
I have some problems with the g-cpan included here.

# perl ~mmokrejs/tmp/g-cpan --install Email::Reply Email::MIME::Attachment::Stripper Email::Send Email::MIME::Modifier 
 * Ebuild already exists for Email-MIME-Modifier
 * Ebuild already exists for Email-MIME-Attachment-Stripper
 * Ebuild already exists for Email-Reply
 * Ebuild already exists for Email-Send
Calculating dependencies... done!

>>> Emerging (1 of 23) dev-perl/Email-Address-1.88.4 to /
>>> Downloading '''\''http://distfiles.gentoo.org/distfiles/Email-Address-1.884.tar.gz'
wget: '/usr/bin/wget -t 5 -T 60 --passive-ftp -P /usr/portage/distfiles \http://distfiles.gentoo.org/distfiles/Email-Address-1.884.tar.gz': No such file or directory
>>> Downloading 'http://distro.ibiblio.org/pub/linux/distributions/gentoo'\'''/distfiles/Email-Address-1.884.tar.gz'
wget: '/usr/bin/wget -t 5 -T 60 --passive-ftp -P /usr/portage/distfiles http://distro.ibiblio.org/pub/linux/distributions/gentoo'/distfiles/Email-Address-1.884.tar.gz\: No such file or directory
>>> Downloading 'http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Address-1.884.tar.gz'
wget: '/usr/bin/wget -t 5 -T 60 --passive-ftp -P /usr/portage/distfiles http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Address-1.884.tar.gz': No such file or directory
>>> Downloading 'http://www.cpan.org/authors/id/R/RJ/RJBS/Email-Address-1.884.tar.gz'
wget: '/usr/bin/wget -t 5 -T 60 --passive-ftp -P /usr/portage/distfiles http://www.cpan.org/authors/id/R/RJ/RJBS/Email-Address-1.884.tar.gz': No such file or directory
!!! Couldn't download 'Email-Address-1.884.tar.gz'. Aborting.

#

Please note the backslash in front of the URL to be fetched. I believe that is the cause why g-cpan cannot download the file. wget(1) other can fetch the files from the URL.


Actually, when generating the ebuilds, things went smoothly but maybe I should mention another extra backslash ...

# perl ~mmokrejs/tmp/g-cpan --install Email::Reply Email::MIME::Attachment::Stripper Email::Send Email::MIME::Modifier 
/Email-MIME-Modifier-1.441/
Email-MIME-Modifier-1.441/Changes
Email-MIME-Modifier-1.441/MANIFEST
Email-MIME-Modifier-1.441/META.yml
Email-MIME-Modifier-1.441/Makefile.PL
Email-MIME-Modifier-1.441/README
Email-MIME-Modifier-1.441/lib/
Email-MIME-Modifier-1.441/lib/Email/
Email-MIME-Modifier-1.441/lib/Email/MIME/
Email-MIME-Modifier-1.441/lib/Email/MIME/Modifier.pm
Email-MIME-Modifier-1.441/t/
Email-MIME-Modifier-1.441/t/content_id.t
Email-MIME-Modifier-1.441/t/ct_attrs.t
Email-MIME-Modifier-1.441/t/disposition.t
Email-MIME-Modifier-1.441/t/encoding.t
Email-MIME-Modifier-1.441/t/parts.t
Email-MIME-Modifier-1.441/t/pod-coverage.t
Email-MIME-Modifier-1.441/t/pod.t
WARNING: LICENSE is not a known parameter.
Warning: prerequisite Email::MIME 1.82 not found.
Warning: prerequisite Email::MIME::ContentType 1.0 not found.
Warning: prerequisite Email::MIME::Encodings 1.3 not found.
Warning: prerequisite Email::MessageID 1.2 not found.
Warning: prerequisite Email::Simple 1.92 not found.
 * Ebuild already exists for Test-Simple
\Email-MIME-1.857/
Email-MIME-1.857/Changes
Email-MIME-1.857/LICENSE
Email-MIME-1.857/MANIFEST
...