libsvm: FTBFS with default Java 21

Bug #2054242 reported by Vladimir Petko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libsvm (Debian)
New
Unknown
libsvm (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The package libsvm ftbfs with default Java 21.
The relevant part of the build log:
---------------
m4 libsvm/svm.m4 > libsvm/svm.java
javac -target 1.7 -source 1.7 libsvm/svm.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[3]: *** [Makefile:17: libsvm/svm.class] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/java'
make[2]: *** [debian/rules:56: override_dh_auto_build-indep] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:39: build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:39: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2023-12-04T10:19:30Z
---------------

Related branches

Changed in libsvm (Debian):
status: Unknown → New
Revision history for this message
Vladimir Petko (vpa1977) wrote :

piuparts install/upgrade/purge test (pass)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libsvm - 3.24+ds-6ubuntu2

---------------
libsvm (3.24+ds-6ubuntu2) noble; urgency=medium

  * d/control: add java-common to Build-Depends to resolve build
    failure on platforms other than amd64.

libsvm (3.24+ds-6ubuntu1) noble; urgency=medium

  * d/rules, d/target-source.patch: use java_compat_level variable
    provided by java-common to adjust -source/-target level to the
    minimum required by the default Java (LP: #2054242).

 -- Vladimir Petko <email address hidden> Thu, 22 Feb 2024 16:33:36 +1300

Changed in libsvm (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.