#1152557 jeuclid: FTBFS: [javac] /<<PKGBUILDDIR>>/jeuclid-core/src/main/java/net/sourceforge/jeuclid/elements/generic/DocumentElement.java:52: error: cannot access XPathEvaluator

#1152557#5
Date:
2026-10-30 11:22:39 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202610/

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 cannot 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:jeuclid, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
    [javac]   not setting the bootstrap class path may lead to class files that cannot run on JDK 8
    [javac]     --release 8 is recommended instead of -source 8 -target 8 because it sets the bootstrap class path automatically
    [javac] warning: [options] source value 8 is obsolete and will be removed in a future release
    [javac] warning: [options] target 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>>/jeuclid-core/src/main/java/net/sourceforge/jeuclid/elements/generic/DocumentElement.java:52: error: cannot access XPathEvaluator
    [javac] public final class DocumentElement extends GenericDocument implements
    [javac]                                            ^
    [javac]   class file for org.w3c.dom.xpath.XPathEvaluator not found
    [javac] /<<PKGBUILDDIR>>/jeuclid-core/src/main/java/net/sourceforge/jeuclid/parser/Parser.java:335: warning: [deprecation] getId() in Thread has been deprecated
    [javac]         final long id = Thread.currentThread().getId();
    [javac]                                               ^
    [javac] /<<PKGBUILDDIR>>/jeuclid-core/src/main/java/net/sourceforge/jeuclid/swing/JMathComponent.java:542: warning: [deprecation] newInstance() in Class has been deprecated
    [javac]                                 .newInstance());
    [javac]                                 ^
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in class Class
    [javac] 1 error
    [javac] 6 warnings

BUILD FAILED
/<<PKGBUILDDIR>>/debian/build.xml:131: Compile failed; see the compiler error output for details.

Total time: 2 seconds
dh_auto_build: error: ant -Duser.name debian -f debian/build.xml compile-core compile-mathviewer compile-cli compile-fop returned exit code 1
make[1]: *** [debian/rules:9: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------