Source: polymake Version: 3.0r2-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]. This change is being made for security reasons; for more background, see #588017 and [2]. Please see the attached patch which fixes this by invoking configure.pl with "-I.". 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. By the way, when preparing this patch I found that the git repository at git://anonscm.debian.org/collab-maint/polymake.git was behind the Debian archive. Thanks, Dominic. [1] <http://perl.debian.net/rebuild-logs/experimental/polymake_3.0r1-4/polymake_3.0r1-4_amd64-2016-08-16T19%3A03%3A11Z.build> [2] <https://lists.debian.org/debian-release/2016/07/msg00456.html>
>From 210ea4895a1e56461a7776b6e4336a3a7c4d0f82 Mon Sep 17 00:00:00 2001 From: Dominic Hargreaves <d...@earth.li> Date: Thu, 25 Aug 2016 16:36:45 +0100 Subject: [PATCH] Run configure.pl with -I. to fix problems when '.' is removed from @INC --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index ca94fa6..94b7086 100755 --- a/configure +++ b/configure @@ -19,11 +19,11 @@ ExtractPerl() { case "$*" in *PERL=*) ExtractPerl "$@" - exec $Perl $Script "$@" + exec $Perl -I. $Script "$@" ;; ?*) - exec perl $Script "$@" + exec perl -I. $Script "$@" ;; esac -exec perl $Script +exec perl -I. $Script -- 2.1.4