Debian Bug report logs - #871798
libplack-middleware-session-perl: FTBFS when debhelper does not export PERL_USE_UNSAFE_INC

version graph

Package: src:libplack-middleware-session-perl; Maintainer for src:libplack-middleware-session-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:30:02 UTC

Severity: normal

Tags: patch, upstream

Found in version libplack-middleware-session-perl/0.30-1

Fixed in version libplack-middleware-session-perl/0.30-2

Done: Florian Schlichting <fsfs@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://github.com/plack/Plack-Middleware-Session/issues/36

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#871798; Package src:libplack-middleware-session-perl. (Fri, 11 Aug 2017 17:30: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:30: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: libplack-middleware-session-perl: FTBFS when debhelper does not export PERL_USE_UNSAFE_INC
Date: Fri, 11 Aug 2017 13:26:56 -0400
Source: libplack-middleware-session-perl
Version: 0.30-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:

ok
Can't locate t/lib/TestSession.pm in @INC (you may need to install the t::lib::TestSession module) (@INC contains: /<<PKGBUILDDIR>>/blib/arch /<<PKGBUILDDIR>>/blib/lib /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 t/001_basic.t line 13.
BEGIN failed--compilation aborted at t/001_basic.t line 13.
t/001_basic.t .................. 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
Can't locate t/lib/TestSessionHash.pm in @INC (you may need to install the t::lib::TestSessionHash module) (@INC contains: /<<PKGBUILDDIR>>/blib/arch /<<PKGBUILDDIR>>/blib/lib /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 t/001a_basic.t line 12.
BEGIN failed--compilation aborted at t/001a_basic.t line 12.
t/001a_basic.t ................. 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
Can't locate t/lib/TestSession.pm in @INC (you may need to install the t::lib::TestSession module) (@INC contains: /<<PKGBUILDDIR>>/blib/arch /<<PKGBUILDDIR>>/blib/lib /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 t/002_basic_w_cookie.t line 14.
BEGIN failed--compilation aborted at t/002_basic_w_cookie.t line 14.
t/002_basic_w_cookie.t ......... 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
Can't locate t/lib/TestSessionHash.pm in @INC (you may need to install the t::lib::TestSessionHash module) (@INC contains: /<<PKGBUILDDIR>>/blib/arch /<<PKGBUILDDIR>>/blib/lib /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 t/002a_basic_w_cookie.t line 13.
BEGIN failed--compilation aborted at t/002a_basic_w_cookie.t line 13.
t/002a_basic_w_cookie.t ........ 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
Can't locate t/lib/TestSession.pm in @INC (you may need to install the t::lib::TestSession module) (@INC contains: /<<PKGBUILDDIR>>/blib/arch /<<PKGBUILDDIR>>/blib/lib /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 t/003_basic_w_file_store.t line 15.
BEGIN failed--compilation aborted at t/003_basic_w_file_store.t line 15.
t/003_basic_w_file_store.t ..... 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
Can't locate t/lib/TestSessionHash.pm in @INC (you may need to install the t::lib::TestSessionHash module) (@INC contains: /<<PKGBUILDDIR>>/blib/arch /<<PKGBUILDDIR>>/blib/lib /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 t/003a_basic_w_file_store.t line 14.
BEGIN failed--compilation aborted at t/003a_basic_w_file_store.t line 14.
t/003a_basic_w_file_store.t .... 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
t/004_basic_file_w_customs.t ... skipped: Test requires module 'YAML' but it's not found
t/004a_basic_file_w_customs.t .. skipped: Test requires module 'YAML' but it's not found
Can't locate t/lib/TestSession.pm in @INC (you may need to install the t::lib::TestSession module) (@INC contains: /<<PKGBUILDDIR>>/blib/arch /<<PKGBUILDDIR>>/blib/lib /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 t/005_basic_w_cache_store.t line 13.
BEGIN failed--compilation aborted at t/005_basic_w_cache_store.t line 13.
t/005_basic_w_cache_store.t .... 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
Can't locate t/lib/TestSessionHash.pm in @INC (you may need to install the t::lib::TestSessionHash module) (@INC contains: /<<PKGBUILDDIR>>/blib/arch /<<PKGBUILDDIR>>/blib/lib /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 t/005a_basic_w_cache_store.t line 12.
BEGIN failed--compilation aborted at t/005a_basic_w_cache_store.t line 12.
t/005a_basic_w_cache_store.t ... 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
Can't locate t/lib/TestSession.pm in @INC (you may need to install the t::lib::TestSession module) (@INC contains: /<<PKGBUILDDIR>>/blib/arch /<<PKGBUILDDIR>>/blib/lib /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 t/006_basic_w_dbi_store.t line 16.
BEGIN failed--compilation aborted at t/006_basic_w_dbi_store.t line 16.
t/006_basic_w_dbi_store.t ...... 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
t/010_middleware.t ............. 
ok 1
ok 2
ok 3
1..3
ok
t/010a_middleware.t ............ 
ok 1
ok 2
1..2
ok
t/012_streaming.t .............. 
ok 1
ok 2
ok 3 - Found session
ok 4 - Fetched session 3522035877dda5b538935200bf7d168b0c7dc83a
ok 5 - Early data is set
ok 6 - Late data was lost, as late_store was not set
ok 7
ok 8
ok 9 - Fetched session 3522035877dda5b538935200bf7d168b0c7dc83a
ok 10 - Early data is set
ok 11 - Late data was stored
1..11
ok
t/013_cookiestore.t ............ 
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
1..7
ok
t/014_cookie_options.t ......... 
ok 1
ok 2
ok 3
1..3
ok
t/015_cookie_options_mw.t ...... 
ok 1
ok 2
1..2
ok
t/016_cookiestore_w_customs.t .. skipped: Test requires module 'YAML' but it's not found
t/release-pod-syntax.t ......... skipped: these tests are for release candidate testing

