Your message dated Sat, 06 Apr 2013 10:32:41 +0000
with message-id <[email protected]>
and subject line Bug#704817: fixed in haskell-testpack 2.1.1-1.1
has caused the Debian Bug report #704817,
regarding haskell-testpack: fails to build with experimental ghc
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.)


-- 
704817: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704817
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: haskell-testpack
Version: 2.1.1-1
Severity: normal
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch raring

haskell-testpack fails to build against experimental ghc as follows:

  [3 of 3] Compiling Test.HUnit.Tools ( src/Test/HUnit/Tools.hs, 
dist-ghc/build/Test/HUnit/Tools.o )
  
  src/Test/HUnit/Tools.hs:131:57:
      `maxDiscard' is not a (visible) constructor field name
  
  src/Test/HUnit/Tools.hs:177:40: Not in scope: `maxDiscard'
  make: *** [build-ghc-stamp] Error 1

There's been a patch for this in a github pull request for a while.  In
accordance with private comments made by the principal uploader, and
after checking on #debian-haskell a couple of days ago, I plan to upload
a 0-day NMU for this once I get a bug number back, as follows aside from
the bug number in the changelog.

diff -u haskell-testpack-2.1.1/debian/changelog 
haskell-testpack-2.1.1/debian/changelog
--- haskell-testpack-2.1.1/debian/changelog
+++ haskell-testpack-2.1.1/debian/changelog
@@ -1,3 +1,13 @@
+haskell-testpack (2.1.1-1.1) experimental; urgency=low
+
+  * Non-maintainer upload.
+  * Depend on haskell-devscripts 0.8.13 to ensure this package is built
+    against experimental.
+  * Apply https://github.com/jgoerzen/testpack/pull/7 to port to QuickCheck
+    2.5, which dropped the maxDiscard field.
+
+ -- Colin Watson <[email protected]>  Sat, 06 Apr 2013 10:51:07 +0100
+
 haskell-testpack (2.1.1-1) unstable; urgency=low
 
   * [27449fc] Imported Upstream version 2.1.1
diff -u haskell-testpack-2.1.1/debian/control 
haskell-testpack-2.1.1/debian/control
--- haskell-testpack-2.1.1/debian/control
+++ haskell-testpack-2.1.1/debian/control
@@ -4,7 +4,7 @@
 Uploaders: John Goerzen <[email protected]>
 Build-Depends: cdbs,
                debhelper (>= 7),
-               haskell-devscripts (>= 0.8),
+               haskell-devscripts (>= 0.8.13),
                ghc,
                ghc-prof,
                libghc-mtl-dev,
only in patch2:
unchanged:
--- haskell-testpack-2.1.1.orig/src/Test/HUnit/Tools.hs
+++ haskell-testpack-2.1.1/src/Test/HUnit/Tools.hs
@@ -128,7 +128,7 @@
 >        q "Integer -> Int (safe bounds)" prop_integer_to_int_pass]
 -}
 qc2hu :: QC.Testable a => Int -> String -> a -> HU.Test
