[Debichem-devel] Bug#843464: jmol: FTBFS (RawPacketWriter() has private access in RawPacketWriter)

Santiago Vila sanvila at debian.org
Sun Nov 6 19:46:49 UTC 2016


Package: src:jmol
Version: 12.2.32+dfsg2-1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with=javahelper --buildsystem=ant --parallel
dh: Compatibility levels before 9 are deprecated (level 8 in use)
   dh_testdir -i -O--buildsystem=ant -O--parallel
   dh_update_autotools_config -i -O--buildsystem=ant -O--parallel
   dh_auto_configure -i -O--buildsystem=ant -O--parallel
dh_auto_configure: Compatibility levels before 9 are deprecated (level 8 in use)
   jh_linkjars -i -O--buildsystem=ant -O--parallel
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<BUILDDIR>>/jmol-12.2.32+dfsg2'
(cd jars && for i in /usr/share/java/*.jar /usr/share/icedtea-web/*.jar; \
 do ln -s $i; done)
dh_auto_build -- -Dvecmath.jar=vecmath.jar -Ditext.jar=itext1.jar \

[... snipped ...]

    [javac]                                ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 8)
    [javac] /<<BUILDDIR>>/jmol-12.2.32+dfsg2/src/org/jmol/i18n/GT.java:146: warning: '_' used as an identifier
    [javac]       new Language("el",    GT._("Greek"),                "????????",             false),
    [javac]                                ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 8)
    [javac] /<<BUILDDIR>>/jmol-12.2.32+dfsg2/src/org/jmol/i18n/GT.java:147: warning: '_' used as an identifier
    [javac]       new Language("en_AU", GT._("Australian English"),   "Australian English",   false),
    [javac]                                ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 8)
    [javac] /<<BUILDDIR>>/jmol-12.2.32+dfsg2/src/org/jmol/i18n/GT.java:148: warning: '_' used as an identifier
    [javac]       new Language("en_GB", GT._("British English"),      "British English",      true),
    [javac]                                ^
    [javac]   (use of '_' as an identifier might not be supported in releases after Java SE 8)
    [javac] /<<BUILDDIR>>/jmol-12.2.32+dfsg2/src/org/openscience/jmol/app/jmolpanel/JsonNioService.java:243: error: RawPacketWriter() has private access in RawPacketWriter
    [javac]     inSocket.setPacketWriter(new RawPacketWriter());
    [javac]                              ^
    [javac] /<<BUILDDIR>>/jmol-12.2.32+dfsg2/src/org/openscience/jmol/app/jmolpanel/JsonNioService.java:244: error: <anonymous org.openscience.jmol.app.jmolpanel.JsonNioService$1> is not abstract and does not override abstract method packetSent(NIOSocket,Object) in SocketObserver
    [javac]     inSocket.listen(new SocketObserver() {
    [javac]                                          ^
    [javac] /<<BUILDDIR>>/jmol-12.2.32+dfsg2/src/org/openscience/jmol/app/jmolpanel/JsonNioService.java:265: error: RawPacketWriter() has private access in RawPacketWriter
    [javac]     outSocket.setPacketWriter(new RawPacketWriter());
    [javac]                               ^
    [javac] /<<BUILDDIR>>/jmol-12.2.32+dfsg2/src/org/openscience/jmol/app/jmolpanel/JsonNioService.java:266: error: <anonymous org.openscience.jmol.app.jmolpanel.JsonNioService$2> is not abstract and does not override abstract method packetSent(NIOSocket,Object) in SocketObserver
    [javac]     outSocket.listen(new SocketObserver() {
    [javac]                                           ^
    [javac] /<<BUILDDIR>>/jmol-12.2.32+dfsg2/src/org/openscience/jmol/app/jmolpanel/JsonNioService.java:350: error: RawPacketWriter() has private access in RawPacketWriter
    [javac]           nioSocket.setPacketWriter(new RawPacketWriter());
    [javac]                                     ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 5 errors
    [javac] 100 warnings

BUILD FAILED
/<<BUILDDIR>>/jmol-12.2.32+dfsg2/build.xml:198: Compile failed; see the compiler error output for details.

Total time: 20 seconds
dh_auto_build: ant -Duser.name debian -Dvecmath.jar=vecmath.jar -Ditext.jar=itext1.jar -Dcommons-cli.jar=commons-cli.jar jar applet-jar doc returned exit code 1
debian/rules:12: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/jmol-12.2.32+dfsg2'
debian/rules:9: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

The relevant part of the build log is included above.

There are full build logs here:

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

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 page for this package.

Thanks.



More information about the Debichem-devel mailing list