Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112576 - Incorrect dependency in Email-Address-1.80.ebuild
Summary: Incorrect dependency in Email-Address-1.80.ebuild
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
Depends on:
Reported: 2005-11-14 20:42 UTC by Michael S
Modified: 2005-11-21 10:11 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Michael S 2005-11-14 20:42:13 UTC
Email-Address-1.80.ebuild specifies a requirement for dev-perl/Test-Simple. The
classification of Test-Simple has changed, I think, to perl-core/Test-Simple,
but the Email-Address-1.80.ebuild hasn't been updated.

Reproducible: Always
Steps to Reproduce:
1. emerge Email-Address
2. portage reports no ebuilds found for dev-perl/Test-Simple
3. emerge fails

Expected Results:  
emerged Email-Address-1.80

Here's a patch:

# diff Email-Address-1.80.ebuild Email-Address-1.80.ebuild.old
< DEPEND="perl-core/Test-Simple"
> DEPEND="dev-perl/Test-Simple"
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2005-11-15 02:06:02 UTC
This is in your overlay, most likely built by g-cpan. I'm afraid g-cpan can't
fix that (at least not in its present state) so you will need to fix it
manually. Email-Address isn't part of the official tree ;)
Comment 2 Michael S 2005-11-15 04:19:42 UTC
(In reply to comment #1)

Hmm, OK. Thanks for the quick reply. I did manage to fix Email-Address, and then
found I had to change the MD5 sum and the file size in the Manifest as well. But
I'm now encountering the same problem with dev-perl/Return-Value. I know from
working in Perl on other systems that lots of modules require Test::Simple --
will I have to go through these steps manually for each module I install with
g-cpan that depends on Test::Simple?
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2005-11-15 12:48:14 UTC
I'm curious - which version of g-cpan did you emerge? While it turns out the
current version still has its own slew of bugs, it is aware enough to look in
perl-core when generating new ebuilds (or writing upgrades for that matter).
Comment 4 Michael S 2005-11-15 17:43:01 UTC
I'm not sure which I had emerged previously -- this computer hasn't been running
for about six months (motherboard failure), so I'm just getting it back on its
feet again. But I just emerged the latest g-cpan (interestingly, it didn't
present itself as an update, but as a new installation), so I have version 0.13.2.

Running it (g-cpan -l) it tells me I don't have any g-cpan e-builds installed
(but I do, in /usr/local/portage/dev-perl), and makes the directory
/usr/local/portage/perl-gcpan. I should probably take this to another thread/bug
to discuss g-cpan rather than this module in particular, so I'll do that, but
thanks for your help!
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2005-11-21 10:11:11 UTC
Newer (last six months or so) versions of g-cpan create ebuilds in perl-gpcan
rather than dev-perl to avoid conflicts/confusion. Just move the ebuilds out of
dev-perl and into perl-gcpan in your overlay and you would be all set.