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

Bug 253340

Summary: x11-misc/zim-0.27 ebuild misses dependency on perl-core/Module-Build
Product: Gentoo Linux Reporter: Sergej Pisarenko <drseergio>
Component: Current packagesAssignee: Desktop Misc. Team <desktop-misc>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sergej Pisarenko 2009-01-01 10:09:24 UTC
x11-misc/zim-0.27 misses a dependency on a package perl-core/Module-Build. When attempting to install quits compilation with a reference to a missing Module-Build. Emerging perl-core/Module-Build by hand solves the issue. Obviously, the bug would not manifest itself on a system where perl-core/Module-Build is already available.

Reproducible: Always

Steps to Reproduce:
1. emerge =x11-misc/zim-0.27
2. compile fails due to missing perl-core/Module-Build
Comment 1 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-01-02 21:50:30 UTC
please paste the emerge output/warning/error
Comment 2 loth 2009-03-24 07:43:42 UTC
I was trying to upgrade my old zim, and found that 0.27 would not compile. The last lines of my build.log file are:

>>> Compiling source in /var/tmp/portage/x11-misc/zim-0.27/work/Zim-0.27 ...
 * Using Module::Build
Can't locate Module/Build.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at Build.PL line 3.
BEGIN failed--compilation aborted at Build.PL line 3.
 * 
 * ERROR: x11-misc/zim-0.27 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2431:  Called perl-module_src_compile
 *             environment, line 2172:  Called perl-module_src_prep
 *             environment, line 2233:  Called die
 * The specific snippet of code:
 *           perl Build.PL --installdirs=vendor --libdoc= --destdir="${D}" --create_packlist=0 --extra_linker_flags="${LDFLAGS}" ${myconf} <<< ${pm_echovar} || die "Unable to build! (are you using USE="build"?)";
 *  The die message:
 *   Unable to build! (are you using USE="build"?)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-misc/zim-0.27/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/zim-0.27/temp/environment'.
 * 
Comment 3 loth 2009-03-24 08:56:11 UTC
... installing perl-core/Module-Build along with its dependencies fixed the problem. 
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-06-03 01:50:17 UTC
Fixed, thanks.