Package: tads
Version: 3.0.8-1
Severity: normal
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu hardy ubuntu-patch
Your package FTBFS if /bin/sh is linked to /bin/dash:
dh_shlibdeps
for p in `dh_listpackages`; do \
case $p in \
tads2* | tadsr | tads-dev) \
DH_OPTIONS='' dh_gencontrol -p$p -u-v2.5.9-tads
(3.0.8-1build1) gutsy; urgency=low \
;; \
*) \
DH_OPTIONS='' dh_gencontrol -p$p \
;; \
esac; \
done
/bin/sh: Syntax error: "(" unexpected (expecting ";;")
make[1]: *** [binary-common] Error 2
make[1]: Leaving directory `/build/buildd/tads-3.0.8'
make: *** [binary-indep] Error 2
In Ubuntu, we've applied the attached patch to achieve the following:
* clean up build so it works with dash.
We thought you might be interested in doing the same.
-- System Information:
Debian Release: lenny/sid
APT prefers hardy-updates
APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500,
'hardy-backports'), (500, 'hardy')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-18-generic (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u tads-3.0.8/debian/rules tads-3.0.8/debian/rules
--- tads-3.0.8/debian/rules
+++ tads-3.0.8/debian/rules
@@ -8,7 +8,7 @@
# Get version information for TADS2 packages
TADS2_VERSION=$(shell grep TADS_RUNTIME_VERSION tads2/trd.h | sed -e
's/.*"\(.*\)".*/\1/')
-TADS2_RELEASE=$(shell head -1 debian/changelog | sed -e
's/.*(.*-\([0-9]*\)).*/\1/')
+TADS2_RELEASE=$(shell head -1 debian/changelog | sed -e
's/.*(.*-\([0-9a-z]*\)).*/\1/')
TADS2_DEB_VERSION=$(TADS2_VERSION)-$(TADS2_RELEASE)
test-tads2-vars:
diff -u tads-3.0.8/debian/changelog tads-3.0.8/debian/changelog