Package: haskell-testpack
Version: 1.0.0-4
Severity: serious
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch

Hi,

When building haskell-testpack for Ubuntu, I came across this build
failure:

> ****************************************** 
> BUILDING libhugs-testpack FOR hugs
> ****************************************** 
> 
> Preprocessing library testpack-1.0.2...
> Building testpack-1.0.2...
> setup: Distribution/Simple/PreProcess.hs:342:8-69: Irrefutable
> pattern failed for pattern Data.Maybe.Just cpphsProg
> 
> dh_haskell_build: ./setup returned exit code 1
> make: *** [binary-indep] Error 1
> dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary gave
> error exit status 2

It seems that the hugs support is broken. I removed it for the Ubuntu
package, and have attached the diff. Of course fixing it is a better
solution so if you can do that then please do.

  * debian/control: Remove libhugs-testpack as it seems to no longer work and
    has already been half-disabled anyway.

Regards,
Iain

-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 
'karmic-proposed'), (500, 'karmic-backports'), (500, 'karmic')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-4-generic (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u haskell-testpack-1.0.0/debian/changelog haskell-testpack-1.0.0/debian/changelog
diff -u haskell-testpack-1.0.0/debian/control haskell-testpack-1.0.0/debian/control
--- haskell-testpack-1.0.0/debian/control
+++ haskell-testpack-1.0.0/debian/control
@@ -22,19 +23,6 @@
  generators for other types for QuickCheck, and shortcuts for quickly defining new
  test cases.
 
-Package: libhugs-testpack
-Section: devel
-Architecture: all
-Depends: ${haskell:Depends}, hugs (>= 98.200503.08-4), libhugs-hunit, libhugs-mtl, libhugs-quickcheck
-Suggests: haskell-testpack-doc
-Description: Haskell Test Utility Pack for HUnit and QuickCheck
- testpack provides utilities for both HUnit and QuickCheck.  These include
- tools for running QuickCheck properties as HUnit test cases, allowing you to
- combine both approaches in a single program.  It also includes tools for more
- helpful displays of running progress in both HUnit and QuickCheck, additional
- generators for other types for QuickCheck, and shortcuts for quickly defining new
- test cases.
-
 Package: haskell-testpack-doc
 Section: doc
 Architecture: all

Reply via email to