-qc2hu maxTest = qccheck (stdArgs {maxSuccess = maxTest, maxDiscard = 20000})
+qc2hu maxTest = qccheck (stdArgs {maxSuccess = maxTest})
 
 {- | Run verbose tests.  Example:
 
@@ -174,7 +174,7 @@
               Just (rnd,_) -> return rnd
      test MkState{ terminal          = tm
                  , maxSuccessTests   = maxSuccess args
-                 , maxDiscardedTests = maxDiscard args
+                 , maxDiscardedTests = 20000
                  , computeSize       = case replay args of
                                          Nothing    -> \n d -> (n * maxSize 
args)
                                                          `div` maxSuccess args

Thanks,

-- 
Colin Watson                                       [[email protected]]

--- End Message ---
--- Begin Message ---
Source: haskell-testpack
Source-Version: 2.1.1-1.1

We believe that the bug you reported is fixed in the latest version of
haskell-testpack, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated haskell-testpack 
package)

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 06 Apr 2013 11:13:16 +0100
Source: haskell-testpack
Binary: libghc-testpack-dev libghc-testpack-prof libghc-testpack-doc
Architecture: source all i386
Version: 2.1.1-1.1
Distribution: experimental
Urgency: low
Maintainer: Debian Haskell Group 
<[email protected]>
Changed-By: Colin Watson <[email protected]>
Description: 
 libghc-testpack-dev - Haskell Test Utility Pack for HUnit and QuickCheck
 libghc-testpack-doc - Documentation for Haskell Test Utility Pack
 libghc-testpack-prof - Haskell Test Utility Pack for HUnit and QuickCheck
Closes: 704817
Changes: 
 haskell-testpack (2.1.1-1.1) experimental; urgency=low
 .
   * Non-maintainer upload.
   * Depend on haskell-devscripts 0.8.13 to ensure this package is built
     against experimental.
   * Apply https://github.com/jgoerzen/testpack/pull/7 to port to QuickCheck
     2.5, which dropped the maxDiscard field (closes: #704817).
Checksums-Sha1: 
 eebc66d0d3f5bb2e05f070740f612d78b0a158db 2535 haskell-testpack_2.1.1-1.1.dsc
 a73ec74eae347e0087777d668599e2e3d6922064 9066 
haskell-testpack_2.1.1-1.1.diff.gz
 9f92383f01dabe304de9ef9645b27205e3949a46 47034 
libghc-testpack-doc_2.1.1-1.1_all.deb
 4e84930920d5b0cfde42b4337aa9096dc758d017 40462 
libghc-testpack-dev_2.1.1-1.1_i386.deb
 2c712edae39d95aba8e9e9e5fce5f44c61eb7012 37848 
libghc-testpack-prof_2.1.1-1.1_i386.deb
Checksums-Sha256: 
 ec846bac4ab3a7746616a2609a3214e5ed0c14db03c8408794b4dae9127fecde 2535 
haskell-testpack_2.1.1-1.1.dsc
 d9cf85c3fa05930fbb47ce7b6b17a89cb22ea2efe5d8f336b8e7a508e542934d 9066 
haskell-testpack_2.1.1-1.1.diff.gz
 3b985440eed18d59b4131ce941d479ac2f7bd20daaf35ab387ffeb13fc4f4661 47034 
libghc-testpack-doc_2.1.1-1.1_all.deb
 c5055c58cda113df508b92c37b2dcbe39d35469319b3bc4fba1c428555f8f06f 40462 
libghc-testpack-dev_2.1.1-1.1_i386.deb
 ca8db0362217defe030e6f0f2faacaebea7fe3bc5b74a07c6b1c76ab14c2f04a 37848 
libghc-testpack-prof_2.1.1-1.1_i386.deb
Files: 
 cd339a59ff9d60b45c3462ed564fc3c7 2535 haskell extra 
haskell-testpack_2.1.1-1.1.dsc
 3121ad513d438d5ac5e8d988eddd8f7d 9066 haskell extra 
haskell-testpack_2.1.1-1.1.diff.gz
 ae84173b17b72db357289f0415dec7e5 47034 doc extra 
libghc-testpack-doc_2.1.1-1.1_all.deb
 ff308adb08be10aacef2066993d4f291 40462 haskell extra 
libghc-testpack-dev_2.1.1-1.1_i386.deb
 df4b0c341a26296ea4ef64d2b192039f 37848 haskell extra 
libghc-testpack-prof_2.1.1-1.1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Colin Watson <[email protected]> -- Debian developer

iQIVAwUBUV/3izk1h9l9hlALAQgDyRAAumKwM3DpMQMoKwK1mH0qZFrR6t0OOwhz
dADhriwXEBdveKiF8WiBW+oasQS4DHEG+9Ey58NiS1tbDnTW+n0NxUE3y6/YbNq6
XoG2bQ0V8a1fr7CUvDYCoIh9q8ahMNvq60NAOQ/cUPVRM/L5Um6JNrgYcBBEIvU3
vlhTp27vYsb0KrAxDa3RchwOiHAm9n2EfCaUHezU/YQ9EnOIxU29RjiMo1vnO+HE
sNIgu9Hymp/M0Xh/O21Fr3E0lol/aWX7pjJDSj4Qn+yljY1MopCy4j+tLz9C+F2P
4RSk6cKxIKFABuKJDBjyAfd95BlwnIVb4woSKuh8mKSX3BZJJGFFlo8ppCrKSLvn
b2oua1SJsgCbkZ271BA8GHO6mPcUCmDGFGc2rycWXOjdzdn/K1+hc60sQ1wbeNNC
sIJwpUsD6xUKSNIUl9q4PMSTpaczvDtVzrADFcun+8nfOhFV1uW2ca6Y6aV9nzVk
ylG06PN+hdGFaIcPBHHqvkvimCKzTY9WiYPis/T9HhYJK582cAgz1DMX2Rw/CjlL
n5nwnF/5K2R+VjtEVabvJ/2LN9LchlKlo4rcVB2z+ae4T6COcGp95mNWSXZ8qiUI
fXwNkSkbs6efH48O+m+obkCi6DOYIfrbS9hmZsblXDn9wk13Ux1RXOUH5blnaIN4
izabYbTaSbI=
=VF8p
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to