Control: found -1 1.18.0

On Thu, 2015-06-25 at 18:39:21 +0200, Yann Dirson wrote:
> Package: libdpkg-perl
> Version: 1.18.1
> Severity: important
> 
> memtest86-4.3.7$ dpkg-source --commit . gcc-5
> dpkg-source: info: local changes detected, the modified files are:
>  memtest86-4.3.7/Makefile
> Undefined subroutine &Dpkg::Source::Package::V2::BinaryFiles::make_path 
> called at /usr/share/perl5/Dpkg/Source/Package/V2.pm line 751.
> 
> It does work when explicitely calling File::Path::make_path instead,
> but as for the reason why, I must admit my perl is a bit rusty...

Oh, a regression. The attached patch should fix it. Pending for next
push targetting 1.18.2.

Thanks,
Guillem
From ece0d7ea1b567f46b707e93a6886626f2864d410 Mon Sep 17 00:00:00 2001
From: Guillem Jover <guil...@debian.org>
Date: Thu, 25 Jun 2015 19:00:20 +0200
Subject: [PATCH] Dpkg::Source::Package::V2: Import make_path from File::Path

Regression introduced in commit 5e59d94a17051b1185c591a1fc3eed00e3b01070.

Closes: #789957
---
 scripts/Dpkg/Source/Package/V2.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Dpkg/Source/Package/V2.pm b/scripts/Dpkg/Source/Package/V2.pm
index e27758e..4b34d0e 100644
--- a/scripts/Dpkg/Source/Package/V2.pm
+++ b/scripts/Dpkg/Source/Package/V2.pm
@@ -694,7 +694,7 @@ package Dpkg::Source::Package::V2::BinaryFiles;
 use Dpkg::ErrorHandling;
 use Dpkg::Gettext;
 
-use File::Path;
+use File::Path qw(make_path);
 
 sub new {
     my ($this, $dir) = @_;
-- 
2.4.3.573.g4eafbef

Reply via email to