Bug#923758: libnanoxml2-java: FTBFS in buster/sid

Santiago Vila sanvila at debian.org
Tue Mar 5 00:19:44 GMT 2019


Package: src:libnanoxml2-java
Version: 2.2.3.dfsg-6
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with javahelper
   dh_update_autotools_config -i
   dh_autoreconf -i
   jh_linkjars -i
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
jh_build -o'-source 1.8 -nowarn' -N nanoxml-lite.jar Sources/Lite/
find Sources/Lite/ -name *.java -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp :debian/_jh_build.nanoxml-lite -d debian/_jh_build.nanoxml-lite -encoding ISO8859-1 -source 1.8 -nowarn
Note: Sources/Lite/nanoxml/XMLElement.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
/usr/lib/jvm/default-java/bin/jar cfm /<<PKGBUILDDIR>>/nanoxml-lite.jar ../_jh_manifest.nanoxml-lite nanoxml
jh_build -o'-source 1.8 -nowarn' -N nanoxml.jar Sources/Java/
find Sources/Java/ -name *.java -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp :debian/_jh_build.nanoxml -d debian/_jh_build.nanoxml -encoding ISO8859-1 -source 1.8 -nowarn
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
/usr/lib/jvm/default-java/bin/jar cfm /<<PKGBUILDDIR>>/nanoxml.jar ../_jh_manifest.nanoxml net
CLASSPATH=nanoxml.jar jh_build -o'-source 1.8 -nowarn' -N nanoxml-sax.jar Sources/SAX/
find Sources/SAX/ -name *.java -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp nanoxml.jar:debian/_jh_build.nanoxml-sax -d debian/_jh_build.nanoxml-sax -encoding ISO8859-1 -source 1.8 -nowarn
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/usr/lib/jvm/default-java/bin/jar cfm /<<PKGBUILDDIR>>/nanoxml-sax.jar ../_jh_manifest.nanoxml-sax net
jh_manifest -c /usr/share/java/nanoxml.jar nanoxml-sax.jar
bnd wrap --output nanoxml.jar.tmp nanoxml.jar
-----------------
Warnings
000: Using defaults for wrap, which means no export versions
bnd wrap --output nanoxml-lite.jar.tmp nanoxml-lite.jar
-----------------
Warnings
000: Using defaults for wrap, which means no export versions
bnd wrap --output nanoxml-sax.jar.tmp nanoxml-sax.jar
-----------------
Warnings
000: Using defaults for wrap, which means no export versions
mv nanoxml.jar.tmp nanoxml.jar
mv nanoxml-lite.jar.tmp nanoxml-lite.jar
mv nanoxml-sax.jar.tmp nanoxml-sax.jar
/usr/lib/jvm/default-java/bin/javadoc -author -link /usr/share/doc/default-jdk-doc/api -quiet \
-sourcepath Sources/Java/:Sources/Lite/:Sources/SAX/ -source 1.8 \
nanoxml net.n3.nanoxml net.n3.nanoxml.sax -d api
Creating destination directory: "api/"
javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in /usr/share/doc/default-jdk-doc/api/ are in named modules.
Sources/Lite/nanoxml/XMLElement.java:263: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:264: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:265: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:266: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:267: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:268: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:269: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:298: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:299: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:300: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:301: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:302: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:303: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:304: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:329: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:330: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:331: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:332: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:333: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:334: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:335: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:367: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:368: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:369: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:370: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:371: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:372: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:373: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:405: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:406: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:407: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:408: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:409: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:410: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:411: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:457: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:458: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:459: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:460: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:461: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:462: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:463: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:513: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:514: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:515: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:546: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:547: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:616: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:617: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:649: warning - @param argument "name" is not a parameter name.
Sources/Lite/nanoxml/XMLElement.java:679: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:680: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:731: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:895: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:976: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:1099: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:1216: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:1722: warning - @param argument "reader" is not a parameter name.
Sources/Lite/nanoxml/XMLElement.java:1753: warning - @param argument "reader" is not a parameter name.
Sources/Lite/nanoxml/XMLElement.java:1783: warning - @param argument "reader" is not a parameter name.
Sources/Lite/nanoxml/XMLElement.java:1818: warning - @param argument "reader" is not a parameter name.
Sources/Lite/nanoxml/XMLElement.java:1861: warning - @param argument "reader" is not a parameter name.
Sources/Lite/nanoxml/XMLElement.java:1896: warning - @param argument "reader" is not a parameter name.
Sources/Lite/nanoxml/XMLElement.java:1948: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:1949: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:1950: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:1978: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:1979: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLElement.java:2498: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLParseException.java:77: warning - invalid usage of tag >
Sources/Lite/nanoxml/XMLParseException.java:104: warning - invalid usage of tag >
Sources/Java/net/n3/nanoxml/IXMLElement.java:525: warning - @param argument "rawElement" is not a parameter name.
Sources/Java/net/n3/nanoxml/ValidatorPlugin.java:179: warning - @param argument "key" is not a parameter name.
Sources/Java/net/n3/nanoxml/ValidatorPlugin.java:180: warning - @param argument "value" is not a parameter name.
Sources/Java/net/n3/nanoxml/ValidatorPlugin.java:204: warning - @param argument "name" is not a parameter name.
Sources/Java/net/n3/nanoxml/ValidatorPlugin.java:205: warning - @param argument "extraAttributes" is not a parameter name.
Sources/Java/net/n3/nanoxml/XMLElement.java:1001: warning - @param argument "rawElement" is not a parameter name.
Sources/Lite/nanoxml/XMLParseException.java:60: warning - invalid usage of tag &gt
1 error
78 warnings
make[1]: *** [debian/rules:33: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:20: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

(The above is just how the build ends and not necessarily the most relevant part)

The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libnanoxml2-java.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the pkg-java-maintainers mailing list