Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #10496
| From | Andreas Tille <andreas@an3as.eu> |
|---|---|
| Newsgroups | linux.debian.maint.java |
| Subject | Problems building libsbml |
| Date | 2018-05-14 14:30 +0200 |
| Message-ID | <vPkM1-87k-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi,
when trying to rebuild libsbml[1] (to fix #896531) I get
...
make[4]: Entering directory '/build/libsbml-5.16.0+dfsg/build'
[100%] Generate Java-API Documentation
/build/libsbml-5.16.0+dfsg/docs/src/SBMLDoclet.java:112: error: package com.sun.tools.doclets.standard is not visible
import com.sun.tools.doclets.standard.Standard;
^
(package com.sun.tools.doclets.standard is declared in module jdk.javadoc, which does not export it)
Note: /build/libsbml-5.16.0+dfsg/docs/src/SBMLDoclet.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /build/libsbml-5.16.0+dfsg/docs/src/SBMLDoclet.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
make[4]: *** [docs/CMakeFiles/api_docs_java.dir/build.make:62: ../docs/formatted/java-api/index.html] Error 1
make[4]: Leaving directory '/build/libsbml-5.16.0+dfsg/build'
...
I've tried to fix this with a patch[2] but that way I'm running into
...
[100%] Generate Java-API Documentation
/build/libsbml-5.16.0+dfsg/docs/src/SBMLDoclet.java:112: error: package com.sun.tools.doclets.standard is not visible
import com.sun.tools.doclets.standard.Standard;
^
(package com.sun.tools.doclets.standard is declared in module jdk.javadoc, which does not export it)
/build/libsbml-5.16.0+dfsg/docs/src/SBMLDoclet.java:129: error: no interface expected here
public class SBMLDoclet extends Doclet
^
/build/libsbml-5.16.0+dfsg/docs/src/SBMLDoclet.java:163: error: no interface expected here
extends Doclet
^
/build/libsbml-5.16.0+dfsg/docs/src/SBMLDoclet.java:171: error: cannot find symbol
public static boolean start(RootDoc root)
^
symbol: class RootDoc
location: class FileExclusionDoclet
/build/libsbml-5.16.0+dfsg/docs/src/SBMLDoclet.java:197: error: cannot find symbol
DocErrorReporter reporter)
^
symbol: class DocErrorReporter
location: class FileExclusionDoclet
/build/libsbml-5.16.0+dfsg/docs/src/SBMLDoclet.java:337: error: no interface expected here
extends Doclet
^
/build/libsbml-5.16.0+dfsg/docs/src/SBMLDoclet.java:339: error: cannot find symbol
private static RootDoc the_root;
^
symbol: class RootDoc
location: class SBMLProcessingDoclet
...
I'm not sure how this should be interpreted in the context of the
patch[3] by Markus Koschany which deals with not-existing doc. May be
that error existed before but was treated as warning but is turned into
an error now.
Any hint would be welcome
Andreas.
[1] https://salsa.debian.org/med-team/libsbml
[2] https://salsa.debian.org/med-team/libsbml/blob/master/debian/patches/javadoc.patch
[3] https://salsa.debian.org/med-team/libsbml/blob/master/debian/patches/javadoc_java9.patch
--
http://fam-tille.de
Back to linux.debian.maint.java | Previous | Next — Next in thread | Find similar | Unroll thread
Problems building libsbml Andreas Tille <andreas@an3as.eu> - 2018-05-14 14:30 +0200
Re: Problems building libsbml Markus Koschany <apo@debian.org> - 2018-05-14 15:10 +0200
Re: Problems building libsbml Andreas Tille <tille@debian.org> - 2018-05-14 16:00 +0200
Re: Problems building libsbml Markus Koschany <apo@debian.org> - 2018-05-15 13:40 +0200
csiph-web