Source: vtk9
Severity: important
Tags: ftbfs sid bookworm
User: debian-j...@lists.debian.org
Usertags: default-java17

vtk9 fails to build with OpenJDK 17 because it invokes javac with
the source/target options set to 6. Since OpenJDK 12 the minimum
version supported is 7.

  make[4]: Entering directory '/<<PKGBUILDDIR>>/debian/build'
  [ 15%] Building Java object 
Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/CellType.class
  [ 15%] Building Java object 
Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/vtkReferenceInformation.class
  [ 15%] Building Java object 
Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/vtkJavaGarbageCollector.class
  [ 16%] Building Java object 
Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/vtkJavaMemoryManager.class
  [ 16%] Building Java object 
Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/vtkJavaMemoryManagerImpl.class
  cd /<<PKGBUILDDIR>>/debian/build/Wrapping/Java && /usr/bin/javac -classpath 
/<<PKGBUILDDIR>>/debian/build/Wrapping/Java -source 1.6 -target 1.6 
/<<PKGBUILDDIR>>/debian/build/Wrapping/Java/vtk/CellType.java >
  cd /<<PKGBUILDDIR>>/debian/build/Wrapping/Java && /usr/bin/javac -classpath 
/<<PKGBUILDDIR>>/debian/build/Wrapping/Java -source 1.6 -target 1.6 
/<<PKGBUILDDIR>>/debian/build/Wrapping/Java/vtk/vtkJavaGarbage>
  cd /<<PKGBUILDDIR>>/debian/build/Wrapping/Java && /usr/bin/javac -classpath 
/<<PKGBUILDDIR>>/debian/build/Wrapping/Java -source 1.6 -target 1.6 
/<<PKGBUILDDIR>>/debian/build/Wrapping/Java/vtk/vtkJavaMemoryM>
  cd /<<PKGBUILDDIR>>/debian/build/Wrapping/Java && /usr/bin/javac -classpath 
/<<PKGBUILDDIR>>/debian/build/Wrapping/Java -source 1.6 -target 1.6 
/<<PKGBUILDDIR>>/debian/build/Wrapping/Java/vtk/vtkJavaMemoryM>
  cd /<<PKGBUILDDIR>>/debian/build/Wrapping/Java && /usr/bin/javac -classpath 
/<<PKGBUILDDIR>>/debian/build/Wrapping/Java -source 1.6 -target 1.6 
/<<PKGBUILDDIR>>/debian/build/Wrapping/Java/vtk/vtkReferenceIn>
  [ 16%] Building Java object 
Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/AxesActor.class
  [ 16%] Building Java object 
Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/vtkJavaTesting.class
  cd /<<PKGBUILDDIR>>/debian/build/Wrapping/Java && /usr/bin/javac -classpath 
/<<PKGBUILDDIR>>/debian/build/Wrapping/Java -source 1.6 -target 1.6 
/<<PKGBUILDDIR>>/debian/build/Wrapping/Java/vtk/AxesActor.java>
  cd /<<PKGBUILDDIR>>/debian/build/Wrapping/Java && /usr/bin/javac -classpath 
/<<PKGBUILDDIR>>/debian/build/Wrapping/Java -source 1.6 -target 1.6 
/<<PKGBUILDDIR>>/debian/build/Wrapping/Java/vtk/vtkJavaTesting>
  warning: [options] bootstrap class path not set in conjunction with -source 6
  error: Source option 6 is no longer supported. Use 7 or later.
  error: Target option 6 is no longer supported. Use 7 or later.
  warning: [options] bootstrap class path not set in conjunction with -source 6
  error: Source option 6 is no longer supported. Use 7 or later.
  error: Target option 6 is no longer supported. Use 7 or later.
  warning: [options] bootstrap class path not set in conjunction with -source 6
  warning: [options] bootstrap class path not set in conjunction with -source 6
  error: Source option 6 is no longer supported. Use 7 or later.
  error: Target option 6 is no longer supported. Use 7 or later.
  make[4]: *** [Wrapping/Java/CMakeFiles/vtkjava.dir/build.make:17641: 
Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/vtkJavaMemoryManagerImpl.class] Error 2
  make[4]: *** Waiting for unfinished jobs....
  error: Source option 6 is no longer supported. Use 7 or later.
  error: Target option 6 is no longer supported. Use 7 or later.
  warning: [options] bootstrap class path not set in conjunction with -source 6
  make[4]: *** [Wrapping/Java/CMakeFiles/vtkjava.dir/build.make:17646: 
Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/vtkReferenceInformation.class] Error 2
  error: Source option 6 is no longer supported. Use 7 or later.
  error: Target option 6 is no longer supported. Use 7 or later.
  warning: [options] bootstrap class path not set in conjunction with -source 6
  make[4]: *** [Wrapping/Java/CMakeFiles/vtkjava.dir/build.make:17636: 
Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/vtkJavaMemoryManager.class] Error 2
  error: Source option 6 is no longer supported. Use 7 or later.
  error: Target option 6 is no longer supported. Use 7 or later.
  warning: [options] bootstrap class path not set in conjunction with -source 6
  error: Source option 6 is no longer supported. Use 7 or later.
  error: Target option 6 is no longer supported. Use 7 or later.
  make[4]: *** [Wrapping/Java/CMakeFiles/vtkjava.dir/build.make:17631: 
Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/vtkJavaGarbageCollector.class] Error 2
  make[4]: *** [Wrapping/Java/CMakeFiles/vtkjava.dir/build.make:17651: 
Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/AxesActor.class] Error 2
  make[4]: *** [Wrapping/Java/CMakeFiles/vtkjava.dir/build.make:17626: 
Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/CellType.class] Error 2
  make[4]: *** [Wrapping/Java/CMakeFiles/vtkjava.dir/build.make:17656: 
Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/vtkJavaTesting.class] Error 2
  make[4]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'

Reply via email to