Debian Bug report logs - #871804
libcrypt-twofish-perl: FTBFS when debhelper does not export PERL_USE_UNSAFE_INC

version graph

Package: src:libcrypt-twofish-perl; Maintainer for src:libcrypt-twofish-perl is Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>;

Reported by: Dominic Hargreaves <dom@earth.li>

Date: Fri, 11 Aug 2017 17:39:02 UTC

Severity: normal

Tags: patch, upstream

Found in version libcrypt-twofish-perl/2.17-1

Fixed in version libcrypt-twofish-perl/2.17-2

Done: gregor herrmann <gregoa@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://rt.cpan.org/Public/Bug/Display.html?id=120087

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>:
Bug#871804; Package src:libcrypt-twofish-perl. (Fri, 11 Aug 2017 17:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to Dominic Hargreaves <dom@earth.li>:
New Bug report received and forwarded. Copy sent to Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>. (Fri, 11 Aug 2017 17:39:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Dominic Hargreaves <dom@earth.li>
To: submit@bugs.debian.org
Subject: libcrypt-twofish-perl: FTBFS when debhelper does not export PERL_USE_UNSAFE_INC
Date: Fri, 11 Aug 2017 13:37:24 -0400
Source: libcrypt-twofish-perl
Version: 2.17-1
Severity: normal
User: debian-perl@lists.debian.org
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
export.

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

http://perldoc.perl.org/perldelta.html#Removal-of-the-current-directory-(%22.%22)-from-%40INC

The relevant build failure logs are below:

    make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cp Twofish.pm blib/lib/Crypt/Twofish.pm
Running Mkbootstrap for Twofish ()
chmod 644 "Twofish.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Twofish.bs blib/arch/auto/Crypt/Twofish/Twofish.bs 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 -D_FORTIFY_SOURCE=2   -DVERSION=\"2.17\" -DXS_VERSION=\"2.17\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"   Twofish.c
"/usr/bin/perl" tab/tables.pl
Can't locate tab/misc.pl 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/tables.pl line 6.
Makefile:1055: recipe for target 'tables.h' failed

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

Cheers,
Dominic.



Set Bug forwarded-to-address to 'https://rt.cpan.org/Public/Bug/Display.html?id=120087'. Request was from gregor herrmann <gregoa@debian.org> to control@bugs.debian.org. (Sat, 30 Sep 2017 14:48:10 GMT) (full text, mbox, link).


Added tag(s) upstream and patch. Request was from gregor herrmann <gregoa@debian.org> to control@bugs.debian.org. (Sat, 30 Sep 2017 14:48:11 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>:
Bug#871804; Package src:libcrypt-twofish-perl. (Sat, 30 Sep 2017 14:54:02 GMT) (full text, mbox, link).


Message #12 received at 871804@bugs.debian.org (full text, mbox, reply):

From: pkg-perl-maintainers@lists.alioth.debian.org
To: 871804@bugs.debian.org, 871804-submitter@bugs.debian.org
Subject: Pending fixes for bugs in the libcrypt-twofish-perl package
Date: Sat, 30 Sep 2017 14:51:12 +0000
tag 871804 + pending
thanks

Some bugs in the libcrypt-twofish-perl package are closed in revision
02775c7d7ecca2246a79d1817611812b56c587f3 in branch 'master' by gregor
herrmann

The full diff can be seen at
https://anonscm.debian.org/cgit/pkg-perl/packages/libcrypt-twofish-perl.git/commit/?id=02775c7

Commit message:

    Add patch from CPAN RT to fix build without '.' in @INC.
    
    Closes: #871804




Added tag(s) pending. Request was from pkg-perl-maintainers@lists.alioth.debian.org to control@bugs.debian.org. (Sat, 30 Sep 2017 14:54:04 GMT) (full text, mbox, link).


Message sent on to Dominic Hargreaves <dom@earth.li>:
Bug#871804. (Sat, 30 Sep 2017 14:54:06 GMT) (full text, mbox, link).


Reply sent to gregor herrmann <gregoa@debian.org>:
You have taken responsibility. (Sat, 30 Sep 2017 15:12:24 GMT) (full text, mbox, link).


Notification sent to Dominic Hargreaves <dom@earth.li>:
Bug acknowledged by developer. (Sat, 30 Sep 2017 15:12:24 GMT) (full text, mbox, link).


Message #22 received at 871804-close@bugs.debian.org (full text, mbox, reply):

From: gregor herrmann <gregoa@debian.org>
To: 871804-close@bugs.debian.org
Subject: Bug#871804: fixed in libcrypt-twofish-perl 2.17-2
Date: Sat, 30 Sep 2017 15:09:04 +0000
Source: libcrypt-twofish-perl
Source-Version: 2.17-2

We believe that the bug you reported is fixed in the latest version of
libcrypt-twofish-perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 871804@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <gregoa@debian.org> (supplier of updated libcrypt-twofish-perl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 30 Sep 2017 16:49:25 +0200
Source: libcrypt-twofish-perl
Binary: libcrypt-twofish-perl
Architecture: source
Version: 2.17-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Changed-By: gregor herrmann <gregoa@debian.org>
Closes: 871804
Description: 
 libcrypt-twofish-perl - Perl module for Twofish Encryption Algorithm
Changes:
 libcrypt-twofish-perl (2.17-2) unstable; urgency=medium
 .
   * Team upload.
 .
   [ gregor herrmann ]
   * Strip trailing slash from metacpan URLs.
 .
   [ Salvatore Bonaccorso ]
   * Update Vcs-Browser URL to cgit web frontend
   * debian/control: Use HTTPS transport protocol for Vcs-Git URI
 .
   [ gregor herrmann ]
   * debian/copyright: change Copyright-Format 1.0 URL to HTTPS.
   * Remove Iulian Udrea from Uploaders. Thanks for your work!
   * Remove Ryan Niebur from Uploaders. Thanks for your work!
   * Add patch from CPAN RT to fix build without '.' in @INC.
     (Closes: #871804)
   * Declare compliance with Debian Policy 4.1.1.
   * Set bindnow linker flag in debian/rules.
Checksums-Sha1: 
 cac3b21a06cb971b91e9e1790438f96533f578f8 2299 libcrypt-twofish-perl_2.17-2.dsc
 6e09dc3ae89baacd1c5dd99114937b09ae18a1f9 3020 libcrypt-twofish-perl_2.17-2.debian.tar.xz
Checksums-Sha256: 
 c603582273320310d3607bfcfdadfd8e48dbb87c6dc76ff6b293e47ff09ef4d1 2299 libcrypt-twofish-perl_2.17-2.dsc
 fa4d1f0dac6d05020f78800e62fd7a8bdb64886528faacadd52ecfe5f575df44 3020 libcrypt-twofish-perl_2.17-2.debian.tar.xz
Files: 
 c7b84ad4f709a543fae0b761e57bac8c 2299 perl optional libcrypt-twofish-perl_2.17-2.dsc
 0cfc7aeb5f6b7800c84f6f07caf99eb8 3020 perl optional libcrypt-twofish-perl_2.17-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAlnPr0pfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgbN/RAAinLGHgPIDuqKtxOJQgfmemVEpccwT/QE8eDRQXbsGI6HUVspd+9lJsWT
oxmTRYTOZHJNWNurpw1hOti4pPbqIBdyMq0EvjFTxwpCvzz3QVH9wMWX2VaV7Wd5
LzGot9yRbn33ILtK8r4o2gsqdBRQPPKAmHNPi3MXHMxcukmqRbehSvBuy6CmK6i2
4X+KI1eIYrjHJDtUXmKuYcQFTpd2si4n0RJBuMGrjBX8TfGbVs8AAiJJ281Y5WGm
G4134O6yEDO8JaPvOEP8191yJYIEuKLQktc+s0uF1VVPE1pYOrD7vClippltB0id
BIRbPbk49+hE04eR9x4sX2QrflgxPXcuFSw0X943ZurFlKNk4QZUxfXBbmgbZQ0M
cxkGEv7AmAGUrih/fhIZWSdE2hYFZYH2a0/Jk30yWgKu/3zSv2ggx+boPwwplOiE
WHmsdCh5UQ0b3Uyks3uX76DMGYSv6QVfb0otQlIA2OfQF9G0zWaU0fLix7yFCkAg
Hm3/aaFr1b+crYYxyoxsXz2HI1Xa2b45v69SwrrtmoqFjQuD16b5ySIjRfDgmKed
up0NEUaxa6pfzTlCCnRFyn66IUubb7148xWsssx1Va+ohvahfaqP2v4gE0TInX+O
hjtbO+L/4bX1Bo5kGi+YF3UW35Q3TUe61iT4ei1q6UOsgXYUYHI=
=Nvvc
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 03 Nov 2017 07:25:19 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Mar 28 08:21:45 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.