Your message dated Mon, 28 Oct 2019 04:36:32 +0000
with message-id <[email protected]>
and subject line Bug#943661: Removed package(s) from unstable
has caused the Debian Bug report #832252,
regarding ghc-testsuite: testsuite failure should cause FTBFS
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
832252: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=832252
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ghc-testsuite
Version: 7.10.3-1
Tags: patch
Severity: wishlist

Hi,

Due to the shell semantics, as we save the output using ``| tee output.txt``
this results in the package not actually FTBFS if the testsuite itself
fails..

Patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
diff --git a/debian/rules b/debian/rules
index 88e92cf..36b1ff2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+SHELL = /bin/bash
+
 %:
        dh $@
 
@@ -11,7 +13,7 @@ override_dh_auto_build:
        cp -al testsuite testsuite-run
        # Does not seem to work:
        # 
OUTPUT_SUMMARY="$(CURDIR)/debian/ghc-testsuite/usr/share/doc/ghc-testsuite/result.txt"
-       make -C testsuite-run \
+       set -o pipefail; make -C testsuite-run \
                SKIPWAY="" \
                fast=YES \
                2>&1 | tee result.txt

--- End Message ---
--- Begin Message ---
Version: 8.6.5-1+rm

Dear submitter,

as the package ghc-testsuite has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/943661

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to