← Back to team overview

openjdk team mailing list archive

Bug#894371: gdcm FTBFS with openjdk-9

 

Control: forwarded -1 https://bugs.openjdk.java.net/browse/JDK-8200610

The bug is now visible upstream. but they closed it immediately.
Unfortunately I can't comment on the  bug, because I am unable to
figure out how to open an account, but the suspected output path is
definitely writeable (after all compiling with an older openjdk version
works), so whatever is going on here, it must be something different. 

In addition: When I build the package with cowbuilder (arch:i386) it
fails, but when I then drop into a shell within cowbuilder, and then
run  dpkg-buildpackage manually, the error doesn't occur any more.

OTOH, when compiling the package directly on the host system (amd64)
the error is always reproducible, running  e.g. 

javac -verbose -classpath /usr/share/java/vtk6.jar \
   vtkGDCMImageReader.java

in the correct sub directory terminates with: 
----
[wrote SimpleFileObject[/home/gerddie/Debian/debian-med/build-
area/gdcm-2.8.4/obj-x86_64-linux-
gnu/Utilities/VTK/java/vtk/vtkGDCMImageReader.class]]
[total 1308ms]
An exception has occurred 
...
---

The file vtkGDCMImageReader.class is written and has a non-zero size. 

Running javac with "strace -f" doesn't show any strange file access
close to the point when the exception is raised.