Bug#1088714: apache-curator: FTBFS: shutdown(boolean) in org.apache.curator.test.TestingZooKeeperMain.TestZooKeeperServer cannot override shutdown(boolean) in org.apache.zookeeper.server.ZooKeeperServer
Santiago Vila
sanvila at debian.org
Fri Nov 29 22:10:30 GMT 2024
Package: src:apache-curator
Version: 5.5.0-1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --with javahelper
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
mh_patchpoms -plibcurator-parent-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
jh_linkjars
dh_auto_build
/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 -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties 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 -DskipTests -Dnotimestamp=true -Dlocale=en_US
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Curator [pom]
[INFO] Curator Testing [jar]
[INFO] Curator Client [jar]
[INFO] Curator Framework [jar]
[INFO] Curator Recipes [jar]
[INFO] Curator Service Discovery [jar]
[INFO]
[INFO] -----------------< org.apache.curator:apache-curator >------------------
[INFO] Building Apache Curator 5.5.0 [1/6]
[INFO] from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-bundle-plugin:3.5.1:manifest (bundle-manifest) @ apache-curator ---
[WARNING] Ignoring project type pom - supportedProjectTypes = [jar, war, bundle]
[INFO]
[INFO] --- maven-antrun-plugin:3.1.0:run (default) @ apache-curator ---
[INFO] Executing tasks
[INFO] Executed tasks
[INFO]
[INFO] --- build-helper-maven-plugin:3.3.0:attach-artifact (default) @ apache-curator ---
[INFO] Skip attaching artifacts
[INFO]
[INFO] ------------------< org.apache.curator:curator-test >-------------------
[INFO] Building Curator Testing 5.5.0 [2/6]
[INFO] from curator-test/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 has been relocated to org.apache.maven.plugins:maven-resources-plugin:jar:3.3.1
[WARNING] The artifact org.apache.maven.plugins:maven-jar-plugin:jar:2.4 has been relocated to org.apache.maven.plugins:maven-jar-plugin:jar:3.3.0
[WARNING] The POM for org.apache.zookeeper:zookeeper:jar:debian is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ curator-test ---
[INFO] Copying 2 resources from . to target/classes/META-INF
[INFO]
[INFO] --- maven-compiler-plugin:3.13.0:compile (default-compile) @ curator-test ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 22 source files with javac [debug release 8] to target/classes
[INFO] /<<PKGBUILDDIR>>/curator-test/src/main/java/org/apache/curator/test/TestingCluster.java: Some input files use or override a deprecated API.
[INFO] /<<PKGBUILDDIR>>/curator-test/src/main/java/org/apache/curator/test/TestingCluster.java: Recompile with -Xlint:deprecation for details.
[INFO] /<<PKGBUILDDIR>>/curator-test/src/main/java/org/apache/curator/test/WatchersDebug.java: /<<PKGBUILDDIR>>/curator-test/src/main/java/org/apache/curator/test/WatchersDebug.java uses unchecked or unsafe operations.
[INFO] /<<PKGBUILDDIR>>/curator-test/src/main/java/org/apache/curator/test/WatchersDebug.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] source value 8 is obsolete and will be removed in a future release
[WARNING] target value 8 is obsolete and will be removed in a future release
[WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
[INFO] 3 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /<<PKGBUILDDIR>>/curator-test/src/main/java/org/apache/curator/test/TestingZooKeeperMain.java:[302,34] shutdown(boolean) in org.apache.curator.test.TestingZooKeeperMain.TestZooKeeperServer cannot override shutdown(boolean) in org.apache.zookeeper.server.ZooKeeperServer
overridden method is final
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Curator 5.5.0:
[INFO]
[INFO] Apache Curator ..................................... SUCCESS [ 0.176 s]
[INFO] Curator Testing .................................... FAILURE [ 1.135 s]
[INFO] Curator Client ..................................... SKIPPED
[INFO] Curator Framework .................................. SKIPPED
[INFO] Curator Recipes .................................... SKIPPED
[INFO] Curator Service Discovery .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.785 s
[INFO] Finished at: 2024-11-29T21:14:09Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project curator-test: Compilation failure
[ERROR] /<<PKGBUILDDIR>>/curator-test/src/main/java/org/apache/curator/test/TestingZooKeeperMain.java:[302,34] shutdown(boolean) in org.apache.curator.test.TestingZooKeeperMain.TestZooKeeperServer cannot override shutdown(boolean) in org.apache.zookeeper.server.ZooKeeperServer
[ERROR] overridden method is final
[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 :curator-test
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 -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties 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 -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202411/
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 could not 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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.
More information about the pkg-java-maintainers
mailing list