Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85456 - emerge dev-perl/File-Type-0.22 fails
Summary: emerge dev-perl/File-Type-0.22 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-15 21:34 UTC by gna
Modified: 2005-03-16 04:23 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 gna 2005-03-15 21:34:40 UTC
emerge dev-perl/File-Type-0.22 fails and error message says this is due to no dependency on dev-perl/module-build and requests a bug report.

module-build is not installed on my system.
So I tried to emerge it and received the same error message except it was from dev-perl/ExtUtils-CBuilder-0.05

error message
--------------------------------------------------------
>>> emerge (2 of 22) dev-perl/File-Type-0.22 to /
>>> md5 src_uri ;-) File-Type-0.22.tar.gz
>>> Unpacking source...
>>> Unpacking File-Type-0.22.tar.gz to /var/tmp/portage/File-Type-0.22/work
>>> Source unpacked.
Can't locate Module/Build.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.5/i686-linux /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.4/i686-linux /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.5/i686-linux /usr/lib/perl5/5.8.5 /usr/local/lib/site_perl /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux .).
BEGIN failed--compilation aborted.
Can't locate Module/Build.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.5/i686-linux /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.4/i686-linux /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.5/i686-linux /usr/lib/perl5/5.8.5 /usr/local/lib/site_perl /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux .).
BEGIN failed--compilation aborted.
 *
 * Please post a bug on http://bugs.gentoo.org assigned to
 * perl@gentoo.org - File-Type-0.22 was added without a dependancy
 * on dev-perl/module-build
 *
 *

!!! ERROR: dev-perl/File-Type-0.22 failed.
!!! Function perl-module_src_prep, Line 85, Exitcode 0
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2005-03-16 02:06:27 UTC
Thank you for letting me know about File-Type - the eclass warning is a new "feature" so that I can keep better qa going in the perl tree (hey, we can all dream).

I can duplicate your second problem - despite there being a DEPEND for module-build in CBuilder, I don't see it actually being pulled in, which has me concerned. Will post as soon as I have more info.

One question - when was your last sync? module-build shouldn't be pulling ExtUtils-CBuilder any more (dep on extutils-parsexs was removed because of this loop on the 14/15th)
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2005-03-16 02:07:01 UTC
Oh - and yes, File-Type now deps module-build :)
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2005-03-16 02:31:59 UTC
OK, I'm an idiot - had an old copy of CBuilder in my overlay without the dep in it - now emerge -p ExtUtils-CBuilder shows module-build as a dependancy, and it emerges fine. My genlop -l output (cause it's cleaner than pasting all those emerge successful lines):

Wed Mar 16 05:18:51 2005 --> dev-perl/module-build-0.26.08 
Wed Mar 16 05:19:04 2005 --> dev-perl/ExtUtils-CBuilder-0.05 

If you are still having problems emerging either File-Type or ExtUtils-CBuilder after an emerge sync, please tee the output (or if you have PORT_LOGDIR enabled in make.conf, even better) so I can see specifically what is going on, though I suspect its either been a day or more since your last sync, or the mirror you hit was at the tail end of the update-mirrors list.
Comment 4 gna 2005-03-16 03:49:09 UTC
I was nearly a day since my last sync.

Anyway I sync'd and this time the emerge works. Actually I was trying to emerge svk. That didn't quite finish (failed on a test) but the problem in this bug report is clearly fixed. Both dependencies seem to be working.

Also thanks for the comment about genlop. Didn't know about that before but looks very useful.

thanks for your help

Greg
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2005-03-16 04:23:50 UTC
Not a problem - sorry I managed to look like an idiot in the span of an hour or so :)