Your message dated Tue, 08 Sep 2009 22:38:02 +0000
with message-id <e1ml9k6-00080k...@ries.debian.org>
and subject line Bug#542624: fixed in hs-plugins 1.4.1-3
has caused the Debian Bug report #542624,
regarding hs-plugins: .haddock file installed in both -dev and -doc
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 ow...@bugs.debian.org
immediately.)


-- 
542624: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542624
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: hs-plugins
Severity: serious
Tags: patch
Justification: Policy 7.6.1


Hello team,

There appears to be something weird going on with hs-plugins. If you check out 
debian/rules then there is a lot of logic for installing the documentation (I 
don't understand why this is needed; can't we bring the package into line?) 
into hs-plugins-doc. Included amongst these files is the plugins.haddock 
file... you can see where I'm going now - the new haskell-devscripts also 
installs the same file into libghc6-plugins-dev. File conflict and 
uninstallable packages abound. All build-depending packages fail to build 
because of this, obviously.

We have only gotten away with this in Debian because hs-plugins-doc is arch:all 
and therefore hasn't been binNMUd - the next upload will break. Ubuntu only 
accepts source uploads so the problem has cropped up there.

What's the correct immediate fix for this problem? I've attached a diff which I 
think solves it and uploaded this to Karmic, but I'd appreciate peer review 
before committing to darcs.

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-6-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 hs-plugins-1.4.1/debian/rules hs-plugins-1.4.1/debian/rules
--- hs-plugins-1.4.1/debian/rules
+++ hs-plugins-1.4.1/debian/rules
@@ -24,9 +24,10 @@
 	cd debian/tmp-inst-ghc6/ ; find ./$(DEB_HADDOCK_HTML_DIR)/ \
 		! -name "*.haddock" -exec install -Dm 644 '{}' \
 		../$(notdir $@)/'{}' ';'
