Bug#1057523: libusb-java: FTBFS with default Java 21

Vladimir Petko vpa1977 at gmail.com
Tue Dec 5 21:06:12 GMT 2023


Source: libusb-java
Version: 0.8+ztex20090101-9build1
Severity: important
Tags: ftbfs
User: debian-java at lists.debian.org
Usertags: default-java21

Dear Maintainers,

The package libusb-java ftbfs with default Java 21.
The relevant part of the build log:
---------------
make[2]: Entering directory '/<<PKGBUILDDIR>>'
javac -source 7 -target 7 -encoding ISO-8859-1 ch/ntb/usb/Device.java ch/ntb/usb/LibLoader.java ch/ntb/usb/LibusbJava.java ch/ntb/usb/USB.java ch/ntb/usb/USBException.java ch/ntb/usb/USBTimeoutException.java ch/ntb/usb/Usb_Bus.java ch/ntb/usb/Usb_Config_Descriptor.java ch/ntb/usb/Usb_Descriptor.java ch/ntb/usb/Usb_Device.java ch/ntb/usb/Usb_Device_Descriptor.java ch/ntb/usb/Usb_Endpoint_Descriptor.java ch/ntb/usb/Usb_Interface.java ch/ntb/usb/Usb_Interface_Descriptor.java ch/ntb/usb/Utils.java ch/ntb/usb/logger/LogUtil.java
warning: [options] bootstrap class path not set in conjunction with -source 7
error: Source option 7 is no longer supported. Use 8 or later.
error: Target option 7 is no longer supported. Use 8 or later.
make[2]: *** [Makefile:91: classes.made] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:22: override_dh_auto_build-indep] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2023-12-04T10:20:45Z
---------------


-- System Information:
Debian Release: trixie/sid
  APT prefers mantic-updates
  APT policy: (500, 'mantic-updates'), (500, 'mantic-security'), (500, 'mantic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-13-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the pkg-java-maintainers mailing list