Bug#906369: jeuclid: FTBFS in buster/sid (error: cannot find symbol CustomEvent)

Santiago Vila sanvila at debian.org
Fri Aug 17 12:20:07 BST 2018


Package: src:jeuclid
Version: 3.1.9-4
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
test -x debian/rules
mkdir -p "."
if [ -d jeuclid-testsuite ]; then \
  echo "You are shipping non-free code!"; \
  exit 1; \
fi
cd . && /usr/lib/jvm/default-java/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/junit.jar:/usr/share/java/commons-lang.jar:/usr/share/java/commons-cli.jar:/usr/share/java/fop.jar:/usr/share/java/jcip.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true -buildfile /<<PKGBUILDDIR>>/debian/build.xml compile-core compile-mathviewer compile-cli compile-fop
Buildfile: /<<PKGBUILDDIR>>/debian/build.xml

init:
    [mkdir] Created dir: /<<PKGBUILDDIR>>/target
     [echo] ------------------- jeuclid ----------------
     [echo] Apache Ant(TM) version 1.10.5 compiled on July 16 2018
     [echo] VM: 10.0.2+13-Debian-1, Oracle Corporation
     [echo] JAVA_HOME: ${env.JAVA_HOME}
     [echo] ANT Support PRESENT
     [echo] Batik Support PRESENT
     [echo] commons-logging Support PRESENT
     [echo] xml-commons-external Support PRESENT
     [echo] xmlgraphics-commons Support PRESENT
     [echo] commons-cli Support PRESENT
     [echo] commons-lang Support PRESENT

compile-core:
    [mkdir] Created dir: /<<PKGBUILDDIR>>/jeuclid-core/target/classes
    [javac] /<<PKGBUILDDIR>>/debian/build.xml:127: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Using javac -source 1.5 is no longer supported, switching to 7
    [javac] Using javac -target 1.5 is no longer supported, switching to 7
    [javac] Compiling 203 source files to /<<PKGBUILDDIR>>/jeuclid-core/target/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 7
    [javac] /<<PKGBUILDDIR>>/jeuclid-core/src/main/java/net/sourceforge/jeuclid/elements/presentation/token/Mo.java:50: error: cannot find symbol
    [javac] import org.w3c.dom.events.CustomEvent;
    [javac]                          ^
    [javac]   symbol:   class CustomEvent
    [javac]   location: package org.w3c.dom.events
    [javac] /<<PKGBUILDDIR>>/jeuclid-core/src/main/java/net/sourceforge/jeuclid/elements/presentation/token/Mo.java:316: error: cannot find symbol
    [javac]             final CustomEvent evt = new DOMCustomEvent();
    [javac]                   ^
    [javac]   symbol:   class CustomEvent
    [javac]   location: class Mo
    [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] 2 errors
    [javac] 2 warnings

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

Total time: 3 seconds
make: *** [/usr/share/cdbs/1/class/ant.mk:39: debian/stamp-ant-build] Error 1
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/jeuclid.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the debian-science-maintainers mailing list