Package: src:commons-exec Version: 1.3-3 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 --buildsystem=maven dh_auto_clean -O--buildsystem=maven 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 -plibcommons-exec-java dh_autoreconf_clean -O--buildsystem=maven dh_clean -O--buildsystem=maven debian/rules binary dh binary --buildsystem=maven dh_update_autotools_config -O--buildsystem=maven dh_autoreconf -O--buildsystem=maven dh_auto_configure -O--buildsystem=maven mh_patchpoms -plibcommons-exec-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo dh_auto_build -O--buildsystem=maven /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... [WARNING] The project org.apache.commons:commons-exec:jar:1.3 uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html [INFO] [INFO] ------------------< org.apache.commons:commons-exec >------------------- [INFO] Building Apache Commons Exec 1.3 [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ commons-exec --- [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/src/main/resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ commons-exec --- [INFO] Recompiling the module because of changed source code. [INFO] Compiling 32 source files with javac [debug target 1.5] to target/classes Use of target 1.5 is no longer supported, switching to 8 Use of source 1.5 is no longer supported, switching to 8 [WARNING] bootstrap class path not set in conjunction with -source 8 [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] --- resources:3.3.1:testResources (default-testResources) @ commons-exec --- [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/src/test/resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ commons-exec --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 17 source files with javac [debug target 1.5] to target/test-classes Use of target 1.5 is no longer supported, switching to 8 Use of source 1.5 is no longer supported, switching to 8 [WARNING] bootstrap class path not set in conjunction with -source 8 [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) @ commons-exec --- [INFO] Tests are skipped. [INFO] [INFO] --- jar:3.3.0:jar (default-jar) @ commons-exec --- [INFO] Building jar: /<<PKGBUILDDIR>>/target/commons-exec-1.3.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.704 s [INFO] Finished at: 2025-07-05T04:40:59Z [INFO] ------------------------------------------------------------------------ dh_auto_test -O--buildsystem=maven /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 test 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... [WARNING] The project org.apache.commons:commons-exec:jar:1.3 uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html [INFO] [INFO] ------------------< org.apache.commons:commons-exec >------------------- [INFO] Building Apache Commons Exec 1.3 [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ commons-exec --- [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/src/main/resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ commons-exec --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ commons-exec --- [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/src/test/resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ commons-exec --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- surefire:2.22.3:test (default-test) @ commons-exec --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.commons.exec.DefaultExecutorTest gdal_translate HDF5:"/home/kk/grass/data/4404.he5"://HDFEOS/GRIDS/OMI_Column_Amount_O3/Data_Fields/ColumnAmountO3/home/kk/4.tif FOO.. FOO.. [WARNING] Tests run: 30, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 42.391 s - in org.apache.commons.exec.DefaultExecutorTest [INFO] Running org.apache.commons.exec.environment.EnvironmentUtilsTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.commons.exec.environment.EnvironmentUtilsTest [INFO] Running org.apache.commons.exec.StandAloneTest mkdir: cannot create directory âtarget/â: File exists [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.apache.commons.exec.StandAloneTest [INFO] Running org.apache.commons.exec.LogOutputStreamTest DFLAGS=-frelease DEB_HOST_GNU_SYSTEM=linux-gnu DEB_TARGET_GNU_CPU=x86_64 DEB_BUILD_ARCH_BITS=64 ASFLAGS_FOR_BUILD= DEB_HOST_ARCH_OS=linux USER=buildd CXXFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection DEB_TARGET_MULTIARCH=x86_64-linux-gnu DEB_BUILD_GNU_TYPE=x86_64-linux-gnu OBJCFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection FFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection DEB_BUILD_ARCH_CPU=amd64 DEB_HOST_ARCH_LIBC=gnu DEB_HOST_ARCH_ABI=base HOME=/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home OLDPWD=/<<PKGBUILDDIR>> SCHROOT_CHROOT_NAME=trixie-file APT_CONFIG=/var/lib/sbuild/apt.conf LDFLAGS=-Wl,-z,relro DFLAGS_FOR_BUILD=-frelease DEB_BUILD_ARCH_ENDIAN=little DEB_TARGET_ARCH_BITS=64 LC_CTYPE=C.UTF-8 DEB_BUILD_GNU_SYSTEM=linux-gnu SCHROOT_UID=924 MAKEFLAGS= CXXFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection DEB_TARGET_GNU_TYPE=x86_64-linux-gnu DEB_BUILD_ARCH_OS=linux OBJCFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection DEB_TARGET_ARCH_CPU=amd64 LOGNAME=buildd DEB_BUILD_ARCH_ABI=base DEB_BUILD_ARCH_LIBC=gnu DEB_HOST_ARCH=amd64 DEB_TARGET_ARCH_ENDIAN=little LDFLAGS_FOR_BUILD=-Wl,-z,relro DEB_TARGET_GNU_SYSTEM=linux-gnu DEB_HOST_GNU_CPU=x86_64 LC_COLLATE=C.UTF-8 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games DEB_TARGET_ARCH_OS=linux MAKELEVEL=1 XDG_RUNTIME_DIR=/tmp/dh-xdg-rundir-tlelLf9k CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection FCFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection SCHROOT_COMMAND=dpkg-buildpackage --sanitize-env -us -uc -b SOURCE_DATE_EPOCH=1746383582 DEB_HOST_MULTIARCH=x86_64-linux-gnu SCHROOT_SESSION_ID=trixie-file-ca864ddd-251d-4061-9b18-801952c722cd OBJCXXFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection LANG=C.UTF-8 SCHROOT_ALIAS_NAME=trixie-file DEB_TARGET_ARCH_ABI=base DEB_TARGET_ARCH_LIBC=gnu SCHROOT_GROUP=buildd SCHROOT_USER=buildd CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 DEB_BUILD_OPTIONS=parallel=2 DH_INTERNAL_BUILDFLAGS=1 SHELL=/bin/sh DEB_HOST_ARCH_BITS=64 DEB_BUILD_ARCH=amd64 CFLAGS_FOR_BUILD=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection DEB_BUILD_GNU_CPU=x86_64 ASFLAGS= DEB_HOST_GNU_TYPE=x86_64-linux-gnu FCFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection DEB_HOST_ARCH_CPU=amd64 OBJCXXFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection DEB_RULES_REQUIRES_ROOT=no PWD=/<<PKGBUILDDIR>> DEB_BUILD_MULTIARCH=x86_64-linux-gnu FFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection CPPFLAGS_FOR_BUILD=-Wdate-time -D_FORTIFY_SOURCE=2 SCHROOT_GID=924 MFLAGS= DEB_HOST_ARCH_ENDIAN=little DEB_TARGET_ARCH=amd64 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 s - in org.apache.commons.exec.LogOutputStreamTest [INFO] Running org.apache.commons.exec.util.StringUtilTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.commons.exec.util.StringUtilTest [INFO] Running org.apache.commons.exec.util.MapUtilTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.commons.exec.util.MapUtilTest [INFO] Running org.apache.commons.exec.CommandLineTest testToStringTroubleshooting cmd1: [sh, -c, echo 1] cmd2: [sh, -c, echo, 1] [INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.apache.commons.exec.CommandLineTest [INFO] Running org.apache.commons.exec.issues.Exec44Test [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5 s - in org.apache.commons.exec.issues.Exec44Test [INFO] Running org.apache.commons.exec.issues.Exec49Test Preparing to execute process - commandLine=[/bin/ls, /opt] Process spun off successfully - process=/bin/ls Preparing to execute process - commandLine=[/bin/ls, /opt] Process spun off successfully - process=/bin/ls [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.108 s - in org.apache.commons.exec.issues.Exec49Test [INFO] Running org.apache.commons.exec.issues.Exec36Test [WARNING] Tests run: 5, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0.001 s - in org.apache.commons.exec.issues.Exec36Test [INFO] Running org.apache.commons.exec.issues.Exec41Test ping: socktype: SOCK_RAW ping: socket: Operation not permitted ping: => missing cap_net_raw+p capability or setuid? Process completed in 3 millis; below is its output org.apache.commons.exec.ExecuteException: Process exited with an error: 2 (Exit value: 2) Process completed in 4 millis; below is its output [ERROR] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.002 s <<< FAILURE! - in org.apache.commons.exec.issues.Exec41Test [ERROR] testExec41WithStreams(org.apache.commons.exec.issues.Exec41Test) Time elapsed: 0.001 s <<< FAILURE! java.lang.AssertionError: The process was killed by the watchdog at org.apache.commons.exec.issues.Exec41Test.testExec41WithStreams(Exec41Test.java:96) [ERROR] testExec41WithoutStreams(org.apache.commons.exec.issues.Exec41Test) Time elapsed: 0.001 s <<< FAILURE! java.lang.AssertionError: The process was killed by the watchdog at org.apache.commons.exec.issues.Exec41Test.testExec41WithoutStreams(Exec41Test.java:143) [INFO] Running org.apache.commons.exec.issues.Exec33Test FOO.. E: Build killed with signal TERM after 60 minutes of inactivity -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. I've put several full build logs here: https://people.debian.org/~sanvila/build-logs/202507/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. Note: The build might not always fail (hence the "randomly" in the title), but I'm getting a failure rate around 50% here, which is way above the usual thresholds used by the RT. If you could not reproduce these random failures please contact me privately, as I am willing to provide ssh access to a virtual machine where they happen. (Note: Tony Mancill has already such a VM to test this package, which I initially created for zookeeper). If this is really a bug in one of the build-depends, please use reassign and add an affects on src:commons-exec, so that this is still visible in the BTS web page for this package. Thanks.