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

lcm 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[3]: Entering directory '/<<PKGBUILDDIR>>/lcm-java'
  chmod 755 lcm-logplayer-gui
  chmod 755 lcm-spy
  mkdir -p /<<PKGBUILDDIR>>/lcm-java/build
  
CLASSPATH=/<<PKGBUILDDIR>>/lcm-java/build:.//<<PKGBUILDDIR>>/lcm-java/build${CLASSPATH:+":$CLASSPATH"}
 /usr/bin/javac -d /<<PKGBUILDDIR>>/lcm-java/build  -source 1.6 -target 1.6
      -classpath /usr/share/java/jchart2d.jar  lcm/logging/LogDiagnostic.java 
lcm/logging/Log.java lcm/logging/JScrubberListener.java
      lcm/logging/LogPlayer.java lcm/logging/JScrubber.java 
lcm/spy/LCMTypeDatabase.java lcm/spy/Spy.java lcm/spy/ObjectPanel.java
      lcm/spy/ZoomableChartScrollWheel.java lcm/spy/ChartData.java 
lcm/spy/SpyPlugin.java lcm/spy/ChannelData.java lcm/lcm/LCM.java 
lcm/lcm/Provider.java
      lcm/lcm/TCPProvider.java lcm/lcm/TCPService.java 
lcm/lcm/LCMSubscriber.java lcm/lcm/LogFileProvider.java 
lcm/lcm/MessageAggregator.java
      lcm/lcm/MemqProvider.java lcm/lcm/UDPMulticastProvider.java 
lcm/lcm/LCMEncodable.java lcm/lcm/LCMDataOutputStream.java 
lcm/lcm/LCMDataInputStream.java
      lcm/lcm/URLParser.java lcm/util/ParameterGUI.java 
lcm/util/BufferedRandomAccessFile.java lcm/util/ColorMapper.java 
lcm/util/ParameterListener.java
      lcm/util/ClassDiscoverer.java lcm/util/TableSorter.java 
lcm/util/JImage.java
  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[3]: *** [Makefile:415: classnoinst.stamp] Error 2
  make[3]: Leaving directory '/<<PKGBUILDDIR>>/lcm-java'

Reply via email to