[Reproducible-commits] [dpkg] 09/17: build: Set PERL5LIB globally for the test suite to the local modules directory

Holger Levsen holger at layer-acht.org
Tue May 3 08:44:27 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to annotated tag 1.17.27
in repository dpkg.

commit a51613c2d2372d31aff403b8b51a48e895b25814
Author: Guillem Jover <guillem at debian.org>
Date:   Fri Oct 9 16:55:35 2015 +0200

    build: Set PERL5LIB globally for the test suite to the local modules directory
    
    Regression introduced in commit 34b26c7db232b300991df5fb6f52707b381df28f.
    
    Some functional tests are passing through makefile and exec barriers,
    where the lib parameter for TAP::Harness is lost. Reintroduce the
    explicit global setting of PERL5LIB so that it gets inherited for all
    subprocesses.
    
    Closes: #801329
    Reported-by: Jérémy Bobbio <lunar at debian.org>
---
 check.am         | 1 +
 debian/changelog | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/check.am b/check.am
index 458214d..5e0d3cf 100644
--- a/check.am
+++ b/check.am
@@ -30,6 +30,7 @@ check-local: $(test_data) $(test_programs) $(test_scripts)
 	  $(TEST_ENV_VARS) \
 	  srcdir=$(srcdir) builddir=$(builddir) \
 	  PERL_DL_NONLAZY=1 \
+	  PERL5LIB=$(abs_top_srcdir)/scripts:$(abs_top_srcdir)/dselect/methods \
 	  PERL5OPT=$(TEST_COVERAGE) \
 	  $(PERL) -MTAP::Harness -e $(TEST_RUNNER) \
 	    $(addprefix $(builddir)/,$(test_programs)) \
diff --git a/debian/changelog b/debian/changelog
index 63bc929..8b58a68 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,10 @@ dpkg (1.17.27) UNRELEASED; urgency=medium
     the -T option, otherwise the tarball will end up with duplicated entries.
     Thanks to Richard Purdie <richard.purdie at linuxfoundation.org>.
     Closes: #807940
+  * Build system:
+    - Set PERL5LIB globally for the test suite to the local modules directory,
+      to avoid using the system modules. Regression introduced in dpkg 1.17.8.
+      Reported by Jérémy Bobbio <lunar at debian.org>. Closes: #801329
 
   [ Updated scripts translations ]
   * German (Helge Kreutzmann). (Various fixes)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list