[Pkg-haskell-maintainers] Bug#542624: hs-plugins: .haddock file installed in both -dev and -doc

Iain Lane laney at ubuntu.com
Thu Aug 20 13:15:16 UTC 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hsplugins-duplicate-file.debdiff
Type: text/x-diff
Size: 1598 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20090820/241f3a5d/attachment.diff>


More information about the Pkg-haskell-maintainers mailing list