Package: groovy
Version: 2.4.15-1
Severity: important

Dear Maintainer,


Note: Copied from Ubuntu bug #1765885 [1].

Starting with openjdk-10 all invalid, unreachable, or nonexistent javadoc links 
cause the javadoc to throw out an error - until openjdk-9 they were simply 
ignored with at most a warning.

groovy currently FTBFS due to:

Starting process 'command '/usr/lib/jvm/java-11-openjdk-amd64/bin/javadoc''. 
Working directory: /<<PKGBUILDDIR>> Command: 
/usr/lib/jvm/java-11-openjdk-amd64/bin/javadoc 
@/<<PKGBUILDDIR>>/target/tmp/javadocAll/javadoc.options -J-Xmx1g
Successfully started process 'command 
'/usr/lib/jvm/java-11-openjdk-amd64/bin/javadoc''
javadoc: error - Error fetching URL: http://docs.oracle.com/javase/8/docs/api/
javadoc: error - Error fetching URL: http://docs.oracle.com/javaee/7/api/
javadoc: error - Error fetching URL: 
http://commons.apache.org/proper/commons-cli/javadocs/api-release/
javadoc: error - Error fetching URL: http://junit.org/junit4/javadoc/latest/
javadoc: error - Error fetching URL: http://docs.oracle.com/javaee/6/api/
javadoc: error - Error fetching URL: http://www.antlr2.org/javadoc/

The fix is to replace all links with locally available apis and have the 
package build depend upon the packages that provide these files.


Please consider the proposed fix applied by Ubuntu at:
https://launchpadlibrarian.net/366649973/groovy_2.4.15-1_2.4.15-1ubuntu1.diff.gz

References:
[1] https://bugs.launchpad.net/ubuntu/+source/groovy/+bug/1765885


thanks

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

Kernel: Linux 4.15.0-20-lowlatency (SMP w/8 CPU cores; PREEMPT)
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

Reply via email to