[Debian-med-packaging] Bug#1108589: rdp-classifier: FTBFS with default Java 25

Vladimir Petko vpa1977 at gmail.com
Tue Jul 1 05:24:34 BST 2025


Source: rdp-classifier
Version: 2.10.2-7
Severity: normal
Tags: ftbfs
Usertags: default-java25

Dear Maintainers,

The package rdp-classifier ftbfs with default Java 25.
The relevant part of the build log:
---------------
jh_build: warning: Java machine does not support --release 7, using --release 8
warning: [options] bootstrap class path is not set in conjunction with -source 8
  not setting the bootstrap class path may lead to class files that cannot run on JDK 8
    --release 8 is recommended instead of -source 8 -target 8 because it sets the bootstrap class path automatically
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
src/edu/msu/cme/rdp/classifier/train/validation/distance/BoxPlotUtils.java:28: error: cannot find symbol
import org.jfree.chart.ChartUtilities;
                      ^
  symbol:   class ChartUtilities
  location: package org.jfree.chart
src/edu/msu/cme/rdp/classifier/train/validation/distance/TaxaSimilarityMain.java:48: error: cannot find symbol
import org.jfree.chart.ChartUtilities;
                      ^
  symbol:   class ChartUtilities
  location: package org.jfree.chart
src/edu/msu/cme/rdp/classifier/comparison/Ztable.java:65: warning: [removal] Double(double) in Double has been deprecated and marked for removal
                    zHash.put( initial_value + k, new Double(pvalue));
                                                  ^
src/edu/msu/cme/rdp/classifier/train/validation/distance/BoxPlotUtils.java:96: error: cannot find symbol
        renderer.setBaseLegendTextFont(lableFont);
                ^
  symbol:   method setBaseLegendTextFont(Font)
  location: variable renderer of type BoxAndWhiskerRenderer
src/edu/msu/cme/rdp/classifier/train/validation/distance/BoxPlotUtils.java:97: error: cannot find symbol
        renderer.setStroke(new BasicStroke( 5.0f ));
                ^
  symbol:   method setStroke(BasicStroke)
  location: variable renderer of type BoxAndWhiskerRenderer
src/edu/msu/cme/rdp/classifier/train/validation/distance/BoxPlotUtils.java:103: error: cannot find symbol
        ChartUtilities.writeScaledChartAsPNG(outStream, boxchart, 800, 1000, 3, 3);
        ^
  symbol:   variable ChartUtilities
  location: class BoxPlotUtils
src/edu/msu/cme/rdp/classifier/train/validation/distance/TaxaSimilarityMain.java:325: error: cannot find symbol
        ((XYPlot) chart.getPlot()).getRenderer().setStroke( new BasicStroke( 2.0f ));
                                                ^
  symbol:   method setStroke(BasicStroke)
  location: interface XYItemRenderer
src/edu/msu/cme/rdp/classifier/train/validation/distance/TaxaSimilarityMain.java:335: error: cannot find symbol
        ChartUtilities.writeScaledChartAsPNG(new PrintStream(new File(outdir, plotTitle + ".linechart.png")), chart, 800, 1000, 3, 3);
        ^
  symbol:   variable ChartUtilities
  location: class TaxaSimilarityMain
src/edu/msu/cme/rdp/classifier/train/validation/crossvalidate/CrossValidateMain.java:98: warning: [removal] Integer(String) in Integer has been deprecated and marked for removal
;            	partialLength = new Integer(line.getOptionValue(LENGTH_SHORT_OPT));
             	                ^
src/edu/msu/cme/rdp/classifier/train/TreeFactory.java:100: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
                taxidMap.put(new Integer(taxid), tax);
                             ^
src/edu/msu/cme/rdp/classifier/train/TreeFactory.java:104: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
                    existCount = new Integer(0);
                                 ^
src/edu/msu/cme/rdp/classifier/train/TreeFactory.java:207: warning: [removal] Integer(String) in Integer has been deprecated and marked for removal
        Taxonomy tax = this.taxidMap.get(new Integer((String) pSeq.getAncestors().get(0)));
                                         ^
src/edu/msu/cme/rdp/classifier/train/TreeFactory.java:214: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
            tax = this.taxidMap.get(new Integer(tax.getParentID()));
                                    ^
src/edu/msu/cme/rdp/multicompare/MCSample.java:116: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
            dupCountTable.put(dupSeqList[0], new Integer(dupSeqList.length));
                                             ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
7 errors
11 warnings
jh_build: error: find src -name '*.java' -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp /usr/share/java/junit.jar:/usr/share/java/commons-cli.jar:/usr/share/java/rdp-alignment.jar:/usr/share/java/rdp-taxonomy-tree.jar:/usr/share/java/jfreechart.jar:debian/_jh_build.rdp_classifier -d debian/_jh_build.rdp_classifier -encoding ISO8859-1 -source 8 -target 8  returned exit code 123
make[1]: *** [debian/rules:13: override_dh_auto_build] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
---------------


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

Kernel: Linux 6.14.0-22-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 Debian-med-packaging mailing list