Test Summary Report
-------------------
t/001_basic.t                (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/001a_basic.t               (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/002_basic_w_cookie.t       (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/002a_basic_w_cookie.t      (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/003_basic_w_file_store.t   (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/003a_basic_w_file_store.t  (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/005_basic_w_cache_store.t  (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/005a_basic_w_cache_store.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/006_basic_w_dbi_store.t    (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=20, Tests=35,  1 wallclock secs ( 0.03 usr  0.02 sys +  1.17 cusr  0.11 csys =  1.33 CPU)
Result: FAIL
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.



Added indication that bug 871798 blocks 836110 Request was from Dominic Hargreaves <dom@earth.li> to control@bugs.debian.org. (Fri, 11 Aug 2017 18:15:07 GMT) (full text, mbox, link).


Set Bug forwarded-to-address to 'https://github.com/plack/Plack-Middleware-Session/issues/36'. Request was from gregor herrmann <gregoa@debian.org> to control@bugs.debian.org. (Sat, 30 Sep 2017 14:30:03 GMT) (full text, mbox, link).


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


Added tag(s) patch. Request was from Florian Schlichting <fsfs@debian.org> to control@bugs.debian.org. (Mon, 09 Oct 2017 19:54:10 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#871798; Package src:libplack-middleware-session-perl. (Tue, 02 Jan 2018 20:00:03 GMT) (full text, mbox, link).


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

From: pkg-perl-maintainers@lists.alioth.debian.org
To: 871798@bugs.debian.org, 871798-submitter@bugs.debian.org
Subject: Pending fixes for bugs in the libplack-middleware-session-perl package
Date: Tue, 02 Jan 2018 19:57:49 +0000
tag 871798 + pending
thanks

Some bugs in the libplack-middleware-session-perl package are closed
in revision 3ce91fbeac423a9635448f1ed30dc8388ff4dfc7 in branch
'master' by Florian Schlichting

The full diff can be seen at
https://anonscm.debian.org/cgit/pkg-perl/packages/libplack-middleware-session-perl.git/commit/?id=3ce91fb

Commit message:

    Add no-dot-in-inc.patch (closes: #871798)




Added tag(s) pending. Request was from pkg-perl-maintainers@lists.alioth.debian.org to control@bugs.debian.org. (Tue, 02 Jan 2018 20:00:05 GMT) (full text, mbox, link).


Message sent on to Dominic Hargreaves <dom@earth.li>:
Bug#871798. (Tue, 02 Jan 2018 20:00:07 GMT) (full text, mbox, link).


Reply sent to Florian Schlichting <fsfs@debian.org>:
You have taken responsibility. (Tue, 02 Jan 2018 20:54:07 GMT) (full text, mbox, link).


Notification sent to Dominic Hargreaves <dom@earth.li>:
Bug acknowledged by developer. (Tue, 02 Jan 2018 20:54:07 GMT) (full text, mbox, link).


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

From: Florian Schlichting <fsfs@debian.org>
To: 871798-close@bugs.debian.org
Subject: Bug#871798: fixed in libplack-middleware-session-perl 0.30-2
Date: Tue, 02 Jan 2018 20:50:50 +0000
Source: libplack-middleware-session-perl
Source-Version: 0.30-2

We believe that the bug you reported is fixed in the latest version of
libplack-middleware-session-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 871798@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Florian Schlichting <fsfs@debian.org> (supplier of updated libplack-middleware-session-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: SHA256

Format: 1.8
Date: Tue, 02 Jan 2018 20:48:30 +0100
Source: libplack-middleware-session-perl
Binary: libplack-middleware-session-perl
Architecture: source all
Version: 0.30-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Changed-By: Florian Schlichting <fsfs@debian.org>
Description:
 libplack-middleware-session-perl - Perl module for Plack middleware session management
Closes: 871798
Changes:
 libplack-middleware-session-perl (0.30-2) unstable; urgency=medium
 .
   [ Salvatore Bonaccorso ]
   * debian/control: Use HTTPS transport protocol for Vcs-Git URI
 .
   [ gregor herrmann ]
   * debian/copyright: change Copyright-Format 1.0 URL to HTTPS.
   * Remove Dave Walker from Uploaders. Thanks for your work!
 .
   [ Florian Schlichting ]
   * Add no-dot-in-inc.patch (closes: #871798)
   * Bump dh compat to level 11
   * Update copyright years
   * Declare compliance with Debian Policy 4.1.3
Checksums-Sha1:
 d66771080905bbb16167c708b98d49061ed7cad9 2464 libplack-middleware-session-perl_0.30-2.dsc
 3fca911a1b6e005b5c73cf017d20250610a17e3e 3908 libplack-middleware-session-perl_0.30-2.debian.tar.xz
 04d9d24eef7392dd5fb0824ca4b5af457442dfdd 45176 libplack-middleware-session-perl_0.30-2_all.deb
 a751027740a74abd19ab722e9ce36ebabd329133 7922 libplack-middleware-session-perl_0.30-2_amd64.buildinfo
Checksums-Sha256:
 10813b79ab2441ca4523b47d36b7b345629bd31b71ae5442f7b2374ef268039c 2464 libplack-middleware-session-perl_0.30-2.dsc
 9ad540a13cbb7707cac4bfd8a52532cb461aab30fc59f7e599585286ec59eb3a 3908 libplack-middleware-session-perl_0.30-2.debian.tar.xz
 4c780e0f4ad271ee84dc23b903730c9531c4a8b41a31beda0e54b37ec5cb3d13 45176 libplack-middleware-session-perl_0.30-2_all.deb
 efc5c326af6a37583cce2fd1cbd0380f0c8af9ef32726967ad3a05c708b7ccfa 7922 libplack-middleware-session-perl_0.30-2_amd64.buildinfo
Files:
 fab945c2027e44221af2e03685dc6baf 2464 perl optional libplack-middleware-session-perl_0.30-2.dsc
 7d4cd6df564e8c2ba6e0d53fe453bbb5 3908 perl optional libplack-middleware-session-perl_0.30-2.debian.tar.xz
 a80c6c92639a6618542122be34f316e3 45176 perl optional libplack-middleware-session-perl_0.30-2_all.deb
 2b0be539536b563bdbe31683b72c47e8 7922 perl optional libplack-middleware-session-perl_0.30-2_amd64.buildinfo

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

iQIzBAEBCAAdFiEEMLI8i05qOwnqprZSEpc7bnLcB7UFAlpL5AcACgkQEpc7bnLc
B7VYag//Tg4MPLc3rhXC2HOwE16wgG1BIh6zfTxA/L5ZUNNp3XGH5YwG5+/FEnlP
zLDbEd99tr2mDmNFyxE6zeowB6xN2Ljcs0n2Aqio6uu3eAHP4F1C/d9kHWt7/iTj
oxcL3mxMNN4tanV/vFfRzuKqH8LM4xhm5nzUf4iafgeHiwmOirYskgcURbnEvSxr
umveJRIn0J5HEYZ+U5TCILoRnyQH/z3CLMqXDj8Ayr7P+jR/aqjhpf9kdeQUSc4J
MmVvr7ftTv+a1b96l4f6r733VZW1Zgyb19/FLCmvWlcnkEYQsySDGZGgWz8VC+zr
cMO3OO1gjvlpeBTzVy4xzDSRx4P3GfsalglZ0e5Fi1iHsnV5JY3OMKhBq3wxXYuk
YUv1f3EjD0cDuN4dQlRpOZrN39MHKikVHvD55yDIxHUAidU85u97ILxNfXeDZTJn
zDK4NpStrDOf241CIR7/RNJEkPLgL3sSY2mZHcozKsJBNAQUQ+x1ky08W0YfwNEj
M9J8aH2hqxHz5fYR7xg2XShuqxBAk1nN0PenDwTwwvep0IbvlZ05WnTnrHKYybBv
YJ2ACIdEJQOxWYUcmw6ohmxD8aBRF58dsG0KuKkDsuXUzqxOR3zmwzk2AARR27IV
8aCVq8qWiYYeRQuC7drum2ZheWrOMIVac/sZzq+aeqzfuHHVJKg=
=7r/v
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 05 Feb 2018 07:29:44 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: Fri Mar 29 10:23:26 2024; Machine Name: bembo

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.