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

Bug 615018

Summary: dev-perl/Crypt-Twofish fails install without '.' in @INC ( Can't locate tab/misc.pl 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=120087
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 612408, 621410    

Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-04-08 20:45:34 UTC
>>> Compiling source in /var/tmp/portage/dev-perl/Crypt-Twofish-2.170.0-r1/work/Crypt-Twofish-2.17 ...
 * emake OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed
make -j3 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed'
Running Mkbootstrap for Twofish ()
chmod 644 "Twofish.bs"
"/usr/bin/perl" "/usr/lib64/perl5/5.25.11/ExtUtils/xsubpp"  -typemap '/usr/lib64/perl5/5.25.11/ExtUtils/typemap' -typemap '/var/tmp/portage/dev-perl/Crypt-Twofish-2.170.0-r1/work/Crypt-Twofish-2.17/typemap'  Twofish.xs > Twofish.xsc
"/usr/bin/perl" tab/tables.pl
Can't locate tab/misc.pl in @INC (@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 tab/tables.pl line 6.
cp Twofish.pm blib/lib/Crypt/Twofish.pm
make: *** [Makefile:1058: tables.h] Error 2
make: *** Waiting for unfinished jobs....
mv Twofish.xsc Twofish.c
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-06-11 03:40:36 UTC
commit:  798cf050aa98601af4a471c55a52f06b3b2996b4
author:  2017-06-11 15:39:29 +1200 Kent Fredric <kentnl@gentoo.org>
commit:  2017-06-11 15:39:29 +1200 Kent Fredric <kentnl@gentoo.org>
gpg-key: E854324B1366A820

    dev-perl/Crypt-Twofish: Fix for '.' in @INC re bug #615018

    This simply adjusts a legacy case where there was an explicit:
    
       require "some/path"
    
    Where it was assumed "some/path" would be relative to cwd, which is
    no longer the case sinc '.' was removed from @INC
    
    Bug: https://bugs.gentoo.org/615018
    Package-Manager: Portage-2.3.6, Repoman-2.3.2


 dev-perl/Crypt-Twofish/Crypt-Twofish-2.170.0-r1.ebuild |  4 +-
 dev-perl/Crypt-Twofish/files/no-dot-inc.patch          | 32 +++++
 2 files changed, 34 insertions(+), 2 deletions(-)