Debian Bug report logs - #871934
libfile-userconfig-perl: FTBFS when debhelper does not export PERL_USE_UNSAFE_INC

version graph

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

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

Date: Sat, 12 Aug 2017 18:15:02 UTC

Severity: normal

Tags: patch

Found in version libfile-userconfig-perl/0.06-2

Fixed in version libfile-userconfig-perl/0.06-3

Done: Florian Schlichting <fsfs@debian.org>

Bug is archived. No further changes may be made.

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

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#871934; Package src:libfile-userconfig-perl. (Sat, 12 Aug 2017 18:15: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>. (Sat, 12 Aug 2017 18:15: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: libfile-userconfig-perl: FTBFS when debhelper does not export PERL_USE_UNSAFE_INC
Date: Sat, 12 Aug 2017 14:13:11 -0400
Source: libfile-userconfig-perl
Version: 0.06-2
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:

PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/01_compile.t .. 
1..2
ok 1 - Perl version is 5.004 or newer
ok 2 - require File::UserConfig;
ok

#   Failed test 'Could get the REAL data dir'
#   at t/02_main.t line 38.
# Looks like you failed 1 test of 27.
t/02_main.t ..... 
1..27

Note that when dh compat is bumped to 11, it fails like this instead:

  dh_auto_configure
    perl Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "LD=x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro"
Can't locate inc/Module/Install.pm in @INC (you may need to install the inc::Module::Install module) (@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 Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.

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 871934 blocks 836110 Request was from Dominic Hargreaves <dom@earth.li> to control@bugs.debian.org. (Sat, 12 Aug 2017 18:18: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:03 GMT) (full text, mbox, link).


