Source: pari
Version: 2.7.6-1
Severity: important
User: [email protected]
Usertags: perl-cwd-inc-removal

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].

It might be appropriate to invoke perl with "-I." if it's only going to
be an issue with the package build and not runtime issues. I wasn't
able to spot the appropriate place to make such a change, but hopefully
someone more familiar with the package will be able to do this without
too much trouble.

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/pari_2.7.6-1/pari_2.7.6-1_amd64-2016-08-16T18%3A55%3A42Z.build>
[2] <https://lists.debian.org/debian-release/2016/07/msg00456.html>
>From 8fde7928f0d883adf8f27b0958d0e452a0bd57a1 Mon Sep 17 00:00:00 2001
From: Dominic Hargreaves <[email protected]>
Date: Tue, 23 Aug 2016 13:07:24 +0100
Subject: [PATCH] Pass -I. to Build.PL so that it will work without '.' in @INC

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index cdc3577..ded00b8 100644
--- a/Makefile
+++ b/Makefile
@@ -449,7 +449,7 @@ t/install:
 
 # This builds */Build from Build.PL
 %/Build: %/Build.PL
-	cd $* && $(PERL) Build.PL
+	cd $* && $(PERL) -I. Build.PL
 
 build-%: %/Build
 	cd $* && $(PERL) Build
-- 
2.1.4

Reply via email to