Bug#786518: Latest dpkg-dev breaks debdiff in some locales
David Prévot
taffit at debian.org
Fri May 22 13:34:27 UTC 2015
Package: dpkg-dev,devscripts
Version: dpkg-dev/1.18.0
Version: devscripts/2.15.4
User: devscripts at packages.debian.org
Usertags: debdiff
Severity: normal
Hi,
Since dpkg-dev has been upgraded to 1.18.0, debdiff always fails to
display an actual wdiff between the control files in my locale
(LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8):
$ debdiff mozilla-noscript_2.6.9.23~rc{2,3}-1_amd64.changes
File lists identical (after any substitutions)
debdiff: erreur: wdiff -n /tmp/IkoyCRMfRz/control /tmp/dTNFZ__x58/control a produit une erreur de sortie de type 1
wdiff failed
On the other hand, forcing LC_ALL=C allows to workaround the issue:
$ LC_ALL=C debdiff mozilla-noscript_2.6.9.23~rc{2,3}-1_amd64.changes
File lists identical (after any substitutions)
Control files: lines which differ (wdiff format)
------------------------------------------------
Version: [-2.6.9.23~rc2-1-] {+2.6.9.23~rc3-1+}
Downgrading dpkg-dev (and libdpkg-perl) to 1.17.25 also fixes the issue.
Regards
David
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (110, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages dpkg-dev depends on:
ii base-files 9.2
ii binutils 2.25-7
ii bzip2 1.0.6-8
ii libdpkg-perl 1.18.0
ii make 4.0-8.1
ii patch 2.7.5-1
ii xz-utils 5.1.1alpha+20120614-2+b3
Versions of packages dpkg-dev recommends:
ii build-essential 11.7
ii fakeroot 1.20.2-1
ii gcc [c-compiler] 4:4.9.2-4
ii gcc-4.6 [c-compiler] 4.6.4-7
ii gcc-4.7 [c-compiler] 4.7.4-3
ii gcc-4.8 [c-compiler] 4.8.4-2
ii gcc-4.9 [c-compiler] 4.9.2-18
ii gnupg 1.4.19-2
ii gnupg2 2.0.26-6
ii gpgv 1.4.19-2
ii libalgorithm-merge-perl 0.08-2
Versions of packages dpkg-dev suggests:
ii debian-keyring 2015.05.17
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20150522/3a3b3db0/attachment.sig>
More information about the devscripts-devel
mailing list