Source: tcsh
Version: 6.20.00-2
Tags: patch
User: [email protected]
Usertags: rebootstrap

tcsh fails to cross build from source, because it does not honour
DEB_BUILD_OPTIONS=nocheck. During cross builds tests cannot usually be
run, because host architecture executables cannot be run. That's exactly
what happens while running tcsh's test suite. Since test suite failures
are fatal, the build fails. Please consider applying the attached patch.

Helmut
diff -u tcsh-6.20.00/debian/changelog tcsh-6.20.00/debian/changelog
--- tcsh-6.20.00/debian/changelog
+++ tcsh-6.20.00/debian/changelog
@@ -1,3 +1,10 @@
+tcsh (6.20.00-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Support DEB_BUILD_OPTIONS=nocheck, Closes: #-1
+
+ -- Helmut Grohne <[email protected]>  Fri, 06 Jan 2017 20:10:15 +0100
+
 tcsh (6.20.00-2) unstable; urgency=high
 
   * rules: put executable into /bin, make new symlink, Closes: #847139
diff -u tcsh-6.20.00/debian/rules tcsh-6.20.00/debian/rules
--- tcsh-6.20.00/debian/rules
+++ tcsh-6.20.00/debian/rules
@@ -30,8 +30,10 @@
        dh_installexamples -a complete.tcsh
        dh_installemacsen
 
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 override_dh_auto_test:
        LS_COLORS= make check || (cat testsuite.log ; false)
+endif
 
 override_dh_auto_clean:
        [ ! -f nls/Makefile ] || make -C nls clean

Reply via email to