Danai SAE-HAN wrote:
> Package: debhelper
> Version: 7.0.8
> Severity: minor
>
> Hi!
>
> I saw this bug when I ran debdiff on several of my binary files produced
> by "cjk".
>
> In debian/latex-cjk-common.docs I have the following line:
>
> doc/{cjk-enc.txt,CJK.txt,CJKutf8.txt,commands.txt,fdxfiles.txt,fonts.txt,hbf2gf.txt,history.2_5,history.txt,pinyin.txt,pyhyphen.txt,reftex.txt,ruby.txt,TDS.txt,vertical.txt,xCJK.txt,pdfhowto}
What on earth makes you think this is valid syntax for a debian/docs
file? By using {,}, you're relying on both a debhelper implementation
detail (that it passes that through a subshell if DH_ALWAYS_EXCLUDE is
set), and on a bashism, so this is going to fail to work eventually on
your system, and will FTBFS immediatly on any system where /bin/sh !=
bash.
> "pdfhowto" is a directory.
>
> In an earlier version, "xCJK.txt" wasn't included on that line.
>
> I have discovered that in the earlier package, all the documentation files
> are gzipped except for "vertical.txt". Now "vertical.txt" is gzipped, but
> "xCJK.txt" isn't.
>
> I think dh_installdocs forgets to gzip the last file in the list.
dh_installdocs does not compress anything; dh_compress does. And it does
it for the full contents of /usr/share/doc, excluding some classes of
files, including those <= than 4kb. Which is exactly the size of
vertical.txt in cjk 4.7.0+git20080122.
So there's no debhelper bug here, but please fix your package and don't
try to make up file formats and expect them to keep working in the furture...
--
see shy jo
signature.asc
Description: Digital signature

