Source: libcrypt-twofish-perl
Version: 2.17-1
Severity: normal
Usertags: debhelper-use-unsafe-inc-removal

This package FTBFS when debhelper is changed to not export
PERL_USE_UNSAFE_INC to the build environment. This export was added in
2016 at the same time that '.' was removed from INC by default, to
avoid breakage, but was a temporary change.

As well as allowing us to (eventually) remove this export from debhelper,
fixing this bug in your package will also help upstream, since this
change has been made in perl 5.26 upstream.

Additionally, it's possible that the problem may also exist at runtime
for your package (though from experience this is less likely).

Note that the rebuild testing was against a locally-modified version
of debhelper, but you can get the same effect by setting debhelper
compat level 11 in your package, which also removes the same

For information about how to fix this class of issues, please refer
to the upstream release notes (in particular, 'Script authors' and
'Module Authors'):

The relevant build failure logs are below:

    make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cp blib/lib/Crypt/
Running Mkbootstrap for Twofish ()
chmod 644 ""
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- 
blib/arch/auto/Crypt/Twofish/ 644
"/usr/bin/perl" "/usr/share/perl/5.26/ExtUtils/xsubpp"  -typemap 
'/usr/share/perl/5.26/ExtUtils/typemap' -typemap '/<<PKGBUILDDIR>>/typemap'  
Twofish.xs > Twofish.xsc
mv Twofish.xsc Twofish.c
x86_64-linux-gnu-gcc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv 
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
"-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"   Twofish.c
"/usr/bin/perl" tab/
Can't locate tab/ in @INC (@INC contains: /etc/perl 
/usr/local/lib/x86_64-linux-gnu/perl/5.26.0 /usr/local/share/perl/5.26.0 
/usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at tab/ 
line 6.
Makefile:1055: recipe for target 'tables.h' failed

Please feel feel free to get in touch with the Debian Perl team at      if you need any more information or                
assistance to fix this issue.              


Reply via email to