[dpkg] 02/13: Dpkg::Vendor::Debian: Use proper use_feature key

Mattia Rizzolo mattia at debian.org
Mon Jan 22 17:11:51 UTC 2018


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

mattia pushed a commit to branch pu/reproducible_builds
in repository dpkg.

commit 592c91b958579f95994f327194d183cd5ece7ce6
Author: Guillem Jover <guillem at debian.org>
Date:   Fri Oct 27 22:06:58 2017 +0200

    Dpkg::Vendor::Debian: Use proper use_feature key
    
    We need to access the features within the feature area hash now. Missed
    in a previous refactoring.
    
    Fixes: commit 2125e8dd7388e2adb9b6c837f4832fe8f0f63b25
    Reported-by: Mattia Rizzolo <mattia at debian.org> (on IRC)
    Closes: #881051
    (cherry picked from commit 0e894ddaa68792246bd03a5dcf3f2e56fd2aeb74)
---
 debian/changelog              | 5 ++++-
 scripts/Dpkg/Vendor/Debian.pm | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 49e3b4b..e38a93a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,9 @@
 dpkg (1.19.0.5) UNRELEASED; urgency=medium
 
-  *
+  * Perl modules:
+    - Dpkg::Vendor::Debian: Use proper %use_feature key. This was causing perl
+      errors on paths not accapted for fixdebugpath.
+      Reported by Mattia Rizzolo <mattia at debian.org>, on IRC. Closes: #881051
 
  -- Guillem Jover <guillem at debian.org>  Wed, 17 Jan 2018 03:16:09 +0100
 
diff --git a/scripts/Dpkg/Vendor/Debian.pm b/scripts/Dpkg/Vendor/Debian.pm
index e0fd011..980597b 100644
--- a/scripts/Dpkg/Vendor/Debian.pm
+++ b/scripts/Dpkg/Vendor/Debian.pm
@@ -204,7 +204,7 @@ sub _add_build_flags {
         # so that we do not need to worry about escaping the characters
         # on output.
         if ($build_path =~ m/[^-+:.0-9a-zA-Z~\/_]/) {
-            $use_feature{fixdebugpath} = 0;
+            $use_feature{reproducible}{fixdebugpath} = 0;
         }
     }
 

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