Package: devscripts
Version: 2.10.59
Severity: normal
Tags: patch
Hi
I have set severity to normal, since it only affects deb-reversion
script, thus affects only a small part of devscripts functionality.
deb-reversion is currently non-functional. It fails with:
---(output)-------------------------------------------------------------
lorien:/tmp# deb-reversion devscripts_2.10.58_i386.deb
dch warning: Previous package version was Debian native whilst new version is
not
mv: cannot stat `../dpkg-name: info: moved \'package.deb\' to
\'./devscripts_2.10.58-0LOCAL.1_i386.deb\'': No such file or directory
lorien:/tmp#
------------------------------------------------------------------------
The reason is the dpkg-name output change: Old behaviour (dpkg in lenny):
moved `package.deb' to `./devscripts_2.10.58_i386.deb'
the new, output format is:
dpkg-name: info: moved 'package.deb' to './devscripts_2.10.58_i386.deb'
I prepared a patch which should fix that
---(devscripts_deb-reversion.patch)-------------------------------------
diff -urN devscripts-2.10.59.old/scripts/deb-reversion.sh
devscripts-2.10.59/scripts/deb-reversion.sh
--- devscripts-2.10.59.old/scripts/deb-reversion.sh 2009-12-06
14:22:58.000000000 +0100
+++ devscripts-2.10.59/scripts/deb-reversion.sh 2009-12-06 14:23:52.000000000
+0100
@@ -188,7 +188,7 @@
{
cd ..
dpkg-deb -b package >/dev/null
- dpkg-name package.deb | sed -e 's,.*to `\(.*\).,\1,'
+ dpkg-name package.deb | sed -e "s,.*to '\(.*\).,\1,"
}
[ -z "${OLD_VERSION:-}" ] && OLD_VERSION="$(get_version $DEB)"
------------------------------------------------------------------------
Many thanks and bests
Salvatore
-- Package-specific info:
--- /etc/devscripts.conf ---
--- ~/.devscripts ---
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages devscripts depends on:
ii dpkg-dev 1.15.5.3 Debian package development tools
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii perl 5.10.1-8 Larry Wall's Practical Extraction
Versions of packages devscripts recommends:
ii at 3.1.12-1 Delayed job execution and batch pr
ii curl 7.19.7-1 Get a file from an HTTP, HTTPS or
ii cvs 1:1.12.13-12 Concurrent Versions System
ii dctrl-tools 2.14 Command-line tools to process Debi
ii debian-keyring [debian-main 2009.11.04 GnuPG (and obsolete PGP) keys of D
ii dput 0.9.5.1 Debian package upload tool
ii dupload 2.6.6 utility to upload Debian packages
ii equivs 2.0.7-0.1 Circumvent Debian package dependen
ii fakeroot 1.14.4-1 Gives a fake root environment
ii gnupg 1.4.10-2 GNU privacy guard - a free PGP rep
ii heirloom-mailx [mailx] 12.4-1.1+b1 feature-rich BSD mail(1)
ii libauthen-sasl-perl 2.13-1 Authen::SASL - SASL Authentication
ii libcrypt-ssleay-perl 0.57-2 Support for https protocol in LWP
ii libparse-debcontrol-perl 2.005-2 Easy OO parsing of Debian control-
ii libsoap-lite-perl 0.710.10-1 Perl implementation of a SOAP clie
ii libterm-size-perl 0.2-4+b1 Perl extension for retrieving term
ii libtimedate-perl 1.1900-1 Time and date functions for Perl
ii liburi-perl 1.50-1 module to manipulate and access UR
ii libwww-perl 5.834-1 Perl HTTP/WWW client/server librar
ii libyaml-syck-perl 1.07-1 fast, lightweight YAML loader and
ii lintian 2.2.18 Debian package checker
ii lsb-release 3.2-23 Linux Standard Base version report
ii lzma 4.43-14 Compression method of 7z format in
ii man-db 2.5.6-4 on-line manual pager
ii openssh-client [ssh-client] 1:5.1p1-8 secure shell client, an rlogin/rsh
ii patch 2.6-2 Apply a diff file to an original
ii patchutils 0.3.1-2 Utilities to work with patches
ii sensible-utils 0.0.2 Utilities for sensible alternative
ii strace 4.5.19-1 A system call tracer
ii subversion 1.6.6dfsg-2 Advanced version control system
ii unzip 6.0-1 De-archiver for .zip files
ii wdiff 0.5-19 Compares two files word by word
ii wget 1.12-1.1 retrieves files from the web
pn www-browser <none> (no description available)
Versions of packages devscripts suggests:
ii build-essential 11.4 Informational list of build-essent
pn cvs-buildpackage <none> (no description available)
pn devscripts-el <none> (no description available)
pn gnuplot <none> (no description available)
pn libfile-desktopentry-perl <none> (no description available)
pn libnet-smtp-ssl-perl <none> (no description available)
pn mutt <none> (no description available)
ii svn-buildpackage 0.7.0 helper programs to maintain Debian
pn w3m <none> (no description available)
-- no debconf information
diff -urN devscripts-2.10.59.old/scripts/deb-reversion.sh devscripts-2.10.59/scripts/deb-reversion.sh
--- devscripts-2.10.59.old/scripts/deb-reversion.sh 2009-12-06 14:22:58.000000000 +0100
+++ devscripts-2.10.59/scripts/deb-reversion.sh 2009-12-06 14:23:52.000000000 +0100
@@ -188,7 +188,7 @@
{
cd ..
dpkg-deb -b package >/dev/null
- dpkg-name package.deb | sed -e 's,.*to `\(.*\).,\1,'
+ dpkg-name package.deb | sed -e "s,.*to '\(.*\).,\1,"
}
[ -z "${OLD_VERSION:-}" ] && OLD_VERSION="$(get_version $DEB)"