Source: kdesrc-build Version: 1.15.1-1 Severity: important User: debian-p...@lists.debian.org Usertags: perl-cwd-inc-removal Tags: patch
This package FTBFS when '.' is removed from @INC, as seen at [1]. The attached patch should fix this. This change is being made for security reasons; for more background, see #588017 and [2]. This bug will become RC when the perl package change removing '.' from @INC by default is uploaded to unstable, expected in a week or two. Thanks, Dominic. [1] <http://perl.debian.net/rebuild-logs/experimental/kdesrc-build_1.15.1-1/kdesrc-build_1.15.1-1_amd64-2016-08-16T16%3A58%3A25Z.build> [2] <https://lists.debian.org/debian-release/2016/07/msg00456.html>
diff -Nru kdesrc-build-1.15.1/debian/changelog kdesrc-build-1.15.1/debian/changelog --- kdesrc-build-1.15.1/debian/changelog 2012-05-25 11:51:54.000000000 +0100 +++ kdesrc-build-1.15.1/debian/changelog 2016-08-18 12:52:08.000000000 +0100 @@ -1,3 +1,10 @@ +kdesrc-build (1.15.1-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix kdesrc-build-test.pl to work without '.' in @INC + + -- Dominic Hargreaves <d...@earth.li> Thu, 18 Aug 2016 12:52:00 +0100 + kdesrc-build (1.15.1-1) unstable; urgency=low * New upstream release. diff -Nru kdesrc-build-1.15.1/debian/patches/series kdesrc-build-1.15.1/debian/patches/series --- kdesrc-build-1.15.1/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ kdesrc-build-1.15.1/debian/patches/series 2016-08-18 12:52:56.000000000 +0100 @@ -0,0 +1 @@ +test-without-inc diff -Nru kdesrc-build-1.15.1/debian/patches/test-without-inc kdesrc-build-1.15.1/debian/patches/test-without-inc --- kdesrc-build-1.15.1/debian/patches/test-without-inc 1970-01-01 01:00:00.000000000 +0100 +++ kdesrc-build-1.15.1/debian/patches/test-without-inc 2016-08-18 12:53:09.000000000 +0100 @@ -0,0 +1,15 @@ +Fix kdesrc-build-test.pl to work without '.' in @INC + +Author: Dominic Hargreaves <d...@earth.li> + +--- kdesrc-build-1.15.1.orig/kdesrc-build-test.pl ++++ kdesrc-build-1.15.1/kdesrc-build-test.pl +@@ -21,7 +21,7 @@ my $fullRun = 0; + GetOptions("full-run!" => \$fullRun); + + package test; # Tells kdesrc-build not to run +-require 'kdesrc-build'; ++require './kdesrc-build'; + + # Reset to kdesrc-build's package so we don't have to import symbols back from + # kdesrc-build.