munin: FTBFS with default Java 21

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

Bug Description

The package munin ftbfs with default Java 21.
The relevant part of the build log:
---------------
cd plugins && /usr/bin/perl Build
Building Munin::Plugins
mkdir -p build/plugins/javalib
touch build-java-stamp
javac -sourcepath plugins/javalib -d build/plugins/javalib -g -source 1.7 -target 1.7 -Xlint plugins/javalib/org/munin/plugin/jmx/GCCountGet.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:76: plugins/javalib/org/munin/plugin/jmx/GCCountGet.class] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 "INSTALL=install --strip-program=true" CONFIG=debian/Makefile.config "INSTALL_PLUGINS=auto manual snmpauto contrib" returned exit code 2
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2023-12-04T10:38:51Z
---------------

Related branches

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 munin - 2.0.74-2ubuntu2

---------------
munin (2.0.74-2ubuntu2) noble; urgency=medium

  * d/Makefile.config: use java_compat_level variable provided by
    java-common to adjust --release level to the minimum required by the
    default Java (LP: #2053290).

 -- Vladimir Petko <email address hidden> Thu, 15 Feb 2024 12:04:15 +1300

Changed in munin (Ubuntu):
status: New → Fix Released
Changed in munin (Debian):
status: Unknown → New
Changed in munin (Debian):
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.