[Debian-astro-maintainers] Bug#1053078: skyview: FTBFS with default Java 21
Vladimir Petko
vpa1977 at gmail.com
Tue Sep 26 23:21:09 BST 2023
Source: skyview
Version: 3.5.6+repack-1
Severity: important
Tags: ftbfs
User: debian-java at lists.debian.org
Usertags: default-java21
X-Debbugs-Cc: vladimir.petko at canonical.com
Dear Maintainers,
The package skyview ftbfs with default Java 21.
The relevant part of the build log:
---------------
debian/rules override_jh_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
jh_build -mskyview.executive.Imager
warning: [options] bootstrap class path not set in conjunction with -source 8
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.
./skyview/util/Utilities.java:347: warning: [removal] Double(double) in Double has been deprecated and marked for removal
str.append(f.format(new Double(value)));
^
./skyview/util/Utilities.java:351: warning: [removal] Double(double) in Double has been deprecated and marked for removal
str.append(f.format(new Double(value)));
^
./skyview/util/Utilities.java:361: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
str.append(f.format(new Integer(deg))+" "+
^
./skyview/util/Utilities.java:362: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
f.format(new Integer(min)));
^
./skyview/util/Utilities.java:371: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
str.append(f.format(new Integer(deg)) + " " +
^
./skyview/util/Utilities.java:372: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
f.format(new Integer(min)) + "." + frac);
^
./skyview/util/Utilities.java:381: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
str.append(f.format(new Integer(deg)) + " " +
^
./skyview/util/Utilities.java:382: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
f.format(new Integer(min)) + " " +
^
./skyview/util/Utilities.java:383: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
f.format(new Integer(sec)));
^
./skyview/util/Utilities.java:397: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
str.append(f.format(new Integer(deg)) + " " +
^
./skyview/util/Utilities.java:398: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
f.format(new Integer(min)) + " " +
^
./skyview/util/Utilities.java:399: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
f.format(new Integer(sec)) + ".");
^
./ij/plugin/GifWriter.java:262: error: finalize() has protected access in Object
m.finalize();
^
./ij/plugin/GifWriter.java:262: warning: [removal] finalize() in Object has been deprecated and marked for removal
m.finalize();
^
./heasarc/db/votable/StreamToJava.java:103: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
return new Integer(dis.readInt());
^
./heasarc/db/votable/StreamToJava.java:105: warning: [removal] Double(double) in Double has been deprecated and marked for removal
return new Double(dis.readDouble());
^
./heasarc/db/votable/StreamToJava.java:107: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
return new Integer(dis.readShort());
^
./heasarc/db/votable/StreamToJava.java:113: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
return new Integer(i);
^
./heasarc/db/votable/StreamToJava.java:115: warning: [removal] Double(double) in Double has been deprecated and marked for removal
return new Double(dis.readFloat());
^
./heasarc/db/votable/StreamToJava.java:117: warning: [removal] Long(long) in Long has been deprecated and marked for removal
return new Long(dis.readLong());
^
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.
1 error
23 warnings
jh_build: error: find ./skyview ./net ./ij ./heasarc -name '*.java' -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp /usr/share/java/jsamp.jar:/usr/share/java/fits.jar:/usr/share/java/ij.jar:/usr/share/java/commons-io.jar:/usr/share/java/commons-math3.jar:/usr/share/java/commons-lang3.jar:debian/_jh_build.skyview -d debian/_jh_build.skyview -encoding ISO8859-1 -source 8 -target 8 returned exit code 123
---------------
-- System Information:
Debian Release: bookworm/sid
APT prefers lunar-updates
APT policy: (500, 'lunar-updates'), (500, 'lunar-security'), (500, 'lunar'), (100, 'lunar-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.2.0-33-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_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-astro-maintainers
mailing list