[From nobody Thu Oct 22 17:51:06 2026
Received: (at submit) by bugs.debian.org; 5 Jul 2025 10:59:03 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-120.8 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,FVGT_m_MULTI_ODD,
 HAS_PACKAGE,PP_MIME_FAKE_ASCII_TEXT,USER_IN_DKIM_WELCOMELIST,
 X_DEBBUGS_CC autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 146; hammy, 150; neutral, 553; spammy,
 0. spammytokens: hammytokens:0.000-+--trixie,
 0.000-+--pkgbuilddir, 
 0.000-+--PKGBUILDDIR, 0.000-+--sk:dh_auto, 0.000-+--H*F:U*sanvila
Return-path: &lt;sanvila@debian.org&gt;
Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:32920)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=muffat.debian.org, EMAIL=hostmaster@muffat.debian.org (verified)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1uY0bn-007jyv-2V
 for submit@bugs.debian.org; Sat, 05 Jul 2025 10:59:03 +0000
Received: from paradis.debian.org ([2607:f8f0:614:1::1274:67]:42012)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=paradis.debian.org, EMAIL=hostmaster@paradis.debian.org (verified)
 by muffat.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;sanvila@debian.org&gt;)
 id 1uY0bk-0022yP-Nl
 for submit@bugs.debian.org; Sat, 05 Jul 2025 10:59:00 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.paradis;
 h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=S9T9WRxjisqO0OGoeHuwlC3eG8lhZZv1LK9OTBuaIIg=; b=hyxhACyMaVPA1q8lCYbzo1kBsz
 X1s+anZAhEuZmB227Zgi/Cgd9cSlAkXnCCOafymXeAT1aymDCnXPTqH0B86WAwZ78g7OznC5xt//2
 IRMe0uULK6E+kPAb4PtFZMSI5+M6YKasaAEEg/PGZaXeuSLPE2zrYocvGjkEvDrS/LklJN8msPblo
 mhzMik9ZIxPaP9926NH44Fgxr7gXx3p1r0YXVUzXhlYkzcgyPu/FZ3hMtfLowPJNCmIVEGw+4IQGH
 XjbXwUo8SHG5K6wuAQ6WHj/W1TrBvf1SwJPta+VBufJp5rZBwfGmorpn3jgg9dCgoQ8JrkpLlXfCl
 2W9Qj7Iw==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1uY0bk-0009Jb-1G
 for submit@bugs.debian.org; Sat, 05 Jul 2025 10:59:00 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: commons-exec: FTBFS randomly: autobuilder hangs
X-Debbugs-Cc: sanvila@debian.org
Message-Id: &lt;E1uY0bk-0009Jb-1G@paradis.debian.org&gt;
Date: Sat, 05 Jul 2025 10:59:00 +0000
Delivered-To: submit@bugs.debian.org

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 &quot;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&quot;
	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=/&lt;&lt;PKGBUILDDIR&gt;&gt;/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=/&lt;&lt;PKGBUILDDIR&gt;&gt; -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/&lt;&lt;PKGBUILDDIR&gt;&gt;/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/&lt;&lt;PKGBUILDDIR&gt;&gt;/debian -Dmaven.repo.local=/&lt;&lt;PKGBUILDDIR&gt;&gt;/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] ------------------&lt; org.apache.commons:commons-exec &gt;-------------------
[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 /&lt;&lt;PKGBUILDDIR&gt;&gt;/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 /&lt;&lt;PKGBUILDDIR&gt;&gt;/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: /&lt;&lt;PKGBUILDDIR&gt;&gt;/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=/&lt;&lt;PKGBUILDDIR&gt;&gt; -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/&lt;&lt;PKGBUILDDIR&gt;&gt;/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/&lt;&lt;PKGBUILDDIR&gt;&gt;/debian -Dmaven.repo.local=/&lt;&lt;PKGBUILDDIR&gt;&gt;/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] ------------------&lt; org.apache.commons:commons-exec &gt;-------------------
[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 /&lt;&lt;PKGBUILDDIR&gt;&gt;/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 /&lt;&lt;PKGBUILDDIR&gt;&gt;/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:&quot;/home/kk/grass/data/4404.he5&quot;://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=/&lt;&lt;PKGBUILDDIR&gt;&gt;=. -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=/&lt;&lt;PKGBUILDDIR&gt;&gt;=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
FFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/&lt;&lt;PKGBUILDDIR&gt;&gt;=. -fstack-protector-strong -fstack-clash-protection -fcf-protection
DEB_BUILD_ARCH_CPU=amd64
DEB_HOST_ARCH_LIBC=gnu
DEB_HOST_ARCH_ABI=base
HOME=/&lt;&lt;PKGBUILDDIR&gt;&gt;/debian/.debhelper/generated/_source/home
OLDPWD=/&lt;&lt;PKGBUILDDIR&gt;&gt;
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=/&lt;&lt;PKGBUILDDIR&gt;&gt;=. -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=/&lt;&lt;PKGBUILDDIR&gt;&gt;=. -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=/&lt;&lt;PKGBUILDDIR&gt;&gt;=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
FCFLAGS=-g -O2 -ffile-prefix-map=/&lt;&lt;PKGBUILDDIR&gt;&gt;=. -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=/&lt;&lt;PKGBUILDDIR&gt;&gt;=. -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=/&lt;&lt;PKGBUILDDIR&gt;&gt;=. -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=/&lt;&lt;PKGBUILDDIR&gt;&gt;=. -fstack-protector-strong -fstack-clash-protection -fcf-protection
DEB_HOST_ARCH_CPU=amd64
OBJCXXFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/&lt;&lt;PKGBUILDDIR&gt;&gt;=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
DEB_RULES_REQUIRES_ROOT=no
PWD=/&lt;&lt;PKGBUILDDIR&gt;&gt;
DEB_BUILD_MULTIARCH=x86_64-linux-gnu
FFLAGS=-g -O2 -ffile-prefix-map=/&lt;&lt;PKGBUILDDIR&gt;&gt;=. -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: =&gt; 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 &lt;&lt;&lt; FAILURE! - in org.apache.commons.exec.issues.Exec41Test
[ERROR] testExec41WithStreams(org.apache.commons.exec.issues.Exec41Test)  Time elapsed: 0.001 s  &lt;&lt;&lt; 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  &lt;&lt;&lt; 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 &quot;randomly&quot; 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.
]