Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213579 - app-portage/g-cpan-0.15.0-r1 wants to directly emerge all dependencies when used first time
Summary: app-portage/g-cpan-0.15.0-r1 wants to directly emerge all dependencies when u...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Perl team
Depends on:
Reported: 2008-03-16 14:17 UTC by Michiel de Bruijne
Modified: 2010-02-12 21:10 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 Michiel de Bruijne 2008-03-16 14:17:03 UTC
Mail::SPF depends on Net::DNS::Resolver::Programmable and NetAddr::IP

If I don't have any perl-gcpan packages and execute 'g-cpan -vi Mail::SPF -a' then all ebuilds are correctly created for the three modules, but at the end g-cpan executes 'emerge --ask Net-DNS-Resolver-Programmable Mail-SPF NetAddr-IP'. With this command Net-DNS-Resolver-Programmable and NetAddr-IP are added to the world file. This shouldn't happen, because these are dependencies.

If I execute 'g-cpan -vi Mail::SPF -a' the second time then g-cpan executes 'emerge --ask Mail-SPF'. This command pulls the required ebuilds in the depgraph, but with this command dependencies are not added to the world file.

The latter is the correct behaviour and should also happen if it's executed the first time.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-02-12 21:10:05 UTC
I can't reproduce w/ r228. please test again and provide another example w/ something that isn't in the tree if you can reproduce.