Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136928 - portage wants to emerge dev-perl/ExtUtils-CBuilder before module-build
Summary: portage wants to emerge dev-perl/ExtUtils-CBuilder before module-build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 136708
  Show dependency tree
 
Reported: 2006-06-15 13:38 UTC by Michael Helmling
Modified: 2006-07-01 20:45 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Helmling 2006-06-15 13:38:55 UTC
I was emerging xmltv which has a huge list of perl-modules as dependencies. The emerge stoppped at dev-perl/ExtUtils-CBuilder-0.18 with the error "can't locate Module/Build.pm".
I found out that this Build.pm belongs to module-build, unfortunately "emerge module-build" wanted to first emerge ExtUtils-CBuilder. 
I then used emerge -pte ExtUtils-CBuilder to locate all other dependencies for that package. After I emerged by hand perl-Test-Harness, IO-String and Archive-Tar (I think they installed some more dependencies by their own), emerge module-build didn't want to emerge ExtUtils-CBuilder first, so then it was all ok.

I think there is a wrong dependency somewhere that should be fixed.
Comment 1 Christian Lemke 2006-06-16 02:39:59 UTC
I have the the same problem while emerging frozen-bubble.
Comment 2 Markus Rothe (RETIRED) gentoo-dev 2006-06-16 03:44:01 UTC
I do have a little problem with this package:

# FEATURES="test" emerge =module-build-0.28 -p

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-perl/ExtUtils-CBuilder-0.18  USE="-minimal"
[ebuild  N    ] dev-perl/extutils-parsexs-2.15  USE="-minimal"
[ebuild  N    ] dev-perl/module-build-0.28  USE="-minimal"
# FEATURES="test" emerge =module-build-0.28
[...]
 * Using Module::Build
Can't locate Module/Build.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/powerpc64-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/powerpc64-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/powerpc64-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at Build.PL line 1.
BEGIN failed--compilation aborted at Build.PL line 1.

!!! ERROR: dev-perl/ExtUtils-CBuilder-0.18 failed.
[...]
# emerge extutils-parsexs -p

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-perl/module-build-0.28  USE="-minimal"
[ebuild  N    ] dev-perl/ExtUtils-CBuilder-0.18  USE="-minimal"
[ebuild  N    ] dev-perl/extutils-parsexs-2.15  USE="-minimal"

------------------------- everything installs fine -------------------------



Seems like something is up with the dependencies?
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2006-06-16 06:05:17 UTC
this should be resolved now, there was a logic bug in the perl-module.eclass. Please emerge sync (fix went in earlier this week) and confirm?
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2006-06-16 07:05:09 UTC
(In reply to comment #3)
> this should be resolved now, there was a logic bug in the perl-module.eclass.
> Please emerge sync (fix went in earlier this week) and confirm?
> 

my mistake - wrong package, investigating how the cross deps stepped in
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2006-06-16 07:14:36 UTC
fixed. there were two deps that were listed as "recommended" (but not required) that ended up causing a loop back dep on module-build itself. 
Comment 6 Ahmed Ammar (RETIRED) gentoo-dev 2006-06-16 15:11:18 UTC
dev-perl/ExtUtils-CBuilder was a missing dependancy for dev-perl/Pod-Coverage
Comment 7 Michael Cummings (RETIRED) gentoo-dev 2006-06-16 16:47:41 UTC
(In reply to comment #6)
> dev-perl/ExtUtils-CBuilder was a missing dependancy for dev-perl/Pod-Coverage
> 

different bug ;)

and apparently not true. I think you just need to synch up - pod-coverage depends on module-build, this bug was fixed in the tree a few hours ago and may not have hit your local mirror. just for grins:

$ more Build.PL
use strict;
use Module::Build;

Module::Build
  ->new( module_name => "Pod::Coverage",
         license     => 'perl',
         script_files => [ 'bin/pod_cover' ],
         build_requires => {
             'Test::More'       => 0,
         },
         requires    => {
             'Devel::Symdump' => 2.01,
             'Pod::Parser'    => 1.13,
             'Pod::Find'      => 0.21,
         },
         create_makefile_pl => 'passthrough',
       )
  ->create_build_script;
( mcummings@paradox )-( 19:46:18 )-( Pod-Coverage-0.17 )-(  507 )
$ grep -risl cbuilder *
( mcummings@paradox )-( 19:46:29 )-( Pod-Coverage-0.17 )-(  508 )
$

see? no cbuilder calls whatsoever :)
Comment 8 Michael Cummings (RETIRED) gentoo-dev 2006-07-01 20:45:43 UTC
this is all set. also see bug 137098 for related issues that were resolved this evening.