ascii-boxes / boxes

Command line ASCII boxes unlimited!
https://boxes.thomasjensen.com/
GNU General Public License v3.0
599 stars 78 forks source link

Testsuite failing on i386 architecture? #125

Open carnil opened 7 months ago

carnil commented 7 months ago

Hi

While preparing the update for boxes up to v2.3.0 in Debian I noticed that in our pipeline when building for i386 the testsuite fails, and the underlying error:

Running test case: 126_config_file_xdg3.txt
    export HOME="`pwd`/126_data/home"
    export XDG_CONFIG_HOME="`pwd`/126_data/xdg"
    Invoking: boxes 
1,2c1,3
< munmap_chunk(): invalid pointer
< ./testrunner.sh: line 251:  5839 Aborted                 (core dumped) ../out/boxes
---
> #123123---456#
> #foo         #
> #12345<>67890#
Error in test case: 126_config_file_xdg3.txt (top: actual; bottom: expected)

I'm attaching as well the full pipeline log:

Running with gitlab-runner 16.8.0 (HEAD)
  on salsa-runner.debian.net f0fdd533, system ID: s_5385d57c9472
  feature flags: FF_USE_FASTZIP:true
section_start:1709674119:prepare_executor
Preparing the "docker+machine" executor
Using Docker executor with image registry.salsa.debian.org/salsa-ci-team/pipeline/i386/base:unstable ...
Using helper image:  registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:x86_64-v16.8.0
Pulling docker image registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:x86_64-v16.8.0 ...
Using docker image sha256:883e816a72697c9db8ec967e90f9016967e9f99205728ee621c2d2379614fa93 for registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:x86_64-v16.8.0 with digest registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper@sha256:6d1d6b962f01ebe09857287bf4e1be57a808aeb0862be23fcd9ddc2929e8ae25 ...
Authenticating with credentials from job payload (GitLab Registry)
Pulling docker image registry.salsa.debian.org/salsa-ci-team/pipeline/i386/base:unstable ...
Using docker image sha256:4982275df8720cb66869d0950de2e39cd8c3eaa6453449ffae7bd07dd0cafc16 for registry.salsa.debian.org/salsa-ci-team/pipeline/i386/base:unstable with digest registry.salsa.debian.org/salsa-ci-team/pipeline/i386/base@sha256:b7d6b869e552cd08c737926a0a21e76ea37976512eea19fc74bc809236ec6214 ...
section_end:1709674184:prepare_executor
section_start:1709674184:prepare_script
Preparing environment
Running on runner-f0fdd533-project-18650-concurrent-0 via runner-f0fdd533-1709674119-eaa6b5c5...
section_end:1709674186:prepare_script
section_start:1709674186:get_sources
Getting source from Git repository
Fetching changes with git depth set to 1...
Initialized empty Git repository in /builds/carnil/boxes/.git/
Created fresh repository.
Checking out de4bc98c as detached HEAD (ref is fix-color-testfailures)...

