#1128666 libgoby-java: FTBFS: [WARNING] /<<PKGBUILDDIR>>/goby-io/../goby-distribution/src/main/java/org/campagnelab/goby/cli/PlantIndels.java:22: error: package org.apache.commons.cli does not exist

#1128666#5
Date:
2026-02-22 11:54:52 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/202602/

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

Thanks.
--------------------------------------------------------------------------------
[...]
qPhred=56
qPhred=57
qPhred=58
qPhred=59
qPhred=60
qPhred=61
NNTGAATGAGACCTA

11:39:34.093 WARN  MessageChunksWriter - Using chunk-size=9
11:39:34.094 WARN  MessageChunksWriter - Using chunk-size=9
Total logical entries written: 39
Total bytes written: 660
Average bytes/logical entry: 16.923077
Number of bits/base 3.6590436
11:39:34.095 WARN  MessageChunksWriter - Using chunk-size=9
Total logical entries written: 39
Total bytes written: 685
Average bytes/logical entry: 17.564102
Number of bits/base 3.797644
11:39:34.098 WARN  MessageChunksWriter - Using chunk-size=9
Total logical entries written: 39
Total bytes written: 660
Average bytes/logical entry: 16.923077
Number of bits/base 3.6590436
11:39:34.111 INFO  TestPostBarcodeMatcher - Num matches = 200, Num Ambiguous = 0, Num no matches = 0
11:39:34.111 INFO  TestPostBarcodeMatcher - Time to parse 8 million reads 0 seconds
[ERROR] Tests run: 512, Failures: 1, Errors: 0, Skipped: 46, Time elapsed: 36.363 s <<< FAILURE! - in TestSuite
[ERROR] testTooManyHits on testTooManyHits(org.campagnelab.goby.alignments.TestTooManyHits)(org.campagnelab.goby.alignments.TestTooManyHits)  Time elapsed: 0.004 s  <<< FAILURE!
java.io.FileNotFoundException: test-results/alignments/align-101-tmh.tmh (No such file or directory)
	at org.campagnelab.goby.alignments.TestTooManyHits.testTooManyHits(TestTooManyHits.java:36)

[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   TestTooManyHits.testTooManyHits:36 » FileNotFound test-results/alignments/alig...
[INFO]
[ERROR] Tests run: 512, Failures: 1, Errors: 0, Skipped: 46
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Goby Framework 3.3.1:
[INFO]
[INFO] Goby Framework ..................................... SUCCESS [  0.038 s]
[INFO] Goby I/O ........................................... SUCCESS [  4.814 s]
[INFO] Goby Full Distribution ............................. FAILURE [01:10 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:15 min
[INFO] Finished at: 2026-02-22T11:40:04Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.3:test (default-test) on project goby-distribution: There are test failures.
[ERROR]
[ERROR] Please refer to /<<PKGBUILDDIR>>/goby-distribution/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :goby-distribution
dh_auto_test: error: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<BUILDDIR>>/libgoby-java-3.3.1\+dfsg2 -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<BUILDDIR>>/libgoby-java-3.3.1\+dfsg2/debian -Dmaven.repo.local=/<<BUILDDIR>>/libgoby-java-3.3.1\+dfsg2/debian/maven-repo --batch-mode test returned exit code 1
make[1]: *** [debian/rules:22: override_dh_auto_test] 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
--------------------------------------------------------------------------------

#1128666#10
Date:
2026-03-18 19:17:48 UTC
From:
To:
found 1128666 3.3.1+dfsg2-11
tags 1128666 trixie help
thanks

Hi. Now this is happening in trixie as well.

Thanks.

#1128666#19
Date:
2026-04-25 17:00:49 UTC
From:
To:
severity 1128666 important
thanks

I can build this package today, but I get this in the build log
even if the package ends successfully:
dpkg failed to execute successfully
Offline mode. Give up looking for package containing /usr/share/maven-repo/org/rosuda/REngine/REngine
Apr 25, 2026 10:22:21 AM org.debian.maven.packager.DependenciesSolver$ToResolve resolve
SEVERE: Cannot resolve dependencies in /<<PKGBUILDDIR>>/goby-distribution/pom.xml: Dependency not found org.rosuda.REn
gine:REngine:jar:debian
dpkg failed to execute successfully
Offline mode. Give up looking for package containing /usr/share/maven-repo/org/itadaki/bzip2
Apr 25, 2026 10:22:26 AM org.debian.maven.packager.DependenciesSolver$ToResolve resolve
SEVERE: Cannot resolve dependencies in /<<PKGBUILDDIR>>/goby-io/pom.xml: Dependency not found org.itadaki:bzip2:jar:de
bian
ERROR:
goby-distribution/pom.xml: dependency is not packaged in the Maven repository for Debian: org.rosuda.REngine:REngine:d
ebian
goby-io/pom.xml: dependency is not packaged in the Maven repository for Debian: org.itadaki:bzip2:debian


I wonder if this will work at all.

I'm keeping the bug open because it still fails to build in trixie,
maybe if we knew why it builds ok now in unstable, we will be able to
fix it in trixie.

[ Help is still welcome, I'm not a Java person ]

Thanks.