[Bug 1765885] Re: [FTBFS] groovy 2.4.15-1 ftbfs due to invalid javadoc links
Steve Langasek
steve.langasek at canonical.com
Sat Apr 21 04:00:02 UTC 2018
+- links('http://docs.oracle.com/javase/8/docs/api/', 'http://docs.oracle.com/javaee/7/api/',
+- 'http://commons.apache.org/proper/commons-cli/javadocs/api-release/', 'http://junit.org/junit4/javadoc/latest/',
+- 'http://docs.oracle.com/javaee/6/api/', 'http://www.antlr2.org/javadoc/')
++ //links('http://docs.oracle.com/javase/8/docs/api/', 'http://docs.oracle.com/javaee/7/api/',
++ // 'http://commons.apache.org/proper/commons-cli/javadocs/api-release/', 'http://junit.org/junit4/javadoc/latest/',
++ // 'http://docs.oracle.com/javaee/6/api/', 'http://www.antlr2.org/javadoc/')
++ links('file:///usr/share/doc/default-jdk-doc/api/', 'file:///usr/share/doc/libservlet3.1-java-doc/api',
++ 'file:///usr/share/doc/junit4/api/')
FWIW I strongly encourage dropping such lines instead of commenting them
out. It makes diffs shorter and easier to review, and the information
is not lost because it's still available in the diff itself.
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1765885
Title:
[FTBFS] groovy 2.4.15-1 ftbfs due to invalid javadoc links
Status in groovy package in Ubuntu:
New
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/groovy/+bug/1765885/+subscriptions
More information about the Ubuntu-sponsors
mailing list