I was trying to enable the mmdebstrap test case for the dash package (LP: #2028868).
It succeeds on [amd64], [arm64], [ppc64el], [s390x]
[amd64](https://autopkgtest.ubuntu.com/results/autopkgtest-oracular-dviererbe-dash/oracular/amd64/d/dash/20240627_185606_9f2ad@/log.gz)
[arm64](https://autopkgtest.ubuntu.com/results/autopkgtest-oracular-dviererbe-dash/oracular/arm64/d/dash/20240627_183538_9cf78@/log.gz)
[ppc64el](https://autopkgtest.ubuntu.com/results/autopkgtest-oracular-dviererbe-dash/oracular/ppc64el/d/dash/20240627_182632_04192@/log.gz)
[s390x](https://autopkgtest.ubuntu.com/results/autopkgtest-oracular-dviererbe-dash/oracular/s390x/d/dash/20240627_184610_98ff0@/log.gz)
, BUT fails on armhf with multiple reported "*** buffer overflow detected ***: terminated" warnings, see:
- https://autopkgtest.ubuntu.com/results/autopkgtest-oracular-dviererbe-dash/oracular/armhf/d/dash/20240627_183306_77326@/log.gz (most likely an infra failure)
- https://autopkgtest.ubuntu.com/results/autopkgtest-oracular-dviererbe-dash/oracular/armhf/d/dash/20240627_190742_82242@/log.gz
- https://autopkgtest.ubuntu.com/results/autopkgtest-oracular-dviererbe-dash/oracular/armhf/d/dash/20240627_212834_1f0ae@/log.gz (most likely an infra failure)
- https://autopkgtest.ubuntu.com/results/autopkgtest-oracular-dviererbe-dash/oracular/armhf/d/dash/20240628_001410_ed2ab@/log.gz
Link to the PPA: https://launchpad.net/~dviererbe/+archive/ubuntu/dash
The error looks like this:
```
2575s Setting up dpkg (1.22.6ubuntu10) ...
2575s *** buffer overflow detected ***: terminated
2591s Aborted (core dumped)
2591s *** buffer overflow detected ***: terminated
2593s Aborted (core dumped)
2593s *** buffer overflow detected ***: terminated
2595s Aborted (core dumped)
2595s *** buffer overflow detected ***: terminated
2596s Aborted (core dumped)
2596s *** buffer overflow detected ***: terminated
2598s Aborted (core dumped)
2598s *** buffer overflow detected ***: terminated
2601s Aborted (core dumped)
2601s *** buffer overflow detected ***: terminated
2603s Aborted (core dumped)
2605s dpkg: diffutils: dependency problems, but configuring anyway as you requested:
2605s diffutils depends on libc6 (>= 2.38); however:
2605s Package libc6:armhf is not installed.
...
2607s Setting up debianutils (5.19) ...
2608s *** buffer overflow detected ***: terminated
2616s Aborted (core dumped)
2618s *** buffer overflow detected ***: terminated
2637s Aborted (core dumped)
2640s *** buffer overflow detected ***: terminated
2654s Aborted (core dumped)
...
2667s E: setup failed: E: env --unset=APT_CONFIG --unset=TMPDIR chroot /tmp/mmdebstrap.y7f1mgOSEZ dpkg --install --force-depends --status-fd=<$fd> /var/cache/apt/archives/gcc-14-base_14.1.0-1ubuntu1_armhf.deb /var/cache/apt/archives/libc6_2.39-0ubuntu9_armhf.deb /var/cache/apt/archives/libgcc-s1_14.1.0-1ubuntu1_armhf.deb /var/cache/apt/archives/mawk_1.3.4.20240123-1build1_armhf.deb /var/cache/apt/archives/libcrypt1_1%3a4.4.36-4build1_armhf.deb /var/cache/apt/archives/base-files_13.1ubuntu1_armhf.deb /var/cache/apt/archives/libtinfo6_6.5-2_armhf.deb /var/cache/apt/archives/debianutils_5.19_armhf.deb /var/cache/apt/archives/bash_5.2.21-2.1ubuntu1_armhf.deb /var/cache/apt/archives/libcap2_1%3a2.66-5ubuntu2_armhf.deb /var/cache/apt/archives/libgpg-error0_1.49-2_armhf.deb /var/cache/apt/archives/libgcrypt20_1.10.3-3_armhf.deb /var/cache/apt/archives/liblz4-1_1.9.4-2_armhf.deb /var/cache/apt/archives/liblzma5_5.6.2-1_armhf.deb /var/cache/apt/archives/libzstd1_1.5.6+dfsg-1_armhf.deb /var/cache/apt/archives/libsystemd0_255.4-1ubuntu8_armhf.deb /var/cache/apt/archives/bsdutils_1%3a2.39.3-9ubuntu6_armhf.deb /var/cache/apt/archives/libacl1_2.3.2-2_armhf.deb /var/cache/apt/archives/libattr1_1%3a2.5.2-1build1_armhf.deb /var/cache/apt/archives/libgmp10_2%3a6.3.0+dfsg-2ubuntu6_armhf.deb /var/cache/apt/archives/libpcre2-8-0_10.42-4ubuntu2_armhf.deb /var/cache/apt/archives/libselinux1_3.5-2ubuntu2_armhf.deb /var/cache/apt/archives/libssl3t64_3.0.13-0ubuntu4_armhf.deb /var/cache/apt/archives/coreutils_9.4-3ubuntu6_armhf.deb /var/cache/apt/archives/libbz2-1.0_1.0.8-5.1_armhf.deb /var/cache/apt/archives/libmd0_1.1.0-2build1_armhf.deb /var/cache/apt/archives/zlib1g_1%3a1.3.dfsg-3.1ubuntu2_armhf.deb /var/cache/apt/archives/tar_1.35+dfsg-3build1_armhf.deb /var/cache/apt/archives/dpkg_1.22.6ubuntu10_armhf.deb /var/cache/apt/archives/dash_0.5.12-6ubuntu6~ppa2_armhf.deb /var/cache/apt/archives/diffutils_1%3a3.10-1build1_armhf.deb /var/cache/apt/archives/findutils_4.10.0-2_armhf.deb /var/cache/apt/archives/grep_3.11-4build1_armhf.deb /var/cache/apt/archives/gzip_1.12-1ubuntu3_armhf.deb /var/cache/apt/archives/hostname_3.23+nmu2ubuntu2_armhf.deb /var/cache/apt/archives/libaudit-common_1%3a3.1.2-4_all.deb /var/cache/apt/archives/libcap-ng0_0.8.5-1_armhf.deb /var/cache/apt/archives/libaudit1_1%3a3.1.2-4_armhf.deb /var/cache/apt/archives/debconf_1.5.86ubuntu1_all.deb /var/cache/apt/archives/libpam0g_1.5.3-7ubuntu1_armhf.deb /var/cache/apt/archives/libdb5.3t64_5.3.28+dfsg2-7_armhf.deb /var/cache/apt/archives/libpam-modules-bin_1.5.3-7ubuntu1_armhf.deb /var/cache/apt/archives/libpam-modules_1.5.3-7ubuntu1_armhf.deb /var/cache/apt/archives/libpam-runtime_1.5.3-7ubuntu1_all.deb /var/cache/apt/archives/login_1%3a4.13+dfsg1-4ubuntu5_armhf.deb /var/cache/apt/archives/ncurses-bin_6.5-2_armhf.deb /var/cache/apt/archives/perl-base_5.38.2-5_armhf.deb /var/cache/apt/archives/sed_4.9-2build1_armhf.deb /var/cache/apt/archives/libblkid1_2.39.3-9ubuntu6_armhf.deb /var/cache/apt/archives/libmount1_2.39.3-9ubuntu6_armhf.deb /var/cache/apt/archives/libsmartcols1_2.39.3-9ubuntu6_armhf.deb /var/cache/apt/archives/libudev1_255.4-1ubuntu8_armhf.deb /var/cache/apt/archives/libuuid1_2.39.3-9ubuntu6_armhf.deb /var/cache/apt/archives/util-linux_2.39.3-9ubuntu6_armhf.deb /var/cache/apt/archives/libdebconfclient0_0.271ubuntu3_armhf.deb /var/cache/apt/archives/base-passwd_3.6.3build1_armhf.deb /var/cache/apt/archives/init-system-helpers_1.66ubuntu1_all.deb /var/cache/apt/archives/libc-bin_2.39-0ubuntu9_armhf.deb /var/cache/apt/archives/ncurses-base_6.5-2_all.deb /var/cache/apt/archives/sysvinit-utils_3.08-6ubuntu3_armhf.deb failed at /usr/bin/mmdebstrap line 197.
2667s main::error("env --unset=APT_CONFIG --unset=TMPDIR chroot /tmp/mmdebstrap."...) called at /usr/bin/mmdebstrap line 978
2667s main::run_progress(CODE(0xef49c28), CODE(0xef49cb8), CODE(0xeb3cd08)) called at /usr/bin/mmdebstrap line 1011
2667s main::run_dpkg_progress(HASH(0xef123e8)) called at /usr/bin/mmdebstrap line 2931
2667s main::run_essential(HASH(0xee147a0), ARRAY(0xebbf068), ARRAY(0xebd0ae0), ARRAY(0xeb9c4e8)) called at /usr/bin/mmdebstrap line 1955
2667s eval {...} called at /usr/bin/mmdebstrap line 1944
2667s main::setup(HASH(0xee147a0)) called at /usr/bin/mmdebstrap line 6059
2667s main::__ANON__() called at /usr/bin/mmdebstrap line 6143
2667s main::main() called at /usr/bin/mmdebstrap line 6437 at /usr/bin/mmdebstrap line 197.
2667s main::error("setup failed: E: env --unset=APT_CONFIG --unset=TMPDIR chroot"...) called at /usr/bin/mmdebstrap line 1968
2667s main::setup(HASH(0xee147a0)) called at /usr/bin/mmdebstrap line 6059
2667s main::__ANON__() called at /usr/bin/mmdebstrap line 6143
2667s main::main() called at /usr/bin/mmdebstrap line 6437
2671s D: 923 3718 listener: finished reading command
2671s W: hooklistener errored out: E: received eof on socket at /usr/bin/mmdebstrap line 197.
2671s main::error("received eof on socket") called at /usr/bin/mmdebstrap line 3719
2671s eval {...} called at /usr/bin/mmdebstrap line 3709
2671s main::hooklistener(3) called at /usr/bin/mmdebstrap line 6183
2671s main::main() called at /usr/bin/mmdebstrap line 6437
2671s
2671s I: 923 6156 main() received signal PIPE: waiting for setup...
2673s D: 898 6193 finish to listen for hooks
2673s I: 898 6376 removing tempdir /tmp/mmdebstrap.y7f1mgOSEZ...
2674s E: mmdebstrap failed to run at /usr/bin/mmdebstrap line 197.
2674s main::error("mmdebstrap failed to run") called at /usr/bin/mmdebstrap line 6433
2674s main::main() called at /usr/bin/mmdebstrap line 6437
```
This bug was fixed in the package dash - 0.5.12-9ubuntu1
---------------
dash (0.5.12-9ubuntu1) oracular; urgency=medium
* Merge with Debian unstable (LP: #2071627). Remaining changes: shells. d/dash: move files to /usr
0.5.12- 6ubuntu6, causing the test to fail
- DEP17 /usr merge:
- debian/
- d/t/smoke: add /bin/dash link tests
- d/t/mmdebstrap: remove unused distribution parsing
- d/t/control:
- restrict test case mmdebstrap to the architectures
amd64, arm64, s390x & ppc64el (LP: #2028868, #2071464)
- re-added fakeroot Depends after it was accidentially droped in
dash (0.5.12-9) unstable; urgency=medium
[ Helmut Grohne ]
* Move files from / to /usr to finalize /usr-merge.
dash (0.5.12-8) unstable; urgency=medium
[ Helmut Grohne ]
* Don't leak host CFLAGS into build compiler invocation
(Closes: #1057339).
dash (0.5.12-7) unstable; urgency=medium
[ Andrej Shadura ] Root: no.
* Drop obsolete ash package (Closes: #920644)
* Bump debhelper from old 12 to 13.
* Set Rules-Requires-
* Bump Standards-Version to 4.6.2.
* Upstream patch:
- Implement pipefail option (Closes: #1071238)
[ Luca Boccassi ]
* Drop versioned dependencies satisfied since Buster (Closes: #1057323)
-- Dominik Viererbe <email address hidden> Thu, 04 Jul 2024 13:19:46 +0300