Bug#843464: jmol: FTBFS (RawPacketWriter() has private access in RawPacketWriter)

2016-12-04 Thread tony mancill
On Sun, 06 Nov 2016 19:46:49 + Santiago Vila wrote:
> Package: src:jmol
> Version: 12.2.32+dfsg2-1
> Severity: serious

The recent upload of naga 3.0 [1] broke jmol.  I'm looking into a patch
to port jmol to use libnaga-java_3.0.

Cheers,
tony

[1] https://tracker.debian.org/news/807912



signature.asc
Description: OpenPGP digital signature


Bug#843464: jmol: FTBFS (RawPacketWriter() has private access in RawPacketWriter)

2016-11-06 Thread Santiago Vila
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 '/<>/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] /<>/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] /<>/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] /<>/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] 
/<>/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] 
/<>/jmol-12.2.32+dfsg2/src/org/openscience/jmol/app/jmolpanel/JsonNioService.java:244:
 error:  is not 
abstract and does not override abstract method packetSent(NIOSocket,Object) in 
SocketObserver
[javac] inSocket.listen(new SocketObserver() {
[javac]  ^
[javac] 
/<>/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] 
/<>/jmol-12.2.32+dfsg2/src/org/openscience/jmol/app/jmolpanel/JsonNioService.java:266:
 error:  is not 
abstract and does not override abstract method packetSent(NIOSocket,Object) in 
SocketObserver
[javac] outSocket.listen(new SocketObserver() {
[javac]   ^
[javac] 
/<>/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
/<>/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 '/<>/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