On 2008-04-12 09:52 +0200, Robert Luberda wrote:

>> LC_ALL=C dpkg-source -x /home/robert/pd/dictd/dictd_1.10.10.dfsg-2.dsc
> dpkg-source: extracting dictd in dictd-1.10.10.dfsg
> cp: `/home/robert/pd/dictd/dictd_1.10.10.dfsg.orig.tar.gz' and 
> `./dictd_1.10.10.dfsg.orig.tar.gz' are the same file
> Undefined subroutine &Dpkg::Source::Package::subprocerr called at 
> /usr/share/perl5/Dpkg/Source/Package.pm line 310.

Seems like a missing import of that subroutine, the following patch
should fix that:

--8<---------------cut here---------------start------------->8---
diff --git a/scripts/Dpkg/Source/Package.pm b/scripts/Dpkg/Source/Package.pm
index 42a792a..bfa00a8 100644
--- a/scripts/Dpkg/Source/Package.pm
+++ b/scripts/Dpkg/Source/Package.pm
@@ -20,7 +20,7 @@ use strict;
 use warnings;
 
 use Dpkg::Gettext;
-use Dpkg::ErrorHandling qw(error syserr warning internerr);
+use Dpkg::ErrorHandling qw(error syserr warning internerr subprocerr);
 use Dpkg::Fields;
 use Dpkg::Cdata;
 use Dpkg::Checksums;
--8<---------------cut here---------------end--------------->8---

> Current working directory was different than `/home/robert/pd/dictd/'
> but contained a `dictd_1.10.10.dfsg.orig.tar.gz' file as a symlink to 
> `/home/robert/pd/dictd/dictd_1.10.10.dfsg.orig.tar.gz'.

Is that supposed to be supported?

> After removing the symlink dpkg-source succedeed.

Regards,
        Sven



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to