Bug#895587: openjdk-10: exclude element-list from being compressed

2018-04-12 Thread Tiago Daitx
Please consider the attached patch to fix this issue.

On Fri, Apr 13, 2018 at 1:51 AM, Tiago Stürmer Daitx
 wrote:
> Package: openjdk-10
> Version: 10~46-5
> Severity: important
>
> Dear Maintainer,
>
> The file element-list has replaced package-list in the javadoc api
> directory is now used by the javadoc binary. As it is not currently
> excluded when calling dh_compress it will be gzip and that causes
> javadoc to fail to recognize the /usr/share/doc/openjdk-10-jre-headless/api/
> directory. This causes quite a few packages to FTBFS, the most proeminent
> being gradle and groovy.
>
> thanks
>
> -- System Information:
> Debian Release: buster/sid
>   APT prefers bionic
>   APT policy: (500, 'bionic'), (400, 'bionic-proposed')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 4.15.0-13-generic (SMP w/8 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
> LANGUAGE=en_US (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled



-- 
Tiago Stürmer Daitx
Software Engineer
tiago.da...@canonical.com

PGP Key: 4096R/F5B213BE (hkp://keyserver.ubuntu.com)
Fingerprint = 45D0 FE5A 8109 1E91 866E  8CA4 1931 8D5E F5B2 13BE
diff -Nru openjdk-10-10~46/debian/changelog openjdk-10-10~46/debian/changelog
--- openjdk-10-10~46/debian/changelog	2018-04-02 12:39:54.0 -0300
+++ openjdk-10-10~46/debian/changelog	2018-04-13 01:42:02.0 -0300
@@ -1,3 +1,11 @@
+openjdk-10 (10~46-5) UNRELEASED; urgency=medium
+
+  * debian/rules: do not compress the element-list api docs as javadoc expects
+this file to be uncompressed when using '-link' or '-linkoffline'.
+(Closes: #895587)
+
+ -- Tiago Stürmer Daitx   Fri, 13 Apr 2018 04:42:02 +
+
 openjdk-10 (10~46-4) unstable; urgency=medium
 
   * Fix installation of japanese manual pages.
diff -Nru openjdk-10-10~46/debian/rules openjdk-10-10~46/debian/rules
--- openjdk-10-10~46/debian/rules	2018-04-02 12:25:57.0 -0300
+++ openjdk-10-10~46/debian/rules	2018-04-13 01:41:44.0 -0300
@@ -1789,7 +1789,7 @@
 	-dh_icons -i $(nodocs) || dh_iconcache -i $(nodocs)
 #	dh_installdebconf -i $(nodocs)
 	dh_link -i $(nodocs)
-	dh_compress -i $(nodocs) -Xexamples -Xdemo -Xpackage-list
+	dh_compress -i $(nodocs) -Xexamples -Xdemo -Xpackage-list -Xelement-list
 	dh_fixperms -i $(nodocs)
 	dh_installdeb -i $(nodocs)
 	dh_gencontrol -i $(nodocs) -- $(control_vars)


Bug#895587: openjdk-10: exclude element-list from being compressed

2018-04-12 Thread Tiago Stürmer Daitx
Package: openjdk-10
Version: 10~46-5
Severity: important

Dear Maintainer,

The file element-list has replaced package-list in the javadoc api
directory is now used by the javadoc binary. As it is not currently
excluded when calling dh_compress it will be gzip and that causes
javadoc to fail to recognize the /usr/share/doc/openjdk-10-jre-headless/api/
directory. This causes quite a few packages to FTBFS, the most proeminent
being gradle and groovy.

thanks

-- System Information:
Debian Release: buster/sid
  APT prefers bionic
  APT policy: (500, 'bionic'), (400, 'bionic-proposed')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-13-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled