Package: svn-buildpackage
Version: 0.6.14
Severity: normal
Tags: patch
When building a package which I can't sign (or may be any other error which
causes dpkg-buildpackage to return error) svn-buildpackage offers three
coices: "how to continue now? [Qri?]". If I chose to ignore the error (press
i) then svn-buildpackage throws the error message:
Modification of a read-only value attempted at /usr/bin/svn-buildpackage line
488, <STDIN> line 1.
and stops leaving the directory in which the package was built undeleted.
Attached patch fixes the bug.
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-386
Locale: LANG=ru_RU.CP1251, LC_CTYPE=ru_RU.CP1251 (charmap=CP1251)
Versions of packages svn-buildpackage depends on:
ii devscripts 2.8.14 Scripts to make the life of a Debi
ii libsvn-core-perl 1.1.4-2 perl bindings for Subversion (aka.
ii perl 5.8.4-8sarge4 Larry Wall's Practical Extraction
ii subversion 1.1.4-2 advanced version control system (a
ii subversion-tools 1.1.4-2 assorted tools related to Subversi
-- no debconf information
diff -ru svn-buildpackage-0.6.14/svn-buildpackage
svn-buildpackage-0.6.14.1/svn-buildpackage
--- svn-buildpackage-0.6.14/svn-buildpackage 2005-10-13 23:29:24.000000000
+0400
+++ svn-buildpackage-0.6.14.1/svn-buildpackage 2006-06-04 12:54:52.783198184
+0400
@@ -484,7 +484,8 @@
if(! $opt_buildcmd) {
chdir "..";
- for $arch (`dpkg --print-architecture`, "source") {
+ for (`dpkg --print-architecture`, "source") {
+ $arch = $_;
chomp($arch);
$chfile="$package"."_$tagVersionNonEpoch"."_$arch.changes";
last if(open($ch, "<$ba/$chfile"));