[Build-common-hackers] Bug#295250: cdbs: dpatch.mk has syntax errors
Bastian Kleineidam
Bastian Kleineidam <calvin@debian.org>, 295250@bugs.debian.org
Mon, 14 Feb 2005 19:05:03 +0100
Package: cdbs
Version: 0.4.26-4
Severity: normal
Hi,
I noticed that packages using dpatch.mk have syntax errors. When running
this inside a debian package source tree:
$ /usr/bin/make -f /usr/share/cdbs/1/rules/dpatch.mk
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
The culprit are these lines in /usr/share/cdbs/1/rules/dpatch.mk:
[..]
evil_patches_that_do_nasty_things := $(shell\
if lsdiff=`which lsdiff` ; then \
$$lsdiff -H $(DEB_PATCHES) \
| egrep "/config\.(guess|sub|rpath)$" | tr "\n" " " ; \
fi)
[..]
After commenting out the above lines the error message went away.
Regards,
Bastian
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-treasure5
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
-- no debconf information