Skipping Git submodules setup
section_end:1709674187:get_sources
section_start:1709674187:restore_cache
Restoring cache
Checking cache for build-i386_-1-non_protected...
WARNING: file does not exist                       
Failed to extract cache
section_end:1709674188:restore_cache
section_start:1709674188:download_artifacts
Downloading artifacts
Downloading artifacts for extract-source (5408553)...
Downloading artifacts from coordinator... ok        host=salsa.debian.org id=5408553 responseStatus=200 OK token=64_zD-x5
section_end:1709674189:download_artifacts
section_start:1709674189:step_script
Executing "step_script" stage of the job script
Using docker image sha256:4982275df8720cb66869d0950de2e39cd8c3eaa6453449ffae7bd07dd0cafc16 for registry.salsa.debian.org/salsa-ci-team/pipeline/i386/base:unstable with digest registry.salsa.debian.org/salsa-ci-team/pipeline/i386/base@sha256:b7d6b869e552cd08c737926a0a21e76ea37976512eea19fc74bc809236ec6214 ...
$ rm -vrf ${CI_PROJECT_DIR}/debian/output/.ccache
$ mkdir -vp ${WORKING_DIR} ${CCACHE_WORK_DIR}
mkdir: created directory '/builds/carnil/boxes/.ccache'
$ rm -vrf ${CCACHE_TMP_DIR}
$ mv -v ${CCACHE_WORK_DIR} ${CCACHE_TMP_DIR}
renamed '/builds/carnil/boxes/.ccache' -> '/builds/carnil/boxes/../.boxes.ccache'
$ add_extra_repository.sh -v -e "${SALSA_CI_EXTRA_REPOSITORY}" -k "${SALSA_CI_EXTRA_REPOSITORY_KEY}"
+ [[ -n '' ]]
$ export CCACHE_DIR=${CCACHE_TMP_DIR}
$ test -z "${HOST_ARCH}" || dpkg --add-architecture ${HOST_ARCH}
$ if [ -f /etc/apt/sources.list ]; then # collapsed multi-line command
$ if [ -f /etc/apt/sources.list.d/debian.sources ]; then # collapsed multi-line command
$ apt-get update && eatmydata apt-get upgrade -y
Get:1 http://deb.debian.org/debian sid InRelease [198 kB]
Get:2 http://deb.debian.org/debian sid/main Sources [10.6 MB]
Get:3 http://deb.debian.org/debian sid/main i386 Packages [9790 kB]
Fetched 20.6 MB in 2s (9002 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Calculating upgrade...
The following packages have been kept back:
  e2fsprogs
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
$ eatmydata apt-get install --no-install-recommends -y \ # collapsed multi-line command
Reading package lists...
Building dependency tree...
The following additional packages will be installed:
  binutils binutils-common binutils-i686-linux-gnu bzip2 cpp cpp-13
  cpp-13-i686-linux-gnu cpp-i686-linux-gnu dpkg-dev g++ g++-13
  g++-13-i686-linux-gnu g++-i686-linux-gnu gcc gcc-13 gcc-13-base
  gcc-13-i686-linux-gnu gcc-i686-linux-gnu libasan8 libatomic1 libbinutils
  libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0
  libdb5.3t64 libdpkg-perl libfakeroot libgcc-13-dev libgdbm-compat4t64
  libgdbm6t64 libgomp1 libgprofng0 libhiredis1.1.0 libisl23 libitm1
  libjansson4 libmpc3 libmpfr6 libperl5.38t64 libquadmath0 libsframe1
  libstdc++-13-dev libubsan1 linux-libc-dev make patch perl perl-modules-5.38
  rpcsvc-proto xz-utils
Suggested packages:
  binutils-doc gprofng-gui bzip2-doc distcc | icecc cpp-doc gcc-13-locales
  cpp-13-doc debian-keyring g++-multilib g++-13-multilib gcc-13-doc
  gcc-multilib manpages-dev autoconf automake libtool flex bison gdb gcc-doc
  gcc-13-multilib gdb-i686-linux-gnu glibc-doc gnupg | sq | sqop
  | pgpainless-cli | sequoia-chameleon-gnupg sensible-utils git bzr gdbm-l10n
  libstdc++-13-doc make-doc ed diffutils-doc perl-doc
  libterm-readline-gnu-perl | libterm-readline-perl-perl
  libtap-harness-archive-perl
Recommended packages:
  gnupg | sq | sqop | pgpainless-cli | sequoia-chameleon-gnupg
  libalgorithm-merge-perl manpages manpages-dev libc-devtools
  libfile-fcntllock-perl liblocale-gettext-perl netbase
The following packages will be REMOVED:
  libdb5.3
The following NEW packages will be installed:
  binutils binutils-common binutils-i686-linux-gnu build-essential bzip2
  ccache cpp cpp-13 cpp-13-i686-linux-gnu cpp-i686-linux-gnu dpkg-dev fakeroot
  g++ g++-13 g++-13-i686-linux-gnu g++-i686-linux-gnu gcc gcc-13 gcc-13-base
  gcc-13-i686-linux-gnu gcc-i686-linux-gnu libasan8 libatomic1 libbinutils
  libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0
  libdb5.3t64 libdpkg-perl libfakeroot libgcc-13-dev libgdbm-compat4t64
  libgdbm6t64 libgomp1 libgprofng0 libhiredis1.1.0 libisl23 libitm1
  libjansson4 libmpc3 libmpfr6 libperl5.38t64 libquadmath0 libsframe1
  libstdc++-13-dev libubsan1 linux-libc-dev make patch perl perl-modules-5.38
  rpcsvc-proto xz-utils
0 upgraded, 56 newly installed, 1 to remove and 1 not upgraded.
Need to get 76.7 MB of archives.
After this operation, 317 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian sid/main i386 perl-modules-5.38 all 5.38.2-3.1 [2904 kB]
Get:2 http://deb.debian.org/debian sid/main i386 libdb5.3t64 i386 5.3.28+dfsg2-5 [758 kB]
Get:3 http://deb.debian.org/debian sid/main i386 libgdbm6t64 i386 1.23-5.1 [77.7 kB]
Get:4 http://deb.debian.org/debian sid/main i386 libgdbm-compat4t64 i386 1.23-5.1 [49.0 kB]
Get:5 http://deb.debian.org/debian sid/main i386 libperl5.38t64 i386 5.38.2-3.1 [3936 kB]
Get:6 http://deb.debian.org/debian sid/main i386 perl i386 5.38.2-3.1 [236 kB]
Get:7 http://deb.debian.org/debian sid/main i386 bzip2 i386 1.0.8-5+b2 [40.8 kB]
Get:8 http://deb.debian.org/debian sid/main i386 xz-utils i386 5.6.0-0.2 [493 kB]
Get:9 http://deb.debian.org/debian sid/main i386 binutils-common i386 2.42-3 [2538 kB]
Get:10 http://deb.debian.org/debian sid/main i386 libsframe1 i386 2.42-3 [75.9 kB]
Get:11 http://deb.debian.org/debian sid/main i386 libbinutils i386 2.42-3 [575 kB]
Get:12 http://deb.debian.org/debian sid/main i386 libctf-nobfd0 i386 2.42-3 [154 kB]
Get:13 http://deb.debian.org/debian sid/main i386 libctf0 i386 2.42-3 [91.4 kB]
Get:14 http://deb.debian.org/debian sid/main i386 libgprofng0 i386 2.42-3 [819 kB]
Get:15 http://deb.debian.org/debian sid/main i386 libjansson4 i386 2.14-2+b2 [41.7 kB]
Get:16 http://deb.debian.org/debian sid/main i386 binutils-i686-linux-gnu i386 2.42-3 [2367 kB]
Get:17 http://deb.debian.org/debian sid/main i386 binutils i386 2.42-3 [80.5 kB]
Get:18 http://deb.debian.org/debian sid/main i386 libc-dev-bin i386 2.37-15.1 [47.2 kB]
Get:19 http://deb.debian.org/debian sid/main i386 linux-libc-dev all 6.7.7-1 [2251 kB]
Get:20 http://deb.debian.org/debian sid/main i386 libcrypt-dev i386 1:4.4.36-4 [125 kB]
Get:21 http://deb.debian.org/debian sid/main i386 rpcsvc-proto i386 1.4.3-1 [66.1 kB]
Get:22 http://deb.debian.org/debian sid/main i386 libc6-dev i386 2.37-15.1 [1721 kB]
Get:23 http://deb.debian.org/debian sid/main i386 gcc-13-base i386 13.2.0-18 [43.5 kB]
Get:24 http://deb.debian.org/debian sid/main i386 libisl23 i386 0.26-3+b2 [739 kB]
Get:25 http://deb.debian.org/debian sid/main i386 libmpfr6 i386 4.2.1-1+b1 [747 kB]
Get:26 http://deb.debian.org/debian sid/main i386 libmpc3 i386 1.3.1-1+b2 [60.1 kB]
Get:27 http://deb.debian.org/debian sid/main i386 cpp-13-i686-linux-gnu i386 13.2.0-18 [10.6 MB]
Get:28 http://deb.debian.org/debian sid/main i386 cpp-13 i386 13.2.0-18 [1276 B]
Get:29 http://deb.debian.org/debian sid/main i386 cpp-i686-linux-gnu i386 4:13.2.0-7 [4716 B]
Get:30 http://deb.debian.org/debian sid/main i386 cpp i386 4:13.2.0-7 [1568 B]
Get:31 http://deb.debian.org/debian sid/main i386 libcc1-0 i386 14-20240303-1 [44.2 kB]
Get:32 http://deb.debian.org/debian sid/main i386 libgomp1 i386 14-20240303-1 [138 kB]
Get:33 http://deb.debian.org/debian sid/main i386 libitm1 i386 14-20240303-1 [27.2 kB]
Get:34 http://deb.debian.org/debian sid/main i386 libatomic1 i386 14-20240303-1 [7548 B]
Get:35 http://deb.debian.org/debian sid/main i386 libasan8 i386 14-20240303-1 [2605 kB]
Get:36 http://deb.debian.org/debian sid/main i386 libubsan1 i386 14-20240303-1 [1050 kB]
Get:37 http://deb.debian.org/debian sid/main i386 libquadmath0 i386 14-20240303-1 [233 kB]
Get:38 http://deb.debian.org/debian sid/main i386 libgcc-13-dev i386 13.2.0-18 [2497 kB]
Get:39 http://deb.debian.org/debian sid/main i386 gcc-13-i686-linux-gnu i386 13.2.0-18 [20.5 MB]
Get:40 http://deb.debian.org/debian sid/main i386 gcc-13 i386 13.2.0-18 [479 kB]
Get:41 http://deb.debian.org/debian sid/main i386 gcc-i686-linux-gnu i386 4:13.2.0-7 [1428 B]
Get:42 http://deb.debian.org/debian sid/main i386 gcc i386 4:13.2.0-7 [5140 B]
Get:43 http://deb.debian.org/debian sid/main i386 libstdc++-13-dev i386 13.2.0-18 [2273 kB]
Get:44 http://deb.debian.org/debian sid/main i386 g++-13-i686-linux-gnu i386 13.2.0-18 [11.6 MB]
Get:45 http://deb.debian.org/debian sid/main i386 g++-13 i386 13.2.0-18 [14.7 kB]
Get:46 http://deb.debian.org/debian sid/main i386 g++-i686-linux-gnu i386 4:13.2.0-7 [1192 B]
Get:47 http://deb.debian.org/debian sid/main i386 g++ i386 4:13.2.0-7 [1344 B]
Get:48 http://deb.debian.org/debian sid/main i386 make i386 4.3-4.1 [404 kB]
Get:49 http://deb.debian.org/debian sid/main i386 libdpkg-perl all 1.22.5 [632 kB]
Get:50 http://deb.debian.org/debian sid/main i386 patch i386 2.7.6-7 [141 kB]
Get:51 http://deb.debian.org/debian sid/main i386 dpkg-dev all 1.22.5 [1303 kB]
Get:52 http://deb.debian.org/debian sid/main i386 build-essential i386 12.10 [4516 B]
Get:53 http://deb.debian.org/debian sid/main i386 libhiredis1.1.0 i386 1.2.0-6 [54.3 kB]
Get:54 http://deb.debian.org/debian sid/main i386 ccache i386 4.9.1-1 [853 kB]
Get:55 http://deb.debian.org/debian sid/main i386 libfakeroot i386 1.33-1 [31.2 kB]
Get:56 http://deb.debian.org/debian sid/main i386 fakeroot i386 1.33-1 [75.1 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 76.7 MB in 0s (158 MB/s)
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 5713 files and directories currently installed.)
Removing libdb5.3:i386 (5.3.28+dfsg2-4+b1) ...
Selecting previously unselected package perl-modules-5.38.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 5706 files and directories currently installed.)
Preparing to unpack .../00-perl-modules-5.38_5.38.2-3.1_all.deb ...
Unpacking perl-modules-5.38 (5.38.2-3.1) ...
Selecting previously unselected package libdb5.3t64:i386.
Preparing to unpack .../01-libdb5.3t64_5.3.28+dfsg2-5_i386.deb ...
Unpacking libdb5.3t64:i386 (5.3.28+dfsg2-5) ...
Selecting previously unselected package libgdbm6t64:i386.
Preparing to unpack .../02-libgdbm6t64_1.23-5.1_i386.deb ...
Unpacking libgdbm6t64:i386 (1.23-5.1) ...
Selecting previously unselected package libgdbm-compat4t64:i386.
Preparing to unpack .../03-libgdbm-compat4t64_1.23-5.1_i386.deb ...
Unpacking libgdbm-compat4t64:i386 (1.23-5.1) ...
Selecting previously unselected package libperl5.38t64:i386.
Preparing to unpack .../04-libperl5.38t64_5.38.2-3.1_i386.deb ...
Unpacking libperl5.38t64:i386 (5.38.2-3.1) ...
Selecting previously unselected package perl.
Preparing to unpack .../05-perl_5.38.2-3.1_i386.deb ...
Unpacking perl (5.38.2-3.1) ...
Selecting previously unselected package bzip2.
Preparing to unpack .../06-bzip2_1.0.8-5+b2_i386.deb ...
Unpacking bzip2 (1.0.8-5+b2) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../07-xz-utils_5.6.0-0.2_i386.deb ...
Unpacking xz-utils (5.6.0-0.2) ...
Selecting previously unselected package binutils-common:i386.
Preparing to unpack .../08-binutils-common_2.42-3_i386.deb ...
Unpacking binutils-common:i386 (2.42-3) ...
Selecting previously unselected package libsframe1:i386.
Preparing to unpack .../09-libsframe1_2.42-3_i386.deb ...
Unpacking libsframe1:i386 (2.42-3) ...
Selecting previously unselected package libbinutils:i386.
Preparing to unpack .../10-libbinutils_2.42-3_i386.deb ...
Unpacking libbinutils:i386 (2.42-3) ...
Selecting previously unselected package libctf-nobfd0:i386.
Preparing to unpack .../11-libctf-nobfd0_2.42-3_i386.deb ...
Unpacking libctf-nobfd0:i386 (2.42-3) ...
Selecting previously unselected package libctf0:i386.
Preparing to unpack .../12-libctf0_2.42-3_i386.deb ...
Unpacking libctf0:i386 (2.42-3) ...
Selecting previously unselected package libgprofng0:i386.
Preparing to unpack .../13-libgprofng0_2.42-3_i386.deb ...
Unpacking libgprofng0:i386 (2.42-3) ...
Selecting previously unselected package libjansson4:i386.
Preparing to unpack .../14-libjansson4_2.14-2+b2_i386.deb ...
Unpacking libjansson4:i386 (2.14-2+b2) ...
Selecting previously unselected package binutils-i686-linux-gnu.
Preparing to unpack .../15-binutils-i686-linux-gnu_2.42-3_i386.deb ...
Unpacking binutils-i686-linux-gnu (2.42-3) ...
Selecting previously unselected package binutils.
Preparing to unpack .../16-binutils_2.42-3_i386.deb ...
Unpacking binutils (2.42-3) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../17-libc-dev-bin_2.37-15.1_i386.deb ...
Unpacking libc-dev-bin (2.37-15.1) ...
Selecting previously unselected package linux-libc-dev.
Preparing to unpack .../18-linux-libc-dev_6.7.7-1_all.deb ...
Unpacking linux-libc-dev (6.7.7-1) ...
Selecting previously unselected package libcrypt-dev:i386.
Preparing to unpack .../19-libcrypt-dev_1%3a4.4.36-4_i386.deb ...
Unpacking libcrypt-dev:i386 (1:4.4.36-4) ...
Selecting previously unselected package rpcsvc-proto.
Preparing to unpack .../20-rpcsvc-proto_1.4.3-1_i386.deb ...
Unpacking rpcsvc-proto (1.4.3-1) ...
Selecting previously unselected package libc6-dev:i386.
Preparing to unpack .../21-libc6-dev_2.37-15.1_i386.deb ...
Unpacking libc6-dev:i386 (2.37-15.1) ...
Selecting previously unselected package gcc-13-base:i386.
Preparing to unpack .../22-gcc-13-base_13.2.0-18_i386.deb ...
Unpacking gcc-13-base:i386 (13.2.0-18) ...
Selecting previously unselected package libisl23:i386.
Preparing to unpack .../23-libisl23_0.26-3+b2_i386.deb ...
Unpacking libisl23:i386 (0.26-3+b2) ...
Selecting previously unselected package libmpfr6:i386.
Preparing to unpack .../24-libmpfr6_4.2.1-1+b1_i386.deb ...
Unpacking libmpfr6:i386 (4.2.1-1+b1) ...
Selecting previously unselected package libmpc3:i386.
Preparing to unpack .../25-libmpc3_1.3.1-1+b2_i386.deb ...
Unpacking libmpc3:i386 (1.3.1-1+b2) ...
Selecting previously unselected package cpp-13-i686-linux-gnu.
Preparing to unpack .../26-cpp-13-i686-linux-gnu_13.2.0-18_i386.deb ...
Unpacking cpp-13-i686-linux-gnu (13.2.0-18) ...
Selecting previously unselected package cpp-13.
Preparing to unpack .../27-cpp-13_13.2.0-18_i386.deb ...
Unpacking cpp-13 (13.2.0-18) ...
Selecting previously unselected package cpp-i686-linux-gnu.
Preparing to unpack .../28-cpp-i686-linux-gnu_4%3a13.2.0-7_i386.deb ...
Unpacking cpp-i686-linux-gnu (4:13.2.0-7) ...
Selecting previously unselected package cpp.
Preparing to unpack .../29-cpp_4%3a13.2.0-7_i386.deb ...
Unpacking cpp (4:13.2.0-7) ...
Selecting previously unselected package libcc1-0:i386.
Preparing to unpack .../30-libcc1-0_14-20240303-1_i386.deb ...
Unpacking libcc1-0:i386 (14-20240303-1) ...
Selecting previously unselected package libgomp1:i386.
Preparing to unpack .../31-libgomp1_14-20240303-1_i386.deb ...
Unpacking libgomp1:i386 (14-20240303-1) ...
Selecting previously unselected package libitm1:i386.
Preparing to unpack .../32-libitm1_14-20240303-1_i386.deb ...
Unpacking libitm1:i386 (14-20240303-1) ...
Selecting previously unselected package libatomic1:i386.
Preparing to unpack .../33-libatomic1_14-20240303-1_i386.deb ...
Unpacking libatomic1:i386 (14-20240303-1) ...
Selecting previously unselected package libasan8:i386.
Preparing to unpack .../34-libasan8_14-20240303-1_i386.deb ...
Unpacking libasan8:i386 (14-20240303-1) ...
Selecting previously unselected package libubsan1:i386.
Preparing to unpack .../35-libubsan1_14-20240303-1_i386.deb ...
Unpacking libubsan1:i386 (14-20240303-1) ...
Selecting previously unselected package libquadmath0:i386.
Preparing to unpack .../36-libquadmath0_14-20240303-1_i386.deb ...
Unpacking libquadmath0:i386 (14-20240303-1) ...
Selecting previously unselected package libgcc-13-dev:i386.
Preparing to unpack .../37-libgcc-13-dev_13.2.0-18_i386.deb ...
Unpacking libgcc-13-dev:i386 (13.2.0-18) ...
Selecting previously unselected package gcc-13-i686-linux-gnu.
Preparing to unpack .../38-gcc-13-i686-linux-gnu_13.2.0-18_i386.deb ...
Unpacking gcc-13-i686-linux-gnu (13.2.0-18) ...
Selecting previously unselected package gcc-13.
Preparing to unpack .../39-gcc-13_13.2.0-18_i386.deb ...
Unpacking gcc-13 (13.2.0-18) ...
Selecting previously unselected package gcc-i686-linux-gnu.
Preparing to unpack .../40-gcc-i686-linux-gnu_4%3a13.2.0-7_i386.deb ...
Unpacking gcc-i686-linux-gnu (4:13.2.0-7) ...
Selecting previously unselected package gcc.
Preparing to unpack .../41-gcc_4%3a13.2.0-7_i386.deb ...
Unpacking gcc (4:13.2.0-7) ...
Selecting previously unselected package libstdc++-13-dev:i386.
Preparing to unpack .../42-libstdc++-13-dev_13.2.0-18_i386.deb ...
Unpacking libstdc++-13-dev:i386 (13.2.0-18) ...
Selecting previously unselected package g++-13-i686-linux-gnu.
Preparing to unpack .../43-g++-13-i686-linux-gnu_13.2.0-18_i386.deb ...
Unpacking g++-13-i686-linux-gnu (13.2.0-18) ...
Selecting previously unselected package g++-13.
Preparing to unpack .../44-g++-13_13.2.0-18_i386.deb ...
Unpacking g++-13 (13.2.0-18) ...
Selecting previously unselected package g++-i686-linux-gnu.
Preparing to unpack .../45-g++-i686-linux-gnu_4%3a13.2.0-7_i386.deb ...
Unpacking g++-i686-linux-gnu (4:13.2.0-7) ...
Selecting previously unselected package g++.
Preparing to unpack .../46-g++_4%3a13.2.0-7_i386.deb ...
Unpacking g++ (4:13.2.0-7) ...
Selecting previously unselected package make.
Preparing to unpack .../47-make_4.3-4.1_i386.deb ...
Unpacking make (4.3-4.1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../48-libdpkg-perl_1.22.5_all.deb ...
Unpacking libdpkg-perl (1.22.5) ...
Selecting previously unselected package patch.
Preparing to unpack .../49-patch_2.7.6-7_i386.deb ...
Unpacking patch (2.7.6-7) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../50-dpkg-dev_1.22.5_all.deb ...
Unpacking dpkg-dev (1.22.5) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../51-build-essential_12.10_i386.deb ...
Unpacking build-essential (12.10) ...
Selecting previously unselected package libhiredis1.1.0:i386.
Preparing to unpack .../52-libhiredis1.1.0_1.2.0-6_i386.deb ...
Unpacking libhiredis1.1.0:i386 (1.2.0-6) ...
Selecting previously unselected package ccache.
Preparing to unpack .../53-ccache_4.9.1-1_i386.deb ...
Unpacking ccache (4.9.1-1) ...
Selecting previously unselected package libfakeroot:i386.
Preparing to unpack .../54-libfakeroot_1.33-1_i386.deb ...
Unpacking libfakeroot:i386 (1.33-1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../55-fakeroot_1.33-1_i386.deb ...
Unpacking fakeroot (1.33-1) ...
Setting up libgdbm6t64:i386 (1.23-5.1) ...
Setting up libgdbm-compat4t64:i386 (1.23-5.1) ...
Setting up binutils-common:i386 (2.42-3) ...
Setting up linux-libc-dev (6.7.7-1) ...
Setting up libctf-nobfd0:i386 (2.42-3) ...
Setting up libgomp1:i386 (14-20240303-1) ...
Setting up bzip2 (1.0.8-5+b2) ...
Setting up libsframe1:i386 (2.42-3) ...
Setting up libfakeroot:i386 (1.33-1) ...
Setting up libjansson4:i386 (2.14-2+b2) ...
Setting up fakeroot (1.33-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up rpcsvc-proto (1.4.3-1) ...
Setting up gcc-13-base:i386 (13.2.0-18) ...
Setting up make (4.3-4.1) ...
Setting up libmpfr6:i386 (4.2.1-1+b1) ...
Setting up xz-utils (5.6.0-0.2) ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
Setting up perl-modules-5.38 (5.38.2-3.1) ...
Setting up libquadmath0:i386 (14-20240303-1) ...
Setting up libmpc3:i386 (1.3.1-1+b2) ...
Setting up libatomic1:i386 (14-20240303-1) ...
Setting up patch (2.7.6-7) ...
Setting up libdb5.3t64:i386 (5.3.28+dfsg2-5) ...
Setting up libubsan1:i386 (14-20240303-1) ...
Setting up libcrypt-dev:i386 (1:4.4.36-4) ...
Setting up libasan8:i386 (14-20240303-1) ...
Setting up libperl5.38t64:i386 (5.38.2-3.1) ...
Setting up libbinutils:i386 (2.42-3) ...
Setting up libisl23:i386 (0.26-3+b2) ...
Setting up libc-dev-bin (2.37-15.1) ...
Setting up cpp-13-i686-linux-gnu (13.2.0-18) ...
Setting up libhiredis1.1.0:i386 (1.2.0-6) ...
Setting up libcc1-0:i386 (14-20240303-1) ...
Setting up libitm1:i386 (14-20240303-1) ...
Setting up libctf0:i386 (2.42-3) ...
Setting up cpp-13 (13.2.0-18) ...
Setting up ccache (4.9.1-1) ...
Updating symlinks in /usr/lib/ccache ...
Setting up perl (5.38.2-3.1) ...
Setting up libgprofng0:i386 (2.42-3) ...
Setting up libdpkg-perl (1.22.5) ...
Setting up libgcc-13-dev:i386 (13.2.0-18) ...
Setting up libc6-dev:i386 (2.37-15.1) ...
Setting up cpp-i686-linux-gnu (4:13.2.0-7) ...
Setting up libstdc++-13-dev:i386 (13.2.0-18) ...
Setting up binutils-i686-linux-gnu (2.42-3) ...
Setting up binutils (2.42-3) ...
Setting up dpkg-dev (1.22.5) ...
Setting up cpp (4:13.2.0-7) ...
Setting up gcc-13-i686-linux-gnu (13.2.0-18) ...
Setting up g++-13-i686-linux-gnu (13.2.0-18) ...
Setting up gcc-13 (13.2.0-18) ...
Setting up gcc-i686-linux-gnu (4:13.2.0-7) ...
Setting up g++-i686-linux-gnu (4:13.2.0-7) ...
Setting up g++-13 (13.2.0-18) ...
Setting up gcc (4:13.2.0-7) ...
Setting up g++ (4:13.2.0-7) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.10) ...
Processing triggers for libc-bin (2.37-15.1) ...
$ test -z "${HOST_ARCH}" || eatmydata apt-get satisfy --no-install-recommends -y \ # collapsed multi-line command
$ test -z "${HOST_ARCH}" || export DEB_BUILD_OPTIONS="nocheck ${DEB_BUILD_OPTIONS}"
$ if echo "$SALSA_CI_DISABLE_BUILD_DBGSYM" | grep -qE '^(1|yes|true)$'; then # collapsed multi-line command
$ cd ${WORKING_DIR}/${SOURCE_DIR}
$ aptopts=""
$ test "$DB_BUILD_TYPE" != "any" || aptopts="--arch-only"
$ test "$DB_BUILD_TYPE" != "all" || aptopts="--indep-only"
$ if [ "$RELEASE" = "experimental" ] || [[ "$RELEASE" =~ .*-backports$ ]]; then # collapsed multi-line command
$ eatmydata apt-get build-dep ${HOST_ARCH:+--host-architecture ${HOST_ARCH} -Pcross,nocheck} --no-install-recommends -y $aptopts .
Note, using directory '.' to get the build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bison bsdextrautils debhelper
  dh-autoreconf dh-strip-nondeterminism dwz file flex gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libdebhelper-perl libelf1
  libfile-stripnondeterminism-perl libicu72 libmagic-mgc libmagic1t64
  libncurses-dev libncurses6 libncursesw6 libpcre2-16-0 libpcre2-32-0
  libpcre2-dev libpcre2-posix3 libpipeline1 libsub-override-perl libtool
  libuchardet0 libunistring-dev libxml2 m4 man-db po-debconf sensible-utils
  xxd
0 upgraded, 41 newly installed, 0 to remove and 1 not upgraded.
Need to get 23.5 MB of archives.
After this operation, 88.4 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian sid/main i386 m4 i386 1.4.19-4 [293 kB]
Get:2 http://deb.debian.org/debian sid/main i386 flex i386 2.6.4-8.2+b2 [415 kB]
Get:3 http://deb.debian.org/debian sid/main i386 sensible-utils all 0.0.22 [22.4 kB]
Get:4 http://deb.debian.org/debian sid/main i386 libmagic-mgc i386 1:5.45-3 [314 kB]
Get:5 http://deb.debian.org/debian sid/main i386 libmagic1t64 i386 1:5.45-3 [114 kB]
Get:6 http://deb.debian.org/debian sid/main i386 file i386 1:5.45-3 [42.9 kB]
Get:7 http://deb.debian.org/debian sid/main i386 gettext-base i386 0.21-14+b1 [162 kB]
Get:8 http://deb.debian.org/debian sid/main i386 libuchardet0 i386 0.0.8-1+b1 [69.1 kB]
Get:9 http://deb.debian.org/debian sid/main i386 groff-base i386 1.23.0-3 [1195 kB]
Get:10 http://deb.debian.org/debian sid/main i386 bsdextrautils i386 2.39.3-9 [93.6 kB]
Get:11 http://deb.debian.org/debian sid/main i386 libpipeline1 i386 1.5.7-1+b2 [39.6 kB]
Get:12 http://deb.debian.org/debian sid/main i386 man-db i386 2.12.0-3 [1413 kB]
Get:13 http://deb.debian.org/debian sid/main i386 autoconf all 2.71-3 [332 kB]
Get:14 http://deb.debian.org/debian sid/main i386 autotools-dev all 20220109.1 [51.6 kB]
Get:15 http://deb.debian.org/debian sid/main i386 automake all 1:1.16.5-1.3 [823 kB]
Get:16 http://deb.debian.org/debian sid/main i386 autopoint all 0.21-14 [496 kB]
Get:17 http://deb.debian.org/debian sid/main i386 bison i386 2:3.8.2+dfsg-1+b1 [1186 kB]
Get:18 http://deb.debian.org/debian sid/main i386 libdebhelper-perl all 13.14.1 [85.6 kB]
Get:19 http://deb.debian.org/debian sid/main i386 libtool all 2.4.7-7 [517 kB]
Get:20 http://deb.debian.org/debian sid/main i386 dh-autoreconf all 20 [17.1 kB]
Get:21 http://deb.debian.org/debian sid/main i386 libarchive-zip-perl all 1.68-1 [104 kB]
Get:22 http://deb.debian.org/debian sid/main i386 libsub-override-perl all 0.10-1 [10.6 kB]
Get:23 http://deb.debian.org/debian sid/main i386 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB]
Get:24 http://deb.debian.org/debian sid/main i386 dh-strip-nondeterminism all 1.13.1-1 [8620 B]
Get:25 http://deb.debian.org/debian sid/main i386 libelf1 i386 0.190-1+b1 [182 kB]
Get:26 http://deb.debian.org/debian sid/main i386 dwz i386 0.15-1 [118 kB]
Get:27 http://deb.debian.org/debian sid/main i386 libicu72 i386 72.1-4+b1 [9549 kB]
Get:28 http://deb.debian.org/debian sid/main i386 libxml2 i386 2.9.14+dfsg-1.3+b2 [727 kB]
Get:29 http://deb.debian.org/debian sid/main i386 gettext i386 0.21-14+b1 [1311 kB]
Get:30 http://deb.debian.org/debian sid/main i386 intltool-debian all 0.35.0+20060710.6 [22.9 kB]
Get:31 http://deb.debian.org/debian sid/main i386 po-debconf all 1.0.21+nmu1 [248 kB]
Get:32 http://deb.debian.org/debian sid/main i386 debhelper all 13.14.1 [890 kB]
Get:33 http://deb.debian.org/debian sid/main i386 libncurses6 i386 6.4+20240113-1 [111 kB]
Get:34 http://deb.debian.org/debian sid/main i386 libncursesw6 i386 6.4+20240113-1 [147 kB]
Get:35 http://deb.debian.org/debian sid/main i386 libncurses-dev i386 6.4+20240113-1 [380 kB]
Get:36 http://deb.debian.org/debian sid/main i386 libpcre2-16-0 i386 10.42-4+b1 [244 kB]
Get:37 http://deb.debian.org/debian sid/main i386 libpcre2-32-0 i386 10.42-4+b1 [233 kB]
Get:38 http://deb.debian.org/debian sid/main i386 libpcre2-posix3 i386 10.42-4+b1 [55.8 kB]
Get:39 http://deb.debian.org/debian sid/main i386 libpcre2-dev i386 10.42-4+b1 [759 kB]
Get:40 http://deb.debian.org/debian sid/main i386 libunistring-dev i386 1.1-2 [608 kB]
Get:41 http://deb.debian.org/debian sid/main i386 xxd i386 2:9.1.0016-1 [94.4 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 23.5 MB in 0s (112 MB/s)
Selecting previously unselected package m4.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 13388 files and directories currently installed.)
Preparing to unpack .../00-m4_1.4.19-4_i386.deb ...
Unpacking m4 (1.4.19-4) ...
Selecting previously unselected package flex.
Preparing to unpack .../01-flex_2.6.4-8.2+b2_i386.deb ...
Unpacking flex (2.6.4-8.2+b2) ...
Selecting previously unselected package sensible-utils.
Preparing to unpack .../02-sensible-utils_0.0.22_all.deb ...
Unpacking sensible-utils (0.0.22) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../03-libmagic-mgc_1%3a5.45-3_i386.deb ...
Unpacking libmagic-mgc (1:5.45-3) ...
Selecting previously unselected package libmagic1t64:i386.
Preparing to unpack .../04-libmagic1t64_1%3a5.45-3_i386.deb ...
Unpacking libmagic1t64:i386 (1:5.45-3) ...
Selecting previously unselected package file.
Preparing to unpack .../05-file_1%3a5.45-3_i386.deb ...
Unpacking file (1:5.45-3) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../06-gettext-base_0.21-14+b1_i386.deb ...
Unpacking gettext-base (0.21-14+b1) ...
Selecting previously unselected package libuchardet0:i386.
Preparing to unpack .../07-libuchardet0_0.0.8-1+b1_i386.deb ...
Unpacking libuchardet0:i386 (0.0.8-1+b1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../08-groff-base_1.23.0-3_i386.deb ...
Unpacking groff-base (1.23.0-3) ...
Selecting previously unselected package bsdextrautils.
Preparing to unpack .../09-bsdextrautils_2.39.3-9_i386.deb ...
Unpacking bsdextrautils (2.39.3-9) ...
Selecting previously unselected package libpipeline1:i386.
Preparing to unpack .../10-libpipeline1_1.5.7-1+b2_i386.deb ...
Unpacking libpipeline1:i386 (1.5.7-1+b2) ...
Selecting previously unselected package man-db.
Preparing to unpack .../11-man-db_2.12.0-3_i386.deb ...
Unpacking man-db (2.12.0-3) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../12-autoconf_2.71-3_all.deb ...
Unpacking autoconf (2.71-3) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../13-autotools-dev_20220109.1_all.deb ...
Unpacking autotools-dev (20220109.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../14-automake_1%3a1.16.5-1.3_all.deb ...
Unpacking automake (1:1.16.5-1.3) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../15-autopoint_0.21-14_all.deb ...
Unpacking autopoint (0.21-14) ...
Selecting previously unselected package bison.
Preparing to unpack .../16-bison_2%3a3.8.2+dfsg-1+b1_i386.deb ...
Unpacking bison (2:3.8.2+dfsg-1+b1) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../17-libdebhelper-perl_13.14.1_all.deb ...
Unpacking libdebhelper-perl (13.14.1) ...
Selecting previously unselected package libtool.
Preparing to unpack .../18-libtool_2.4.7-7_all.deb ...
Unpacking libtool (2.4.7-7) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../19-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../20-libarchive-zip-perl_1.68-1_all.deb ...
Unpacking libarchive-zip-perl (1.68-1) ...
Selecting previously unselected package libsub-override-perl.
Preparing to unpack .../21-libsub-override-perl_0.10-1_all.deb ...
Unpacking libsub-override-perl (0.10-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../22-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../23-dh-strip-nondeterminism_1.13.1-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.13.1-1) ...
Selecting previously unselected package libelf1:i386.
Preparing to unpack .../24-libelf1_0.190-1+b1_i386.deb ...
Unpacking libelf1:i386 (0.190-1+b1) ...
Selecting previously unselected package dwz.
Preparing to unpack .../25-dwz_0.15-1_i386.deb ...
Unpacking dwz (0.15-1) ...
Selecting previously unselected package libicu72:i386.
Preparing to unpack .../26-libicu72_72.1-4+b1_i386.deb ...
Unpacking libicu72:i386 (72.1-4+b1) ...
Selecting previously unselected package libxml2:i386.
Preparing to unpack .../27-libxml2_2.9.14+dfsg-1.3+b2_i386.deb ...
Unpacking libxml2:i386 (2.9.14+dfsg-1.3+b2) ...
Selecting previously unselected package gettext.
Preparing to unpack .../28-gettext_0.21-14+b1_i386.deb ...
Unpacking gettext (0.21-14+b1) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../29-intltool-debian_0.35.0+20060710.6_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.6) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../30-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../31-debhelper_13.14.1_all.deb ...
Unpacking debhelper (13.14.1) ...
Selecting previously unselected package libncurses6:i386.
Preparing to unpack .../32-libncurses6_6.4+20240113-1_i386.deb ...
Unpacking libncurses6:i386 (6.4+20240113-1) ...
Selecting previously unselected package libncursesw6:i386.
Preparing to unpack .../33-libncursesw6_6.4+20240113-1_i386.deb ...
Unpacking libncursesw6:i386 (6.4+20240113-1) ...
Selecting previously unselected package libncurses-dev:i386.
Preparing to unpack .../34-libncurses-dev_6.4+20240113-1_i386.deb ...
Unpacking libncurses-dev:i386 (6.4+20240113-1) ...
Selecting previously unselected package libpcre2-16-0:i386.
Preparing to unpack .../35-libpcre2-16-0_10.42-4+b1_i386.deb ...
Unpacking libpcre2-16-0:i386 (10.42-4+b1) ...
Selecting previously unselected package libpcre2-32-0:i386.
Preparing to unpack .../36-libpcre2-32-0_10.42-4+b1_i386.deb ...
Unpacking libpcre2-32-0:i386 (10.42-4+b1) ...
Selecting previously unselected package libpcre2-posix3:i386.
Preparing to unpack .../37-libpcre2-posix3_10.42-4+b1_i386.deb ...
Unpacking libpcre2-posix3:i386 (10.42-4+b1) ...
Selecting previously unselected package libpcre2-dev:i386.
Preparing to unpack .../38-libpcre2-dev_10.42-4+b1_i386.deb ...
Unpacking libpcre2-dev:i386 (10.42-4+b1) ...
Selecting previously unselected package libunistring-dev:i386.
Preparing to unpack .../39-libunistring-dev_1.1-2_i386.deb ...
Unpacking libunistring-dev:i386 (1.1-2) ...
Selecting previously unselected package xxd.
Preparing to unpack .../40-xxd_2%3a9.1.0016-1_i386.deb ...
Unpacking xxd (2:9.1.0016-1) ...
Setting up libunistring-dev:i386 (1.1-2) ...
Setting up libpipeline1:i386 (1.5.7-1+b2) ...
Setting up libicu72:i386 (72.1-4+b1) ...
Setting up bsdextrautils (2.39.3-9) ...
Setting up libmagic-mgc (1:5.45-3) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libdebhelper-perl (13.14.1) ...
Setting up libmagic1t64:i386 (1:5.45-3) ...
Setting up gettext-base (0.21-14+b1) ...
Setting up m4 (1.4.19-4) ...
Setting up file (1:5.45-3) ...
Setting up libpcre2-16-0:i386 (10.42-4+b1) ...
Setting up xxd (2:9.1.0016-1) ...
Setting up autotools-dev (20220109.1) ...
Setting up libpcre2-32-0:i386 (10.42-4+b1) ...
Setting up libncurses6:i386 (6.4+20240113-1) ...
Setting up autopoint (0.21-14) ...
Setting up libncursesw6:i386 (6.4+20240113-1) ...
Setting up autoconf (2.71-3) ...
Setting up libpcre2-posix3:i386 (10.42-4+b1) ...
Setting up sensible-utils (0.0.22) ...
Setting up libuchardet0:i386 (0.0.8-1+b1) ...
Setting up bison (2:3.8.2+dfsg-1+b1) ...
update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode
Setting up libsub-override-perl (0.10-1) ...
Setting up libelf1:i386 (0.190-1+b1) ...
Setting up libxml2:i386 (2.9.14+dfsg-1.3+b2) ...
Setting up automake (1:1.16.5-1.3) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up libfile-stripnondeterminism-perl (1.13.1-1) ...
Setting up flex (2.6.4-8.2+b2) ...
Setting up libncurses-dev:i386 (6.4+20240113-1) ...
Setting up gettext (0.21-14+b1) ...
Setting up libpcre2-dev:i386 (10.42-4+b1) ...
Setting up libtool (2.4.7-7) ...
Setting up intltool-debian (0.35.0+20060710.6) ...
Setting up dh-autoreconf (20) ...
Setting up dh-strip-nondeterminism (1.13.1-1) ...
Setting up dwz (0.15-1) ...
Setting up groff-base (1.23.0-3) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up man-db (2.12.0-3) ...
Building database of manual pages ...
Setting up debhelper (13.14.1) ...
Processing triggers for libc-bin (2.37-15.1) ...
$ if ! echo "$SALSA_CI_DISABLE_VERSION_BUMP" | grep -qE '^(1|yes|true)$'; then # collapsed multi-line command
$ dpkg-reconfigure ccache
Updating symlinks in /usr/lib/ccache ...
$ PATH="/usr/lib/ccache/:${PATH}"
$ ccache -z
Statistics zeroed
$ useradd --create-home salsaci
$ chown -R 'salsaci:' ${WORKING_DIR} ${CCACHE_DIR}
$ BUILD_LOGFILE_SOURCE=$(dpkg-parsechangelog -S Source)
$ BUILD_LOGFILE_VERSION=$(dpkg-parsechangelog -S Version)
$ BUILD_LOGFILE_VERSION=${BUILD_LOGFILE_VERSION#*:}
$ BUILD_LOGFILE_ARCH=${HOST_ARCH:-${BUILD_ARCH}}
$ BUILD_LOGFILE="${WORKING_DIR}/${BUILD_LOGFILE_SOURCE}_${BUILD_LOGFILE_VERSION}_${BUILD_LOGFILE_ARCH}.build"
$ export BUILD_COMMAND="eatmydata dpkg-buildpackage ${HOST_ARCH:+--host-arch ${HOST_ARCH} -Pcross,nocheck} --build=${DB_BUILD_TYPE} ${DB_BUILD_PARAM}"
$ test "${BUILD_ARCH}" = "i386" && export BUILD_COMMAND="/usr/bin/setarch i686 ${BUILD_COMMAND}"
$ printenv | sort

BUILD_ARCH=i386
BUILD_COMMAND=/usr/bin/setarch i686 eatmydata dpkg-buildpackage  --build=full 
BUILD_TWICE=false
CCACHE_DIR=/builds/carnil/boxes/../.boxes.ccache
CCACHE_TMP_DIR=/builds/carnil/boxes/../.boxes.ccache
CCACHE_WORK_DIR=/builds/carnil/boxes/.ccache
CI=true
CI_API_GRAPHQL_URL=https://salsa.debian.org/api/graphql
CI_API_V4_URL=https://salsa.debian.org/api/v4
CI_BUILDS_DIR=/builds
CI_COMMIT_AUTHOR=Salvatore Bonaccorso <carnil@debian.org>
CI_COMMIT_BEFORE_SHA=0000000000000000000000000000000000000000
CI_COMMIT_BRANCH=fix-color-testfailures
CI_COMMIT_DESCRIPTION=
CI_COMMIT_MESSAGE=d/rules: Explicitly set TERM=xterm-color when running testsuite
CI_COMMIT_REF_NAME=fix-color-testfailures
CI_COMMIT_REF_PROTECTED=false
CI_COMMIT_REF_SLUG=fix-color-testfailures
CI_COMMIT_SHA=de4bc98c076553e911f609eab3230d37517cbc1c
CI_COMMIT_SHORT_SHA=de4bc98c
CI_COMMIT_TIMESTAMP=2024-03-05T22:22:54+01:00
CI_COMMIT_TITLE=d/rules: Explicitly set TERM=xterm-color when running testsuite
CI_CONCURRENT_ID=5
CI_CONCURRENT_PROJECT_ID=0
CI_CONFIG_PATH=debian/salsa-ci.yml
CI_DEFAULT_BRANCH=master
CI_DISPOSABLE_ENVIRONMENT=true
CI_JOB_ID=5408566
CI_JOB_IMAGE=registry.salsa.debian.org/salsa-ci-team/pipeline/i386/base:unstable
CI_JOB_JWT=[MASKED]
CI_JOB_JWT_V1=[MASKED]
CI_JOB_JWT_V2=[MASKED]
CI_JOB_NAME=build i386
CI_JOB_NAME_SLUG=build-i386
CI_JOB_STAGE=build
CI_JOB_STARTED_AT=2024-03-05T21:28:39Z
CI_JOB_STATUS=running
CI_JOB_TIMEOUT=3600
CI_JOB_TOKEN=[MASKED]
CI_JOB_URL=https://salsa.debian.org/carnil/boxes/-/jobs/5408566
CI_NODE_TOTAL=1
CI_PAGES_DOMAIN=pages.debian.net
CI_PAGES_URL=https://carnil.pages.debian.net/boxes
CI_PIPELINE_CREATED_AT=2024-03-05T21:23:12Z
CI_PIPELINE_ID=648687
CI_PIPELINE_IID=40
CI_PIPELINE_NAME=
CI_PIPELINE_SOURCE=push
CI_PIPELINE_URL=https://salsa.debian.org/carnil/boxes/-/pipelines/648687
CI_PROJECT_CLASSIFICATION_LABEL=
CI_PROJECT_DESCRIPTION=boxes packaging
CI_PROJECT_DIR=/builds/carnil/boxes
CI_PROJECT_ID=18650
CI_PROJECT_NAME=boxes
CI_PROJECT_NAMESPACE=carnil
CI_PROJECT_NAMESPACE_ID=1614
CI_PROJECT_PATH=carnil/boxes
CI_PROJECT_PATH_SLUG=carnil-boxes
CI_PROJECT_REPOSITORY_LANGUAGES=c,makefile,shell,lex,vim script
CI_PROJECT_ROOT_NAMESPACE=carnil
CI_PROJECT_TITLE=boxes
CI_PROJECT_URL=https://salsa.debian.org/carnil/boxes
CI_PROJECT_VISIBILITY=public
CI_REGISTRY=registry.salsa.debian.org
CI_REGISTRY_IMAGE=registry.salsa.debian.org/carnil/boxes
CI_REGISTRY_PASSWORD=[MASKED]
CI_REGISTRY_USER=gitlab-ci-token
CI_REPOSITORY_URL=https://gitlab-ci-token:[MASKED]@salsa.debian.org/carnil/boxes.git
CI_RUNNER_DESCRIPTION=salsa-runner.debian.net
CI_RUNNER_EXECUTABLE_ARCH=linux/amd64
CI_RUNNER_ID=82
CI_RUNNER_REVISION=HEAD
CI_RUNNER_SHORT_TOKEN=f0fdd533
CI_RUNNER_TAGS=["docker", "x86", "pages", "salsa-ci"]
CI_RUNNER_VERSION=16.8.0
CI_SERVER=yes
CI_SERVER_HOST=salsa.debian.org
CI_SERVER_NAME=GitLab
CI_SERVER_PORT=443
CI_SERVER_PROTOCOL=https
CI_SERVER_REVISION=918db8044c6
CI_SERVER_SHELL_SSH_HOST=salsa.debian.org
CI_SERVER_SHELL_SSH_PORT=22
CI_SERVER_TLS_CA_FILE=/builds/carnil/boxes.tmp/CI_SERVER_TLS_CA_FILE
CI_SERVER_URL=https://salsa.debian.org
CI_SERVER_VERSION=16.8.3
CI_SERVER_VERSION_MAJOR=16
CI_SERVER_VERSION_MINOR=8
CI_SERVER_VERSION_PATCH=3
CI_TEMPLATE_REGISTRY_HOST=registry.gitlab.com
DB_BUILD_PARAM=
DB_BUILD_TYPE=full
DEBEMAIL=salsa-pipeline@debian.org
DEBFULLNAME=Salsa Pipeline
DEBIAN_FRONTEND=noninteractive
DEB_BUILD_OPTIONS=noautodbgsym 
DOCKER_TLS_CERTDIR=
FF_CLEAN_UP_FAILED_CACHE_EXTRACT=false
FF_CMD_DISABLE_DELAYED_ERROR_LEVEL_EXPANSION=false
FF_DISABLE_POWERSHELL_STDIN=false
FF_DISABLE_UMASK_FOR_DOCKER_EXECUTOR=false
FF_ENABLE_BASH_EXIT_CODE_CHECK=false
FF_ENABLE_JOB_CLEANUP=false
FF_KUBERNETES_HONOR_ENTRYPOINT=false
FF_LOG_IMAGES_CONFIGURED_FOR_JOB=false
FF_NETWORK_PER_BUILD=false
FF_POSIXLY_CORRECT_ESCAPES=false
FF_PRINT_POD_EVENTS=false
FF_RESOLVE_FULL_TLS_CHAIN=false
FF_RETRIEVE_POD_WARNING_EVENTS=false
FF_SCRIPT_SECTIONS=false
FF_SECRET_RESOLVING_FAILS_IF_MISSING=true
FF_SET_PERMISSIONS_BEFORE_CLEANUP=true
FF_SKIP_NOOP_BUILD_STAGES=true
FF_USE_ADVANCED_POD_SPEC_CONFIGURATION=false
FF_USE_DIRECT_DOWNLOAD=true
FF_USE_DOCKER_AUTOSCALER_DIAL_STDIO=true
FF_USE_DUMB_INIT_WITH_KUBERNETES_EXECUTOR=false
FF_USE_DYNAMIC_TRACE_FORCE_SEND_INTERVAL=false
FF_USE_FASTZIP=true
FF_USE_GIT_BUNDLE_URIS=true
FF_USE_IMPROVED_URL_MASKING=false
FF_USE_INIT_WITH_DOCKER_EXECUTOR=false
FF_USE_LEGACY_KUBERNETES_EXECUTION_STRATEGY=false
FF_USE_NEW_BASH_EVAL_STRATEGY=false
FF_USE_NEW_SHELL_ESCAPE=false
FF_USE_POD_ACTIVE_DEADLINE_SECONDS=true
FF_USE_POWERSHELL_PATH_RESOLVER=false
FF_USE_WINDOWS_LEGACY_PROCESS_STRATEGY=true
GITLAB_CI=true
GITLAB_ENV=/builds/carnil/boxes.tmp/gitlab_runner_env
GITLAB_FEATURES=
GITLAB_USER_EMAIL=carnil@debian.org
GITLAB_USER_ID=1613
GITLAB_USER_LOGIN=carnil
GITLAB_USER_NAME=Salvatore Bonaccorso
GIT_DEPTH=1
HOME=/root
HOSTNAME=runner-f0fdd533-project-18650-concurrent-0
HOST_ARCH=
OLDPWD=/builds/carnil/boxes
PATH=/usr/lib/ccache/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD=/builds/carnil/boxes/debian/output/source_dir
PYTHONIOENCODING=utf-8
RELEASE=unstable
RUNNER_TEMP_PROJECT_DIR=/builds/carnil/boxes.tmp
SALSA_CI_AUTOPKGTEST_ALLOWED_EXIT_STATUS=0,2,8
SALSA_CI_AUTOPKGTEST_ARGS=
SALSA_CI_AUTOPKGTEST_LXC=https://salsa.debian.org/salsa-ci-team/autopkgtest-lxc
SALSA_CI_BLHC_ARGS=
SALSA_CI_BUILD_TIMEOUT_ARGS=-v 2.75h
SALSA_CI_COMPONENTS=main
SALSA_CI_DISABLE_APTLY=1
SALSA_CI_DISABLE_BUILD_DBGSYM=1
SALSA_CI_DISABLE_BUILD_PACKAGE_ARM64=1
SALSA_CI_DISABLE_BUILD_PACKAGE_ARMEL=1
SALSA_CI_DISABLE_BUILD_PACKAGE_ARMHF=1
SALSA_CI_DISABLE_BUILD_PACKAGE_PROFILES=1
SALSA_CI_DISABLE_BUILD_PACKAGE_TWICE=1
SALSA_CI_DISABLE_GBP_SETUP_GITATTRIBUTES=1
SALSA_CI_DISABLE_MISSING_BREAKS=1
SALSA_CI_DISABLE_RC_BUGS=1
SALSA_CI_DPKG_BUILDPACKAGE_ARGS=
SALSA_CI_ENABLE_ATOMIC_REPROTEST=0
SALSA_CI_EXTRA_REPOSITORY=
SALSA_CI_EXTRA_REPOSITORY_KEY=
SALSA_CI_GBP_BUILDPACKAGE_ARGS=
SALSA_CI_IGNORED_BRANCHES=
SALSA_CI_IMAGES=registry.salsa.debian.org/salsa-ci-team/pipeline
SALSA_CI_IMAGES_APTLY=registry.salsa.debian.org/salsa-ci-team/pipeline/aptly
SALSA_CI_IMAGES_AUTOPKGTEST=registry.salsa.debian.org/salsa-ci-team/pipeline/autopkgtest
SALSA_CI_IMAGES_BASE=registry.salsa.debian.org/salsa-ci-team/pipeline/base:unstable
SALSA_CI_IMAGES_BASE_ARM32V5=registry.salsa.debian.org/salsa-ci-team/pipeline/arm32v5/base:unstable
SALSA_CI_IMAGES_BASE_ARM32V7=registry.salsa.debian.org/salsa-ci-team/pipeline/arm32v7/base:unstable
SALSA_CI_IMAGES_BASE_ARM64=registry.salsa.debian.org/salsa-ci-team/pipeline/arm64v8/base:unstable
SALSA_CI_IMAGES_BASE_I386=registry.salsa.debian.org/salsa-ci-team/pipeline/i386/base:unstable
SALSA_CI_IMAGES_BLHC=registry.salsa.debian.org/salsa-ci-team/pipeline/blhc:latest
SALSA_CI_IMAGES_GBP=registry.salsa.debian.org/salsa-ci-team/pipeline/gbp:latest
SALSA_CI_IMAGES_GENERIC_TESTS=registry.salsa.debian.org/salsa-ci-team/pipeline/generic_tests:unstable
SALSA_CI_IMAGES_LINTIAN=registry.salsa.debian.org/salsa-ci-team/pipeline/lintian:latest
SALSA_CI_IMAGES_PIUPARTS=registry.salsa.debian.org/salsa-ci-team/pipeline/piuparts:latest
SALSA_CI_IMAGES_REPROTEST=registry.salsa.debian.org/salsa-ci-team/pipeline/reprotest:latest
SALSA_CI_LINTIAN_ARGS=
SALSA_CI_LINTIAN_FAIL_WARNING=
SALSA_CI_LINTIAN_SHOW_OVERRIDES=0
SALSA_CI_LINTIAN_SUPPRESS_TAGS=
SALSA_CI_MAX_ARTIFACTS_SIZE=256000
SALSA_CI_MIRROR=http://deb.debian.org/debian
SALSA_CI_PIUPARTS_ARGS=
SALSA_CI_PIUPARTS_POST_INSTALL_SCRIPT=
SALSA_CI_PIUPARTS_PRE_INSTALL_SCRIPT=
SALSA_CI_REPROTEST_ENABLE_DIFFOSCOPE=0
SHLVL=1
SOURCE_DIR=source_dir
VENDOR=debian
WORKING_DIR=/builds/carnil/boxes/debian/output
_=/usr/bin/printenv
$ su salsaci -c "timeout ${SALSA_CI_BUILD_TIMEOUT_ARGS} ${BUILD_COMMAND} && if [ "${BUILD_TWICE}" = "true" ]; then ${BUILD_COMMAND}; fi" |& OUTPUT_FILENAME=${BUILD_LOGFILE} filter-output
dpkg-buildpackage: info: source package boxes
dpkg-buildpackage: info: source version 2.3.0-1+salsaci+20240305+40
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Salvatore Bonaccorso <carnil@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture i386
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying default-GLOBALCONF-for-Debian.patch
 debian/rules clean
dh clean
   dh_auto_clean
    make -j2 clean
make[1]: Entering directory '/builds/carnil/boxes/debian/output/source_dir'
rm -f tools/boxes.cfg tools/LICENSE.txt tools/boxes.exe tools/README*.md boxes.portable.*.nupkg
rm -f doc/boxes.1 doc/boxes.1.raw.html doc/boxes.1.html
make -C src clean
make[2]: Entering directory '/builds/carnil/boxes/debian/output/source_dir/src'
rm -rf ../out
rm -f core
make[2]: Leaving directory '/builds/carnil/boxes/debian/output/source_dir/src'
make[1]: Leaving directory '/builds/carnil/boxes/debian/output/source_dir'
   dh_clean
 dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building boxes using existing ./boxes_2.3.0.orig.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: building boxes in boxes_2.3.0-1+salsaci+20240305+40.debian.tar.xz
dpkg-source: info: building boxes in boxes_2.3.0-1+salsaci+20240305+40.dsc
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/builds/carnil/boxes/debian/output/source_dir'
dh_auto_build -- debug
    make -j2 "INSTALL=install --strip-program=true" debug
make[2]: Entering directory '/builds/carnil/boxes/debian/output/source_dir'
mkdir out
| For compilation info please refer to the boxes compilation FAQ
| at https://boxes.thomasjensen.com/faq.html#q5
sed -e 's/--BVERSION--/2.3.0/; s/--GLOBALCONF--/\/etc\/boxes\/boxes-config/' doc/boxes.1.in > doc/boxes.1
sed -e 's/--BVERSION--/2.3.0/; s/--GLOBALCONF--/\/etc\/boxes\/boxes-config/' src/boxes.in.h > out/boxes.h
make -C src BOXES_PLATFORM=unix LEX=flex YACC=bison debug
make[3]: Entering directory '/builds/carnil/boxes/debian/output/source_dir/src'
echo parser.o lex.yy.o bxstring.o cmdline.o detect.o discovery.o generate.o input.o list.o parsecode.o parsing.o query.o regulex.o remove.o shape.o tools.o unicode.o > ../out/modules.txt
make -C ../out -f ../src/Makefile BOXES_PLATFORM=unix ALL_OBJ="parser.o lex.yy.o boxes.o bxstring.o cmdline.o detect.o discovery.o generate.o input.o list.o parsecode.o parsing.o query.o regulex.o remove.o shape.o tools.o unicode.o" STRIP=false \
    CFLAGS_ADDTL="-ggdb3 -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security" flags_unix boxes
make[4]: Entering directory '/builds/carnil/boxes/debian/output/source_dir/out'
echo parser.o lex.yy.o bxstring.o cmdline.o detect.o discovery.o generate.o input.o list.o parsecode.o parsing.o query.o regulex.o remove.o shape.o tools.o unicode.o > ../out/modules.txt
flex --header-file=lex.yy.h ../src/lexer.l
bison -Wall --verbose --defines=parser.h -o parser.c ../src/parser.y
gcc -I. -I../src -Wall -W -ggdb3 -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o parser.o parser.c
gcc -I. -I../src -Wall -W -ggdb3 -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o lex.yy.o lex.yy.c
gcc -I. -I../src -Wall -W -ggdb3 -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o boxes.o ../src/boxes.c
gcc -I. -I../src -Wall -W -ggdb3 -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o bxstring.o ../src/bxstring.c
gcc -I. -I../src -Wall -W -ggdb3 -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o cmdline.o ../src/cmdline.c
gcc -I. -I../src -Wall -W -ggdb3 -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o detect.o ../src/detect.c
gcc -I. -I../src -Wall -W -ggdb3 -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o discovery.o ../src/discovery.c
gcc -I. -I../src -Wall -W -ggdb3 -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o generate.o ../src/generate.c
gcc -I. -I../src -Wall -W -ggdb3 -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o input.o ../src/input.c
gcc -I. -I../src -Wall -W -ggdb3 -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o list.o ../src/list.c
gcc -I. -I../src -Wall -W -ggdb3 -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o parsecode.o ../src/parsecode.c
gcc -I. -I../src -Wall -W -ggdb3 -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o parsing.o ../src/parsing.c
gcc -I. -I../src -Wall -W -ggdb3 -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o query.o ../src/query.c
gcc -I. -I../src -Wall -W -ggdb3 -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o regulex.o ../src/regulex.c
gcc -I. -I../src -Wall -W -ggdb3 -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o remove.o ../src/remove.c
gcc -I. -I../src -Wall -W -ggdb3 -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o shape.o ../src/shape.c
gcc -I. -I../src -Wall -W -ggdb3 -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o tools.o ../src/tools.c
gcc -I. -I../src -Wall -W -ggdb3 -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -O -g -O2 -ffile-prefix-map=/builds/carnil/boxes/debian/output/source_dir=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o unicode.o ../src/unicode.c
gcc -Wl,-z,relro   parser.o lex.yy.o boxes.o bxstring.o cmdline.o detect.o discovery.o generate.o input.o list.o parsecode.o parsing.o query.o regulex.o remove.o shape.o tools.o unicode.o -o boxes -lunistring -lpcre2-32 -lncurses
if [ "false" = "true" ] ; then strip boxes ; fi
make[4]: Leaving directory '/builds/carnil/boxes/debian/output/source_dir/out'
make[3]: Leaving directory '/builds/carnil/boxes/debian/output/source_dir/src'
make[2]: Leaving directory '/builds/carnil/boxes/debian/output/source_dir'
make[1]: Leaving directory '/builds/carnil/boxes/debian/output/source_dir'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/builds/carnil/boxes/debian/output/source_dir'
TERM=xterm-color LC_ALL=C.UTF-8 dh_auto_test
    make -j2 test
make[2]: Entering directory '/builds/carnil/boxes/debian/output/source_dir'
cd test; ./testrunner.sh --suite
Running test case: 001_trivial.txt
    Invoking: boxes 
    OK
Running test case: 002_trivial_10x5.txt
    Invoking: boxes -s 10x5
    OK
Running test case: 003_no_config_file.txt
    Invoking: boxes -f nonexistent
    OK
Running test case: 004_missing_option_argument.txt
    Invoking: boxes -s
    OK
Running test case: 005_alignment_single_line_hlvt.txt
    Invoking: boxes -s 15x5 -a hlvt
    OK
Running test case: 006_alignment_single_line_hlvc.txt
    Invoking: boxes -s 15x5 -a hlvc
    OK
Running test case: 007_alignment_single_line_hlvb.txt
    Invoking: boxes -s 15x5 -a hlvb
    OK
Running test case: 008_alignment_single_line_hcvt.txt
    Invoking: boxes -s 15x5 -a hcvt
    OK
Running test case: 009_alignment_single_line_hcvc.txt
    Invoking: boxes -s 15x5 -a hcvc
    OK
Running test case: 010_alignment_single_line_hcvb.txt
    Invoking: boxes -s 15x5 -a hcvb
    OK
Running test case: 011_alignment_single_line_hrvt.txt
    Invoking: boxes -s 15x5 -a hrvt
    OK
Running test case: 012_alignment_single_line_hrvc.txt
    Invoking: boxes -s 15x5 -a hrvc
    OK
Running test case: 013_alignment_single_line_hrvb.txt
    Invoking: boxes -s 15x5 -a hrvb
    OK
Running test case: 014_alignment_single_line_l.txt
    Invoking: boxes -s 15x5 -a l
    OK
Running test case: 015_alignment_single_line_c.txt
    Invoking: boxes -s 15x5 -a c
    OK
Running test case: 016_alignment_single_line_r.txt
    Invoking: boxes -s 15x5 -a r
    OK
Running test case: 017_alignment_multiline_hlvtjl.txt
    Invoking: boxes -s 15x7 -a hlvtjl
    OK
Running test case: 018_alignment_multiline_hlvtjc.txt
    Invoking: boxes -s 15x7 -a hlvtjc
    OK
Running test case: 019_alignment_multiline_hlvtjr.txt
    Invoking: boxes -s 15x7 -a hlvtjr
    OK
Running test case: 020_alignment_multiline_hlvcjl.txt
    Invoking: boxes -s 15x7 -a hlvcjl
    OK
Running test case: 021_alignment_multiline_hlvcjc.txt
    Invoking: boxes -s 15x7 -a hlvcjc
    OK
Running test case: 022_alignment_multiline_hlvcjr.txt
    Invoking: boxes -s 15x7 -a hlvcjr
    OK
Running test case: 023_alignment_multiline_hlvbjl.txt
    Invoking: boxes -s 15x7 -a hlvbjl
    OK
Running test case: 024_alignment_multiline_hlvbjc.txt
    Invoking: boxes -s 15x7 -a hlvbjc
    OK
Running test case: 025_alignment_multiline_hlvbjr.txt
    Invoking: boxes -s 15x7 -a hlvbjr
    OK
Running test case: 026_alignment_multiline_hcvtjl.txt
    Invoking: boxes -s 15x7 -a hcvtjl
    OK
Running test case: 027_alignment_multiline_hcvtjc.txt
    Invoking: boxes -s 15x7 -a hcvtjc
    OK
Running test case: 028_alignment_multiline_hcvtjr.txt
    Invoking: boxes -s 15x7 -a hcvtjr
    OK
Running test case: 029_alignment_multiline_hcvcjl.txt
    Invoking: boxes -s 15x7 -a hcvcjl
    OK
Running test case: 030_alignment_multiline_hcvcjc.txt
    Invoking: boxes -s 15x7 -a hcvcjc
    OK
Running test case: 031_alignment_multiline_hcvcjr.txt
    Invoking: boxes -s 15x7 -a hcvcjr
    OK
Running test case: 032_alignment_multiline_hcvbjl.txt
    Invoking: boxes -s 15x7 -a hcvbjl
    OK
Running test case: 033_alignment_multiline_hcvbjc.txt
    Invoking: boxes -s 15x7 -a hcvbjc
    OK
Running test case: 034_alignment_multiline_hcvbjr.txt
    Invoking: boxes -s 15x7 -a hcvbjr
    OK
Running test case: 035_alignment_multiline_hrvtjl.txt
    Invoking: boxes -s 15x7 -a hrvtjl
    OK
Running test case: 036_alignment_multiline_hrvtjc.txt
    Invoking: boxes -s 15x7 -a hrvtjc
    OK
Running test case: 037_alignment_multiline_hrvtjr.txt
    Invoking: boxes -s 15x7 -a hrvtjr
    OK
Running test case: 038_alignment_multiline_hrvcjl.txt
    Invoking: boxes -s 15x7 -a hrvcjl
    OK
Running test case: 039_alignment_multiline_hrvcjc.txt
    Invoking: boxes -s 15x7 -a hrvcjc
    OK
Running test case: 040_alignment_multiline_hrvcjr.txt
    Invoking: boxes -s 15x7 -a hrvcjr
    OK
Running test case: 041_alignment_multiline_hrvbjl.txt
    Invoking: boxes -s 15x7 -a hrvbjl
    OK
Running test case: 042_alignment_multiline_hrvbjc.txt
    Invoking: boxes -s 15x7 -a hrvbjc
    OK
Running test case: 043_alignment_multiline_hrvbjr.txt
    Invoking: boxes -s 15x7 -a hrvbjr
    OK
Running test case: 044_alignment_multiline_l.txt
    Invoking: boxes -s 15x7 -a l
    OK
Running test case: 045_alignment_multiline_c.txt
    Invoking: boxes -s 15x7 -a c
    OK
Running test case: 046_alignment_multiline_r.txt
    Invoking: boxes -s 15x7 -a r
    OK
Running test case: 047_alignment_multiline_none.txt
    Invoking: boxes -s 15x7
    OK
Running test case: 048_alignment_multiline_vertical_round_down.txt
    Invoking: boxes -s 15x7 -a c
    OK
Running test case: 049_alignment_illegal_format.txt
    Invoking: boxes -a mistake
    OK
Running test case: 050_alignment_multiline_nop1.txt
    Invoking: boxes -s 11x5 -a c
    OK
Running test case: 051_alignment_multiline_nop2.txt
    Invoking: boxes -s 11x5 -a hrvbjr
    OK
Running test case: 052_simple_line_comment.txt
    Invoking: boxes -c "#"
    OK
Running test case: 053_size_25x10.txt
    Invoking: boxes -s 25x10
    OK
Running test case: 054_size_vs_padding_1.txt
    Invoking: boxes -s 10x5
    OK
Running test case: 055_size_vs_padding_2.txt
    Invoking: boxes -s 9x5
    OK
Running test case: 056_input_vs_size.txt
    Invoking: boxes -s 2x2 -p a2
    OK
Running test case: 057_size_vs_padding_2.txt
    Invoking: boxes -p v1h10 -s 30x6
    OK
Running test case: 058_size_minimum_by_design.txt
    Invoking: boxes -d diamonds -s 15x7
    OK
Running test case: 059_size_same_as_design.txt
    Invoking: boxes -d diamonds -s 40x16
    OK
Running test case: 060_size_1_extra_line.txt
    Invoking: boxes -d diamonds -s 40x17
    OK
Running test case: 061_size_1_extra_line_and_1_extra_column.txt
    Invoking: boxes -d diamonds -s 41x17
    OK
Running test case: 062_size_with_indent.txt
    Invoking: boxes -s 15x7
    OK
Running test case: 063_size_with_indent_and_padding.txt
    Invoking: boxes -s 15x7 -p l2
    OK
Running test case: 064_size_with_indent_and_too_much_padding.txt
    Invoking: boxes -s 15x7 -p l10
    OK
Running test case: 065_size_missing_argument.txt
    Invoking: boxes -s
    OK
Running test case: 066_size_invalid_spec.txt
    Invoking: boxes -s -2x3
    OK
Running test case: 067_size_as_small_as_possible_vertical.txt
    Invoking: boxes -s 0x1
    OK
Running test case: 068_size_single_argument.txt
    Invoking: boxes -s 15
    OK
Running test case: 069_size_single_argument_x.txt
    Invoking: boxes -s x7
    OK
Running test case: 070_size_as_small_as_possible_horiz.txt
    Invoking: boxes -s 1x0
    OK
Running test case: 071_size_invalid_spec_0x0.txt
    Invoking: boxes -s 0x0
    OK
Running test case: 072_tab_expanded_split.txt
    Invoking: boxes 
    OK
Running test case: 073_tab_expanded_size4.txt
    Invoking: boxes -t 4
    OK
Running test case: 074_tab_keep_size4.txt
    Invoking: boxes -t 4k
    OK
Running test case: 075_tab_unexpand.txt
    Invoking: boxes -t 4u
    OK
Running test case: 076_tab_keep_size4_withContent.txt
    Invoking: boxes -t 4k
    OK
Running test case: 077_tab_unexpand_size8_withContent.txt
    Invoking: boxes -t 8u
    OK
Running test case: 078_tab_unexpand_size8_withContent2.txt
    Invoking: boxes -t 8u
    OK
Running test case: 079_tab_keep_size8.txt
    Invoking: boxes -t 8k
    OK
Running test case: 080_tab_expand_size4.txt
    Invoking: boxes -t 4
    OK
Running test case: 081_tab_unexpand_size4_fromNone.txt
    Invoking: boxes -t 4u
    OK
Running test case: 082_tab_unexpand_size4_split.txt
    Invoking: boxes -t 4u
    OK
Running test case: 083_list_design_info.txt
    Invoking: boxes -l -d c
    OK
Running test case: 084_list_design_info_for_cmdline_definition.txt
    Invoking: boxes -c "#" -l
    OK
Running test case: 095_ansi_basic.txt
    Invoking: boxes 
    OK
Running test case: 096_ansi_within.txt
    Invoking: boxes 
    OK
Running test case: 097_ansi_mixed.txt
    Invoking: boxes 
    OK
Running test case: 098_ansi_mixed_indent.txt
    Invoking: boxes 
    OK
Running test case: 099_ansi_align_left.txt
    Invoking: boxes -al
    OK
Running test case: 100_ansi_align_center.txt
    Invoking: boxes -ac
    OK
Running test case: 101_ansi_align_right.txt
    Invoking: boxes -ar
    OK
Running test case: 102_ansi_size.txt
    Invoking: boxes -s35x10
    OK
Running test case: 103_ansi_pad.txt
    Invoking: boxes -pa5
    OK
Running test case: 104_ansi_lolcat.txt
    Invoking: boxes -ar
    OK
Running test case: 105_ansi_lolcat_within_leading_space.txt
    Invoking: boxes 
    OK
Running test case: 106_unicode_align_center.txt
    Invoking: boxes -n UTF-8 -ac
    OK
Running test case: 107_unicode_align_left_lolcat.txt
    Invoking: boxes -n UTF-8 -al
    OK
Running test case: 108_unicode_align_center_lolcat.txt
    Invoking: boxes -n UTF-8 -ac
    OK
Running test case: 109_unicode_align_right_lolcat.txt
    Invoking: boxes -n UTF-8 -ar
    OK
Running test case: 110_unicode_align_complex_lolcat.txt
    Invoking: boxes -n UTF-8 -ahrvbjr -ph3 -sx26
    OK
Running test case: 111_manual_encoding_iso.txt
    Invoking: boxes -ac -n ISO_8859-15
    OK
Running test case: 112_manual_encoding_invalid.txt
    Invoking: boxes -n NON-EXISTENT
    OK
Running test case: 113_headline_ansi_unicode.txt
    Invoking: boxes -n UTF-8 -d headline -p l3r1
    OK
Running test case: 114_headline_ansi_unicode_remove.txt
    Invoking: boxes -n UTF-8 -d headline -p l3r2 -r
    OK
Running test case: 115_lots_of_lines.txt
    Invoking: boxes 
    OK
Running test case: 116_lots_of_tabs.txt
    Invoking: boxes 
    OK
Running test case: 117_unicode_ansi_mending.txt
    Invoking: boxes -n UTF-8 -d diamonds -ac -m
    OK
Running test case: 118_unicode_ansi_align_center.txt
    Invoking: boxes -n UTF-8 -d unicornsay -ac
    OK
Running test case: 119_unicode_ansi_align_right.txt
    Invoking: boxes -n UTF-8 -d unicornsay -ar
    OK
Running test case: 120_parser_unterminated_string.txt
    Invoking: boxes -f 120_parser_unterminated_string.cfg
    OK
Running test case: 121_remove_box_lolcat.txt
    Invoking: boxes -r
    OK
Running test case: 122_no_config_file_dir.txt
    Invoking: boxes -f .
    OK
Running test case: 123_config_file_xdg1.txt
    export HOME="`pwd`/123_data"
    Invoking: boxes 
    OK
Running test case: 124_config_file_xdg2.txt
    export HOME="`pwd`/124_data/home"

    export XDG_CONFIG_HOME="`pwd`/124_data/xdg"
    Invoking: boxes 
    OK
Running test case: 125_config_file_wrong_BOXES_var.txt
    export BOXES=non-existent
    Invoking: boxes 
    OK
Running test case: 126_config_file_xdg3.txt
    export HOME="`pwd`/126_data/home"

    export XDG_CONFIG_HOME="`pwd`/126_data/xdg"
    Invoking: boxes 
1,2c1,3
< munmap_chunk(): invalid pointer
< ./testrunner.sh: line 251:  5839 Aborted                 (core dumped) ../out/boxes
---
> #123123---456#
> #foo         #
> #12345<>67890#
Error in test case: 126_config_file_xdg3.txt (top: actual; bottom: expected)
Running test case: 127_multiple_parent_configs.txt
    Invoking: boxes -f 127_data/C.cfg -l
    OK
Running test case: 128_multiple_parent_configs_cycle.txt
    Invoking: boxes -f 128_data/C.cfg -l
    OK
Running test case: 129_multiple_parent_configs_empty_base.txt
    Invoking: boxes -f 129_data/D.cfg -l
    OK
Running test case: 130_multiple_parent_configs_inherited_design.txt
    Invoking: boxes -f 130_data/B.cfg -d designA -p l1 -a vc
    OK
Running test case: 131_multiple_parent_configs_ref_after_broken.txt
    Invoking: boxes -f 131_data/B.cfg -l
    OK
Running test case: 132_parent_configs_speedmode.txt
    Invoking: boxes -f 132_data/B.cfg -avc -d designD
    OK
Running test case: 133_comments_in_strings.txt
    Invoking: boxes -f 133_comments_in_strings.cfg
    OK
Running test case: 134_comments_in_sample.txt
    Invoking: boxes -f 134_comments_in_sample.cfg -l
    OK
Running test case: 135_design_alias_by_design.txt
    Invoking: boxes -f 135_design_alias_by_design.cfg -l -d design
    OK
Running test case: 136_design_alias_by_alias.txt
    Invoking: boxes -f 136_design_alias_by_alias.cfg -p h3 -a vc -d alias3a
    OK
Running test case: 137_design_alias_no_accumulation.txt
    Invoking: boxes -f 137_design_alias_no_accumulation.cfg -d alias3b -l
    OK
Running test case: 138_design_alias_duplicate_name.txt
    Invoking: boxes -f 138_design_alias_duplicate_name.cfg -l
    OK
Running test case: 139_parent_config_without_file.txt
    Invoking: boxes -f 139_parent_config_without_file.cfg -l
    OK
Running test case: 140_tag_query_normal.txt
    Invoking: boxes -f 14x_tag_query.cfg -q tag1,tag2
    OK
Running test case: 141_tag_query_plus.txt
    Invoking: boxes -f 14x_tag_query.cfg -q +tag1,tag2
    OK
Running test case: 142_tag_query_plus2.txt
    Invoking: boxes -f 14x_tag_query.cfg -q +tag1,+tag3
    OK
Running test case: 143_tag_query_minus.txt
    Invoking: boxes -f 14x_tag_query.cfg -q -tag1
    OK
Running test case: 144_tag_query_minus2.txt
    Invoking: boxes -f 14x_tag_query.cfg -q -tag1,-tag2
    OK
Running test case: 145_tag_query_all.txt
    Invoking: boxes -f 14x_tag_query.cfg -q "(all)"
    OK
Running test case: 146_tag_query_invalid.txt
    Invoking: boxes -f 146_tag_query.cfg -q INVALID
    OK
Running test case: 147_tag_stats_list.txt
    Invoking: boxes -f 14x_tag_query.cfg -l
    OK
Running test case: 148_tag_query_duplicate_expression.txt
    Invoking: boxes -f 14x_tag_query.cfg -q -tag1,+tag1
    OK
Running test case: 149_tag_query_duplicate_expression2.txt
    Invoking: boxes -f 14x_tag_query.cfg -q -tag1,tag1
    OK
Running test case: 150_tag_config_invalid_tags.txt
    Invoking: boxes -f 150_tag_config_invalid_tags.cfg -l
    OK
Running test case: 151_tag_query_no_results.txt
    Invoking: boxes -f 14x_tag_query.cfg -q non-existent
    OK
Running test case: 152_eol_control_crlf.txt
    export BOXES_TEST_XXD=1
    Invoking: boxes -f ../boxes-config -d c -e crlf
    OK
Running test case: 153_eol_control_lf.txt
    export BOXES_TEST_XXD=1
    Invoking: boxes -f ../boxes-config -d c -e lf
    OK
Running test case: 154_eol_control_cr.txt
    export BOXES_TEST_XXD=1
    Invoking: boxes -f ../boxes-config -d c -e Cr
    OK
Running test case: 155_eol_control_invalid.txt
    Invoking: boxes -e INVALID
    OK
Running test case: 156_eol_control_crlf_design_info.txt
    export BOXES_TEST_XXD=1
    Invoking: boxes -f ../boxes-config -l -d c -e crlf
    OK
Running test case: 157_eol_control_lf_design_info.txt
    export BOXES_TEST_XXD=1
    Invoking: boxes -f ../boxes-config -l -d c -e lf
    OK
Running test case: 158_eol_control_crlf_remove.txt
    export BOXES_TEST_XXD=1
    Invoking: boxes -f ../boxes-config -d c -e crlf -r
    OK
Running test case: 159_eol_control_lf_remove.txt
    export BOXES_TEST_XXD=1
    Invoking: boxes -f ../boxes-config -d c -e lf -r
    OK
Running test case: 160_list_designs_author_designer.txt
    Invoking: boxes -f 160_list_designs_author_designer.cfg -l
    OK
Running test case: 161_eol_control_list_designs_crlf.txt
    export BOXES_TEST_XXD=1
    Invoking: boxes -f 161_eol_control_list_designs_crlf.cfg -l -e CRlf
    OK
Running test case: 162_eol_control_list_designs_lf.txt
    export BOXES_TEST_XXD=1
    Invoking: boxes -f 162_eol_control_list_designs_lf.cfg -l -e lf
    OK
Running test case: 163_tag_query_minus3.txt
    Invoking: boxes -f 14x_tag_query.cfg -q -tag1,tag2
    OK
Running test case: 164_tag_query_empty.txt
    Invoking: boxes -q ,,
    OK
Running test case: 165_design_alias_parent_override.txt
    Invoking: boxes -f 165_design_alias_parent_override.cfg -d designA -l
    OK
Running test case: 166_design_alias_parent_clash.txt
    Invoking: boxes -f 166_design_alias_parent_clash.cfg -l
    OK
Running test case: 167_duplicate_primary_name.txt
    Invoking: boxes -f 167_duplicate_primary_name.cfg -l
    OK
Running test case: 168_parent_keyword_in_sample_ok.txt
    Invoking: boxes -f 168_parent_keyword_in_sample_ok.cfg -d designB -l
    OK
Running test case: 169_peek_escape_comments.txt
    Invoking: boxes -d peek -p h2
    OK
Running test case: 170_forbid_blank_box.txt
    Invoking: boxes -f 170_forbid_blank_box.cfg -l
    OK
Running test case: 171_c_right_justify.txt
    Invoking: boxes -s 100 -a hr -c " "
    OK
Running test case: 172_c_centering.txt
    Invoking: boxes -s 100 -a hcvc -c " "
    OK
Running test case: 173_help_text.txt
    Invoking: boxes --help
    OK
Running test case: 174_non_ascii_design_name.txt
    Invoking: boxes -f 174_non_ascii_design_name.cfg
    OK
Running test case: 175_utf8_happy_design_info.txt
    Invoking: boxes -f 175_utf8_happy_design_info.cfg --color -d designA -l
    OK
Running test case: 176_utf8_design_list.txt
    Invoking: boxes -f 176_utf8_design_list.cfg -l
    OK
Running test case: 177_utf8_generate_box.txt
    Invoking: boxes -f 177_utf8_generate_box.cfg -s 21x8 -ac
    OK
Running test case: 178_remove_broken_box.txt
    Invoking: boxes -r
    OK
Running test case: 179_remove_box_ansi_unicode.txt
    Invoking: boxes -f 179_remove_box_ansi_unicode.cfg -r
    OK
Running test case: 180_remove_box_ansi_unicode_broken_indented.txt
    Invoking: boxes --config 180_remove_box_ansi_unicode_broken_indented.cfg --remove --tabs 4u
    OK
Running test case: 181_remove_box_ignore_invisible_all.txt
    Invoking: boxes --config 18x_remove_box_ignore_invisible_all.cfg --remove
    OK
Running test case: 182_remove_box_ignore_invisible_shape.txt
    Invoking: boxes --config 18x_remove_box_ignore_invisible_all.cfg --design designA --remove
    OK
Running test case: 183_remove_box_ignore_invisible_input.txt
    Invoking: boxes --design capgirl --remove
    OK
Running test case: 184_create_box_colored_contents.txt
    Invoking: boxes -d critical -i box
    OK
Running test case: 185_remove_box_uncolor_contents.txt
    Invoking: boxes -r
    OK
Running test case: 186_remove_line_comments.txt
    Invoking: boxes --design ada-cmt --remove
    OK
Running test case: 187_remove_line_comments_killblank.txt
    Invoking: boxes --design ada-cmt --remove --kill-blank
    OK
Running test case: 188_design_not_detectable.txt
    Invoking: boxes -r
    OK
Running test case: 189_blank_lines_surrounding_box.txt
    Invoking: boxes -r -d jstone
    OK
Running test case: 190_remove_blank_nw_lines.txt
    Invoking: boxes --remove -i none
    OK
Running test case: 191_unicode_parent_config.txt
    Invoking: boxes -f 191_data/main.cfg -d designB -p l1 -s x3 -a vc
    OK
181 tests executed, 180 successful, 1 failed.
make[2]: *** [Makefile:223: test] Error 1
make[2]: Leaving directory '/builds/carnil/boxes/debian/output/source_dir'
dh_auto_test: error: make -j2 test returned exit code 2
make[1]: *** [debian/rules:12: override_dh_auto_test] Error 25
make[1]: Leaving directory '/builds/carnil/boxes/debian/output/source_dir'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
section_end:1709674223:step_script
section_start:1709674223:upload_artifacts_on_failure
Uploading artifacts for failed job
Uploading artifacts...
/builds/carnil/boxes/debian/output/: found 561 matching artifact files and directories 
Uploading artifacts as "archive" to coordinator... 201 Created  id=5408566 responseStatus=201 Created token=64_zD-x5
section_end:1709674225:upload_artifacts_on_failure
section_start:1709674225:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1709674225:cleanup_file_variables
ERROR: Job failed: exit code 1

tsjensen commented 7 months ago

Thanks @carnil for letting us know!

This sure seems like a bug. I'll take a look and see if I can find the cause.

How critical is it? To me, it seems that it's a corner case?

carnil commented 7 months ago

@tsjensen thanks for coming back to this issue already.

About how critical it is: We do run the testsuite on all the supported architectures. Failing it will at least not let boxes in the testing release (and in fact let it temporarily remove it from there). But I could stage the upload in experimental until we can pinpoint the issue. It's not clear to me (yet) if it's just a problem in the testsuite or uncovering a real problem in boxes.

But it seems right that it's more of a corner case.

tsjensen commented 6 months ago

I could not reproduce the problem on my end, I'm afraid.

Depending on how much time you want to invest, we can either:

carnil commented 6 months ago

I could not reproduce the problem on my end, I'm afraid.

No problem, many thanks for having looked into it.

Depending on how much time you want to invest, we can either:

* Try getting a backtrace from the failing pipeline, for example by adding `echo bt | gdb out/boxes out/core` to it. I couldn't do this on my machine because no i386 arch available. If I knew the code location where this is happening, I might spot something.

* Skip this one test case on i386 by `rm test/126_config_file_xdg3.txt` before the `make test`.
  This would actually feel quite reasonable to me, too.

I will try to reproduce it and see if I can get out more information. Otherwise i will follow one of the above, and just skip the test.

Thank you!

carnil commented 4 months ago

@tsjensen I uploaded 2.3.0 for Debian to the experimental suite to let more checks perform as well on other architectures and so it looks that the problem is present generally on 32bit architectures: https://buildd.debian.org/status/package.php?p=boxes&suite=experimental

(there is one other failure on s390x which I do not understand the relation yet)

tsjensen commented 4 months ago

Yeah, I can imagine. But like I said before, I don't have access to a 32bit system, and thus can't reproduce this. Unless you can produce a backtrace, it seems that excluding the one test would be the best way forward.

carnil commented 4 months ago

@tsjensen yes absolutely. This was just to give an update on the current state and that the update is exposed in the so called 'experimental' distribution. Soon when I have some tackable backtrace I will forward it again here.

carnil commented 4 months ago

@tsjensen I get the following traces running in a i386 qemu based VM:

./out/boxes -f ./test/126_data/home/boxes-config ./test/126_config_file_xdg3.txt

genrates a coredump:

root@boxes-i386:~/boxes-2.3.0# coredumpctl dump 
           PID: 19585 (boxes)
           UID: 0 (root)
           GID: 0 (root)
        Signal: 6 (ABRT)
     Timestamp: Sun 2024-05-12 13:28:20 CEST (4min 32s ago)
  Command Line: ./out/boxes -f ./test/126_data/home/boxes-config ./test/126_config_file_xdg3.txt
    Executable: /root/boxes-2.3.0/out/boxes
 Control Group: /system.slice/system-serial\x2dgetty.slice/serial-getty@ttyS0.service
          Unit: serial-getty@ttyS0.service
         Slice: system-serial\x2dgetty.slice
       Boot ID: 0fd8ba8b64574b69b125b77fbcfb254f
    Machine ID: 8fd71204e6a94d0596f9d80da80e6e49
      Hostname: boxes-i386
       Storage: /var/lib/systemd/coredump/core.boxes.0.0fd8ba8b64574b69b125b77fbcfb254f.19585.1715513300000000.zst (present)
  Size on Disk: 59.3K
       Message: Process 19585 (boxes) of user 0 dumped core.

                Stack trace of thread 19585:
                #0  0x00000000b7fb4579 __kernel_vsyscall (linux-gate.so.1 + 0x579)
                #1  0x00000000b7a8b517 __pthread_kill_implementation (libc.so.6 + 0x8b517)
                #2  0x00000000b7a3a781 __GI_raise (libc.so.6 + 0x3a781)
                #3  0x00000000b7a222a5 __GI_abort (libc.so.6 + 0x222a5)
                #4  0x00000000b7a23358 __libc_message (libc.so.6 + 0x23358)
                #5  0x00000000b7a9696b malloc_printerr (libc.so.6 + 0x9696b)
                #6  0x00000000b7a96b4b munmap_chunk (libc.so.6 + 0x96b4b)
                #7  0x00000000b7a9b065 __GI___libc_free (libc.so.6 + 0x9b065)
                #8  0x00000000b7a2f07a __GI___gconv_create_spec (libc.so.6 + 0x2f07a)
                #9  0x00000000b7a2450f iconv_open (libc.so.6 + 0x2450f)
                #10 0x00000000b7e07381 libunistring_iconveh_open (libunistring.so.5 + 0x10381)
                #11 0x00000000b7e076d1 libunistring_mem_iconveh (libunistring.so.5 + 0x106d1)
                #12 0x00000000b7e07986 n/a (libunistring.so.5 + 0x10986)
                #13 0x00000000b7e07def libunistring_mem_iconveha (libunistring.so.5 + 0x10def)
                #14 0x00000000b7e1034f u32_conv_from_encoding (libunistring.so.5 + 0x1934f)
                #15 0x00000000b7e105e5 u32_strconv_from_encoding (libunistring.so.5 + 0x195e5)
                #16 0x00000000004868e0 n/a (/root/boxes-2.3.0/out/boxes + 0x148e0)
                ELF object binary architecture: Intel 80386
Refusing to dump core to tty (use shell redirection or specify --output).

and under valgrind:

root@boxes-i386:~/boxes-2.3.0# valgrind ./out/boxes -f ./test/126_data/home/boxes-config ./test/126_config_file_xdg3.txt 
==19601== Memcheck, a memory error detector
==19601== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==19601== Using Valgrind-3.20.0 and LibVEX; rerun with -h for copyright info
==19601== Command: ./out/boxes -f ./test/126_data/home/boxes-config ./test/126_config_file_xdg3.txt
==19601== 
==19601== Invalid write of size 1
==19601==    at 0x10F196: bxs_from_unicode (bxstring.c:131)
==19601==    by 0x10D77A: yylex (lexer.l:266)
==19601==    by 0x10B867: yyparse (parser.c:1125)
==19601==    by 0x11799E: parse_config_file (parsing.c:181)
==19601==    by 0x11799E: parse_config_files (parsing.c:275)
==19601==    by 0x10B0EC: handle_config_parsing (boxes.c:215)
==19601==    by 0x10B0EC: main (boxes.c:506)
==19601==  Address 0x4d11593 is 0 bytes after a block of size 43 alloc'd
==19601==    at 0x4844314: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-x86-linux.so)
==19601==    by 0x10F09D: bxs_from_unicode (bxstring.c:94)
==19601==    by 0x10D77A: yylex (lexer.l:266)
==19601==    by 0x10B867: yyparse (parser.c:1125)
==19601==    by 0x11799E: parse_config_file (parsing.c:181)
==19601==    by 0x11799E: parse_config_files (parsing.c:275)
==19601==    by 0x10B0EC: handle_config_parsing (boxes.c:215)
==19601==    by 0x10B0EC: main (boxes.c:506)
==19601== 
==19601== Invalid write of size 1
==19601==    at 0x10F260: bxs_from_unicode (bxstring.c:175)
==19601==    by 0x10D77A: yylex (lexer.l:266)
==19601==    by 0x10B867: yyparse (parser.c:1125)
==19601==    by 0x11799E: parse_config_file (parsing.c:181)
==19601==    by 0x11799E: parse_config_files (parsing.c:275)
==19601==    by 0x10B0EC: handle_config_parsing (boxes.c:215)
==19601==    by 0x10B0EC: main (boxes.c:506)
==19601==  Address 0x4d11595 is 2 bytes after a block of size 43 alloc'd
==19601==    at 0x4844314: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-x86-linux.so)
==19601==    by 0x10F09D: bxs_from_unicode (bxstring.c:94)
==19601==    by 0x10D77A: yylex (lexer.l:266)
==19601==    by 0x10B867: yyparse (parser.c:1125)
==19601==    by 0x11799E: parse_config_file (parsing.c:181)
==19601==    by 0x11799E: parse_config_files (parsing.c:275)
==19601==    by 0x10B0EC: handle_config_parsing (boxes.c:215)
==19601==    by 0x10B0EC: main (boxes.c:506)
==19601==
==19601== Invalid read of size 1
==19601==    at 0x48455D3: __GI_strlen (in /usr/libexec/valgrind/vgpreload_memcheck-x86-linux.so)
==19601==    by 0x4B61C8A: strdup (strdup.c:41)
==19601==    by 0x10E627: bxs_strdup (bxstring.c:199)
==19601==    by 0x10D786: yylex (lexer.l:267)
==19601==    by 0x10B867: yyparse (parser.c:1125)
==19601==    by 0x11799E: parse_config_file (parsing.c:181)
==19601==    by 0x11799E: parse_config_files (parsing.c:275)
==19601==    by 0x10B0EC: handle_config_parsing (boxes.c:215)
==19601==    by 0x10B0EC: main (boxes.c:506)
==19601==  Address 0x4d11593 is 0 bytes after a block of size 43 alloc'd
==19601==    at 0x4844314: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-x86-linux.so)
==19601==    by 0x10F09D: bxs_from_unicode (bxstring.c:94)
==19601==    by 0x10D77A: yylex (lexer.l:266)
==19601==    by 0x10B867: yyparse (parser.c:1125)
==19601==    by 0x11799E: parse_config_file (parsing.c:181)
==19601==    by 0x11799E: parse_config_files (parsing.c:275)
==19601==    by 0x10B0EC: handle_config_parsing (boxes.c:215)
==19601==    by 0x10B0EC: main (boxes.c:506)
==19601== 
==19601== Invalid read of size 1
==19601==    at 0x484A2E0: __memcpy_chk (in /usr/libexec/valgrind/vgpreload_memcheck-x86-linux.so)
==19601==    by 0x4B61CA5: memcpy (string_fortified.h:29)
==19601==    by 0x4B61CA5: strdup (strdup.c:47)
==19601==    by 0x10E627: bxs_strdup (bxstring.c:199)
==19601==    by 0x10D786: yylex (lexer.l:267)
==19601==    by 0x10B867: yyparse (parser.c:1125)
==19601==    by 0x11799E: parse_config_file (parsing.c:181)
==19601==    by 0x11799E: parse_config_files (parsing.c:275)
==19601==    by 0x10B0EC: handle_config_parsing (boxes.c:215)
==19601==    by 0x10B0EC: main (boxes.c:506)
==19601==  Address 0x4d11595 is 2 bytes after a block of size 43 alloc'd
==19601==    at 0x4844314: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-x86-linux.so)
==19601==    by 0x10F09D: bxs_from_unicode (bxstring.c:94)
==19601==    by 0x10D77A: yylex (lexer.l:266)
==19601==    by 0x10B867: yyparse (parser.c:1125)
==19601==    by 0x11799E: parse_config_file (parsing.c:181)
==19601==    by 0x11799E: parse_config_files (parsing.c:275)
==19601==    by 0x10B0EC: handle_config_parsing (boxes.c:215)
==19601==    by 0x10B0EC: main (boxes.c:506)
==19601==
==19601== Invalid read of size 1
==19601==    at 0x484A2EC: __memcpy_chk (in /usr/libexec/valgrind/vgpreload_memcheck-x86-linux.so)
==19601==    by 0x4B61CA5: memcpy (string_fortified.h:29)
==19601==    by 0x4B61CA5: strdup (strdup.c:47)
==19601==    by 0x10E627: bxs_strdup (bxstring.c:199)
==19601==    by 0x10D786: yylex (lexer.l:267)
==19601==    by 0x10B867: yyparse (parser.c:1125)
==19601==    by 0x11799E: parse_config_file (parsing.c:181)
==19601==    by 0x11799E: parse_config_files (parsing.c:275)
==19601==    by 0x10B0EC: handle_config_parsing (boxes.c:215)
==19601==    by 0x10B0EC: main (boxes.c:506)
==19601==  Address 0x4d11593 is 0 bytes after a block of size 43 alloc'd
==19601==    at 0x4844314: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-x86-linux.so)
==19601==    by 0x10F09D: bxs_from_unicode (bxstring.c:94)
==19601==    by 0x10D77A: yylex (lexer.l:266)
==19601==    by 0x10B867: yyparse (parser.c:1125)
==19601==    by 0x11799E: parse_config_file (parsing.c:181)
==19601==    by 0x11799E: parse_config_files (parsing.c:275)
==19601==    by 0x10B0EC: handle_config_parsing (boxes.c:215)
==19601==    by 0x10B0EC: main (boxes.c:506)
==19601== 
==19601== Invalid write of size 1
==19601==    at 0x10F196: bxs_from_unicode (bxstring.c:131)
==19601==    by 0x10F7DD: bxs_strcat (bxstring.c:301)
==19601==    by 0x10D7A2: yylex (lexer.l:269)
==19601==    by 0x10B867: yyparse (parser.c:1125)
==19601==    by 0x11799E: parse_config_file (parsing.c:181)
==19601==    by 0x11799E: parse_config_files (parsing.c:275)
==19601==    by 0x10B0EC: handle_config_parsing (boxes.c:215)
==19601==    by 0x10B0EC: main (boxes.c:506)
==19601==  Address 0x4d12373 is 0 bytes after a block of size 43 alloc'd
==19601==    at 0x4844314: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-x86-linux.so)
==19601==    by 0x10F09D: bxs_from_unicode (bxstring.c:94)
==19601==    by 0x10F7DD: bxs_strcat (bxstring.c:301)
==19601==    by 0x10D7A2: yylex (lexer.l:269)
==19601==    by 0x10B867: yyparse (parser.c:1125)
==19601==    by 0x11799E: parse_config_file (parsing.c:181)
==19601==    by 0x11799E: parse_config_files (parsing.c:275)
==19601==    by 0x10B0EC: handle_config_parsing (boxes.c:215)
==19601==    by 0x10B0EC: main (boxes.c:506)
==19601== 
==19601== Invalid write of size 1
==19601==    at 0x10F260: bxs_from_unicode (bxstring.c:175)
==19601==    by 0x10F7DD: bxs_strcat (bxstring.c:301)
==19601==    by 0x10D7A2: yylex (lexer.l:269)
==19601==    by 0x10B867: yyparse (parser.c:1125)
==19601==    by 0x11799E: parse_config_file (parsing.c:181)
==19601==    by 0x11799E: parse_config_files (parsing.c:275)
==19601==    by 0x10B0EC: handle_config_parsing (boxes.c:215)
==19601==    by 0x10B0EC: main (boxes.c:506)
==19601==  Address 0x4d12375 is 2 bytes after a block of size 43 alloc'd
==19601==    at 0x4844314: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-x86-linux.so)
==19601==    by 0x10F09D: bxs_from_unicode (bxstring.c:94)
==19601==    by 0x10F7DD: bxs_strcat (bxstring.c:301)
==19601==    by 0x10D7A2: yylex (lexer.l:269)
==19601==    by 0x10B867: yyparse (parser.c:1125)
==19601==    by 0x11799E: parse_config_file (parsing.c:181)
==19601==    by 0x11799E: parse_config_files (parsing.c:275)
==19601==    by 0x10B0EC: handle_config_parsing (boxes.c:215)
==19601==    by 0x10B0EC: main (boxes.c:506)
==19601== 
==19601== Invalid write of size 1
==19601==    at 0x10F196: bxs_from_unicode (bxstring.c:131)
==19601==    by 0x117080: adjust_eols (parsecode.c:880)
==19601==    by 0x117080: action_sample_block (parsecode.c:919)
==19601==    by 0x10BB26: yyparse (parser.y:296)
==19601==    by 0x11799E: parse_config_file (parsing.c:181)
==19601==    by 0x11799E: parse_config_files (parsing.c:275)
==19601==    by 0x10B0EC: handle_config_parsing (boxes.c:215)
==19601==    by 0x10B0EC: main (boxes.c:506)
==19601==  Address 0x4d1890b is 0 bytes after a block of size 43 alloc'd
==19601==    at 0x4844314: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-x86-linux.so)
==19601==    by 0x10F09D: bxs_from_unicode (bxstring.c:94)
==19601==    by 0x117080: adjust_eols (parsecode.c:880)
==19601==    by 0x117080: action_sample_block (parsecode.c:919)
==19601==    by 0x10BB26: yyparse (parser.y:296)
==19601==    by 0x11799E: parse_config_file (parsing.c:181)
==19601==    by 0x11799E: parse_config_files (parsing.c:275)
==19601==    by 0x10B0EC: handle_config_parsing (boxes.c:215)
==19601==    by 0x10B0EC: main (boxes.c:506)
==19601== 
==19601== Invalid write of size 1
==19601==    at 0x10F260: bxs_from_unicode (bxstring.c:175)
==19601==    by 0x117080: adjust_eols (parsecode.c:880)
==19601==    by 0x117080: action_sample_block (parsecode.c:919)
==19601==    by 0x10BB26: yyparse (parser.y:296)
==19601==    by 0x11799E: parse_config_file (parsing.c:181)
==19601==    by 0x11799E: parse_config_files (parsing.c:275)
==19601==    by 0x10B0EC: handle_config_parsing (boxes.c:215)
==19601==    by 0x10B0EC: main (boxes.c:506)
==19601==  Address 0x4d1890d is 2 bytes after a block of size 43 alloc'd
==19601==    at 0x4844314: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-x86-linux.so)
==19601==    by 0x10F09D: bxs_from_unicode (bxstring.c:94)
==19601==    by 0x117080: adjust_eols (parsecode.c:880)
==19601==    by 0x117080: action_sample_block (parsecode.c:919)
==19601==    by 0x10BB26: yyparse (parser.y:296)
==19601==    by 0x11799E: parse_config_file (parsing.c:181)
==19601==    by 0x11799E: parse_config_files (parsing.c:275)
==19601==    by 0x10B0EC: handle_config_parsing (boxes.c:215)
==19601==    by 0x10B0EC: main (boxes.c:506)
==19601==
#123123123123123123123123123123123123123123123123123123123---456456456456456456456456456456456456456456456456456456456#
#:DESC                                                                                                                #
#Because of historic boxes behavior, a config file in $HOME has precedence over one in $XDG_CONFIG_HOME/boxes.        #
#                                                                                                                     #
#:ENV                                                                                                                 #
#export HOME="`pwd`/126_data/home"                                                                                    #
#export XDG_CONFIG_HOME="`pwd`/126_data/xdg"                                                                          #
#:ARGS                                                                                                                #
#:INPUT                                                                                                               #
#foo                                                                                                                  #
#:OUTPUT-FILTER                                                                                                       #
#:EXPECTED                                                                                                            #
##123123---456#                                                                                                       #
##foo         #                                                                                                       #
##12345<>67890#                                                                                                       #
#:EOF                                                                                                                 #
#1234512345123451234512345123451234512345123451234512345<>678906789067890678906789067890678906789067890678906789067890#
==19601== 
==19601== HEAP SUMMARY:
==19601==     in use at exit: 39,019 bytes in 337 blocks
==19601==   total heap usage: 1,964 allocs, 1,627 frees, 314,261 bytes allocated
==19601== 
==19601== LEAK SUMMARY:
==19601==    definitely lost: 3,898 bytes in 41 blocks
==19601==    indirectly lost: 7,118 bytes in 80 blocks
==19601==      possibly lost: 0 bytes in 0 blocks
==19601==    still reachable: 28,003 bytes in 216 blocks
==19601==         suppressed: 0 bytes in 0 blocks
==19601== Rerun with --leak-check=full to see details of leaked memory
==19601== 
==19601== For lists of detected and suppressed errors, rerun with: -s
==19601== ERROR SUMMARY: 15 errors from 9 contexts (suppressed: 0 from 0)

