Bug#1099222: cronometer: FTBFS: error: package org.jfree.ui does not exist
Santiago Vila
sanvila at debian.org
Sat Mar 1 21:00:46 GMT 2025
Package: src:cronometer
Version: 0.9.9+dfsg1-1
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --with javahelper
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -Rf bin lib/cronometer.jar lib/docs.jar
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
jh_clean
Duplicate specification "unlink|u" for option "u"
dh_clean
debian/rules binary
dh binary --with javahelper
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
jh_linkjars
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p bin/lib
cp -a src/img bin/
cp -a src/docs bin/
cp src/menubar.xml src/nutrients.xml bin/
ant docs.jar
Buildfile: /<<PKGBUILDDIR>>/build.xml
docs.jar:
[jar] Building jar: /<<PKGBUILDDIR>>/lib/docs.jar
BUILD SUCCESSFUL
Total time: 0 seconds
cp lib/*.jar bin/lib
dh_auto_build
ant -Duser.name debian
Buildfile: /<<PKGBUILDDIR>>/build.xml
compile:
[javac] /<<PKGBUILDDIR>>/build.xml:26: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Using javac -source 1.4 is no longer supported, switching to 8
[javac] Compiling 174 source files to /<<PKGBUILDDIR>>/bin
[javac] warning: [options] bootstrap class path not set in conjunction with -source 8
[javac] warning: [options] source value 8 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/metrics/BiomarkerPanel.java:21: error: package org.jfree.ui does not exist
[javac] import org.jfree.ui.RectangleInsets;
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/metrics/MetricEditorOld.java:11: error: package org.jfree.ui does not exist
[javac] import org.jfree.ui.RefineryUtilities;
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/metrics/MetricChart.java:22: error: package org.jfree.ui does not exist
[javac] import org.jfree.ui.RectangleInsets;
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/metrics/BiomarkerPanel.java:89: error: no suitable constructor found for TimeSeries(String,Class<Minute>)
[javac] private TimeSeries actualData = new TimeSeries("Weight", Minute.class);
[javac] ^
[javac] constructor TimeSeries.TimeSeries(Comparable) is not applicable
[javac] (actual and formal argument lists differ in length)
[javac] constructor TimeSeries.TimeSeries(Comparable,String,String) is not applicable
[javac] (actual and formal argument lists differ in length)
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/metrics/BiomarkerPanel.java:126: error: cannot find symbol
[javac] plot.setAxisOffset(new RectangleInsets(5.0, 5.0, 5.0, 5.0));
[javac] ^
[javac] symbol: class RectangleInsets
[javac] location: class BiomarkerPanel
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/metrics/BiomarkerPanel.java:133: error: cannot find symbol
[javac] renderer.setBaseShapesVisible(true);
[javac] ^
[javac] symbol: method setBaseShapesVisible(boolean)
[javac] location: variable renderer of type XYLineAndShapeRenderer
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/metrics/BiomarkerPanel.java:134: error: cannot find symbol
[javac] renderer.setBaseShapesFilled(true);
[javac] ^
[javac] symbol: method setBaseShapesFilled(boolean)
[javac] location: variable renderer of type XYLineAndShapeRenderer
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/foods/Serving.java:286: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] row.setValue("grams", new Double(grams));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/user/User.java:368: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
[javac] username = DEFAULT_USERNAME + " " + (new Integer(i++)).toString();
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/exercise/Exercise.java:137: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] row.setValue("minutes", new Double(minutes));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/exercise/Exercise.java:141: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] row.setValue("calories", new Double(calories));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/util/XMLNode.java:170: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
[javac] sb.append(new Integer(ci).toString());
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/metrics/Metric.java:68: warning: [removal] Double(String) in Double has been deprecated and marked for removal
[javac] this.value = new Double(value);
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/metrics/MetricEditorOld.java:105: error: cannot find symbol
[javac] RefineryUtilities.centerFrameOnScreen(chart);
[javac] ^
[javac] symbol: variable RefineryUtilities
[javac] location: class MetricEditorOld
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/datasource/USDAImport/USDAImporter.java:213: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] omega_619.put(fd, new Double(amount));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/datasource/USDAImport/USDAImporter.java:215: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] omega_685.put(fd, new Double(amount));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/datasource/USDAImport/USDAImporter.java:217: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] omega_851.put(fd, new Double(amount));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/datasource/USDAImport/USDAImporter.java:219: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] omega_618.put(fd, new Double(amount));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/datasource/USDAImport/USDAImporter.java:221: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] omega_675.put(fd, new Double(amount));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/foods/MeasureEditor.java:259: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] return new Double(w.getAmount());
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/foods/MeasureEditor.java:263: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] return new Double(w.getGrams());
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/foods/NutrientTableModel.java:78: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] return new Double(val);
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/foods/NutrientTableModel.java:84: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
[javac] return new Integer((int)(100*val/RDI));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/metrics/MetricChart.java:81: error: no suitable constructor found for TimeSeries(String,Class<Day>)
[javac] actualData = new TimeSeries(metricName, Day.class);
[javac] ^
[javac] constructor TimeSeries.TimeSeries(Comparable) is not applicable
[javac] (actual and formal argument lists differ in length)
[javac] constructor TimeSeries.TimeSeries(Comparable,String,String) is not applicable
[javac] (actual and formal argument lists differ in length)
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/metrics/MetricChart.java:135: error: cannot find symbol
[javac] plot.setAxisOffset(new RectangleInsets(5.0, 5.0, 5.0, 5.0));
[javac] ^
[javac] symbol: class RectangleInsets
[javac] location: class MetricChart
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/metrics/MetricChart.java:142: error: cannot find symbol
[javac] renderer.setBaseShapesVisible(true);
[javac] ^
[javac] symbol: method setBaseShapesVisible(boolean)
[javac] location: variable renderer of type XYLineAndShapeRenderer
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/metrics/MetricChart.java:143: error: cannot find symbol
[javac] renderer.setBaseShapesFilled(true);
[javac] ^
[javac] symbol: method setBaseShapesFilled(boolean)
[javac] location: variable renderer of type XYLineAndShapeRenderer
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/targets/NutrientInfoPanel.java:122: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] getMinModel().setValue(new Double(model.getTargetMinimum(UserManager.getCurrentUser(), ni)));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/targets/NutrientInfoPanel.java:123: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] getMaxModel().setValue(new Double(model.getTargetMaximum(UserManager.getCurrentUser(), ni)));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/targets/NutrientInfoPanel.java:134: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] maxModel.setMinimum(new Double(0));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/targets/NutrientInfoPanel.java:135: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] maxModel.setValue(new Double(target.getMax()));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/targets/NutrientInfoPanel.java:143: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] minModel.setMinimum(new Double(0));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/targets/NutrientInfoPanel.java:144: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] minModel.setValue(new Double(target.getMin()));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/targets/TargetEditor.java:235: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
[javac] getProteinSpinner().setValue(new Integer(protein));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/targets/TargetEditor.java:236: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
[javac] getCarbSpinner().setValue(new Integer(carbs));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/targets/TargetEditor.java:237: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
[javac] getFatSpinner().setValue(new Integer(fat));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/targets/TargetEditorTableModel.java:79: warning: [removal] Boolean(boolean) in Boolean has been deprecated and marked for removal
[javac] return new Boolean(user.isTracking(ni));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/targets/TargetEditorTableModel.java:83: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] return new Double(target.getMin());
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/targets/TargetEditorTableModel.java:85: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] return new Double(target.getMax());
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/user/UserSettingsDialog.java:200: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] Double height = new Double(currentUser.getHeightInCM());
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/user/UserSettingsDialog.java:213: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] heightField.setValue(new Double(currentUser.getHeightInCM() / CM_PER_INCH));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/user/UserSettingsDialog.java:233: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] Double weight = new Double(currentUser.getWeightInKilograms());
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/cron/user/UserSettingsDialog.java:246: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] weightField.setValue(new Double(currentUser.getWeightInKilograms() * POUNDS_PER_KILO));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/gui/JYearChooser.java:21: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
[javac] setValue(new Integer(i));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/gui/JYearChooser.java:25: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
[javac] numberModel.setMinimum(new Integer(i));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/gui/JYearChooser.java:29: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
[javac] numberModel.setMaximum(new Integer(i));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/sql/SQLColumnSet.java:45: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
[javac] terms.add(new Integer(i));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/sql/SQLColumnSet.java:50: warning: [removal] Boolean(boolean) in Boolean has been deprecated and marked for removal
[javac] terms.add(new Boolean(b));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/sql/SQLColumnSet.java:55: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] terms.add(new Double(d));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/sql/SQLColumnSet.java:60: warning: [removal] Long(long) in Long has been deprecated and marked for removal
[javac] terms.add(new Long(d));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/sql/SQLColumnSet.java:65: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] terms.add(new Double(f));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/sql/SQLColumnSet.java:70: warning: [removal] Character(char) in Character has been deprecated and marked for removal
[javac] terms.add(new Character(c));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/sql/SQLSelectableStatement.java:58: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
[javac] addWhere(name, op, new Integer(val));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/sql/SQLSelectableStatement.java:66: warning: [removal] Double(double) in Double has been deprecated and marked for removal
[javac] addWhere(name, op, new Double(val));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/ca/spaz/sql/SQLSelectableStatement.java:74: warning: [removal] Character(char) in Character has been deprecated and marked for removal
[javac] addWhere(name, op, new Character(val));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/se/datadosen/component/RiverLayout.java:453: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
[javac] if (num >= tabs.size()) tabs.add(num, new Integer(xpos));
[javac] ^
[javac] /<<PKGBUILDDIR>>/src/se/datadosen/component/RiverLayout.java:459: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
[javac] tabs.set(i, new Integer(getTab(i) + delta));
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 12 errors
[javac] 48 warnings
BUILD FAILED
/<<PKGBUILDDIR>>/build.xml:26: Compile failed; see the compiler error output for details.
Total time: 1 second
dh_auto_build: error: ant -Duser.name debian returned exit code 1
make[1]: *** [debian/rules:16: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202503/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:cronometer, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the pkg-java-maintainers
mailing list