Package: haskell-devscripts Version: 0.6.12 Severity: important Tags: patch
The "cabal_version_ge" subroutine in Dh_Haskell.pm attempts to call "ghc-pkg" which is causing dh_haskell-based packages to FTBFS. Tested patch attached. Regards, -- Chris Lamb, UK [EMAIL PROTECTED] GPG: 0x634F9A20
diff -urNad haskell-devscripts-0.6.12.orig/Dh_Haskell.pm haskell-devscripts-0.6.12/Dh_Haskell.pm --- haskell-devscripts-0.6.12.orig/Dh_Haskell.pm 2008-07-20 00:14:43.000000000 +0100 +++ haskell-devscripts-0.6.12/Dh_Haskell.pm 2008-07-20 00:15:27.000000000 +0100 @@ -52,7 +52,7 @@ sub cabal_version_ge { my $requested_version = shift; - my $version = `ghc-pkg field Cabal version`; + my $version = `ghc-pkg6 field Cabal version`; chomp $version; $version =~ s/version: // ; system("dpkg --compare-versions $version ge $requested_version");
signature.asc
Description: PGP signature