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

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=1cccf86adaefc2dabd8b3efc8afb100238b352c1

commit 1cccf86adaefc2dabd8b3efc8afb100238b352c1
Author: Guillem Jover <[email protected]>
AuthorDate: Sun Jun 22 17:02:54 2025 +0200

    Dpkg::BuildDriver::DebianRules: Fix uninitialized Perl variables
    
    This causes Perl warnings due to the uninitialized variables, when using
    implementation specific keyword namespaces in the Rules-Requires-Root
    field, such as the «debhelper/upstream-make-install» listed in the
    specification.
    
    Closes: #1107971
    Stable-Candidate: 1.20.x 1.21.x 1.22.x
---
 scripts/Dpkg/BuildDriver/DebianRules.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/Dpkg/BuildDriver/DebianRules.pm 
b/scripts/Dpkg/BuildDriver/DebianRules.pm
index 1567c8f9d..5650f7866 100644
--- a/scripts/Dpkg/BuildDriver/DebianRules.pm
+++ b/scripts/Dpkg/BuildDriver/DebianRules.pm
@@ -121,8 +121,8 @@ sub _parse_rules_requires_root {
     my %rrr;
     my $rrr;
     my $rrr_default;
-    my $keywords_base;
-    my $keywords_impl;
+    my $keywords_base = 0;
+    my $keywords_impl = 0;
 
     $rrr_default = 'no';
 

-- 
Dpkg.Org's dpkg

Reply via email to