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

Bug 615696

Summary: dev-perl/Test-SubCalls fails install without '.' in @INC (Can't locate inc/Module/Install/DSL.pm in @INC)
Product: Gentoo Linux Reporter: Kent Fredric (IRC: kent\n) (RETIRED) <kentnl>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://rt.cpan.org/Ticket/Display.html?id=120411
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 612408, 621410    

Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-04-16 01:45:22 UTC
>>> Unpacking source...
>>> Unpacking Test-SubCalls-1.09.tar.gz to /var/tmp/portage/dev-perl/Test-SubCalls-1.90.0-r1/work
>>> Source unpacked in /var/tmp/portage/dev-perl/Test-SubCalls-1.90.0-r1/work
>>> Preparing source in /var/tmp/portage/dev-perl/Test-SubCalls-1.90.0-r1/work/Test-SubCalls-1.09 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-perl/Test-SubCalls-1.90.0-r1/work/Test-SubCalls-1.09 ...
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/Test-SubCalls-1.90.0-r1/image/
Can't locate inc/Module/Install/DSL.pm in @INC (you may need to install the inc::Module::Install::DSL module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.25.11/x86_64-linux /usr/local/lib64/perl5/5.25.11 /usr/lib64/perl5/vendor_perl/5.25.11/x86_64-linux /usr/lib64/perl5
/vendor_perl/5.25.11 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.25.11 /usr/lib64/perl5/vendor_perl/5.22.3 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.25.11/x86_64-linux /usr/lib64/perl5/5.25.11) at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
 * ERROR: dev-perl/Test-SubCalls-1.90.0-r1::gentoo failed (configure phase):
 *   Unable to build!
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-06-16 22:56:06 UTC
Patching . into Makefile.PL isn't enough. Result is now: 

>>> Emerging (8 of 8) dev-perl/Test-SubCalls-1.90.0-r1::gentoo
 * Test-SubCalls-1.09.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                      [ ok ]
>>> Unpacking source...
>>> Unpacking Test-SubCalls-1.09.tar.gz to /var/tmp/portage/dev-perl/Test-SubCalls-1.90.0-r1/work
>>> Source unpacked in /var/tmp/portage/dev-perl/Test-SubCalls-1.90.0-r1/work
>>> Preparing source in /var/tmp/portage/dev-perl/Test-SubCalls-1.90.0-r1/work/Test-SubCalls-1.09 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-perl/Test-SubCalls-1.90.0-r1/work/Test-SubCalls-1.09 ...
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/Test-SubCalls-1.90.0-r1/image/
Failed to execute the generated code>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-perl/Test-SubCalls-1.90.0-r1/work/Test-SubCalls-1.09 ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-perl/Test-SubCalls-1.90.0-r1
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2017-06-16 23:05:13 UTC
Anyhow. Not sure what is wrong. Patch from upstream works. :/