Package: src:zookeeper
Version: 3.9.5-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/202606/

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

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
py3versions: no X-Python3-Version in control file, using supported versions
dh clean --with javahelper --with python3
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
py3versions: no X-Python3-Version in control file, using supported versions
dh_auto_clean
        bash -c "for dir in \$(find . -name target -type d); do if [ -f \$(echo 
\$dir | sed -e s/target\$/pom.xml/) ]; then rm -Rf \$dir; fi done"
        mh_unpatchpoms -plibzookeeper-java
rm -rf build
find . -name "*.jar" -delete
rm zookeeper-client/zookeeper-client-c/generated/*
rm: cannot remove 'zookeeper-client/zookeeper-client-c/generated/*': No such 
file or directory
make[1]: [debian/rules:94: override_dh_auto_clean] Error 1 (ignored)
[ ! -f zookeeper-client/zookeeper-client-c/Makefile ] || /usr/bin/make -C 
zookeeper-client/zookeeper-client-c distclean

[... snipped ...]

[INFO] 
[INFO] --- source:3.4.0:jar (attach-sources) @ zookeeper-recipes-election ---
[INFO] Building jar: 
/<<PKGBUILDDIR>>/zookeeper-recipes/zookeeper-recipes-election/target/zookeeper-recipes-election-3.9.5-sources.jar
[INFO] 
[INFO] --- javadoc:3.12.0:jar (attach-javadocs) @ zookeeper-recipes-election ---
[INFO] No Javadoc in project. Archive not created.
[INFO] 
[INFO] --- javadoc:3.12.0:jar (default-cli) @ zookeeper-recipes-election ---
[INFO] No Javadoc in project. Archive not created.
[INFO] 
[INFO] ------------< org.apache.zookeeper:zookeeper-recipes-lock >-------------
[INFO] Building Apache ZooKeeper - Recipes - Lock 3.9.5                 [10/17]
[INFO]   from zookeeper-recipes/zookeeper-recipes-lock/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- antrun:3.1.0:run (set-hostname-property) @ zookeeper-recipes-lock ---
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ 
zookeeper-recipes-lock ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, 
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory 
/<<PKGBUILDDIR>>/zookeeper-recipes/zookeeper-recipes-locksrc/main/java/resources
[INFO] 
[INFO] --- compiler:3.13.0:compile (default-compile) @ zookeeper-recipes-lock 
---
[INFO] Recompiling the module because of changed dependency.
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. 
build is platform dependent!
[INFO] Compiling 5 source files with javac [debug release 8] to target/classes
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ 
zookeeper-recipes-lock ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, 
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory 
/<<PKGBUILDDIR>>/zookeeper-recipes/zookeeper-recipes-lock/src/test/resources
[INFO] 
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ 
zookeeper-recipes-lock ---
[INFO] Recompiling the module because of changed dependency.
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. 
build is platform dependent!
[INFO] Compiling 2 source files with javac [debug release 8] to 
target/test-classes
[INFO] 
[INFO] --- surefire:2.22.3:test (default-test) @ zookeeper-recipes-lock ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- jar:3.3.0:jar (default-jar) @ zookeeper-recipes-lock ---
[INFO] Building jar: 
/<<PKGBUILDDIR>>/zookeeper-recipes/zookeeper-recipes-lock/target/zookeeper-recipes-lock-3.9.5.jar
[INFO] 
[INFO] --- jar:3.3.0:test-jar (Jar Tests Package) @ zookeeper-recipes-lock ---
[INFO] Building jar: 
/<<PKGBUILDDIR>>/zookeeper-recipes/zookeeper-recipes-lock/target/zookeeper-recipes-lock-3.9.5-tests.jar
[INFO] 
[INFO] >>> source:3.4.0:jar (attach-sources) > generate-sources @ 
zookeeper-recipes-lock >>>
[INFO] 
[INFO] --- antrun:3.1.0:run (set-hostname-property) @ zookeeper-recipes-lock ---
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] 
[INFO] <<< source:3.4.0:jar (attach-sources) < generate-sources @ 
zookeeper-recipes-lock <<<
[INFO] 
[INFO] 
[INFO] --- source:3.4.0:jar (attach-sources) @ zookeeper-recipes-lock ---
[INFO] Building jar: 
/<<PKGBUILDDIR>>/zookeeper-recipes/zookeeper-recipes-lock/target/zookeeper-recipes-lock-3.9.5-sources.jar
[INFO] 
[INFO] --- javadoc:3.12.0:jar (attach-javadocs) @ zookeeper-recipes-lock ---
[INFO] No Javadoc in project. Archive not created.
[INFO] 
[INFO] --- javadoc:3.12.0:jar (default-cli) @ zookeeper-recipes-lock ---
[INFO] No Javadoc in project. Archive not created.
[INFO] 
[INFO] ------------< org.apache.zookeeper:zookeeper-recipes-queue >------------
[INFO] Building Apache ZooKeeper - Recipes - Queue 3.9.5                [11/17]
[INFO]   from zookeeper-recipes/zookeeper-recipes-queue/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- antrun:3.1.0:run (set-hostname-property) @ zookeeper-recipes-queue 
---
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ 
zookeeper-recipes-queue ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, 
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory 
/<<PKGBUILDDIR>>/zookeeper-recipes/zookeeper-recipes-queuesrc/main/java/resources
[INFO] 
[INFO] --- compiler:3.13.0:compile (default-compile) @ zookeeper-recipes-queue 
---
[INFO] Recompiling the module because of changed dependency.
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. 
build is platform dependent!
[INFO] Compiling 1 source file with javac [debug release 8] to target/classes
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ 
zookeeper-recipes-queue ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, 
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory 
/<<PKGBUILDDIR>>/zookeeper-recipes/zookeeper-recipes-queue/src/test/resources
[INFO] 
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ 
zookeeper-recipes-queue ---
[INFO] Recompiling the module because of changed dependency.
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. 
build is platform dependent!
[INFO] Compiling 1 source file with javac [debug release 8] to 
target/test-classes
[INFO] 
[INFO] --- surefire:2.22.3:test (default-test) @ zookeeper-recipes-queue ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- jar:3.3.0:jar (default-jar) @ zookeeper-recipes-queue ---
[INFO] Building jar: 
/<<PKGBUILDDIR>>/zookeeper-recipes/zookeeper-recipes-queue/target/zookeeper-recipes-queue-3.9.5.jar
[INFO] 
[INFO] --- jar:3.3.0:test-jar (Jar Tests Package) @ zookeeper-recipes-queue ---
[INFO] Building jar: 
/<<PKGBUILDDIR>>/zookeeper-recipes/zookeeper-recipes-queue/target/zookeeper-recipes-queue-3.9.5-tests.jar
[INFO] 
[INFO] >>> source:3.4.0:jar (attach-sources) > generate-sources @ 
zookeeper-recipes-queue >>>
[INFO] 
[INFO] --- antrun:3.1.0:run (set-hostname-property) @ zookeeper-recipes-queue 
---
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] 
[INFO] <<< source:3.4.0:jar (attach-sources) < generate-sources @ 
zookeeper-recipes-queue <<<
[INFO] 
[INFO] 
[INFO] --- source:3.4.0:jar (attach-sources) @ zookeeper-recipes-queue ---
[INFO] Building jar: 
/<<PKGBUILDDIR>>/zookeeper-recipes/zookeeper-recipes-queue/target/zookeeper-recipes-queue-3.9.5-sources.jar
[INFO] 
[INFO] --- javadoc:3.12.0:jar (attach-javadocs) @ zookeeper-recipes-queue ---
[INFO] No Javadoc in project. Archive not created.
[INFO] 
[INFO] --- javadoc:3.12.0:jar (default-cli) @ zookeeper-recipes-queue ---
[INFO] No Javadoc in project. Archive not created.
[INFO] 
[INFO] --------------< org.apache.zookeeper:zookeeper-assembly >---------------
[INFO] Building Apache ZooKeeper - Assembly 3.9.5                       [12/17]
[INFO]   from zookeeper-assembly/pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- antrun:3.1.0:run (set-hostname-property) @ zookeeper-assembly ---
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] 
[INFO] --- jar:3.3.0:test-jar (Jar Tests Package) @ zookeeper-assembly ---
[INFO] Skipping packaging of the test-jar
[INFO] 
[INFO] >>> source:3.4.0:jar (attach-sources) > generate-sources @ 
zookeeper-assembly >>>
[INFO] 
[INFO] --- antrun:3.1.0:run (set-hostname-property) @ zookeeper-assembly ---
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] 
[INFO] <<< source:3.4.0:jar (attach-sources) < generate-sources @ 
zookeeper-assembly <<<
[INFO] 
[INFO] 
[INFO] --- source:3.4.0:jar (attach-sources) @ zookeeper-assembly ---
[INFO] 
[INFO] --- javadoc:3.12.0:jar (attach-javadocs) @ zookeeper-assembly ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable 
package
[INFO] 
[INFO] --- javadoc:3.12.0:jar (default-cli) @ zookeeper-assembly ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable 
package
[INFO] 
[INFO] ---------< org.apache.zookeeper:zookeeper-compatibility-tests >---------
[INFO] Building Apache ZooKeeper - Compatibility Tests 3.9.5            [13/17]
[INFO]   from zookeeper-compatibility-tests/pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- antrun:3.1.0:run (set-hostname-property) @ 
zookeeper-compatibility-tests ---
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] 
[INFO] --- jar:3.3.0:test-jar (Jar Tests Package) @ 
zookeeper-compatibility-tests ---
[INFO] Skipping packaging of the test-jar
[INFO] 
[INFO] >>> source:3.4.0:jar (attach-sources) > generate-sources @ 
zookeeper-compatibility-tests >>>
[INFO] 
[INFO] --- antrun:3.1.0:run (set-hostname-property) @ 
zookeeper-compatibility-tests ---
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] 
[INFO] <<< source:3.4.0:jar (attach-sources) < generate-sources @ 
zookeeper-compatibility-tests <<<
[INFO] 
[INFO] 
[INFO] --- source:3.4.0:jar (attach-sources) @ zookeeper-compatibility-tests ---
[INFO] 
[INFO] --- javadoc:3.12.0:jar (attach-javadocs) @ zookeeper-compatibility-tests 
---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable 
package
[INFO] 
[INFO] --- javadoc:3.12.0:jar (default-cli) @ zookeeper-compatibility-tests ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable 
package
[INFO] 
[INFO] ---------------< org.apache.zookeeper:zookeeper-contrib >---------------
[INFO] Building Apache ZooKeeper - Contrib 3.9.5                        [14/17]
[INFO]   from zookeeper-contrib/pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- antrun:3.1.0:run (set-hostname-property) @ zookeeper-contrib ---
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] 
[INFO] --- jar:3.3.0:test-jar (Jar Tests Package) @ zookeeper-contrib ---
[INFO] Skipping packaging of the test-jar
[INFO] 
[INFO] >>> source:3.4.0:jar (attach-sources) > generate-sources @ 
zookeeper-contrib >>>
[INFO] 
[INFO] --- antrun:3.1.0:run (set-hostname-property) @ zookeeper-contrib ---
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] 
[INFO] <<< source:3.4.0:jar (attach-sources) < generate-sources @ 
zookeeper-contrib <<<
[INFO] 
[INFO] 
[INFO] --- source:3.4.0:jar (attach-sources) @ zookeeper-contrib ---
[INFO] 
[INFO] --- javadoc:3.12.0:jar (attach-javadocs) @ zookeeper-contrib ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable 
package
[INFO] 
[INFO] --- javadoc:3.12.0:jar (default-cli) @ zookeeper-contrib ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable 
package
[INFO] 
[INFO] ----------< org.apache.zookeeper:zookeeper-contrib-loggraph >-----------
[INFO] Building Apache ZooKeeper - Contrib - Loggraph 3.9.5             [15/17]
[INFO]   from zookeeper-contrib/zookeeper-contrib-loggraph/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- antrun:3.1.0:run (set-hostname-property) @ 
zookeeper-contrib-loggraph ---
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ 
zookeeper-contrib-loggraph ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, 
i.e. build is platform dependent!
[INFO] Copying 19 resources from src/main/resources/webapp to target/classes
[INFO] 
[INFO] --- compiler:3.13.0:compile (default-compile) @ 
zookeeper-contrib-loggraph ---
[INFO] Recompiling the module because of changed dependency.
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. 
build is platform dependent!
[INFO] Compiling 34 source files with javac [debug release 8] to target/classes
[INFO] 
/<<PKGBUILDDIR>>/zookeeper-contrib/zookeeper-contrib-loggraph/src/main/java/org/apache/zookeeper/graph/LogEntry.java:
 
/<<PKGBUILDDIR>>/zookeeper-contrib/zookeeper-contrib-loggraph/src/main/java/org/apache/zookeeper/graph/LogEntry.java
 uses unchecked or unsafe operations.
[INFO] 
/<<PKGBUILDDIR>>/zookeeper-contrib/zookeeper-contrib-loggraph/src/main/java/org/apache/zookeeper/graph/LogEntry.java:
 Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] 
/<<PKGBUILDDIR>>/zookeeper-contrib/zookeeper-contrib-loggraph/src/main/java/org/apache/zookeeper/graph/JsonGenerator.java:[217,98]
 unreported exception java.io.IOException; must be caught or declared to be 
thrown
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Apache ZooKeeper
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache ZooKeeper 3.9.5:
[INFO] 
[INFO] Apache ZooKeeper ................................... SUCCESS [  0.795 s]
[INFO] Apache ZooKeeper - Documentation ................... SUCCESS [  0.132 s]
[INFO] Apache ZooKeeper - Jute ............................ SUCCESS [  6.143 s]
[INFO] Apache ZooKeeper - Server .......................... SUCCESS [ 10.667 s]
[INFO] Apache ZooKeeper - Metrics Providers ............... SUCCESS [  0.083 s]
[INFO] Apache ZooKeeper - Client .......................... SUCCESS [  0.082 s]
[INFO] Apache ZooKeeper - Client - C ...................... SUCCESS [ 15.742 s]
[INFO] Apache ZooKeeper - Recipes ......................... SUCCESS [  0.072 s]
[INFO] Apache ZooKeeper - Recipes - Election .............. SUCCESS [  0.185 s]
[INFO] Apache ZooKeeper - Recipes - Lock .................. SUCCESS [  0.238 s]
[INFO] Apache ZooKeeper - Recipes - Queue ................. SUCCESS [  0.186 s]
[INFO] Apache ZooKeeper - Assembly ........................ SUCCESS [  0.075 s]
[INFO] Apache ZooKeeper - Compatibility Tests ............. SUCCESS [  0.078 s]
[INFO] Apache ZooKeeper - Contrib ......................... SUCCESS [  0.072 s]
[INFO] Apache ZooKeeper - Contrib - Loggraph .............. FAILURE [  0.180 s]
[INFO] Apache ZooKeeper - Contrib - ZooInspector .......... SKIPPED
[INFO] Apache ZooKeeper - Tests ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  34.956 s
[INFO] Finished at: 2026-06-08T22:02:10Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) 
on project zookeeper-contrib-loggraph: Compilation failure
[ERROR] 
/<<PKGBUILDDIR>>/zookeeper-contrib/zookeeper-contrib-loggraph/src/main/java/org/apache/zookeeper/graph/JsonGenerator.java:[217,98]
 unreported exception java.io.IOException; must be caught or declared to be 
thrown
[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 :zookeeper-contrib-loggraph
dh_auto_build: 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=/<<PKGBUILDDIR>> 
-Dclassworlds.conf=/etc/maven/m2-debian.conf 
org.codehaus.plexus.classworlds.launcher.Launcher 
-s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian 
-Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package 
javadoc:jar javadoc:aggregate -Pfull-build -DskipTests -Dnotimestamp=true 
-Dlocale=en_US returned exit code 1
make[1]: *** [debian/rules:23: override_dh_auto_build-indep] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to