Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 213579

Summary: app-portage/g-cpan-0.15.0-r1 wants to directly emerge all dependencies when used first time
Product: Gentoo Linux Reporter: Michiel de Bruijne <m.debruijne>
Component: New packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED TEST-REQUEST    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michiel de Bruijne 2008-03-16 14:17:03 UTC
Example;
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.