-	mkdir -p debian/$(notdir $@)/$(DEB_HADDOCK_DIR)
-	cp -r debian/tmp-inst-ghc6/$(DEB_HADDOCK_DIR)/*.haddock \
-		debian/$(notdir $@)/$(DEB_HADDOCK_DIR)
+#	These files are now installed by haskell-devscripts into the -doc package
+#	mkdir -p debian/$(notdir $@)/$(DEB_HADDOCK_DIR)
+#	cp -r debian/tmp-inst-ghc6/$(DEB_HADDOCK_DIR)/*.haddock \
+#		debian/$(notdir $@)/$(DEB_HADDOCK_DIR)
 	
 	mkdir -p debian/$(notdir $@)/usr/share/doc/hs-$(CABAL_PACKAGE)-doc/plugins
 	cp -r docs/hs-plugins/* debian/$(notdir $@)/usr/share/doc/hs-$(CABAL_PACKAGE)-doc/plugins
diff -u hs-plugins-1.4.1/debian/changelog hs-plugins-1.4.1/debian/changelog
--- hs-plugins-1.4.1/debian/changelog
+++ hs-plugins-1.4.1/debian/changelog
@@ -1,3 +1,13 @@
+hs-plugins (1.4.1-2ubuntu2) karmic; urgency=low
+
+  * debian/rules: Do not install .haddock file in -doc package.
+    haskell-devscripts now installs these in -dev packages, but we did not
+    take into account the fact that hs-plugins installs the doc package
+    manually and so the same file was available in both packages, which led to
+    file conflicts and uninstallability.
+
+ -- Iain Lane <la...@ubuntu.com>  Thu, 20 Aug 2009 14:03:16 +0100
+
 hs-plugins (1.4.1-2ubuntu1) karmic; urgency=low
 
   * Add hscolour to build-depends-indep; required for doc build 

--- End Message ---
--- Begin Message ---
Source: hs-plugins
Source-Version: 1.4.1-3

We believe that the bug you reported is fixed in the latest version of
hs-plugins, which is due to be installed in the Debian FTP archive:

hs-plugins-doc_1.4.1-3_all.deb
  to pool/main/h/hs-plugins/hs-plugins-doc_1.4.1-3_all.deb
hs-plugins_1.4.1-3.diff.gz
  to pool/main/h/hs-plugins/hs-plugins_1.4.1-3.diff.gz
hs-plugins_1.4.1-3.dsc
  to pool/main/h/hs-plugins/hs-plugins_1.4.1-3.dsc
libghc6-plugins-dev_1.4.1-3_amd64.deb
  to pool/main/h/hs-plugins/libghc6-plugins-dev_1.4.1-3_amd64.deb
libghc6-plugins-prof_1.4.1-3_amd64.deb
  to pool/main/h/hs-plugins/libghc6-plugins-prof_1.4.1-3_amd64.deb



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 542...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joachim Breitner <nome...@debian.org> (supplier of updated hs-plugins 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 ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 08 Sep 2009 22:24:15 +0200
Source: hs-plugins
Binary: libghc6-plugins-dev libghc6-plugins-prof hs-plugins-doc
Architecture: source all amd64
Version: 1.4.1-3
Distribution: unstable
Urgency: low
Maintainer: Debian Haskell Group 
<pkg-haskell-maintain...@lists.alioth.debian.org>
Changed-By: Joachim Breitner <nome...@debian.org>
Description: 
 hs-plugins-doc - API documentation of the Haskell plugins library
 libghc6-plugins-dev - Dynamically Loaded Haskell Modules
 libghc6-plugins-prof - Dynamically Loaded Haskell Modules; profiling libraries
Closes: 537000 542624
Changes: 
 hs-plugins (1.4.1-3) unstable; urgency=low
 .
   [ Marco TĂșlio Gontijo e Silva ]
   * debian/control: Use one package for line in dependencies.
   * debian/rules: Make build depend only in build-arch to avoid building
     indep packages in all architectures.
 .
   [ Joachim Breitner ]
   * Depend on hscolour in Build-Depends-Indep, fixes FTBFS (does not affect
     binNMUs, so no hurry needed) (Closes: #537000)
   * Use newest cdbs, to be able to use build docs in build-indep and
     still be buildd-friendly
 .
   [ Marco TĂșlio Gontijo e Silva ]
   * debian/control: Use more sintetic name for Vcs-Darcs.
 .
   [ Iain Lane ]
   * debian/rules: Do not install .haddock file in -doc package.
     haskell-devscripts now installs these in -dev packages, but we did not
     take into account the fact that hs-plugins installs the doc package
     manually and so the same file was available in both packages, which led to
     file conflicts and uninstallability. (Closes: #542624)
   * debian/control: Add Vcs-Browser
 .
   [ Joachim Breitner ]
   * Bump standards version (no change)
Checksums-Sha1: 
 14b5ace8caa0531087fab27ec840f8f46d778fae 1587 hs-plugins_1.4.1-3.dsc
 8132d16c6b11ea26748766bda0a6dcbc0d6de007 6953 hs-plugins_1.4.1-3.diff.gz
 36137485201aa1c228285ce8ed1fecb77dec8036 261186 hs-plugins-doc_1.4.1-3_all.deb
 e8e4a862b854fcd7845a1527247344f0f1b6125b 287074 
libghc6-plugins-dev_1.4.1-3_amd64.deb
 05a581bd0037911679f12f68b4aa25555ec81609 273016 
libghc6-plugins-prof_1.4.1-3_amd64.deb
Checksums-Sha256: 
 018f885581a69c91d4bf8e46ce89a91b0ca042d27edc217eaaa88dc430e5f68b 1587 
hs-plugins_1.4.1-3.dsc
 1365b5b0171c7453a1efa8aacabbb27028ab87135baea32d82f60f2c1d923321 6953 
hs-plugins_1.4.1-3.diff.gz
 d497022bef12b6cc09719736d8aad918cd89b714ae555042ba90ace6926bb55d 261186 
hs-plugins-doc_1.4.1-3_all.deb
 120049f1497db2429542c705253319a928e3ed4812041f4040e4bae504eec80e 287074 
libghc6-plugins-dev_1.4.1-3_amd64.deb
 4eaa30fae139cc4efc504bd69f4aff641c6c8244c35f74d06a4309321a122fa3 273016 
libghc6-plugins-prof_1.4.1-3_amd64.deb
Files: 
 0b475b0d6a0764cf2d28daca4bc41ca6 1587 haskell optional hs-plugins_1.4.1-3.dsc
 8f57646a86f37ce99bc3cd6e71623c09 6953 haskell optional 
hs-plugins_1.4.1-3.diff.gz
 08be28bc2a31f69ad74f7205f0482265 261186 doc optional 
hs-plugins-doc_1.4.1-3_all.deb
 18a16465e6402004f6d5ea17801c898f 287074 haskell optional 
libghc6-plugins-dev_1.4.1-3_amd64.deb
 40d430e4bf443f15e07720a07136f806 273016 haskell optional 
libghc6-plugins-prof_1.4.1-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkqmv8EACgkQ9ijrk0dDIGwAqgCgpb2zNEtM238W8bW38CvVYGQx
ImEAn3bUW+iRsFiAPqWaveM08WxwU+g7
=cEU6
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to