Bug#797782: gtk2hs-buildtools: contains bogus /usr/share/doc/ directory

Joachim Breitner nomeata at debian.org
Wed Sep 2 14:45:11 UTC 2015


Control: reassign -1 haskell-devscripts
Control: affects -1 gtk2hs-buildtools

Hi,

Am Mittwoch, den 02.09.2015, 14:49 +0100 schrieb Justin B Rye:
> Package: gtk2hs-buildtools
> Version: 0.13.0.4-1
> Severity: normal
> 
> I happened to notice while grepping the Contents file that this
> library puts some upstream documentation in the wrong place:
> 
> 	dpkg -L gtk2hs-buildtools
> 	/.
> 	[...]
> 	/usr/share/doc
> 	/usr/share/doc/gtk2hs-buildtools
> 	/usr/share/doc/gtk2hs-buildtools/changelog.Debian.gz
> 	/usr/share/doc/gtk2hs-buildtools/buildinfo_i386.gz
> 	/usr/share/doc/gtk2hs-buildtools/copyright
> 	/usr/share/doc/i386-linux-ghc-7.8.4
> 	/usr/share/doc/i386-linux-ghc-7.8.4/gtk2hs-buildtools
> -0.13.0.4
>  =====>	/usr/share/doc/i386-linux-ghc-7.8.4/gtk2hs-buildtools
> -0.13.0.4/COPYING.gz
> 	/usr/share/gtk2hs-buildtools
> 	[...]
> 
> The file in question turns out just to be a copy of the GPL, so 
> nobody
> is likely to care about not being able to find it, but the directory
> name that gtk2hs-buildtools is hogging is one that could in principle
> clash with a valid inhabitant of the /usr/share/doc/<packagename>/
> namespace....
> 
> (This bug is new since the version in Jessie.)
> 


thanks for the report!

It is a bit weird. There used to be support in haskell-devscripts for
removing that:

    - Remove LICENSE files installed by Cabal and empty documentation
      directories.

(changelog entry from 2008, version 0.6.4), which should take care of
it. But I don’t find any trace of it in the current code, nor anywhere
where it was removed...

Anyways, haskell-devscripts is the right place to fix this. Any
volunteers?


Greetings,
Joachim


-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: F0FBF51F
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20150902/ef66f3f6/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list