Bug#912751: jh_installjavadoc: produces incorrect doc-base file
Markus Koschany
apo at debian.org
Sat Nov 3 14:19:43 GMT 2018
Package: javahelper
Version: 0.70
Severity: important
I discovered a regression in jh_installjavadoc. This tool will
automatically create a doc-base file.
In libjackson-json-java 1.9.2-9 the content looks as follows:
Format: HTML
Index: //usr/share/doc/libjackson-json-java/api
Files: //usr/share/doc/libjackson-json-java/api/*.html
Note the double slash at the beginning.
In libjackson-json-java 1.9.2-10 build with javahelper 0.70 I get:
Format: HTML
Index: /debian/libjackson-json-java-doc/usr/share/doc/libjackson-json-java/api
Files: /debian/libjackson-json-java-doc/usr/share/doc/libjackson-json-java/api/*.html
This triggers a Lintian error because the path can't be found. Somehow
jh_installjavadoc inserts the complete build directory path. So there
is a regression between version 0.63 and 0.70. Furthermore the double
slash in version 1.9.2-9 is wrong too.
The only way to work around it, is to create a manual debian/*.doc-base file.
A libjackson-json-java-doc.javadoc file is used to install the
javadoc. It contains a single line
build/javadoc /usr/share/doc/libjackson-json-java/api
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages javahelper depends on:
ii bsdmainutils 11.1.2+b1
ii dctrl-tools 2.24-3
ii debhelper 11.5.1
ii devscripts 2.18.7
ii dpkg-dev 1.19.2
ii libarchive-zip-perl 1.64-1
ii perl 5.26.2-7+b1
javahelper recommends no packages.
Versions of packages javahelper suggests:
pn cvs <none>
ii gawk 1:4.2.1+dfsg-1
ii tofrodos 1.7.13+ds-3
-- no debconf information
More information about the pkg-java-maintainers
mailing list