Is this helpful or can I try anything else?

carnil commented 4 months ago
root@boxes-i386:~/boxes-2.3.0/test# coredumpctl debug
           PID: 19623 (boxes)
           UID: 0 (root)
           GID: 0 (root)
        Signal: 6 (ABRT)
     Timestamp: Sun 2024-05-12 14:22:09 CEST (58s ago)
  Command Line: ../out/boxes ./126_config_file_xdg3.txt
    Executable: /root/boxes-2.3.0/out/boxes
 Control Group: /system.slice/system-serial\x2dgetty.slice/serial-getty@ttyS0.service
          Unit: serial-getty@ttyS0.service
         Slice: system-serial\x2dgetty.slice
       Boot ID: 0fd8ba8b64574b69b125b77fbcfb254f
    Machine ID: 8fd71204e6a94d0596f9d80da80e6e49
      Hostname: boxes-i386
       Storage: /var/lib/systemd/coredump/core.boxes.0.0fd8ba8b64574b69b125b77fbcfb254f.19623.1715516529000000.zst (present)
  Size on Disk: 59.5K
       Message: Process 19623 (boxes) of user 0 dumped core.

                Stack trace of thread 19623:
                #0  0x00000000b7f7d579 __kernel_vsyscall (linux-gate.so.1 + 0x579)
                #1  0x00000000b7a8b517 __pthread_kill_implementation (libc.so.6 + 0x8b517)
                #2  0x00000000b7a3a781 __GI_raise (libc.so.6 + 0x3a781)
                #3  0x00000000b7a222a5 __GI_abort (libc.so.6 + 0x222a5)
                #4  0x00000000b7a23358 __libc_message (libc.so.6 + 0x23358)
                #5  0x00000000b7a9696b malloc_printerr (libc.so.6 + 0x9696b)
                #6  0x00000000b7a96b4b munmap_chunk (libc.so.6 + 0x96b4b)
                #7  0x00000000b7a9b065 __GI___libc_free (libc.so.6 + 0x9b065)
                #8  0x00000000b7a2f07a __GI___gconv_create_spec (libc.so.6 + 0x2f07a)
                #9  0x00000000b7a2450f iconv_open (libc.so.6 + 0x2450f)
                #10 0x00000000b7dd0381 libunistring_iconveh_open (libunistring.so.5 + 0x10381)
                #11 0x00000000b7dd06d1 libunistring_mem_iconveh (libunistring.so.5 + 0x106d1)
                #12 0x00000000b7dd0986 n/a (libunistring.so.5 + 0x10986)
                #13 0x00000000b7dd0def libunistring_mem_iconveha (libunistring.so.5 + 0x10def)
                #14 0x00000000b7dd934f u32_conv_from_encoding (libunistring.so.5 + 0x1934f)
                #15 0x00000000b7dd95e5 u32_strconv_from_encoding (libunistring.so.5 + 0x195e5)
                #16 0x00000000004d88e0 n/a (/root/boxes-2.3.0/out/boxes + 0x148e0)
                ELF object binary architecture: Intel 80386

