Bug#1011560: rxtx: FTBFS with OpenJDK 17 due to javadoc errors

Emmanuel Bourg ebourg at apache.org
Tue May 24 22:59:09 BST 2022


Source: rxtx
Version: 2.2pre2+dfsg1-2
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17


rxtx fails to build with OpenJDK 17 due to a javadoc error.
The javadoc should be removed from librxtx-java anyway.


  /usr/bin/make docs
  make[2]: Entering directory '/<<PKGBUILDDIR>>'
  mkdir api
  cd api && /usr/lib/jvm/java-17-openjdk-amd64/bin/javadoc /<<PKGBUILDDIR>>/./src/gnu/io/CommDriver.java /<<PKGBUILDDIR>>/./src/gnu/io/CommPort.java /<<PKGBUILDDIR>>/./src/gnu/io/CommPortEnumerator.java /<<PKG
  BUILDDIR>>/./src/gnu/io/CommPortIdentifier.java /<<PKGBUILDDIR>>/./src/gnu/io/CommPortOwnershipListener.java /<<PKGBUILDDIR>>/./src/gnu/io/Configure.java /<<PKGBUILDDIR>>/./src/gnu/io/I2C.java /<<PKGBUILDDIR
  >>/./src/gnu/io/I2CPort.java /<<PKGBUILDDIR>>/./src/gnu/io/I2CPortEvent.java /<<PKGBUILDDIR>>/./src/gnu/io/I2CPortEventListener.java /<<PKGBUILDDIR>>/./src/gnu/io/LPRPort.java /<<PKGBUILDDIR>>/./src/gnu/io/N
  oSuchPortException.java /<<PKGBUILDDIR>>/./src/gnu/io/ParallelPort.java /<<PKGBUILDDIR>>/./src/gnu/io/ParallelPortEvent.java /<<PKGBUILDDIR>>/./src/gnu/io/ParallelPortEventListener.java /<<PKGBUILDDIR>>/./sr
  c/gnu/io/PortInUseException.java /<<PKGBUILDDIR>>/./src/gnu/io/RS485.java /<<PKGBUILDDIR>>/./src/gnu/io/RS485Port.java /<<PKGBUILDDIR>>/./src/gnu/io/RS485PortEvent.java /<<PKGBUILDDIR>>/./src/gnu/io/RS485Por
  tEventListener.java /<<PKGBUILDDIR>>/./src/gnu/io/RXTXCommDriver.java /<<PKGBUILDDIR>>/./src/gnu/io/RXTXPort.java /<<PKGBUILDDIR>>/./src/gnu/io/RXTXVersion.java /<<PKGBUILDDIR>>/./src/gnu/io/Raw.java /<<PKGB
  UILDDIR>>/./src/gnu/io/RawPort.java /<<PKGBUILDDIR>>/./src/gnu/io/RawPortEvent.java /<<PKGBUILDDIR>>/./src/gnu/io/RawPortEventListener.java /<<PKGBUILDDIR>>/./src/gnu/io/SerialPort.java /<<PKGBUILDDIR>>/./sr
  c/gnu/io/SerialPortEvent.java /<<PKGBUILDDIR>>/./src/gnu/io/SerialPortEventListener.java /<<PKGBUILDDIR>>/./src/gnu/io/UnSupportedLoggerException.java /<<PKGBUILDDIR>>/./src/gnu/io/UnsupportedCommOperationEx
  ception.java /<<PKGBUILDDIR>>/./src/gnu/io/Zystem.java
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/CommDriver.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/CommPort.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/CommPortEnumerator.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/CommPortIdentifier.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/CommPortOwnershipListener.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/Configure.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/I2C.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/I2CPort.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/I2CPortEvent.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/I2CPortEventListener.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/LPRPort.java...
  /<<PKGBUILDDIR>>/./src/gnu/io/LPRPort.java:375: error: invalid use of a restricted identifier 'yield'
                          yield();
                          ^
    (to invoke a method called yield, qualify the yield with a receiver or type name)
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/NoSuchPortException.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/ParallelPort.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/ParallelPortEvent.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/ParallelPortEventListener.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/PortInUseException.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/RS485.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/RS485Port.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/RS485PortEvent.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/RS485PortEventListener.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/RXTXCommDriver.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/RXTXPort.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/RXTXVersion.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/Raw.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/RawPort.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/RawPortEvent.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/RawPortEventListener.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/SerialPort.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/SerialPortEvent.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/SerialPortEventListener.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/UnSupportedLoggerException.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/UnsupportedCommOperationException.java...
  Loading source file /<<PKGBUILDDIR>>/./src/gnu/io/Zystem.java...
  1 error
  make[2]: *** [Makefile:871: docs] Error 1
  make[2]: Leaving directory '/<<PKGBUILDDIR>>'
  make[1]: *** [debian/rules:11: override_dh_auto_build] Error 2
  make[1]: Leaving directory '/<<PKGBUILDDIR>>'
  make: *** [debian/rules:3: build] Error 2
  dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the pkg-java-maintainers mailing list