Trying to create an ebuild of Finance::YahooQuote via the (very cool) g-cpan.pl utility program causes some strange things to happen. ---------------------------------- phoenix alan # g-cpan.pl Finance::YahooQuote mkdir /tmp/perl-modules_3528 mkdir /tmp/perl-modules_3528/dev-perl CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Mon, 27 Jan 2003 07:49:14 GMT ************************************************************************ * * * Need to create ebuild for 'Finance::YahooQuote': finance * * ************************************************************************ Running make for E/ED/EDD/finance-yahooquote_0.18.tar.gz Checksum for /root/.cpan/sources/authors/id/E/ED/EDD/finance-yahooquote_0.18.tar.gz ok Scanning cache /root/.cpan/build for sizes Finance-YahooQuote-0.18/ [snip list of files] Finance-YahooQuote-0.18/t/02simple.t Removing previously used /root/.cpan/build/Finance-YahooQuote-0.18 CPAN.pm: Going to build E/ED/EDD/finance-yahooquote_0.18.tar.gz Checking if your kit is complete... Looks good Warning: prerequisite HTML::Parser 2.2 not found. Writing Makefile for Finance::YahooQuote ---- Unsatisfied dependencies detected during [E/ED/EDD/finance-yahooquote_0.18.tar.gz] ----- HTML::Parser Ignoring dependencies on modules HTML::Parser cp YahooQuote.pm blib/lib/Finance/YahooQuote.pm cp yahooquote blib/script/yahooquote /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/yahooquote Manifying blib/man1/yahooquote.1 Manifying blib/man3/Finance::YahooQuote.3pm /usr/bin/make -j2 -- OK ************************************************************************ * * * Ebuild already exists for 'LWP::UserAgent': libwww-perl * * ************************************************************************ ************************************************************************ * * * Need to create ebuild for 'Text::ParseWords': perl * * ************************************************************************ Running make for J/JH/JHI/perl-5.8.0.tar.gz The most recent version "3.21" of the module "Text::ParseWords" comes with the current version of perl (5.8.0). I'll build that only if you ask for something like force install Text::ParseWords or install J/JH/JHI/perl-5.8.0.tar.gz Use of uninitialized value in open at /usr/bin/g-cpan.pl line 249. Can't open 'J/JH/JHI/perl-5.8.0.tar.gz': No such file or directory at /usr/bin/g-cpan.pl line 249. phoenix alan # ---------------------------------- It seems that it is creating a list of dependancies and because one is installed with perl, it tries to go and build that. The ebuild that I created worked fine with no dependancies btw, though on another machine (debian) installing from CPAN it wanted Spreadsheet::ParseExcel and IO::Scalar, which I guess are installed already. I currently have perl 5.8.0-r9 installed. Assigning to J Robert Ray as requested.
I have had the same problem trying to merge WebService::weblogUpdates. * Ebuild already exists for 'Test::More': Test-Simple <snip> * Need to create ebuild for 'Carp': perl <snip> Running make for J/JH/JHI/perl-5.8.0.tar.gz The most recent version "1.01" of the module "Carp" comes with the current version of perl (5.8.0). I'll build that only if you ask for something like force install Carp or install J/JH/JHI/perl-5.8.0.tar.gz Use of uninitialized value in open at /usr/bin/g-cpan.pl line 250. Can't open 'J/JH/JHI/perl-5.8.0.tar.gz': No such file or directory at /usr/bin/g-cpan.pl line 250. Interestingly enough, if I try to merge Carp (the CPAN module which is depended upon, and exists in the base perl package) I get: * Module already installed for 'Carp' Looks like the same problem... g-cpan is great, I'd love to see this fixed. I'll take another look at it tomorrow.
This bug is now fixed in CVS, awaiting a new release of portage to roll it out.
Nick - new g-cpan.pl needs to go out.