Package: src:apache-curator
Version: 5.7.1+ds-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with javahelper
   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 -plibcurator-parent-java
   jh_clean
Duplicate specification "u=s" for option "u"
   dh_clean
 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=/<<BUILDDIR>>/apache-curator-5.7.1\+ds/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=/<<BUILDDIR>>/apache-curator-5.7.1\+ds 
-Dclassworlds.conf=/etc/maven/m2-debian.conf 
-Dproperties.file.manual=/<<BUILDDIR>>/apache-curator-5.7.1\+ds/debian/maven.properties
 org.codehaus.plexus.classworlds.launcher.Launcher 
-s/etc/maven/settings-debian.xml 
-Ddebian.dir=/<<BUILDDIR>>/apache-curator-5.7.1\+ds/debian 
-Dmaven.repo.local=/<<BUILDDIR>>/apache-curator-5.7.1\+ds/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.7.1                                      [1/6]
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- bundle:3.5.1:manifest (bundle-manifest) @ apache-curator ---
[WARNING] Ignoring project type pom - supportedProjectTypes = [jar, war, bundle]
[INFO] 
[INFO] --- antrun:3.1.0:run (default) @ apache-curator ---
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] 
[INFO] --- build-helper:3.3.0:attach-artifact (default) @ apache-curator ---
[INFO] Skip attaching artifacts
[INFO] 
[INFO] ------------------< org.apache.curator:curator-test >-------------------
[INFO] Building Curator Testing 5.7.1                                     [2/6]
[INFO]   from curator-test/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The artifact org.apache.maven.plugins:maven-jar-plugin:jar:3.1.2 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: 1 problem was 
encountered while building the effective model for 
org.apache.zookeeper:zookeeper:debian
[ERROR] 'dependencies.dependency.version' for 
io.netty:netty-transport-native-epoll:jar: is missing. @ 

[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ curator-test ---
[INFO] Copying 2 resources from . to target/classes/META-INF
[INFO] 
[INFO] --- compiler: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
[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] 
/<<PKGBUILDDIR>>/curator-test/src/main/java/org/apache/curator/test/QuorumConfigBuilder.java:
 Some input files use or override a deprecated API.
[INFO] 
/<<PKGBUILDDIR>>/curator-test/src/main/java/org/apache/curator/test/QuorumConfigBuilder.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] 
[INFO] --- bundle:3.5.1:manifest (bundle-manifest) @ curator-test ---
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ curator-test 
---
[INFO] skip non existing resourceDirectory 
/<<PKGBUILDDIR>>/curator-test/src/test/resources
[INFO] 
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ curator-test ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 2 source files with javac [debug release 8] to 
target/test-classes
[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] 
[INFO] --- surefire:2.22.3:test (default-test) @ curator-test ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- jar:3.3.0:jar (default-jar) @ curator-test ---
[INFO] Building jar: /<<PKGBUILDDIR>>/curator-test/target/curator-test-5.7.1.jar
[INFO] 
[INFO] --- antrun:3.1.0:run (default) @ curator-test ---
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] 
[INFO] --- build-helper:3.3.0:attach-artifact (default) @ curator-test ---
[INFO] 
[INFO] -----------------< org.apache.curator:curator-client >------------------
[INFO] Building Curator Client 5.7.1                                      [3/6]
[INFO]   from curator-client/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ curator-client ---
[INFO] Copying 2 resources from . to target/classes/META-INF
[INFO] 
[INFO] --- compiler:3.13.0:compile (default-compile) @ curator-client ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 43 source files with javac [debug release 8] to target/classes
[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] 
/<<PKGBUILDDIR>>/curator-client/src/main/java/org/apache/curator/SessionFailRetryLoop.java:
 Some input files use or override a deprecated API.
[INFO] 
/<<PKGBUILDDIR>>/curator-client/src/main/java/org/apache/curator/SessionFailRetryLoop.java:
 Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- bundle:3.5.1:manifest (bundle-manifest) @ curator-client ---
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ 
curator-client ---
[INFO] Copying 1 resource from src/test/resources to target/test-classes
[INFO] 
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ curator-client 
---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 6 source files with javac [debug release 8] to 
target/test-classes
[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.
[WARNING] 
/<<PKGBUILDDIR>>/curator-client/src/test/java/org/apache/curator/utils/TestZKPaths.java:[72,52]
 non-varargs call of varargs method with inexact argument type for last 
parameter;
  cast to java.lang.String for a varargs call
  cast to java.lang.String[] for a non-varargs call and to suppress this warning
[WARNING] 
/<<PKGBUILDDIR>>/curator-client/src/test/java/org/apache/curator/utils/TestZKPaths.java:[73,53]
 non-varargs call of varargs method with inexact argument type for last 
parameter;
  cast to java.lang.String for a varargs call
  cast to java.lang.String[] for a non-varargs call and to suppress this warning
[INFO] 
[INFO] --- surefire:2.22.3:test (default-test) @ curator-client ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- jar:3.3.0:jar (default-jar) @ curator-client ---
[INFO] Building jar: 
/<<PKGBUILDDIR>>/curator-client/target/curator-client-5.7.1.jar
[INFO] 
[INFO] --- antrun:3.1.0:run (default) @ curator-client ---
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] 
[INFO] --- build-helper:3.3.0:attach-artifact (default) @ curator-client ---
[INFO] 
[INFO] --- jar:3.3.0:test-jar (default) @ curator-client ---
[INFO] Building jar: 
/<<PKGBUILDDIR>>/curator-client/target/curator-client-5.7.1-tests.jar
[INFO] 
[INFO] ----------------< org.apache.curator:curator-framework >----------------
[INFO] Building Curator Framework 5.7.1                                   [4/6]
[INFO]   from curator-framework/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for org.yaml:snakeyaml:jar:1.x is missing, no dependency 
information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Curator 5.7.1:
[INFO] 
[INFO] Apache Curator ..................................... SUCCESS [  0.340 s]
[INFO] Curator Testing .................................... SUCCESS [  1.713 s]
[INFO] Curator Client ..................................... SUCCESS [  1.008 s]
[INFO] Curator Framework .................................. FAILURE [  0.012 s]
[INFO] Curator Recipes .................................... SKIPPED
[INFO] Curator Service Discovery .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.582 s
[INFO] Finished at: 2025-04-12T12:47:04Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project curator-framework: Could not resolve 
dependencies for project org.apache.curator:curator-framework:jar:5.7.1
[ERROR] dependency: org.yaml:snakeyaml:jar:1.x (test)
[ERROR]         Cannot access central (https://repo.maven.apache.org/maven2) in 
offline mode and the artifact org.yaml:snakeyaml:jar:1.x has not been 
downloaded from it before.
[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/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :curator-framework
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=/<<BUILDDIR>>/apache-curator-5.7.1\+ds 
-Dclassworlds.conf=/etc/maven/m2-debian.conf 
-Dproperties.file.manual=/<<BUILDDIR>>/apache-curator-5.7.1\+ds/debian/maven.properties
 org.codehaus.plexus.classworlds.launcher.Launcher 
-s/etc/maven/settings-debian.xml 
-Ddebian.dir=/<<BUILDDIR>>/apache-curator-5.7.1\+ds/debian 
-Dmaven.repo.local=/<<BUILDDIR>>/apache-curator-5.7.1\+ds/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/202504/

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 add an affects on src:apache-curator, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to