Bug#1149430: libdsiutils-java: FTBFS: [taskdef] Could not load definitions from resource org/apache/maven/resolver/ant/antlib.xml. It could not be found.
Santiago Vila
sanvila at debian.org
Tue Sep 29 23:19:48 BST 2026
Package: src:libdsiutils-java
Version: 2.7.4+dfsg-1
Severity: serious
Tags: ftbfs forky sid
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/202609/
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:libdsiutils-java, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# The "junit" target, in build.xml, performs the tests.
ant junit
Buildfile: /<<PKGBUILDDIR>>/build.xml
[taskdef] Could not load definitions from resource org/apache/maven/resolver/ant/antlib.xml. It could not be found.
init:
compile-tests:
[javac] Compiling 96 source files to /<<PKGBUILDDIR>>/build
[javac] warning: [path] bad path element "/usr/share/java/xalan.jar": no such file or directory
[javac] warning: [path] bad path element "/usr/share/java/el-api-3.0.jar": no such file or directory
[javac] warning: [path] bad path element "/usr/share/java/commons-lang.jar": no such file or directory
[javac] warning: [path] bad path element "/usr/share/java/commons-beanutils.jar": no such file or directory
[javac] warning: [path] bad path element "/usr/share/java/commons-digester.jar": no such file or directory
[javac] warning: [path] bad path element "/usr/share/java/commons-jexl2.jar": no such file or directory
[javac] warning: [path] bad path element "/usr/share/java/commons-jxpath.jar": no such file or directory
[javac] warning: [path] bad path element "/usr/share/java/commons-vfs2.jar": no such file or directory
[javac] warning: [path] Unexpected file on path: /usr/share/java/java_defaults.mk
[javac] warning: [path] bad path element "/usr/share/java/cglib.jar": no such file or directory
[javac] warning: [path] bad path element "/usr/share/java/ant-debian.jar": no such file or directory
[javac] warning: [path] bad path element "/usr/share/java/ant-launcher-debian.jar": no such file or directory
[javac] warning: [path] bad path element "/usr/share/java/xml-resolver-debian.jar": no such file or directory
[javac] warning: [path] bad path element "/usr/share/java/xercesImpl-debian.jar": no such file or directory
[javac] warning: [path] bad path element "/usr/share/java/xml-apis-1.4-debian.jar": no such file or directory
[javac] warning: [path] bad path element "/usr/share/java/isorelax-debian.jar": no such file or directory
[javac] warning: [path] bad path element "/usr/share/java/relaxngDatatype-debian.jar": no such file or directory
[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>>/test/it/unimi/dsi/parser/BulletParserTest.java:38: warning: [deprecation] Callback in it.unimi.dsi.parser.callback has been deprecated
[javac] import it.unimi.dsi.parser.callback.Callback;
[javac] ^
[javac] /<<PKGBUILDDIR>>/test/it/unimi/dsi/parser/BulletParserTest.java:39: warning: [deprecation] DefaultCallback in it.unimi.dsi.parser.callback has been deprecated
[javac] import it.unimi.dsi.parser.callback.DefaultCallback;
[javac] ^
[javac] /<<PKGBUILDDIR>>/test/it/unimi/dsi/parser/callback/BulletParserCallbackContentHandler.java:31: warning: [deprecation] Attribute in it.unimi.dsi.parser has been deprecated
[javac] import it.unimi.dsi.parser.Attribute;
[javac] ^
[javac] /<<PKGBUILDDIR>>/test/it/unimi/dsi/parser/callback/BulletParserCallbackContentHandler.java:32: warning: [deprecation] BulletParser in it.unimi.dsi.parser has been deprecated
[javac] import it.unimi.dsi.parser.BulletParser;
[javac] ^
[javac] /<<PKGBUILDDIR>>/test/it/unimi/dsi/parser/callback/BulletParserCallbackContentHandler.java:33: warning: [deprecation] Element in it.unimi.dsi.parser has been deprecated
[javac] import it.unimi.dsi.parser.Element;
[javac] ^
[javac] /<<PKGBUILDDIR>>/test/it/unimi/dsi/parser/callback/LinkExtractorTest.java:34: warning: [deprecation] BulletParser in it.unimi.dsi.parser has been deprecated
[javac] import it.unimi.dsi.parser.BulletParser;
[javac] ^
[javac] /<<PKGBUILDDIR>>/test/it/unimi/dsi/parser/callback/TextExtractorTest.java:27: warning: [deprecation] BulletParser in it.unimi.dsi.parser has been deprecated
[javac] import it.unimi.dsi.parser.BulletParser;
[javac] ^
[javac] /<<PKGBUILDDIR>>/test/it/unimi/dsi/io/FileLinesMutableStringIterableTest.java:50: warning: [deprecation] US_ASCII in Charsets has been deprecated
[javac] final OutputStreamWriter outputStreamWriter = new OutputStreamWriter(new FileOutputStream(file), Charsets.US_ASCII);
[javac] ^
[javac] /<<PKGBUILDDIR>>/test/it/unimi/dsi/io/FileLinesMutableStringIterableTest.java:54: warning: [deprecation] US_ASCII in Charsets has been deprecated
[javac] final FileLinesMutableStringIterable fileLinesIterable = new FileLinesMutableStringIterable(file.toString(), Charsets.US_ASCII);
[javac] ^
[javac] /<<PKGBUILDDIR>>/test/it/unimi/dsi/io/FileLinesMutableStringIterableTest.java:78: warning: [deprecation] US_ASCII in Charsets has been deprecated
[javac] final OutputStreamWriter outputStreamWriter = new OutputStreamWriter(gzipOutputStream, Charsets.US_ASCII);
[javac] ^
[javac] /<<PKGBUILDDIR>>/test/it/unimi/dsi/io/FileLinesMutableStringIterableTest.java:82: warning: [deprecation] US_ASCII in Charsets has been deprecated
[javac] final FileLinesMutableStringIterable fileLinesIterable = new FileLinesMutableStringIterable(file.toString(), Charsets.US_ASCII, GZIPInputStream.class);
[javac] ^
[javac] /<<PKGBUILDDIR>>/test/it/unimi/dsi/util/CircularCharArrayBufferTest.java:55: warning: [deprecation] randomAlphanumeric(int) in RandomStringUtils has been deprecated
[javac] System.arraycopy(RandomStringUtils.randomAlphanumeric(c.length).toCharArray(), 0, c, 0, c.length);
[javac] ^
[javac] 32 warnings
junit:
CLASSPATH element /usr/share/java/java_defaults.mk is not a JAR.
[junit] WARNING: multiple versions of ant detected in path for junit
[junit] jar:file:/usr/share/java/ant-1.10.18.jar!/org/apache/tools/ant/Project.class
[junit] and jar:file:/usr/share/java/ant.jar!/org/apache/tools/ant/Project.class
[junit] Running it.unimi.dsi.UtilTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.211 sec
[junit] SLF4J: Class path contains multiple SLF4J bindings.
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/maven3-slf4j-provider-3.9.12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-jcl-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-jdk14-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-nop-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-simple-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
[junit] SLF4J: Actual binding is of type [org.slf4j.impl.MavenSimpleLoggerFactory]
[junit] Runtime.exit(0) logging failed: 'boolean org.slf4j.Logger.isEnabledForLevel(org.slf4j.event.Level)'
[junit] Running it.unimi.dsi.big.util.FrontCodedStringBigListTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.324 sec
[junit] SLF4J: Class path contains multiple SLF4J bindings.
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/maven3-slf4j-provider-3.9.12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-jcl-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-jdk14-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-nop-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-simple-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
[junit] SLF4J: Actual binding is of type [org.slf4j.impl.MavenSimpleLoggerFactory]
[junit] Runtime.exit(0) logging failed: 'boolean org.slf4j.Logger.isEnabledForLevel(org.slf4j.event.Level)'
[junit] Running it.unimi.dsi.big.util.ImmutableBinaryTrieTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.226 sec
[junit] SLF4J: Class path contains multiple SLF4J bindings.
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/maven3-slf4j-provider-3.9.12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-jcl-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-jdk14-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-nop-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-simple-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
[junit] SLF4J: Actual binding is of type [org.slf4j.impl.MavenSimpleLoggerFactory]
[junit] Runtime.exit(0) logging failed: 'boolean org.slf4j.Logger.isEnabledForLevel(org.slf4j.event.Level)'
[junit] Running it.unimi.dsi.big.util.ImmutableExternalPrefixMapTest
[junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.6 sec
[junit] SLF4J: Class path contains multiple SLF4J bindings.
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/maven3-slf4j-provider-3.9.12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-jcl-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-jdk14-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-nop-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-simple-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[junit] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
[junit] SLF4J: Actual binding is of type [org.slf4j.impl.MavenSimpleLoggerFactory]
[junit] Runtime.exit(0) logging failed: 'boolean org.slf4j.Logger.isEnabledForLevel(org.slf4j.event.Level)'
[junit] Running it.unimi.dsi.big.util.LiterallySignedStringMapTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.297 sec
[junit] Runtime.exit(2) logging failed: 'boolean org.slf4j.Logger.isEnabledForLevel(org.slf4j.event.Level)'
BUILD FAILED
/<<PKGBUILDDIR>>/build.xml:208: Test it.unimi.dsi.big.util.LiterallySignedStringMapTest failed
Total time: 11 seconds
make[1]: *** [debian/rules:9: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the pkg-java-maintainers
mailing list