Op vr, 29-09-2006 te 14:14 -0700, schreef Steve Langasek:
> severity 372840 serious
> thanks
> 
> On Fri, Sep 29, 2006 at 08:37:24PM +0200, Arjan Oosting wrote:
> > severity 372840 important
> > thanks
> 
> > I am downgrading this bug as it does not occur in unstable. When ghc6
> > and libghc6-cabal-dev finally reaches testing the bug should not occur
> > anymore.
> 
> This is not an acceptable rationale for downgrading a bug.  ghc6 6.4.2-2 is
> currently very badly wedged in unstable, and there is no guarantee that it
> will make it to testing before release, particularly if bugs such as this
> are hidden from view when trying to determine if a particular update is
> release-critical.
Ok,

At the moment it looked like a good idea, but it was not ;) 
I hope I will do better next time.
 
> Also, if the package relationships between ghc6 and libghc6-plugins-dev are
> such that incompatible versions from sarge and etch can be installed
> together, then the bug is still release-critical even if etch gets newer
> versions of both packages.

The package relationship between ghc6 and libghc6-plugins-dev is ok.
The problem can only occur if multiple versions of the Haskell package
Cabal are installed, for instance the one provided by ghc6 itself and
another from libghc6-cabal-dev or installed from source by the user of a
machine and the wrong one is hidden during installation.

I have prepared a NMU which should fix this issue once and for all by
making sure the package build against the Cabal version shipped by ghc6
and by hiding incompatible Cabal versions on install.

The patch is attached.

Greetings Arjan

diff -u hs-plugins-0.9.10/debian/README.Debian hs-plugins-0.9.10/debian/README.Debian
--- hs-plugins-0.9.10/debian/README.Debian
+++ hs-plugins-0.9.10/debian/README.Debian
@@ -11 +11 @@
- -- Jérémy Bobbio <[EMAIL PROTECTED]>  Sat, 30 Sep 2006 13:27:10 +0200
+ -- Jérémy Bobbio <[EMAIL PROTECTED]>  Sat, 30 Sep 2006 13:27:10 +0200
diff -u hs-plugins-0.9.10/debian/libghc6-plugins-dev.postinst hs-plugins-0.9.10/debian/libghc6-plugins-dev.postinst
--- hs-plugins-0.9.10/debian/libghc6-plugins-dev.postinst
+++ hs-plugins-0.9.10/debian/libghc6-plugins-dev.postinst
@@ -10,7 +10,7 @@
 			/usr/lib/haskell-packages/ghc6/lib/hs-plugins-${VERSION}/altdata.installed-pkg-config \
 			/usr/lib/haskell-packages/ghc6/lib/hs-plugins-${VERSION}/hi.installed-pkg-config \
 			/usr/lib/haskell-packages/ghc6/lib/hs-plugins-${VERSION}/plugins.installed-pkg-config; do \
-				/usr/lib/${GHC}/bin/ghc-pkg -g --add-package < $config; \
+				/usr/lib/${GHC}/bin/ghc-pkg -g update $config; \
 		done
 	;;
 
diff -u hs-plugins-0.9.10/debian/control hs-plugins-0.9.10/debian/control
--- hs-plugins-0.9.10/debian/control
+++ hs-plugins-0.9.10/debian/control
@@ -3,6 +3,7 @@
 Priority: optional
 Maintainer: Florian Ragwitz <[EMAIL PROTECTED]>
 Build-Depends: debhelper (>= 5.0.0), dpatch, autoconf, ghc6 (>= 6.4.2), libghc6-src-exts-dev (>= 0.2-2), tetex-bin, tetex-extra
+Build-Conflicts: libghc6-cabal-dev 
 Standards-Version: 3.7.2
 
 Package: libghc6-plugins-dev
diff -u hs-plugins-0.9.10/debian/changelog hs-plugins-0.9.10/debian/changelog
--- hs-plugins-0.9.10/debian/changelog
+++ hs-plugins-0.9.10/debian/changelog
@@ -1,3 +1,15 @@
+hs-plugins (0.9.10-3.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Register package with ghc-pkg update instead of ghc-pkg --add-package
+    to make sure conflicting packages are hidden on install. Also build
+    conflict against libghc6-cabal-dev to make sure the package is build
+    against the Cabal version shipped with ghc6. (Closes: #372840)
+  * Remove directory accidentally introduced in the previous NMU.
+  * Convert debian/changelog and debian/README.Debian to UTF-8.
+
+ -- Arjan Oosting <[EMAIL PROTECTED]>  Wed,  4 Oct 2006 14:57:30 +0200
+
 hs-plugins (0.9.10-3.1) unstable; urgency=medium
 
   * Non-maintainer upload.
@@ -7,7 +19,7 @@
      - Add a README.Debian pointing the user to hs-plugins website for HTML
        documentation.
 
- -- Jérémy Bobbio <[EMAIL PROTECTED]>  Sat, 30 Sep 2006 13:53:20 +0200
+ -- Jérémy Bobbio <[EMAIL PROTECTED]>  Sat, 30 Sep 2006 13:53:20 +0200
 
 hs-plugins (0.9.10-3) unstable; urgency=low
 
reverted:
--- hs-plugins-0.9.10/atDSnaZDeq/hs-plugins-0.9.10/debian/README.Debian
+++ hs-plugins-0.9.10.orig/atDSnaZDeq/hs-plugins-0.9.10/debian/README.Debian
@@ -1,11 +0,0 @@
-hs-plugins for Debian
-=====================
-
-hs-plugins documentation in HTML form can be found at:
-  http://www.cse.unsw.edu.au/~dons/hs-plugins/
-
-The HTML documentation is not included in the Debian package as building it
-requires tex2page which is not available on all architectures supported by
-Debian.
-
- -- Jérémy Bobbio <[EMAIL PROTECTED]>  Sat, 30 Sep 2006 13:27:10 +0200

Attachment: signature.asc
Description: Dit berichtdeel is digitaal ondertekend

Reply via email to