Set Bug forwarded-to-address to 'https://rt.cpan.org/Public/Bug/Display.html?id=123227'. Request was from Florian Schlichting <fsfs@debian.org> to control@bugs.debian.org. (Mon, 09 Oct 2017 19:54:05 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#871934; Package src:libfile-userconfig-perl. (Tue, 02 Jan 2018 18:15:02 GMT) (full text, mbox, link).


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

From: pkg-perl-maintainers@lists.alioth.debian.org
To: 871934@bugs.debian.org, 871934-submitter@bugs.debian.org
Subject: Pending fixes for bugs in the libfile-userconfig-perl package
Date: Tue, 02 Jan 2018 18:14:07 +0000
tag 871934 + pending
thanks

Some bugs in the libfile-userconfig-perl package are closed in
revision 95e5e797427e991d85cc00511b09d1c0bb83b9f7 in branch 'master'
by Florian Schlichting

The full diff can be seen at
https://anonscm.debian.org/cgit/pkg-perl/packages/libfile-userconfig-perl.git/commit/?id=95e5e79

Commit message:

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




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


Message sent on to Dominic Hargreaves <dom@earth.li>:
Bug#871934. (Tue, 02 Jan 2018 18:15:11 GMT) (full text, mbox, link).


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


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


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

From: Florian Schlichting <fsfs@debian.org>
To: 871934-close@bugs.debian.org
Subject: Bug#871934: fixed in libfile-userconfig-perl 0.06-3
Date: Tue, 02 Jan 2018 18:33:57 +0000
Source: libfile-userconfig-perl
Source-Version: 0.06-3

We believe that the bug you reported is fixed in the latest version of
libfile-userconfig-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 871934@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 libfile-userconfig-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 18:07:35 +0100
Source: libfile-userconfig-perl
Binary: libfile-userconfig-perl
Architecture: source all
Version: 0.06-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Changed-By: Florian Schlichting <fsfs@debian.org>
Description:
 libfile-userconfig-perl - provides configuration directory for applications
Closes: 871934
Changes:
 libfile-userconfig-perl (0.06-3) unstable; urgency=medium
 .
   [ Ansgar Burchardt ]
   * debian/control: Convert Vcs-* fields to Git.
 .
   [ Salvatore Bonaccorso ]
   * debian/copyright: Replace DEP5 Format-Specification URL from
     svn.debian.org to anonscm.debian.org URL.
 .
   [ gregor herrmann ]
   * debian/control: update {versioned,alternative} (build) dependencies.
 .
   [ Salvatore Bonaccorso ]
   * Change Vcs-Git to canonical URI (git://anonscm.debian.org)
   * Change search.cpan.org based URIs to metacpan.org based URIs
 .
   [ Axel Beckert ]
   * debian/copyright: migrate pre-1.0 format to 1.0 using "cme fix dpkg-
     copyright"
 .
   [ 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 Jozef Kutej from Uploaders. Thanks for your work!
 .
   [ Florian Schlichting ]
   * Add no-dot-in-inc.patch (closes: #871934)
   * Bump dh compat to level 11
   * Update license paragraphs to commonly used versions
   * Add myself to Uploaders
   * Declare compliance with Debian Policy 4.1.3
   * Fix autopkgtest similar to dh_auto_test
Checksums-Sha1:
 b2ac256b3229cd101dbafc5b640f155e4dce0ea1 2252 libfile-userconfig-perl_0.06-3.dsc
 92f4bce660de2fcfdeef7c5b0bc71a42bd12cf61 2752 libfile-userconfig-perl_0.06-3.debian.tar.xz
 b259e6ae7290e6ea26b6cc50dc1ab342506002be 9964 libfile-userconfig-perl_0.06-3_all.deb
 b8d267034b9d73444aaabe77bc37960d756cbdbb 5811 libfile-userconfig-perl_0.06-3_amd64.buildinfo
Checksums-Sha256:
 c61ddeccf9e530b34f54ed86266092d3cf64e3cff3d89a9b6154e1d6ed02600c 2252 libfile-userconfig-perl_0.06-3.dsc
 7d6ef9229a9c143578158fe706bebbc49f23167bbe8f4f6c992debb4ddfe80ad 2752 libfile-userconfig-perl_0.06-3.debian.tar.xz
 ec16c76494ff789b1bc7477fc052619e9febae4d7ca3b74df8758c80e14ab015 9964 libfile-userconfig-perl_0.06-3_all.deb
 a0904348b49f4cb739e627a1dad1ac0a871991639163a8148b255a42c974b1e2 5811 libfile-userconfig-perl_0.06-3_amd64.buildinfo
Files:
 7331258af5320dfca38b52160a296858 2252 perl optional libfile-userconfig-perl_0.06-3.dsc
 6515336e46532df0dc200de329d1449c 2752 perl optional libfile-userconfig-perl_0.06-3.debian.tar.xz
 64a3bb07cf78f5e7236e82e94288a452 9964 perl optional libfile-userconfig-perl_0.06-3_all.deb
 bc34ac58295d5b23a0479f08775781d1 5811 perl optional libfile-userconfig-perl_0.06-3_amd64.buildinfo

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

iQIzBAEBCAAdFiEEMLI8i05qOwnqprZSEpc7bnLcB7UFAlpLy8gACgkQEpc7bnLc
B7UoXQ/+O+rvJsGbdq8mWIPUG2q1uP/bYJkNF8THOy1bU7jfRZmstYNnjo2sOKEU
Ly0ONHlAc2lZYZSsDNJetMxyBTZly1d44F7Oi6hj3wBRswO01mOBOliz+n+M7J+c
ngUIYlIW7MmcZYT4msX2koyR6XzuvmliMss449ZHRUy9hYgmx4aShnTFsKal+yAM
KyM+8kX2JzINgrq/wdvHJxhLZv8ygoxjhDuALEy1gg/aWtJ3DT99MODwA5s8CiJB
lJtRtUIqG994Y1EcXXEjt5Mj/Lzsh7OXrxGmSGDx8XLbLSbWH6wbgDpkTX/q3bqy
1dVd7Blgb1hcv3g7o5nr5Uu80bMzU6SMDFannhZJY+dKIIGPdK8i3AN/JhqRq6Fr
/2NzOWL7rJcnwF2MWeX3SE+V3mVfo0RrSM4IPXlCjvMyv738bDDmQhVTYxTeum/K
rjc3SbOSHZ/5xpB+o0y876Cm7CjgrHtvcELkLvOQTTGTgyhIE3lSx+lOiodynlwU
Z+I0i+wpHapNdpUHqGBaDGK2dfHt8g52ubwY00S/QK0Iif2FXhUngh9k8OBEPn3L
iT2/DkCcQEmtEcEVZyCe9f3zUr82gLyHLTrW/ucZ7eIphlvasVThGCdpYxmpP7Tr
MJLFsyriObbvUB3WMMN+S3Gh5Yjs085xyVuc5eplDYY+Fiyp16E=
=MBjr
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 06 Feb 2018 07:27:18 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: Tue Apr 23 18:25:40 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.