GNU gdb (Debian 13.2-1+b1) 13.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /root/boxes-2.3.0/out/boxes...
[New LWP 19623]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Core was generated by `../out/boxes ./126_config_file_xdg3.txt'.
Program terminated with signal SIGABRT, Aborted.
#0  0xb7f7d579 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7f7d579 in __kernel_vsyscall ()
#1  0xb7a8b517 in __pthread_kill_implementation (threadid=threadid@entry=3083884288, signo=signo@entry=6, 
    no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:43
#2  0xb7a8b58b in __pthread_kill_internal (signo=6, threadid=3083884288) at ./nptl/pthread_kill.c:78
#3  0xb7a3a781 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#4  0xb7a222a5 in __GI_abort () at ./stdlib/abort.c:79
#5  0xb7a23358 in __libc_message (fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:150
#6  0xb7a9696b in malloc_printerr (str=str@entry=0xb7bbf668 "munmap_chunk(): invalid pointer")
    at ./malloc/malloc.c:5765
#7  0xb7a96b4b in munmap_chunk (p=<optimized out>) at ./malloc/malloc.c:3035
#8  0xb7a9b065 in __GI___libc_free (mem=0x1922de0) at ./malloc/malloc.c:3381
#9  0xb7a2f07a in __GI___gconv_create_spec (conv_spec=0xbfcb3cc0, fromcode=0x4d907c "UTF-8", 
    tocode=0xbfcb3df0 "WCHAR_T//TRANSLIT") at ./iconv/gconv_charset.c:214
#10 0xb7a2450f in iconv_open (tocode=0xbfcb3df0 "WCHAR_T//TRANSLIT", fromcode=0x4d907c "UTF-8")
    at ./iconv/iconv_open.c:36
#11 0xb7dd0381 in libunistring_iconveh_open () from /lib/i386-linux-gnu/libunistring.so.5
#12 0xb7dd06d1 in libunistring_mem_iconveh () from /lib/i386-linux-gnu/libunistring.so.5
#13 0xb7dd0986 in ?? () from /lib/i386-linux-gnu/libunistring.so.5
#14 0xb7dd0def in libunistring_mem_iconveha () from /lib/i386-linux-gnu/libunistring.so.5
#15 0xb7dd934f in u32_conv_from_encoding () from /lib/i386-linux-gnu/libunistring.so.5
#16 0xb7dd95e5 in u32_strconv_from_encoding () from /lib/i386-linux-gnu/libunistring.so.5
#17 0x004d88e0 in u32_strconv_from_arg (sourceEncoding=0x4d907c "UTF-8", src=0x4d96cb "(?(?=\r)(\r\n?)|(\n))")
    at ../src/unicode.c:226
#18 u32_strconv_from_arg (src=0x4d96cb "(?(?=\r)(\r\n?)|(\n))", sourceEncoding=0x4d907c "UTF-8")
    at ../src/unicode.c:217
#19 0x004d4324 in compile_pattern (pattern=0x4d96cb "(?(?=\r)(\r\n?)|(\n))") at ../src/regulex.c:36
#20 0x004d310c in adjust_eols (sample=0x1923670) at ../src/parsecode.c:877
#21 action_sample_block (bison_args=0xbfcb5a94, sample=0x1922cb0) at ../src/parsecode.c:919
#22 0x004c7b27 in yyparse (bison_args=0xbfcb5a94) at ../src/parser.y:296
#23 0x004d399f in parse_config_file (num_child_configs=<optimized out>, child_configs=0x0, config_file=0x19109e0)
    at ../src/parsing.c:181
#24 parse_config_files (p_first_config_file=0x19109e0, r_num_designs=0xbfcb5b28) at ../src/parsing.c:275
#25 0x004c70ed in handle_config_parsing () at ../src/boxes.c:215
#26 main (argc=2, argv=0xbfcb5c14) at ../src/boxes.c:506
(gdb)
tsjensen commented 4 months ago

Thanks! I'll take a look asap.

tsjensen commented 4 months ago

Hmm, not much success so far. The regex pattern in adjust_eols() was a bit weird, maybe that triggered something? I simplified it on the current master. So far that's the only "weird" thing around any of the mentioned places that I could spot. ๐Ÿ˜’ But maybe give it a try anyways? ๐Ÿ™

carnil commented 4 months ago

Hi @tsjensen

Hmm, not much success so far. The regex pattern in adjust_eols() was a bit weird, maybe that triggered something? I simplified it on the current master. So far that's the only "weird" thing around any of the mentioned places that I could spot. ๐Ÿ˜’ But maybe give it a try anyways? ๐Ÿ™

First thanks a lot for your efforts, it is really appreciated that you take time for that.

I applied the patch on top, but unfortunately it still fails: https://salsa.debian.org/carnil/boxes/-/pipelines/678207

I will try to ask around as well on other Debian developers if someone get an idea of the problem.