public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] g-cpan.pl doesn't appear to be working
@ 2003-01-27 16:51 Alan
  2003-01-28  5:29 ` J Robert Ray
  0 siblings, 1 reply; 6+ messages in thread
From: Alan @ 2003-01-27 16:51 UTC (permalink / raw
  To: gentoo-dev

I recently submitted a perl module ebuild to bugzilla for
Finance::YahooQuote and was informed that portage can already
dynamically create ebuilds for perl modules via g-cpan.pl.  *Very cool*.

However, when I ran it, it appears to want to install perl itself from
cpan!

----------------------------------
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.

Any ideas?  

-- 
Alan <alan@ufies.org> - http://arcterex.net
---------------------------------------------------------------------
"The only thing that experience teaches us is that experience teaches 
us nothing.	        -- Andre Maurois (Emile Herzog)

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] g-cpan.pl doesn't appear to be working
  2003-01-27 16:51 [gentoo-dev] g-cpan.pl doesn't appear to be working Alan
@ 2003-01-28  5:29 ` J Robert Ray
  2003-01-28 17:21   ` Alan
  0 siblings, 1 reply; 6+ messages in thread
From: J Robert Ray @ 2003-01-28  5:29 UTC (permalink / raw
  To: Alan; +Cc: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alan wrote:
| ************************************************************************
| *
| *
| *  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 #
| ----------------------------------

This looks like a situation that g-cpan doesn't know how to handle yet.
~ Do you have perl 5.8.0 installed or no?

Can you please submit a bug report about this and assign it to me?
<jrray@gentoo.org>  Thanks.

- - Robert

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.1.90-nr1 (Windows XP)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+NhVAbv6Y11NqSv8RAhNBAJ9ZTatcoVwLU5M2NkIYtaJFeO+8QgCeLUbt
DQepqnGC9PumncxCxgZCJEE=
=ktUf
-----END PGP SIGNATURE-----


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] g-cpan.pl doesn't appear to be working
  2003-01-28  5:29 ` J Robert Ray
@ 2003-01-28 17:21   ` Alan
  2003-01-29  8:26     ` J Robert Ray
  0 siblings, 1 reply; 6+ messages in thread
From: Alan @ 2003-01-28 17:21 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]

On Mon, Jan 27, 2003 at 09:29:37PM -0800, J Robert Ray wrote:
> Alan wrote:
> | ************************************************************************
> | *
> | *
> | *  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 #
> | ----------------------------------
> 
> This looks like a situation that g-cpan doesn't know how to handle yet.
> ~ Do you have perl 5.8.0 installed or no?

Yup, I have 5.8.0-r9 installed and working.

> Can you please submit a bug report about this and assign it to me?
> <jrray@gentoo.org>  Thanks.

Done, bug 14679 posted.  
-- 
Alan <alan@ufies.org> - http://arcterex.net
---------------------------------------------------------------------
"The only thing that experience teaches us is that experience teaches 
us nothing.	        -- Andre Maurois (Emile Herzog)

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] g-cpan.pl doesn't appear to be working
  2003-01-28 17:21   ` Alan
@ 2003-01-29  8:26     ` J Robert Ray
  2003-01-29 19:53       ` Tony Clark
  0 siblings, 1 reply; 6+ messages in thread
From: J Robert Ray @ 2003-01-29  8:26 UTC (permalink / raw
  To: Alan; +Cc: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alan wrote:

|On Mon, Jan 27, 2003 at 09:29:37PM -0800, J Robert Ray wrote:
|
|>Alan wrote:
|>| ************************************************************************
|>| *
|>| *
|>| *  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 #
|>| ----------------------------------
|>
|>This looks like a situation that g-cpan doesn't know how to handle yet.
|>~ Do you have perl 5.8.0 installed or no?
|
|
|Yup, I have 5.8.0-r9 installed and working.
|
|>Can you please submit a bug report about this and assign it to me?
|><jrray@gentoo.org>  Thanks.
|
|
|Done, bug 14679 posted.  

Thanks.  Consider using CPAN to install this module in the meantime.

# perl -MCPAN -e shell

then

install Finance::YahooQuote

- - Robert


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+N5Azbv6Y11NqSv8RAiMLAJsEPnIvpgTCPpnZ+3HlqT0CAScmeACgyu+N
tYXIB6bDjoHJ9cgSIHdpq/Q=
=ldmT
-----END PGP SIGNATURE-----



--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] g-cpan.pl doesn't appear to be working
  2003-01-29  8:26     ` J Robert Ray
@ 2003-01-29 19:53       ` Tony Clark
  2003-01-30  0:01         ` J Robert Ray
  0 siblings, 1 reply; 6+ messages in thread
From: Tony Clark @ 2003-01-29 19:53 UTC (permalink / raw
  To: J Robert Ray, Alan; +Cc: gentoo-dev

On Wednesday 29 January 2003 09.26, J Robert Ray wrote:
14679 posted.
>
> Thanks.  Consider using CPAN to install this module in the meantime.
>
> # perl -MCPAN -e shell
>
> then
>

This is not really the point, a number of new apps are all held up because of 
the new perl dependency management _MAYBE_ tool :(  Don't get me wrong, I'm 
all for it when it works, in the meantime life should go on and new things 
should be put in dev-perl and new applications should be available.  Then 
again, I guess Gentoo could just solve the problem and become another faster 
Debian.  The current situtation really sucks IMHO.

tony


-- 
Contract ASIC and FPGA design.
Telephone
+46 702 894 667

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] g-cpan.pl doesn't appear to be working
  2003-01-29 19:53       ` Tony Clark
@ 2003-01-30  0:01         ` J Robert Ray
  0 siblings, 0 replies; 6+ messages in thread
From: J Robert Ray @ 2003-01-30  0:01 UTC (permalink / raw
  To: Tony Clark; +Cc: J Robert Ray, Alan, gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tony Clark wrote:
| On Wednesday 29 January 2003 09.26, J Robert Ray wrote:
| 14679 posted.
|
|>Thanks.  Consider using CPAN to install this module in the meantime.
|
| This is not really the point, a number of new apps are all held up
because of
| the new perl dependency management _MAYBE_ tool :(  Don't get me
wrong, I'm
| all for it when it works, in the meantime life should go on and new
things
| should be put in dev-perl and new applications should be available.  Then
| again, I guess Gentoo could just solve the problem and become another
faster
| Debian.  The current situtation really sucks IMHO.

Please bear with us, a more robust solution will be implemented.  The
one thing we don't want to do is make ebuilds for every perl module in
CPAN.  In this case we may add an ebuild to the tree to install the
package that g-cpan can't handle.

- - Robert


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.1.90-nr1 (Windows XP)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+OGtEbv6Y11NqSv8RAue7AJ942MtLWdl6SZTLIhx/PQYvFexGvACg5aox
raTuMkXR2nNKd7jAzHPuGm8=
=nGRS
-----END PGP SIGNATURE-----


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-01-30  0:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-27 16:51 [gentoo-dev] g-cpan.pl doesn't appear to be working Alan
2003-01-28  5:29 ` J Robert Ray
2003-01-28 17:21   ` Alan
2003-01-29  8:26     ` J Robert Ray
2003-01-29 19:53       ` Tony Clark
2003-01-30  0:01         ` J Robert Ray

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox