Bug#1108575: libejml-java: FTBFS with default Java 25

Vladimir Petko vpa1977 at gmail.com
Tue Jul 1 05:21:37 BST 2025


Source: libejml-java
Version: 0.41+ds-2
Severity: normal
Tags: ftbfs
Usertags: default-java25

Dear Maintainers,

The package libejml-java 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] location of system modules is not set in conjunction with -source 11
  not setting the location of system modules may lead to class files that cannot run on JDK 11
    --release 11 is recommended instead of -source 11 because it sets the location of system modules automatically
main/ejml-ddense/test/org/ejml/dense/row/decomposition/eig/GeneralEigenDecompositionCheck_DDRM.java:405: error: cannot find symbol
                assertFalse( Double.isNaN(v.getReal() ));
                                           ^
  symbol:   method getReal()
  location: variable v of type Complex_F64
main/ejml-ddense/test/org/ejml/dense/row/decomposition/eig/GeneralEigenDecompositionCheck_DDRM.java:408: error: cannot find symbol
                else if( Math.abs(v.getImaginary()) < 10*UtilEjml.EPS)
                                   ^
  symbol:   method getImaginary()
  location: variable v of type Complex_F64
main/ejml-ddense/test/org/ejml/dense/row/decomposition/eig/GeneralEigenDecompositionCheck_DDRM.java:526: error: cannot find symbol
                DEigenpair p = EigenOps_DDRM.computeEigenVector(A,c.getReal());
                                                                   ^
  symbol:   method getReal()
  location: variable c of type Complex_F64
main/ejml-ddense/test/org/ejml/dense/row/decomposition/eig/GeneralEigenDecompositionCheck_DDRM.java:530: error: cannot find symbol
                    CommonOps_DDRM.scale(c.getReal(),p.vector,LV);
                                          ^
  symbol:   method getReal()
  location: variable c of type Complex_F64
main/ejml-ddense/src/org/ejml/dense/row/decomposition/eig/watched/WatchedDoubleStepQREigenvector_DDRM.java:274: error: cannot find symbol
                    implicit.performImplicitSingleStep(x1, x2, a.getReal());
                                                                ^
  symbol:   method getReal()
  location: variable a of type Complex_F64
main/ejml-ddense/src/org/ejml/dense/row/MatrixFeatures_DDRM.java:151: error: cannot find symbol
            if (v.getReal() < 0)
                 ^
  symbol:   method getReal()
  location: variable v of type Complex_F64
main/ejml-cdense/test/org/ejml/dense/row/TestCommonOps_CDRM.java:125: error: cannot find symbol
                assertEquals(input.get(i, j), a.getReal(), UtilEjml.TEST_F32);
                                               ^
  symbol:   method getReal()
  location: variable a of type Complex_F32
main/ejml-cdense/test/org/ejml/dense/row/TestCommonOps_CDRM.java:126: error: cannot find symbol
                assertEquals(0, a.getImaginary(), UtilEjml.TEST_F32);
                                 ^
  symbol:   method getImaginary()
  location: variable a of type Complex_F32
main/ejml-cdense/test/org/ejml/dense/row/TestCommonOps_CDRM.java:144: error: cannot find symbol
                assertEquals(a.getReal(), output.get(i, j), UtilEjml.TEST_F32);
                              ^
  symbol:   method getReal()
  location: variable a of type Complex_F32
main/ejml-cdense/test/org/ejml/dense/row/TestCommonOps_CDRM.java:162: error: cannot find symbol
                assertEquals(a.getImaginary(), output.get(i, j), UtilEjml.TEST_F32);
                              ^
  symbol:   method getImaginary()
  location: variable a of type Complex_F32
main/ejml-zdense/test/org/ejml/dense/row/TestCommonOps_ZDRM.java:123: error: cannot find symbol
                assertEquals(input.get(i, j), a.getReal(), UtilEjml.TEST_F64);
                                               ^
  symbol:   method getReal()
  location: variable a of type Complex_F64
main/ejml-zdense/test/org/ejml/dense/row/TestCommonOps_ZDRM.java:124: error: cannot find symbol
                assertEquals(0, a.getImaginary(), UtilEjml.TEST_F64);
                                 ^
  symbol:   method getImaginary()
  location: variable a of type Complex_F64
main/ejml-zdense/test/org/ejml/dense/row/TestCommonOps_ZDRM.java:142: error: cannot find symbol
                assertEquals(a.getReal(), output.get(i, j), UtilEjml.TEST_F64);
                              ^
  symbol:   method getReal()
  location: variable a of type Complex_F64
main/ejml-zdense/test/org/ejml/dense/row/TestCommonOps_ZDRM.java:160: error: cannot find symbol
                assertEquals(a.getImaginary(), output.get(i, j), UtilEjml.TEST_F64);
                              ^
  symbol:   method getImaginary()
  location: variable a of type Complex_F64
main/ejml-fdense/test/org/ejml/dense/row/decomposition/eig/GeneralEigenDecompositionCheck_FDRM.java:407: error: cannot find symbol
                assertFalse( Float.isNaN(v.getReal() ));
                                          ^
  symbol:   method getReal()
  location: variable v of type Complex_F32
main/ejml-fdense/test/org/ejml/dense/row/decomposition/eig/GeneralEigenDecompositionCheck_FDRM.java:410: error: cannot find symbol
                else if( Math.abs(v.getImaginary()) < 10*UtilEjml.F_EPS)
                                   ^
  symbol:   method getImaginary()
  location: variable v of type Complex_F32
main/ejml-fdense/test/org/ejml/dense/row/decomposition/eig/GeneralEigenDecompositionCheck_FDRM.java:528: error: cannot find symbol
                FEigenpair p = EigenOps_FDRM.computeEigenVector(A,c.getReal());
                                                                   ^
  symbol:   method getReal()
  location: variable c of type Complex_F32
main/ejml-fdense/test/org/ejml/dense/row/decomposition/eig/GeneralEigenDecompositionCheck_FDRM.java:532: error: cannot find symbol
                    CommonOps_FDRM.scale(c.getReal(),p.vector,LV);
                                          ^
  symbol:   method getReal()
  location: variable c of type Complex_F32
main/ejml-fdense/src/org/ejml/dense/row/decomposition/eig/watched/WatchedDoubleStepQREigenvector_FDRM.java:276: error: cannot find symbol
                    implicit.performImplicitSingleStep(x1, x2, a.getReal());
                                                                ^
  symbol:   method getReal()
  location: variable a of type Complex_F32
main/ejml-fdense/src/org/ejml/dense/row/MatrixFeatures_FDRM.java:153: error: cannot find symbol
            if (v.getReal() < 0)
                 ^
  symbol:   method getReal()
  location: variable v of type Complex_F32
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.
20 errors
1 warning
jh_build: error: find main -name '*.java' -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp /usr/share/java/auto64fto32f.jar:/usr/share/java/geronimo-annotation-1.3-spec.jar:/usr/share/java/jsr305.jar:/usr/share/java/junit-jupiter-api.jar:/usr/share/java/junit-jupiter-params.jar:/usr/share/java/lombok.jar:/usr/share/java/org.jetbrains.annotations-common.jar:debian/_jh_build.ejml:debian/_jh_build.ejml -d debian/_jh_build.ejml -source 11 -encoding ISO8859-1  returned exit code 123
make[1]: *** [debian/rules:20: override_dh_auto_build] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-06-11T20:24:14Z

Finished
--------
---------------


-- 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 pkg-java-maintainers mailing list