[debhelper-devel] Bug#815620: addsubstvar fails if there are utf characters in the substvar file
Joachim Breitner
nomeata at debian.org
Mon Feb 22 23:35:11 UTC 2016
Package: debhelper
Version: 9.20160115
Severity: important
Hi,
A few (Haskell) packages fail to build because addsubstvar in Dh_Lib.pm,
which uses grep, falls over unicode characters in existing substvar
lines. It makes lines like
Binary file debian/libghc-gitit-doc.substvars matches
appear in the substvar file, which obviously breaks.
The fix is simple: In Dh_Lib.pm, replace calls to "grep -s -v" with
"grep -a -s -v".
Greetings,
Joachim
-- System Information:
Debian Release: stretch/sid
APT prefers buildd-unstable
APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages debhelper depends on:
ii autotools-dev 20150820.1
ii binutils 2.26-4
ii dh-strip-nondeterminism 0.015-1
ii dpkg 1.18.4
ii dpkg-dev 1.18.4
ii file 1:5.25-2
ii libdpkg-perl 1.18.4
ii man-db 2.7.5-1
ii perl 5.22.1-7
ii po-debconf 1.0.19
debhelper recommends no packages.
Versions of packages debhelper suggests:
pn dh-make <none>
-- no debconf information
More information about the debhelper-devel
mailing list