Skip to content
Failed

Console Output

Skipping 11 KB.. Full Log
	local pkgs
	pkgs=$(filter_dpkg_tracked "$@")
	if test -n "$pkgs"; then
		$APT_GET purge $pkgs
	fi
}

$APT_GET update
Hit:1 http://deb.debian.org/debian sid InRelease
Reading package lists...
$APT_GET dist-upgrade # we need upgrade later, so make sure the system is clean
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
Entering ResolveByKeep

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
apt_get_install build-essential debhelper reprepro quilt arch-test
Reading package lists...
Building dependency tree...
Reading state information...
  MarkInstall build-essential:amd64 < none -> 12.10 @un puN Ib > FU=1
  Installing libc6-dev:amd64 as Depends of build-essential:amd64
    MarkInstall libc6-dev:amd64 < none -> 2.37-15.1 @un puN Ib > FU=0
      MarkInstall libc6:amd64 < 2.37-15.1 @ii pmK > FU=0
        MarkInstall libgcc-s1:amd64 < 14-20240315-1 @ii pmK > FU=0
          MarkInstall gcc-14-base:amd64 < 14-20240315-1 @ii pmK > FU=0
    Installing libc-dev-bin:amd64 as Depends of libc6-dev:amd64
      MarkInstall libc-dev-bin:amd64 < none -> 2.37-15.1 @un puN > FU=0
    Installing linux-libc-dev:amd64 as Depends of libc6-dev:amd64
      MarkInstall linux-libc-dev:amd64 < none -> 6.7.9-2 @un puN > FU=0
    Installing libcrypt-dev:amd64 as Depends of libc6-dev:amd64
      MarkInstall libcrypt-dev:amd64 < none -> 1:4.4.36-4 @un puN > FU=0
        MarkInstall libcrypt1:amd64 < 1:4.4.36-4 @ii pmK > FU=0
    Installing rpcsvc-proto:amd64 as Depends of libc6-dev:amd64
      MarkInstall rpcsvc-proto:amd64 < none -> 1.4.3-1 @un puN > FU=0
  Installing gcc:amd64 as Depends of build-essential:amd64
    MarkInstall gcc:amd64 < none -> 4:13.2.0-7 @un puN Ib > FU=0
    Installing cpp:amd64 as Depends of gcc:amd64
      MarkInstall cpp:amd64 < none -> 4:13.2.0-7 @un puN Ib > FU=0
      Installing cpp-13:amd64 as Depends of cpp:amd64
        MarkInstall cpp-13:amd64 < none -> 13.2.0-23 @un puN Ib > FU=0
        Installing gcc-13-base:amd64 as Depends of cpp-13:amd64
          MarkInstall gcc-13-base:amd64 < none -> 13.2.0-23 @un puN > FU=0
        Installing cpp-13-x86-64-linux-gnu:amd64 as Depends of cpp-13:amd64
          MarkInstall cpp-13-x86-64-linux-gnu:amd64 < none -> 13.2.0-23 @un puN Ib > FU=0
            MarkInstall libgmp10:amd64 < 2:6.3.0+dfsg-2+b1 @ii pmK > FU=0
          Installing libisl23:amd64 as Depends of cpp-13-x86-64-linux-gnu:amd64
            MarkInstall libisl23:amd64 < none -> 0.26-3+b2 @un puN > FU=0
          Installing libmpc3:amd64 as Depends of cpp-13-x86-64-linux-gnu:amd64
            MarkInstall libmpc3:amd64 < none -> 1.3.1-1+b2 @un puN Ib > FU=0
            Installing libmpfr6:amd64 as Depends of libmpc3:amd64
              MarkInstall libmpfr6:amd64 < none -> 4.2.1-1+b1 @un puN > FU=0
            MarkInstall libzstd1:amd64 < 1.5.5+dfsg2-2 @ii pmK > FU=0
            MarkInstall zlib1g:amd64 < 1:1.3.dfsg-3.1 @ii pmK > FU=0
      Installing cpp-x86-64-linux-gnu:amd64 as Depends of cpp:amd64
        MarkInstall cpp-x86-64-linux-gnu:amd64 < none -> 4:13.2.0-7 @un puN > FU=0
    Installing gcc-13:amd64 as Depends of gcc:amd64
      MarkInstall gcc-13:amd64 < none -> 13.2.0-23 @un puN Ib > FU=0
      Installing gcc-13-x86-64-linux-gnu:amd64 as Depends of gcc-13:amd64
        MarkInstall gcc-13-x86-64-linux-gnu:amd64 < none -> 13.2.0-23 @un puN Ib > FU=0
        Installing libcc1-0:amd64 as Depends of gcc-13-x86-64-linux-gnu:amd64
          MarkInstall libcc1-0:amd64 < none -> 14-20240315-1 @un puN > FU=0
            MarkInstall libstdc++6:amd64 < 14-20240315-1 @ii pmK > FU=0
        Installing binutils-x86-64-linux-gnu:amd64 as Depends of gcc-13-x86-64-linux-gnu:amd64
          MarkInstall binutils-x86-64-linux-gnu:amd64 < none -> 2.42-4 @un puN Ib > FU=0
          Installing binutils-common:amd64 as Depends of binutils-x86-64-linux-gnu:amd64
            MarkInstall binutils-common:amd64 < none -> 2.42-4 @un puN > FU=0
          Installing libbinutils:amd64 as Depends of binutils-x86-64-linux-gnu:amd64
            MarkInstall libbinutils:amd64 < none -> 2.42-4 @un puN Ib > FU=0
            Installing libsframe1:amd64 as Depends of libbinutils:amd64
              MarkInstall libsframe1:amd64 < none -> 2.42-4 @un puN > FU=0
          Installing libctf-nobfd0:amd64 as Depends of binutils-x86-64-linux-gnu:amd64
            MarkInstall libctf-nobfd0:amd64 < none -> 2.42-4 @un puN > FU=0
          Installing libctf0:amd64 as Depends of binutils-x86-64-linux-gnu:amd64
            MarkInstall libctf0:amd64 < none -> 2.42-4 @un puN > FU=0
          Installing libgprofng0:amd64 as Depends of binutils-x86-64-linux-gnu:amd64
            MarkInstall libgprofng0:amd64 < none -> 2.42-4 @un puN > FU=0
          Installing libjansson4:amd64 as Depends of binutils-x86-64-linux-gnu:amd64
            MarkInstall libjansson4:amd64 < none -> 2.14-2+b2 @un puN > FU=0
        Installing libgcc-13-dev:amd64 as Depends of gcc-13-x86-64-linux-gnu:amd64
          MarkInstall libgcc-13-dev:amd64 < none -> 13.2.0-23 @un puN Ib > FU=0
          Installing libgomp1:amd64 as Depends of libgcc-13-dev:amd64
            MarkInstall libgomp1:amd64 < none -> 14-20240315-1 @un puN > FU=0
          Installing libitm1:amd64 as Depends of libgcc-13-dev:amd64
            MarkInstall libitm1:amd64 < none -> 14-20240315-1 @un puN > FU=0
          Installing libatomic1:amd64 as Depends of libgcc-13-dev:amd64
            MarkInstall libatomic1:amd64 < none -> 14-20240315-1 @un puN > FU=0
          Installing libasan8:amd64 as Depends of libgcc-13-dev:amd64
            MarkInstall libasan8:amd64 < none -> 14-20240315-1 @un puN > FU=0
          Installing liblsan0:amd64 as Depends of libgcc-13-dev:amd64
            MarkInstall liblsan0:amd64 < none -> 14-20240315-1 @un puN > FU=0
          Installing libtsan2:amd64 as Depends of libgcc-13-dev:amd64
            MarkInstall libtsan2:amd64 < none -> 14-20240315-1 @un puN > FU=0
          Installing libubsan1:amd64 as Depends of libgcc-13-dev:amd64
            MarkInstall libubsan1:amd64 < none -> 14-20240315-1 @un puN > FU=0
          Installing libhwasan0:amd64 as Depends of libgcc-13-dev:amd64
            MarkInstall libhwasan0:amd64 < none -> 14-20240315-1 @un puN > FU=0
          Installing libquadmath0:amd64 as Depends of libgcc-13-dev:amd64
            MarkInstall libquadmath0:amd64 < none -> 14-20240315-1 @un puN > FU=0
      Installing binutils:amd64 as Depends of gcc-13:amd64
        MarkInstall binutils:amd64 < none -> 2.42-4 @un puN > FU=0
    Installing gcc-x86-64-linux-gnu:amd64 as Depends of gcc:amd64
      MarkInstall gcc-x86-64-linux-gnu:amd64 < none -> 4:13.2.0-7 @un puN > FU=0
  Installing g++:amd64 as Depends of build-essential:amd64
    MarkInstall g++:amd64 < none -> 4:13.2.0-7 @un puN Ib > FU=0
    Installing g++-13:amd64 as Depends of g++:amd64
      MarkInstall g++-13:amd64 < none -> 13.2.0-23 @un puN Ib > FU=0
      Installing g++-13-x86-64-linux-gnu:amd64 as Depends of g++-13:amd64
        MarkInstall g++-13-x86-64-linux-gnu:amd64 < none -> 13.2.0-23 @un puN Ib > FU=0
        Installing libstdc++-13-dev:amd64 as Depends of g++-13-x86-64-linux-gnu:amd64
          MarkInstall libstdc++-13-dev:amd64 < none -> 13.2.0-23 @un puN > FU=0
    Installing g++-x86-64-linux-gnu:amd64 as Depends of g++:amd64
      MarkInstall g++-x86-64-linux-gnu:amd64 < none -> 4:13.2.0-7 @un puN > FU=0
  Installing make:amd64 as Depends of build-essential:amd64
    MarkInstall make:amd64 < none -> 4.3-4.1 @un umN > FU=0
  Installing dpkg-dev:amd64 as Depends of build-essential:amd64
    MarkInstall dpkg-dev:amd64 < none -> 1.22.6 @un pumN Ib > FU=0
      MarkInstall perl:amd64 < 5.38.2-3.2 @ii pmK > FU=0
        MarkInstall dpkg:amd64 < 1.22.6 @ii pmK > FU=0
          MarkInstall libbz2-1.0:amd64 < 1.0.8-5.1 @ii pmK > FU=0
          MarkInstall liblzma5:amd64 < 5.6.1+really5.4.5-1 @ii pmK > FU=0
          MarkInstall libmd0:amd64 < 1.1.0-2 @ii pmK > FU=0
          MarkInstall libselinux1:amd64 < 3.5-2+b1 @ii pmK > FU=0
            MarkInstall libpcre2-8-0:amd64 < 10.42-4+b1 @ii pmK > FU=0
          MarkInstall tar:amd64 < 1.35+dfsg-3 @ii pmK > FU=0
            MarkInstall libacl1:amd64 < 2.3.2-1 @ii pmK > FU=0
        MarkInstall perl-base:amd64 < 5.38.2-3.2 @ii pmK > FU=0
        MarkInstall perl-modules-5.38:amd64 < 5.38.2-3.2 @ii pmK > FU=0
        MarkInstall libperl5.38t64:amd64 < 5.38.2-3.2 @ii pmK > FU=0
          MarkInstall libdb5.3t64:amd64 < 5.3.28+dfsg2-6 @ii pmK > FU=0
          MarkInstall libgdbm-compat4t64:amd64 < 1.23-5.1+b1 @ii pmK > FU=0
            MarkInstall libgdbm6t64:amd64 < 1.23-5.1+b1 @ii pmK > FU=0
    Installing libdpkg-perl:amd64 as Depends of dpkg-dev:amd64
      MarkInstall libdpkg-perl:amd64 < none -> 1.22.6 @un puN > FU=0
    Installing bzip2:amd64 as Depends of dpkg-dev:amd64
      MarkInstall bzip2:amd64 < none -> 1.0.8-5.1 @un pumN > FU=0
    Installing xz-utils:amd64 as Depends of dpkg-dev:amd64
      MarkInstall xz-utils:amd64 < none -> 5.6.1+really5.4.5-1 @un pumN > FU=0
    Installing patch:amd64 as Depends of dpkg-dev:amd64
      MarkInstall patch:amd64 < none -> 2.7.6-7 @un puN > FU=0
  MarkInstall debhelper:amd64 < none -> 13.15.3 @un puN Ib > FU=1
  Installing autotools-dev:amd64 as Depends of debhelper:amd64
    MarkInstall autotools-dev:amd64 < none -> 20220109.1 @un puN > FU=0
  Installing dh-autoreconf:amd64 as Depends of debhelper:amd64
    MarkInstall dh-autoreconf:amd64 < none -> 20 @un puN Ib > FU=0
    Installing autoconf:amd64 as Depends of dh-autoreconf:amd64
      MarkInstall autoconf:amd64 < none -> 2.71-3 @un puN Ib > FU=0
      Installing m4:amd64 as Depends of autoconf:amd64
        MarkInstall m4:amd64 < none -> 1.4.19-4 @un puN > FU=0
        MarkInstall debianutils:amd64 < 5.17 @ii pmK > FU=0
    Installing automake:amd64 as Depends of dh-autoreconf:amd64
      MarkInstall automake:amd64 < none -> 1:1.16.5-1.3 @un puN > FU=0
    Installing autopoint:amd64 as Depends of dh-autoreconf:amd64
      MarkInstall autopoint:amd64 < none -> 0.21-14 @un puN > FU=0
    Installing libdebhelper-perl:amd64 as Depends of dh-autoreconf:amd64
      MarkInstall libdebhelper-perl:amd64 < none -> 13.15.3 @un puN > FU=0
    Installing libtool:amd64 as Depends of dh-autoreconf:amd64
      MarkInstall libtool:amd64 < none -> 2.4.7-7 @un puN Ib > FU=0
      Installing file:amd64 as Depends of libtool:amd64
        MarkInstall file:amd64 < none -> 1:5.45-3 @un puN Ib > FU=0
        Installing libmagic1t64:amd64 as Depends of file:amd64
          MarkInstall libmagic1t64:amd64 < none -> 1:5.45-3 @un puN Ib > FU=0
          Installing libmagic-mgc:amd64 as Depends of libmagic1t64:amd64
            MarkInstall libmagic-mgc:amd64 < none -> 1:5.45-3 @un puN > FU=0
  Installing dh-strip-nondeterminism:amd64 as Depends of debhelper:amd64
    MarkInstall dh-strip-nondeterminism:amd64 < none -> 1.13.1-1 @un puN Ib > FU=0
    Installing libfile-stripnondeterminism-perl:amd64 as Depends of dh-strip-nondeterminism:amd64
      MarkInstall libfile-stripnondeterminism-perl:amd64 < none -> 1.13.1-1 @un puN Ib > FU=0
      Installing libarchive-zip-perl:amd64 as Depends of libfile-stripnondeterminism-perl:amd64
        MarkInstall libarchive-zip-perl:amd64 < none -> 1.68-1 @un puN > FU=0
      Installing libsub-override-perl:amd64 as Depends of libfile-stripnondeterminism-perl:amd64
        MarkInstall libsub-override-perl:amd64 < none -> 0.10-1 @un puN > FU=0
  Installing dwz:amd64 as Depends of debhelper:amd64
    MarkInstall dwz:amd64 < none -> 0.15-1+b1 @un puN Ib > FU=0
    Installing libelf1t64:amd64 as Depends of dwz:amd64
      MarkInstall libelf1t64:amd64 < none -> 0.191-1 @un puN > FU=0
  Installing man-db:amd64 as Depends of debhelper:amd64
    MarkInstall man-db:amd64 < none -> 2.12.0-3+b1 @un puN Ib > FU=0
    Installing bsdextrautils:amd64 as Depends of man-db:amd64
      MarkInstall bsdextrautils:amd64 < none -> 2.39.3-11 @un pumN > FU=0
        MarkInstall libsmartcols1:amd64 < 2.39.3-11 @ii pmK > FU=0
        MarkInstall libtinfo6:amd64 < 6.4+20240113-1 @ii pmK > FU=0
    Installing groff-base:amd64 as Depends of man-db:amd64
      MarkInstall groff-base:amd64 < none -> 1.23.0-3+b1 @un puN Ib > FU=0
      Installing libuchardet0:amd64 as Depends of groff-base:amd64
        MarkInstall libuchardet0:amd64 < none -> 0.0.8-1+b1 @un puN > FU=0
    Installing libpipeline1:amd64 as Depends of man-db:amd64
      MarkInstall libpipeline1:amd64 < none -> 1.5.7-1+b2 @un puN > FU=0
      MarkInstall libseccomp2:amd64 < 2.5.5-1 @ii pmK > FU=0
  Installing po-debconf:amd64 as Depends of debhelper:amd64
    MarkInstall po-debconf:amd64 < none -> 1.0.21+nmu1 @un puN Ib > FU=0
    Installing gettext:amd64 as Depends of po-debconf:amd64
      MarkInstall gettext:amd64 < none -> 0.21-14+b1 @un puN Ib > FU=0
      Installing gettext-base:amd64 as Depends of gettext:amd64
        MarkInstall gettext-base:amd64 < none -> 0.21-14+b1 @un puN > FU=0
        MarkInstall libunistring5:amd64 < 1.2-1 @ii pmK > FU=0
      Installing libxml2:amd64 as Depends of gettext:amd64
        MarkInstall libxml2:amd64 < none -> 2.9.14+dfsg-1.3+b2 @un puN Ib > FU=0
        Installing libicu72:amd64 as Depends of libxml2:amd64
          MarkInstall libicu72:amd64 < none -> 72.1-4+b1 @un puN > FU=0
    Installing intltool-debian:amd64 as Depends of po-debconf:amd64
      MarkInstall intltool-debian:amd64 < none -> 0.35.0+20060710.6 @un puN > FU=0
    Installing sensible-utils:amd64 as Depends of po-debconf:amd64
      MarkInstall sensible-utils:amd64 < none -> 0.0.22 @un pumN > FU=0
  MarkInstall reprepro:amd64 < none -> 5.3.1-5+b2 @un puN Ib > FU=1
  Installing libarchive13t64:amd64 as Depends of reprepro:amd64
    MarkInstall libarchive13t64:amd64 < none -> 3.7.2-1.1 @un puN > FU=0
      MarkInstall liblz4-1:amd64 < 1.9.4-1+b2 @ii pmK > FU=0
      MarkInstall libnettle8t64:amd64 < 3.9.1-2.2 @ii pmK > FU=0
    MarkInstall libgpg-error0:amd64 < 1.47-3 @ii pmK > FU=0
  Installing libgpgme11t64:amd64 as Depends of reprepro:amd64
    MarkInstall libgpgme11t64:amd64 < none -> 1.18.0-4.1+b1 @un puN Ib > FU=0
    Installing gnupg:amd64 as Depends of libgpgme11t64:amd64
      MarkInstall gnupg:amd64 < none -> 2.2.40-3 @un umN Ib > FU=0
      Installing dirmngr:amd64 as Depends of gnupg:amd64
        MarkInstall dirmngr:amd64 < none -> 2.2.40-3 @un uN Ib > FU=0
        Installing adduser:amd64 as Depends of dirmngr:amd64
          MarkInstall adduser:amd64 < none -> 3.137 @un umN > FU=0
        Installing gpgconf:amd64 as Depends of dirmngr:amd64
          MarkInstall gpgconf:amd64 < none -> 2.2.40-3 @un uN Ib > FU=0
          Installing libassuan0:amd64 as Depends of gpgconf:amd64
            MarkInstall libassuan0:amd64 < none -> 2.5.6-1 @un uN > FU=0
          Installing libreadline8t64:amd64 as Depends of gpgconf:amd64
            MarkInstall libreadline8t64:amd64 < none -> 8.2-4 @un uN Ib > FU=0
            Installing readline-common:amd64 as Depends of libreadline8t64:amd64
              MarkInstall readline-common:amd64 < none -> 8.2-4 @un uN > FU=0
        Installing libksba8:amd64 as Depends of dirmngr:amd64
          MarkInstall libksba8:amd64 < none -> 1.6.6-1 @un uN > FU=0
        Installing libldap-2.5-0:amd64 as Depends of dirmngr:amd64
          MarkInstall libldap-2.5-0:amd64 < none -> 2.5.16+dfsg-2 @un uN Ib > FU=0
          Installing libsasl2-2:amd64 as Depends of libldap-2.5-0:amd64
            MarkInstall libsasl2-2:amd64 < none -> 2.1.28+dfsg1-6 @un uN Ib > FU=0
            Installing libsasl2-modules-db:amd64 as Depends of libsasl2-2:amd64
              MarkInstall libsasl2-modules-db:amd64 < none -> 2.1.28+dfsg1-6 @un uN > FU=0
        Installing libnpth0t64:amd64 as Depends of dirmngr:amd64
          MarkInstall libnpth0t64:amd64 < none -> 1.6-3.1 @un uN > FU=0
      Installing gnupg-l10n:amd64 as Depends of gnupg:amd64
        MarkInstall gnupg-l10n:amd64 < none -> 2.2.40-3 @un uN > FU=0
      Installing gnupg-utils:amd64 as Depends of gnupg:amd64
        MarkInstall gnupg-utils:amd64 < none -> 2.2.40-3 @un uN > FU=0
      Installing gpg:amd64 as Depends of gnupg:amd64
        MarkInstall gpg:amd64 < none -> 2.2.40-3 @un uN Ib > FU=0
        Installing libsqlite3-0:amd64 as Depends of gpg:amd64
          MarkInstall libsqlite3-0:amd64 < none -> 3.45.2-1 @un uN > FU=0
      Installing gpg-agent:amd64 as Depends of gnupg:amd64
        MarkInstall gpg-agent:amd64 < none -> 2.2.40-3 @un uN Ib > FU=0
        Installing pinentry-curses:amd64 as Depends of gpg-agent:amd64
          MarkInstall pinentry-curses:amd64 < none -> 1.2.1-3+b2 @un uN Ib > FU=0
          Installing libncursesw6:amd64 as Depends of pinentry-curses:amd64
            MarkInstall libncursesw6:amd64 < none -> 6.4+20240113-1 @un uN > FU=0
      Installing gpg-wks-client:amd64 as Depends of gnupg:amd64
        MarkInstall gpg-wks-client:amd64 < none -> 2.2.40-3 @un uN > FU=0
      Installing gpg-wks-server:amd64 as Depends of gnupg:amd64
        MarkInstall gpg-wks-server:amd64 < none -> 2.2.40-3 @un uN > FU=0
      Installing gpgsm:amd64 as Depends of gnupg:amd64
        MarkInstall gpgsm:amd64 < none -> 2.2.40-3 @un uN > FU=0
      MarkInstall libassuan0:amd64 < none -> 2.5.6-1 @un puN > FU=0
  Installing zstd:amd64 as Depends of reprepro:amd64
    MarkInstall zstd:amd64 < none -> 1.5.5+dfsg2-2 @un puN > FU=0
  MarkInstall quilt:amd64 < none -> 0.67+really0.67-4 @un puN Ib > FU=1
  Installing diffstat:amd64 as Depends of quilt:amd64
    MarkInstall diffstat:amd64 < none -> 1.66-1 @un puN > FU=0
  Installing ed:amd64 as Depends of quilt:amd64
    MarkInstall ed:amd64 < none -> 1.20.1-1 @un puN > FU=0
  MarkInstall arch-test:amd64 < none -> 0.21-1 @un puN > FU=1
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
  Ignore MarkGarbage of zstd:amd64 < none -> 1.5.5+dfsg2-2 @un puN > as its mode (Install) is protected
  Ignore MarkGarbage of libarchive13t64:amd64 < none -> 3.7.2-1.1 @un puN > as its mode (Install) is protected
  Ignore MarkGarbage of diffstat:amd64 < none -> 1.66-1 @un puN > as its mode (Install) is protected
The following additional packages will be installed:
  adduser autoconf automake autopoint autotools-dev binutils binutils-common
  binutils-x86-64-linux-gnu bsdextrautils bzip2 cpp cpp-13
  cpp-13-x86-64-linux-gnu cpp-x86-64-linux-gnu dh-autoreconf
  dh-strip-nondeterminism diffstat dirmngr dpkg-dev dwz ed file g++ g++-13
  g++-13-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-13 gcc-13-base
  gcc-13-x86-64-linux-gnu gcc-x86-64-linux-gnu gettext gettext-base gnupg
  gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf
  gpgsm groff-base intltool-debian libarchive-zip-perl libarchive13t64
  libasan8 libassuan0 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0
  libcrypt-dev libctf-nobfd0 libctf0 libdebhelper-perl libdpkg-perl libelf1t64
  libfile-stripnondeterminism-perl libgcc-13-dev libgomp1 libgpgme11t64
  libgprofng0 libhwasan0 libicu72 libisl23 libitm1 libjansson4 libksba8
  libldap-2.5-0 liblsan0 libmagic-mgc libmagic1t64 libmpc3 libmpfr6
  libncursesw6 libnpth0t64 libpipeline1 libquadmath0 libreadline8t64
  libsasl2-2 libsasl2-modules-db libsframe1 libsqlite3-0 libstdc++-13-dev
  libsub-override-perl libtool libtsan2 libubsan1 libuchardet0 libxml2
  linux-libc-dev m4 make man-db patch pinentry-curses po-debconf
  readline-common rpcsvc-proto sensible-utils xz-utils zstd
Suggested packages:
  liblocale-gettext-perl cron quota autoconf-archive gnu-standards
  autoconf-doc binutils-doc gprofng-gui bzip2-doc cpp-doc gcc-13-locales
  cpp-13-doc dh-make dbus-user-session libpam-systemd pinentry-gnome3 tor
  debian-keyring g++-multilib g++-13-multilib gcc-13-doc gcc-multilib
  manpages-dev flex bison gdb gcc-doc gcc-13-multilib gdb-x86-64-linux-gnu
  gettext-doc libasprintf-dev libgettextpo-dev parcimonie xloadimage scdaemon
  groff lrzip glibc-doc git bzr libstdc++-13-doc libtool-doc gfortran
  | fortran95-compiler gcj-jdk m4-doc make-doc apparmor less www-browser
  diffutils-doc pinentry-doc libmail-box-perl default-mta
  | mail-transport-agent graphviz procmail readline-doc inoticoming lzip
Recommended packages:
  fakeroot libalgorithm-merge-perl curl | wget | lynx manpages manpages-dev
  libc-devtools libfile-fcntllock-perl liblocale-gettext-perl
  libarchive-cpio-perl libldap-common libgpm2 libsasl2-modules libltdl-dev
  libmail-sendmail-perl less
The following NEW packages will be installed:
  adduser arch-test autoconf automake autopoint autotools-dev binutils
  binutils-common binutils-x86-64-linux-gnu bsdextrautils build-essential
  bzip2 cpp cpp-13 cpp-13-x86-64-linux-gnu cpp-x86-64-linux-gnu debhelper
  dh-autoreconf dh-strip-nondeterminism diffstat dirmngr dpkg-dev dwz ed file
  g++ g++-13 g++-13-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-13
  gcc-13-base gcc-13-x86-64-linux-gnu gcc-x86-64-linux-gnu gettext
  gettext-base gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
  gpg-wks-server gpgconf gpgsm groff-base intltool-debian libarchive-zip-perl
  libarchive13t64 libasan8 libassuan0 libatomic1 libbinutils libc-dev-bin
  libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libdebhelper-perl
  libdpkg-perl libelf1t64 libfile-stripnondeterminism-perl libgcc-13-dev
  libgomp1 libgpgme11t64 libgprofng0 libhwasan0 libicu72 libisl23 libitm1
  libjansson4 libksba8 libldap-2.5-0 liblsan0 libmagic-mgc libmagic1t64
  libmpc3 libmpfr6 libncursesw6 libnpth0t64 libpipeline1 libquadmath0
  libreadline8t64 libsasl2-2 libsasl2-modules-db libsframe1 libsqlite3-0
  libstdc++-13-dev libsub-override-perl libtool libtsan2 libubsan1
  libuchardet0 libxml2 linux-libc-dev m4 make man-db patch pinentry-curses
  po-debconf quilt readline-common reprepro rpcsvc-proto sensible-utils
  xz-utils zstd
0 upgraded, 109 newly installed, 0 to remove and 0 not upgraded.
Need to get 102 MB of archives.
After this operation, 386 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian sid/main amd64 adduser all 3.137 [140 kB]
Get:2 http://deb.debian.org/debian sid/main amd64 readline-common all 8.2-4 [69.3 kB]
Get:3 http://deb.debian.org/debian sid/main amd64 sensible-utils all 0.0.22 [22.4 kB]
Get:4 http://deb.debian.org/debian sid/main amd64 bzip2 amd64 1.0.8-5.1 [40.3 kB]
Get:5 http://deb.debian.org/debian sid/main amd64 libmagic-mgc amd64 1:5.45-3 [314 kB]
Get:6 http://deb.debian.org/debian sid/main amd64 libmagic1t64 amd64 1:5.45-3 [105 kB]
Get:7 http://deb.debian.org/debian sid/main amd64 file amd64 1:5.45-3 [42.9 kB]
Get:8 http://deb.debian.org/debian sid/main amd64 gettext-base amd64 0.21-14+b1 [161 kB]
Get:9 http://deb.debian.org/debian sid/main amd64 libuchardet0 amd64 0.0.8-1+b1 [68.8 kB]
Get:10 http://deb.debian.org/debian sid/main amd64 groff-base amd64 1.23.0-3+b1 [1180 kB]
Get:11 http://deb.debian.org/debian sid/main amd64 bsdextrautils amd64 2.39.3-11 [89.8 kB]
Get:12 http://deb.debian.org/debian sid/main amd64 libpipeline1 amd64 1.5.7-1+b2 [38.1 kB]
Get:13 http://deb.debian.org/debian sid/main amd64 man-db amd64 2.12.0-3+b1 [1402 kB]
Get:14 http://deb.debian.org/debian sid/main amd64 xz-utils amd64 5.6.1+really5.4.5-1 [503 kB]
Get:15 http://deb.debian.org/debian sid/main amd64 arch-test all 0.21-1 [12.5 kB]
Get:16 http://deb.debian.org/debian sid/main amd64 m4 amd64 1.4.19-4 [287 kB]
Get:17 http://deb.debian.org/debian sid/main amd64 autoconf all 2.71-3 [332 kB]
Get:18 http://deb.debian.org/debian sid/main amd64 autotools-dev all 20220109.1 [51.6 kB]
Get:19 http://deb.debian.org/debian sid/main amd64 automake all 1:1.16.5-1.3 [823 kB]
Get:20 http://deb.debian.org/debian sid/main amd64 autopoint all 0.21-14 [496 kB]
Get:21 http://deb.debian.org/debian sid/main amd64 binutils-common amd64 2.42-4 [2539 kB]
Get:22 http://deb.debian.org/debian sid/main amd64 libsframe1 amd64 2.42-4 [76.0 kB]
Get:23 http://deb.debian.org/debian sid/main amd64 libbinutils amd64 2.42-4 [520 kB]
Get:24 http://deb.debian.org/debian sid/main amd64 libctf-nobfd0 amd64 2.42-4 [152 kB]
Get:25 http://deb.debian.org/debian sid/main amd64 libctf0 amd64 2.42-4 [87.0 kB]
Get:26 http://deb.debian.org/debian sid/main amd64 libgprofng0 amd64 2.42-4 [772 kB]
Get:27 http://deb.debian.org/debian sid/main amd64 libjansson4 amd64 2.14-2+b2 [39.9 kB]
Get:28 http://deb.debian.org/debian sid/main amd64 binutils-x86-64-linux-gnu amd64 2.42-4 [2215 kB]
Get:29 http://deb.debian.org/debian sid/main amd64 binutils amd64 2.42-4 [80.9 kB]
Get:30 http://deb.debian.org/debian sid/main amd64 libc-dev-bin amd64 2.37-15.1 [47.1 kB]
Get:31 http://deb.debian.org/debian sid/main amd64 linux-libc-dev all 6.7.9-2 [2255 kB]
Get:32 http://deb.debian.org/debian sid/main amd64 libcrypt-dev amd64 1:4.4.36-4 [119 kB]
Get:33 http://deb.debian.org/debian sid/main amd64 rpcsvc-proto amd64 1.4.3-1 [63.3 kB]
Get:34 http://deb.debian.org/debian sid/main amd64 libc6-dev amd64 2.37-15.1 [1905 kB]
Get:35 http://deb.debian.org/debian sid/main amd64 gcc-13-base amd64 13.2.0-23 [44.6 kB]
Get:36 http://deb.debian.org/debian sid/main amd64 libisl23 amd64 0.26-3+b2 [652 kB]
Get:37 http://deb.debian.org/debian sid/main amd64 libmpfr6 amd64 4.2.1-1+b1 [714 kB]
Get:38 http://deb.debian.org/debian sid/main amd64 libmpc3 amd64 1.3.1-1+b2 [52.1 kB]
Get:39 http://deb.debian.org/debian sid/main amd64 cpp-13-x86-64-linux-gnu amd64 13.2.0-23 [10.3 MB]
Get:40 http://deb.debian.org/debian sid/main amd64 cpp-13 amd64 13.2.0-23 [1276 B]
Get:41 http://deb.debian.org/debian sid/main amd64 cpp-x86-64-linux-gnu amd64 4:13.2.0-7 [4724 B]
Get:42 http://deb.debian.org/debian sid/main amd64 cpp amd64 4:13.2.0-7 [1564 B]
Get:43 http://deb.debian.org/debian sid/main amd64 libcc1-0 amd64 14-20240315-1 [42.2 kB]
Get:44 http://deb.debian.org/debian sid/main amd64 libgomp1 amd64 14-20240315-1 [136 kB]
Get:45 http://deb.debian.org/debian sid/main amd64 libitm1 amd64 14-20240315-1 [25.8 kB]
Get:46 http://deb.debian.org/debian sid/main amd64 libatomic1 amd64 14-20240315-1 [9224 B]
Get:47 http://deb.debian.org/debian sid/main amd64 libasan8 amd64 14-20240315-1 [2724 kB]
Get:48 http://deb.debian.org/debian sid/main amd64 liblsan0 amd64 14-20240315-1 [1201 kB]
Get:49 http://deb.debian.org/debian sid/main amd64 libtsan2 amd64 14-20240315-1 [2454 kB]
Get:50 http://deb.debian.org/debian sid/main amd64 libubsan1 amd64 14-20240315-1 [1071 kB]
Get:51 http://deb.debian.org/debian sid/main amd64 libhwasan0 amd64 14-20240315-1 [1485 kB]
Get:52 http://deb.debian.org/debian sid/main amd64 libquadmath0 amd64 14-20240315-1 [147 kB]
Get:53 http://deb.debian.org/debian sid/main amd64 libgcc-13-dev amd64 13.2.0-23 [2537 kB]
Get:54 http://deb.debian.org/debian sid/main amd64 gcc-13-x86-64-linux-gnu amd64 13.2.0-23 [19.8 MB]
Get:55 http://deb.debian.org/debian sid/main amd64 gcc-13 amd64 13.2.0-23 [481 kB]
Get:56 http://deb.debian.org/debian sid/main amd64 gcc-x86-64-linux-gnu amd64 4:13.2.0-7 [1440 B]
Get:57 http://deb.debian.org/debian sid/main amd64 gcc amd64 4:13.2.0-7 [5152 B]
Get:58 http://deb.debian.org/debian sid/main amd64 libstdc++-13-dev amd64 13.2.0-23 [2264 kB]
Get:59 http://deb.debian.org/debian sid/main amd64 g++-13-x86-64-linux-gnu amd64 13.2.0-23 [11.3 MB]
Get:60 http://deb.debian.org/debian sid/main amd64 g++-13 amd64 13.2.0-23 [14.7 kB]
Get:61 http://deb.debian.org/debian sid/main amd64 g++-x86-64-linux-gnu amd64 4:13.2.0-7 [1200 B]
Get:62 http://deb.debian.org/debian sid/main amd64 g++ amd64 4:13.2.0-7 [1348 B]
Get:63 http://deb.debian.org/debian sid/main amd64 make amd64 4.3-4.1 [396 kB]
Get:64 http://deb.debian.org/debian sid/main amd64 libdpkg-perl all 1.22.6 [631 kB]
Get:65 http://deb.debian.org/debian sid/main amd64 patch amd64 2.7.6-7 [128 kB]
Get:66 http://deb.debian.org/debian sid/main amd64 dpkg-dev all 1.22.6 [1317 kB]
Get:67 http://deb.debian.org/debian sid/main amd64 build-essential amd64 12.10 [4516 B]
Get:68 http://deb.debian.org/debian sid/main amd64 libdebhelper-perl all 13.15.3 [88.0 kB]
Get:69 http://deb.debian.org/debian sid/main amd64 libtool all 2.4.7-7 [517 kB]
Get:70 http://deb.debian.org/debian sid/main amd64 dh-autoreconf all 20 [17.1 kB]
Get:71 http://deb.debian.org/debian sid/main amd64 libarchive-zip-perl all 1.68-1 [104 kB]
Get:72 http://deb.debian.org/debian sid/main amd64 libsub-override-perl all 0.10-1 [10.6 kB]
Get:73 http://deb.debian.org/debian sid/main amd64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB]
Get:74 http://deb.debian.org/debian sid/main amd64 dh-strip-nondeterminism all 1.13.1-1 [8620 B]
Get:75 http://deb.debian.org/debian sid/main amd64 libelf1t64 amd64 0.191-1 [189 kB]
Get:76 http://deb.debian.org/debian sid/main amd64 dwz amd64 0.15-1+b1 [110 kB]
Get:77 http://deb.debian.org/debian sid/main amd64 libicu72 amd64 72.1-4+b1 [9395 kB]
Get:78 http://deb.debian.org/debian sid/main amd64 libxml2 amd64 2.9.14+dfsg-1.3+b2 [692 kB]
Get:79 http://deb.debian.org/debian sid/main amd64 gettext amd64 0.21-14+b1 [1301 kB]
Get:80 http://deb.debian.org/debian sid/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB]
Get:81 http://deb.debian.org/debian sid/main amd64 po-debconf all 1.0.21+nmu1 [248 kB]
Get:82 http://deb.debian.org/debian sid/main amd64 debhelper all 13.15.3 [901 kB]
Get:83 http://deb.debian.org/debian sid/main amd64 diffstat amd64 1.66-1 [34.0 kB]
Get:84 http://deb.debian.org/debian sid/main amd64 libassuan0 amd64 2.5.6-1 [49.9 kB]
Get:85 http://deb.debian.org/debian sid/main amd64 libreadline8t64 amd64 8.2-4 [167 kB]
Get:86 http://deb.debian.org/debian sid/main amd64 gpgconf amd64 2.2.40-3 [565 kB]
Get:87 http://deb.debian.org/debian sid/main amd64 libksba8 amd64 1.6.6-1 [131 kB]
Get:88 http://deb.debian.org/debian sid/main amd64 libsasl2-modules-db amd64 2.1.28+dfsg1-6 [19.5 kB]
Get:89 http://deb.debian.org/debian sid/main amd64 libsasl2-2 amd64 2.1.28+dfsg1-6 [56.9 kB]
Get:90 http://deb.debian.org/debian sid/main amd64 libldap-2.5-0 amd64 2.5.16+dfsg-2 [185 kB]
Get:91 http://deb.debian.org/debian sid/main amd64 libnpth0t64 amd64 1.6-3.1 [17.9 kB]
Get:92 http://deb.debian.org/debian sid/main amd64 dirmngr amd64 2.2.40-3 [793 kB]
Get:93 http://deb.debian.org/debian sid/main amd64 ed amd64 1.20.1-1 [60.6 kB]
Get:94 http://deb.debian.org/debian sid/main amd64 gnupg-l10n all 2.2.40-3 [1094 kB]
Get:95 http://deb.debian.org/debian sid/main amd64 gnupg-utils amd64 2.2.40-3 [928 kB]
Get:96 http://deb.debian.org/debian sid/main amd64 libsqlite3-0 amd64 3.45.2-1 [895 kB]
Get:97 http://deb.debian.org/debian sid/main amd64 gpg amd64 2.2.40-3 [950 kB]
Get:98 http://deb.debian.org/debian sid/main amd64 libncursesw6 amd64 6.4+20240113-1 [135 kB]
Get:99 http://deb.debian.org/debian sid/main amd64 pinentry-curses amd64 1.2.1-3+b2 [78.3 kB]
Get:100 http://deb.debian.org/debian sid/main amd64 gpg-agent amd64 2.2.40-3 [695 kB]
Get:101 http://deb.debian.org/debian sid/main amd64 gpg-wks-client amd64 2.2.40-3 [541 kB]
Get:102 http://deb.debian.org/debian sid/main amd64 gpg-wks-server amd64 2.2.40-3 [532 kB]
Get:103 http://deb.debian.org/debian sid/main amd64 gpgsm amd64 2.2.40-3 [671 kB]
Get:104 http://deb.debian.org/debian sid/main amd64 gnupg all 2.2.40-3 [847 kB]
Get:105 http://deb.debian.org/debian sid/main amd64 libarchive13t64 amd64 3.7.2-1.1 [345 kB]
Get:106 http://deb.debian.org/debian sid/main amd64 libgpgme11t64 amd64 1.18.0-4.1+b1 [300 kB]
Get:107 http://deb.debian.org/debian sid/main amd64 quilt all 0.67+really0.67-4 [434 kB]
Get:108 http://deb.debian.org/debian sid/main amd64 zstd amd64 1.5.5+dfsg2-2 [717 kB]
Get:109 http://deb.debian.org/debian sid/main amd64 reprepro amd64 5.3.1-5+b2 [446 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 102 MB in 2s (53.5 MB/s)
Selecting previously unselected package adduser.
(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 ... 7274 files and directories currently installed.)
Preparing to unpack .../archives/adduser_3.137_all.deb ...
Unpacking adduser (3.137) ...
Setting up adduser (3.137) ...
Selecting previously unselected package readline-common.
(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 ... 7345 files and directories currently installed.)
Preparing to unpack .../000-readline-common_8.2-4_all.deb ...
Unpacking readline-common (8.2-4) ...
Selecting previously unselected package sensible-utils.
Preparing to unpack .../001-sensible-utils_0.0.22_all.deb ...
Unpacking sensible-utils (0.0.22) ...
Selecting previously unselected package bzip2.
Preparing to unpack .../002-bzip2_1.0.8-5.1_amd64.deb ...
Unpacking bzip2 (1.0.8-5.1) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../003-libmagic-mgc_1%3a5.45-3_amd64.deb ...
Unpacking libmagic-mgc (1:5.45-3) ...
Selecting previously unselected package libmagic1t64:amd64.
Preparing to unpack .../004-libmagic1t64_1%3a5.45-3_amd64.deb ...
Unpacking libmagic1t64:amd64 (1:5.45-3) ...
Selecting previously unselected package file.
Preparing to unpack .../005-file_1%3a5.45-3_amd64.deb ...
Unpacking file (1:5.45-3) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../006-gettext-base_0.21-14+b1_amd64.deb ...
Unpacking gettext-base (0.21-14+b1) ...
Selecting previously unselected package libuchardet0:amd64.
Preparing to unpack .../007-libuchardet0_0.0.8-1+b1_amd64.deb ...
Unpacking libuchardet0:amd64 (0.0.8-1+b1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../008-groff-base_1.23.0-3+b1_amd64.deb ...
Unpacking groff-base (1.23.0-3+b1) ...
Selecting previously unselected package bsdextrautils.
Preparing to unpack .../009-bsdextrautils_2.39.3-11_amd64.deb ...
Unpacking bsdextrautils (2.39.3-11) ...
Selecting previously unselected package libpipeline1:amd64.
Preparing to unpack .../010-libpipeline1_1.5.7-1+b2_amd64.deb ...
Unpacking libpipeline1:amd64 (1.5.7-1+b2) ...
Selecting previously unselected package man-db.
Preparing to unpack .../011-man-db_2.12.0-3+b1_amd64.deb ...
Unpacking man-db (2.12.0-3+b1) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../012-xz-utils_5.6.1+really5.4.5-1_amd64.deb ...
Unpacking xz-utils (5.6.1+really5.4.5-1) ...
Selecting previously unselected package arch-test.
Preparing to unpack .../013-arch-test_0.21-1_all.deb ...
Unpacking arch-test (0.21-1) ...
Selecting previously unselected package m4.
Preparing to unpack .../014-m4_1.4.19-4_amd64.deb ...
Unpacking m4 (1.4.19-4) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../015-autoconf_2.71-3_all.deb ...
Unpacking autoconf (2.71-3) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../016-autotools-dev_20220109.1_all.deb ...
Unpacking autotools-dev (20220109.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../017-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 .../018-autopoint_0.21-14_all.deb ...
Unpacking autopoint (0.21-14) ...
Selecting previously unselected package binutils-common:amd64.
Preparing to unpack .../019-binutils-common_2.42-4_amd64.deb ...
Unpacking binutils-common:amd64 (2.42-4) ...
Selecting previously unselected package libsframe1:amd64.
Preparing to unpack .../020-libsframe1_2.42-4_amd64.deb ...
Unpacking libsframe1:amd64 (2.42-4) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../021-libbinutils_2.42-4_amd64.deb ...
Unpacking libbinutils:amd64 (2.42-4) ...
Selecting previously unselected package libctf-nobfd0:amd64.
Preparing to unpack .../022-libctf-nobfd0_2.42-4_amd64.deb ...
Unpacking libctf-nobfd0:amd64 (2.42-4) ...
Selecting previously unselected package libctf0:amd64.
Preparing to unpack .../023-libctf0_2.42-4_amd64.deb ...
Unpacking libctf0:amd64 (2.42-4) ...
Selecting previously unselected package libgprofng0:amd64.
Preparing to unpack .../024-libgprofng0_2.42-4_amd64.deb ...
Unpacking libgprofng0:amd64 (2.42-4) ...
Selecting previously unselected package libjansson4:amd64.
Preparing to unpack .../025-libjansson4_2.14-2+b2_amd64.deb ...
Unpacking libjansson4:amd64 (2.14-2+b2) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../026-binutils-x86-64-linux-gnu_2.42-4_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.42-4) ...
Selecting previously unselected package binutils.
Preparing to unpack .../027-binutils_2.42-4_amd64.deb ...
Unpacking binutils (2.42-4) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../028-libc-dev-bin_2.37-15.1_amd64.deb ...
Unpacking libc-dev-bin (2.37-15.1) ...
Selecting previously unselected package linux-libc-dev.
Preparing to unpack .../029-linux-libc-dev_6.7.9-2_all.deb ...
Unpacking linux-libc-dev (6.7.9-2) ...
Selecting previously unselected package libcrypt-dev:amd64.
Preparing to unpack .../030-libcrypt-dev_1%3a4.4.36-4_amd64.deb ...
Unpacking libcrypt-dev:amd64 (1:4.4.36-4) ...
Selecting previously unselected package rpcsvc-proto.
Preparing to unpack .../031-rpcsvc-proto_1.4.3-1_amd64.deb ...
Unpacking rpcsvc-proto (1.4.3-1) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../032-libc6-dev_2.37-15.1_amd64.deb ...
Unpacking libc6-dev:amd64 (2.37-15.1) ...
Selecting previously unselected package gcc-13-base:amd64.
Preparing to unpack .../033-gcc-13-base_13.2.0-23_amd64.deb ...
Unpacking gcc-13-base:amd64 (13.2.0-23) ...
Selecting previously unselected package libisl23:amd64.
Preparing to unpack .../034-libisl23_0.26-3+b2_amd64.deb ...
Unpacking libisl23:amd64 (0.26-3+b2) ...
Selecting previously unselected package libmpfr6:amd64.
Preparing to unpack .../035-libmpfr6_4.2.1-1+b1_amd64.deb ...
Unpacking libmpfr6:amd64 (4.2.1-1+b1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../036-libmpc3_1.3.1-1+b2_amd64.deb ...
Unpacking libmpc3:amd64 (1.3.1-1+b2) ...
Selecting previously unselected package cpp-13-x86-64-linux-gnu.
Preparing to unpack .../037-cpp-13-x86-64-linux-gnu_13.2.0-23_amd64.deb ...
Unpacking cpp-13-x86-64-linux-gnu (13.2.0-23) ...
Selecting previously unselected package cpp-13.
Preparing to unpack .../038-cpp-13_13.2.0-23_amd64.deb ...
Unpacking cpp-13 (13.2.0-23) ...
Selecting previously unselected package cpp-x86-64-linux-gnu.
Preparing to unpack .../039-cpp-x86-64-linux-gnu_4%3a13.2.0-7_amd64.deb ...
Unpacking cpp-x86-64-linux-gnu (4:13.2.0-7) ...
Selecting previously unselected package cpp.
Preparing to unpack .../040-cpp_4%3a13.2.0-7_amd64.deb ...
Unpacking cpp (4:13.2.0-7) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../041-libcc1-0_14-20240315-1_amd64.deb ...
Unpacking libcc1-0:amd64 (14-20240315-1) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../042-libgomp1_14-20240315-1_amd64.deb ...
Unpacking libgomp1:amd64 (14-20240315-1) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../043-libitm1_14-20240315-1_amd64.deb ...
Unpacking libitm1:amd64 (14-20240315-1) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../044-libatomic1_14-20240315-1_amd64.deb ...
Unpacking libatomic1:amd64 (14-20240315-1) ...
Selecting previously unselected package libasan8:amd64.
Preparing to unpack .../045-libasan8_14-20240315-1_amd64.deb ...
Unpacking libasan8:amd64 (14-20240315-1) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../046-liblsan0_14-20240315-1_amd64.deb ...
Unpacking liblsan0:amd64 (14-20240315-1) ...
Selecting previously unselected package libtsan2:amd64.
Preparing to unpack .../047-libtsan2_14-20240315-1_amd64.deb ...
Unpacking libtsan2:amd64 (14-20240315-1) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../048-libubsan1_14-20240315-1_amd64.deb ...
Unpacking libubsan1:amd64 (14-20240315-1) ...
Selecting previously unselected package libhwasan0:amd64.
Preparing to unpack .../049-libhwasan0_14-20240315-1_amd64.deb ...
Unpacking libhwasan0:amd64 (14-20240315-1) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../050-libquadmath0_14-20240315-1_amd64.deb ...
Unpacking libquadmath0:amd64 (14-20240315-1) ...
Selecting previously unselected package libgcc-13-dev:amd64.
Preparing to unpack .../051-libgcc-13-dev_13.2.0-23_amd64.deb ...
Unpacking libgcc-13-dev:amd64 (13.2.0-23) ...
Selecting previously unselected package gcc-13-x86-64-linux-gnu.
Preparing to unpack .../052-gcc-13-x86-64-linux-gnu_13.2.0-23_amd64.deb ...
Unpacking gcc-13-x86-64-linux-gnu (13.2.0-23) ...
Selecting previously unselected package gcc-13.
Preparing to unpack .../053-gcc-13_13.2.0-23_amd64.deb ...
Unpacking gcc-13 (13.2.0-23) ...
Selecting previously unselected package gcc-x86-64-linux-gnu.
Preparing to unpack .../054-gcc-x86-64-linux-gnu_4%3a13.2.0-7_amd64.deb ...
Unpacking gcc-x86-64-linux-gnu (4:13.2.0-7) ...
Selecting previously unselected package gcc.
Preparing to unpack .../055-gcc_4%3a13.2.0-7_amd64.deb ...
Unpacking gcc (4:13.2.0-7) ...
Selecting previously unselected package libstdc++-13-dev:amd64.
Preparing to unpack .../056-libstdc++-13-dev_13.2.0-23_amd64.deb ...
Unpacking libstdc++-13-dev:amd64 (13.2.0-23) ...
Selecting previously unselected package g++-13-x86-64-linux-gnu.
Preparing to unpack .../057-g++-13-x86-64-linux-gnu_13.2.0-23_amd64.deb ...
Unpacking g++-13-x86-64-linux-gnu (13.2.0-23) ...
Selecting previously unselected package g++-13.
Preparing to unpack .../058-g++-13_13.2.0-23_amd64.deb ...
Unpacking g++-13 (13.2.0-23) ...
Selecting previously unselected package g++-x86-64-linux-gnu.
Preparing to unpack .../059-g++-x86-64-linux-gnu_4%3a13.2.0-7_amd64.deb ...
Unpacking g++-x86-64-linux-gnu (4:13.2.0-7) ...
Selecting previously unselected package g++.
Preparing to unpack .../060-g++_4%3a13.2.0-7_amd64.deb ...
Unpacking g++ (4:13.2.0-7) ...
Selecting previously unselected package make.
Preparing to unpack .../061-make_4.3-4.1_amd64.deb ...
Unpacking make (4.3-4.1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../062-libdpkg-perl_1.22.6_all.deb ...
Unpacking libdpkg-perl (1.22.6) ...
Selecting previously unselected package patch.
Preparing to unpack .../063-patch_2.7.6-7_amd64.deb ...
Unpacking patch (2.7.6-7) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../064-dpkg-dev_1.22.6_all.deb ...
Unpacking dpkg-dev (1.22.6) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../065-build-essential_12.10_amd64.deb ...
Unpacking build-essential (12.10) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../066-libdebhelper-perl_13.15.3_all.deb ...
Unpacking libdebhelper-perl (13.15.3) ...
Selecting previously unselected package libtool.
Preparing to unpack .../067-libtool_2.4.7-7_all.deb ...
Unpacking libtool (2.4.7-7) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../068-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../069-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 .../070-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 .../071-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 .../072-dh-strip-nondeterminism_1.13.1-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.13.1-1) ...
Selecting previously unselected package libelf1t64:amd64.
Preparing to unpack .../073-libelf1t64_0.191-1_amd64.deb ...
Unpacking libelf1t64:amd64 (0.191-1) ...
Selecting previously unselected package dwz.
Preparing to unpack .../074-dwz_0.15-1+b1_amd64.deb ...
Unpacking dwz (0.15-1+b1) ...
Selecting previously unselected package libicu72:amd64.
Preparing to unpack .../075-libicu72_72.1-4+b1_amd64.deb ...
Unpacking libicu72:amd64 (72.1-4+b1) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../076-libxml2_2.9.14+dfsg-1.3+b2_amd64.deb ...
Unpacking libxml2:amd64 (2.9.14+dfsg-1.3+b2) ...
Selecting previously unselected package gettext.
Preparing to unpack .../077-gettext_0.21-14+b1_amd64.deb ...
Unpacking gettext (0.21-14+b1) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../078-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 .../079-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../080-debhelper_13.15.3_all.deb ...
Unpacking debhelper (13.15.3) ...
Selecting previously unselected package diffstat.
Preparing to unpack .../081-diffstat_1.66-1_amd64.deb ...
Unpacking diffstat (1.66-1) ...
Selecting previously unselected package libassuan0:amd64.
Preparing to unpack .../082-libassuan0_2.5.6-1_amd64.deb ...
Unpacking libassuan0:amd64 (2.5.6-1) ...
Selecting previously unselected package libreadline8t64:amd64.
Preparing to unpack .../083-libreadline8t64_8.2-4_amd64.deb ...
Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8 to /lib/x86_64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64'
Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8.2 to /lib/x86_64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64'
Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8 to /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64'
Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8.2 to /lib/x86_64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64'
Unpacking libreadline8t64:amd64 (8.2-4) ...
Selecting previously unselected package gpgconf.
Preparing to unpack .../084-gpgconf_2.2.40-3_amd64.deb ...
Unpacking gpgconf (2.2.40-3) ...
Selecting previously unselected package libksba8:amd64.
Preparing to unpack .../085-libksba8_1.6.6-1_amd64.deb ...
Unpacking libksba8:amd64 (1.6.6-1) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../086-libsasl2-modules-db_2.1.28+dfsg1-6_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.28+dfsg1-6) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../087-libsasl2-2_2.1.28+dfsg1-6_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.28+dfsg1-6) ...
Selecting previously unselected package libldap-2.5-0:amd64.
Preparing to unpack .../088-libldap-2.5-0_2.5.16+dfsg-2_amd64.deb ...
Unpacking libldap-2.5-0:amd64 (2.5.16+dfsg-2) ...
Selecting previously unselected package libnpth0t64:amd64.
Preparing to unpack .../089-libnpth0t64_1.6-3.1_amd64.deb ...
Unpacking libnpth0t64:amd64 (1.6-3.1) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../090-dirmngr_2.2.40-3_amd64.deb ...
Unpacking dirmngr (2.2.40-3) ...
Selecting previously unselected package ed.
Preparing to unpack .../091-ed_1.20.1-1_amd64.deb ...
Unpacking ed (1.20.1-1) ...
Selecting previously unselected package gnupg-l10n.
Preparing to unpack .../092-gnupg-l10n_2.2.40-3_all.deb ...
Unpacking gnupg-l10n (2.2.40-3) ...
Selecting previously unselected package gnupg-utils.
Preparing to unpack .../093-gnupg-utils_2.2.40-3_amd64.deb ...
Unpacking gnupg-utils (2.2.40-3) ...
Selecting previously unselected package libsqlite3-0:amd64.
Preparing to unpack .../094-libsqlite3-0_3.45.2-1_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.45.2-1) ...
Selecting previously unselected package gpg.
Preparing to unpack .../095-gpg_2.2.40-3_amd64.deb ...
Unpacking gpg (2.2.40-3) ...
Selecting previously unselected package libncursesw6:amd64.
Preparing to unpack .../096-libncursesw6_6.4+20240113-1_amd64.deb ...
Unpacking libncursesw6:amd64 (6.4+20240113-1) ...
Selecting previously unselected package pinentry-curses.
Preparing to unpack .../097-pinentry-curses_1.2.1-3+b2_amd64.deb ...
Unpacking pinentry-curses (1.2.1-3+b2) ...
Selecting previously unselected package gpg-agent.
Preparing to unpack .../098-gpg-agent_2.2.40-3_amd64.deb ...
Unpacking gpg-agent (2.2.40-3) ...
Selecting previously unselected package gpg-wks-client.
Preparing to unpack .../099-gpg-wks-client_2.2.40-3_amd64.deb ...
Unpacking gpg-wks-client (2.2.40-3) ...
Selecting previously unselected package gpg-wks-server.
Preparing to unpack .../100-gpg-wks-server_2.2.40-3_amd64.deb ...
Unpacking gpg-wks-server (2.2.40-3) ...
Selecting previously unselected package gpgsm.
Preparing to unpack .../101-gpgsm_2.2.40-3_amd64.deb ...
Unpacking gpgsm (2.2.40-3) ...
Selecting previously unselected package gnupg.
Preparing to unpack .../102-gnupg_2.2.40-3_all.deb ...
Unpacking gnupg (2.2.40-3) ...
Selecting previously unselected package libarchive13t64:amd64.
Preparing to unpack .../103-libarchive13t64_3.7.2-1.1_amd64.deb ...
Unpacking libarchive13t64:amd64 (3.7.2-1.1) ...
Selecting previously unselected package libgpgme11t64:amd64.
Preparing to unpack .../104-libgpgme11t64_1.18.0-4.1+b1_amd64.deb ...
Unpacking libgpgme11t64:amd64 (1.18.0-4.1+b1) ...
Selecting previously unselected package quilt.
Preparing to unpack .../105-quilt_0.67+really0.67-4_all.deb ...
Unpacking quilt (0.67+really0.67-4) ...
Selecting previously unselected package zstd.
Preparing to unpack .../106-zstd_1.5.5+dfsg2-2_amd64.deb ...
Unpacking zstd (1.5.5+dfsg2-2) ...
Selecting previously unselected package reprepro.
Preparing to unpack .../107-reprepro_5.3.1-5+b2_amd64.deb ...
Unpacking reprepro (5.3.1-5+b2) ...
Setting up libksba8:amd64 (1.6.6-1) ...
Setting up libpipeline1:amd64 (1.5.7-1+b2) ...
Setting up libnpth0t64:amd64 (1.6-3.1) ...
Setting up libicu72:amd64 (72.1-4+b1) ...
Setting up bsdextrautils (2.39.3-11) ...
Setting up libmagic-mgc (1:5.45-3) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libdebhelper-perl (13.15.3) ...
Setting up libsqlite3-0:amd64 (3.45.2-1) ...
Setting up libmagic1t64:amd64 (1:5.45-3) ...
Setting up binutils-common:amd64 (2.42-4) ...
Setting up linux-libc-dev (6.7.9-2) ...
Setting up libctf-nobfd0:amd64 (2.42-4) ...
Setting up gettext-base (0.21-14+b1) ...
Setting up m4 (1.4.19-4) ...
Setting up file (1:5.45-3) ...
Setting up libassuan0:amd64 (2.5.6-1) ...
Setting up libgomp1:amd64 (14-20240315-1) ...
Setting up bzip2 (1.0.8-5.1) ...
Setting up libsframe1:amd64 (2.42-4) ...
Setting up libelf1t64:amd64 (0.191-1) ...
Setting up libjansson4:amd64 (2.14-2+b2) ...
Setting up libsasl2-modules-db:amd64 (2.1.28+dfsg1-6) ...
Setting up autotools-dev (20220109.1) ...
Setting up rpcsvc-proto (1.4.3-1) ...
Setting up gcc-13-base:amd64 (13.2.0-23) ...
Setting up make (4.3-4.1) ...
Setting up libmpfr6:amd64 (4.2.1-1+b1) ...
Setting up gnupg-l10n (2.2.40-3) ...
Setting up ed (1.20.1-1) ...
Setting up xz-utils (5.6.1+really5.4.5-1) ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
Setting up libquadmath0:amd64 (14-20240315-1) ...
Setting up diffstat (1.66-1) ...
Setting up libmpc3:amd64 (1.3.1-1+b2) ...
Setting up libatomic1:amd64 (14-20240315-1) ...
Setting up patch (2.7.6-7) ...
Setting up autopoint (0.21-14) ...
Setting up libncursesw6:amd64 (6.4+20240113-1) ...
Setting up libdpkg-perl (1.22.6) ...
Setting up libsasl2-2:amd64 (2.1.28+dfsg1-6) ...
Setting up autoconf (2.71-3) ...
Setting up libubsan1:amd64 (14-20240315-1) ...
Setting up dwz (0.15-1+b1) ...
Setting up sensible-utils (0.0.22) ...
Setting up libhwasan0:amd64 (14-20240315-1) ...
Setting up libcrypt-dev:amd64 (1:4.4.36-4) ...
Setting up libasan8:amd64 (14-20240315-1) ...
Setting up libuchardet0:amd64 (0.0.8-1+b1) ...
Setting up libsub-override-perl (0.10-1) ...
Setting up libtsan2:amd64 (14-20240315-1) ...
Setting up libbinutils:amd64 (2.42-4) ...
Setting up arch-test (0.21-1) ...
Setting up libisl23:amd64 (0.26-3+b2) ...
Setting up libc-dev-bin (2.37-15.1) ...
Setting up readline-common (8.2-4) ...
Setting up libxml2:amd64 (2.9.14+dfsg-1.3+b2) ...
Setting up zstd (1.5.5+dfsg2-2) ...
Setting up libcc1-0:amd64 (14-20240315-1) ...
Setting up liblsan0:amd64 (14-20240315-1) ...
Setting up libitm1:amd64 (14-20240315-1) ...
Setting up libctf0:amd64 (2.42-4) ...
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 pinentry-curses (1.2.1-3+b2) ...
Setting up libfile-stripnondeterminism-perl (1.13.1-1) ...
Setting up gettext (0.21-14+b1) ...
Setting up cpp-13-x86-64-linux-gnu (13.2.0-23) ...
Setting up quilt (0.67+really0.67-4) ...
Setting up libldap-2.5-0:amd64 (2.5.16+dfsg-2) ...
Setting up intltool-debian (0.35.0+20060710.6) ...
Setting up libgprofng0:amd64 (2.42-4) ...
Setting up libreadline8t64:amd64 (8.2-4) ...
Setting up dh-strip-nondeterminism (1.13.1-1) ...
Setting up libgcc-13-dev:amd64 (13.2.0-23) ...
Setting up groff-base (1.23.0-3+b1) ...
Setting up gpgconf (2.2.40-3) ...
Setting up libc6-dev:amd64 (2.37-15.1) ...
Setting up libarchive13t64:amd64 (3.7.2-1.1) ...
Setting up gpg (2.2.40-3) ...
Setting up libstdc++-13-dev:amd64 (13.2.0-23) ...
Setting up gnupg-utils (2.2.40-3) ...
Setting up binutils-x86-64-linux-gnu (2.42-4) ...
Setting up cpp-x86-64-linux-gnu (4:13.2.0-7) ...
Setting up gpg-agent (2.2.40-3) ...
Setting up cpp-13 (13.2.0-23) ...
Setting up gcc-13-x86-64-linux-gnu (13.2.0-23) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up gpgsm (2.2.40-3) ...
Setting up binutils (2.42-4) ...
Setting up man-db (2.12.0-3+b1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up dpkg-dev (1.22.6) ...
Setting up dirmngr (2.2.40-3) ...
Setting up gcc-13 (13.2.0-23) ...
Setting up gpg-wks-server (2.2.40-3) ...
Setting up cpp (4:13.2.0-7) ...
Setting up libgpgme11t64:amd64 (1.18.0-4.1+b1) ...
Setting up reprepro (5.3.1-5+b2) ...
Setting up g++-13-x86-64-linux-gnu (13.2.0-23) ...
Setting up gcc-x86-64-linux-gnu (4:13.2.0-7) ...
Setting up gpg-wks-client (2.2.40-3) ...
Setting up libtool (2.4.7-7) ...
Setting up gcc (4:13.2.0-7) ...
Setting up dh-autoreconf (20) ...
Setting up gnupg (2.2.40-3) ...
Setting up g++-x86-64-linux-gnu (4:13.2.0-7) ...
Setting up g++-13 (13.2.0-23) ...
Setting up debhelper (13.15.3) ...
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) ...

if test -z "$DROP_PRIVS"; then
	drop_privs_exec() {
		exec env -- "$@"
	}
else
	apt_get_install adduser fakeroot
	if ! getent passwd "$DROP_PRIVS" >/dev/null; then
		adduser --system --group --home /tmp/buildd --no-create-home --shell /bin/false "$DROP_PRIVS"
	fi
	drop_privs_exec() {
		exec /sbin/runuser --user "$DROP_PRIVS" --group "$DROP_PRIVS" -- /usr/bin/env -- "$@"
	}
fi
Reading package lists...
Building dependency tree...
Reading state information...
  MarkInstall adduser:amd64 < 3.137 @ii pmK > FU=1
    MarkInstall passwd:amd64 < 1:4.13+dfsg1-4 @ii pmK > FU=0
      MarkInstall libaudit1:amd64 < 1:3.1.2-2.1 @ii pmK > FU=0
        MarkInstall libaudit-common:amd64 < 1:3.1.2-2.1 @ii pmK > FU=0
        MarkInstall libc6:amd64 < 2.37-15.1 @ii pmK > FU=0
          MarkInstall libgcc-s1:amd64 < 14-20240315-1 @ii pmK > FU=0
            MarkInstall gcc-14-base:amd64 < 14-20240315-1 @ii pmK > FU=0
        MarkInstall libcap-ng0:amd64 < 0.8.4-2 @ii pmK > FU=0
      MarkInstall libcrypt1:amd64 < 1:4.4.36-4 @ii pmK > FU=0
      MarkInstall libpam0g:amd64 < 1.5.3-6 @ii pmK > FU=0
      MarkInstall libselinux1:amd64 < 3.5-2+b1 @ii pmK > FU=0
        MarkInstall libpcre2-8-0:amd64 < 10.42-4+b1 @ii pmK > FU=0
      MarkInstall libsemanage2:amd64 < 3.5-1+b3 @ii pmK > FU=0
        MarkInstall libsemanage-common:amd64 < 3.5-1 @ii pmK > FU=0
        MarkInstall libbz2-1.0:amd64 < 1.0.8-5.1 @ii pmK > FU=0
        MarkInstall libsepol2:amd64 < 3.5-2 @ii pmK > FU=0
      MarkInstall libpam-modules:amd64 < 1.5.3-6 @ii pmK > FU=0
        MarkInstall libpam-modules-bin:amd64 < 1.5.3-6 @ii pmK > FU=0
          MarkInstall libsystemd0:amd64 < 255.4-1+b1 @ii pmK > FU=0
            MarkInstall libcap2:amd64 < 1:2.66-5 @ii pmK > FU=0
            MarkInstall libgcrypt20:amd64 < 1.10.3-2 @ii pmK > FU=0
              MarkInstall libgpg-error0:amd64 < 1.47-3 @ii pmK > FU=0
            MarkInstall liblz4-1:amd64 < 1.9.4-1+b2 @ii pmK > FU=0
            MarkInstall liblzma5:amd64 < 5.6.1+really5.4.5-1 @ii pmK > FU=0
            MarkInstall libzstd1:amd64 < 1.5.5+dfsg2-2 @ii pmK > FU=0
  MarkInstall fakeroot:amd64 < none -> 1.34-1 @un pumN Ib > FU=1
  Installing libfakeroot:amd64 as Depends of fakeroot:amd64
    MarkInstall libfakeroot:amd64 < none -> 1.34-1 @un puN > FU=0
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
adduser is already the newest version (3.137).
adduser set to manually installed.
The following NEW packages will be installed:
  fakeroot libfakeroot
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 103 kB of archives.
After this operation, 385 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian sid/main amd64 libfakeroot amd64 1.34-1 [28.9 kB]
Get:2 http://deb.debian.org/debian sid/main amd64 fakeroot amd64 1.34-1 [74.0 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 103 kB in 0s (3764 kB/s)
Selecting previously unselected package libfakeroot:amd64.
(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 ... 15503 files and directories currently installed.)
Preparing to unpack .../libfakeroot_1.34-1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.34-1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.34-1_amd64.deb ...
Unpacking fakeroot (1.34-1) ...
Setting up libfakeroot:amd64 (1.34-1) ...
Setting up fakeroot (1.34-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Processing triggers for man-db (2.12.0-3+b1) ...
Not building database; man-db/auto-update is not 'true'.
Processing triggers for libc-bin (2.37-15.1) ...
info: The home dir /tmp/buildd you specified can't be accessed: No such file or directory

info: Selecting UID from range 100 to 999 ...

info: Selecting GID from range 100 to 999 ...
info: Adding system user `buildd' (UID 100) ...
info: Adding new group `buildd' (GID 101) ...
info: Adding new user `buildd' (UID 100) with group `buildd' ...
info: Not creating home directory `/tmp/buildd'.
drop_privs() {
	( drop_privs_exec "$@" )
}

if test -z "$GCC_VER"; then
	GCC_VER=`apt-cache depends gcc | sed 's/^ *Depends: gcc-\([0-9.]*\)$/\1/;t;d'`
fi

if test "$ENABLE_MULTIARCH_GCC" = yes; then
	apt_get_install cross-gcc-dev
	echo "removing unused unstripped_exe patch"
	sed -i '/made-unstripped_exe-setting-overridable/d' /usr/share/cross-gcc/patches/gcc-*/series
fi
Reading package lists...
Building dependency tree...
Reading state information...
  MarkInstall cross-gcc-dev:amd64 < none -> 249 @un puN > FU=1
    MarkInstall coreutils:amd64 < 9.4-3.1 @ii pmK > FU=0
      MarkInstall libacl1:amd64 < 2.3.2-1 @ii pmK > FU=0
        MarkInstall libc6:amd64 < 2.37-15.1 @ii pmK > FU=0
          MarkInstall libgcc-s1:amd64 < 14-20240315-1 @ii pmK > FU=0
            MarkInstall gcc-14-base:amd64 < 14-20240315-1 @ii pmK > FU=0
      MarkInstall libattr1:amd64 < 1:2.5.2-1 @ii pmK > FU=0
      MarkInstall libgmp10:amd64 < 2:6.3.0+dfsg-2+b1 @ii pmK > FU=0
      MarkInstall libselinux1:amd64 < 3.5-2+b1 @ii pmK > FU=0
        MarkInstall libpcre2-8-0:amd64 < 10.42-4+b1 @ii pmK > FU=0
      MarkInstall libssl3t64:amd64 < 3.1.5-1.1 @ii pmK > FU=0
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following NEW packages will be installed:
  cross-gcc-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 38.5 kB of archives.
After this operation, 573 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian sid/main amd64 cross-gcc-dev all 249 [38.5 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 38.5 kB in 0s (1937 kB/s)
Selecting previously unselected package cross-gcc-dev.
(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 ... 15556 files and directories currently installed.)
Preparing to unpack .../cross-gcc-dev_249_all.deb ...
Unpacking cross-gcc-dev (249) ...
Setting up cross-gcc-dev (249) ...
Processing triggers for man-db (2.12.0-3+b1) ...
Not building database; man-db/auto-update is not 'true'.
removing unused unstripped_exe patch

obtain_source_package() {
	local use_experimental
	use_experimental=
	case "$1" in
		gcc-[0-9]*)
			test -n "$(apt-cache showsrc "$1")" || use_experimental=yes
		;;
	esac
	if test "$use_experimental" = yes; then
		echo "deb-src $MIRROR experimental main" > /etc/apt/sources.list.d/tmp-experimental.list
		$APT_GET update
	fi
	drop_privs apt-get source "$1"
	if test -f /etc/apt/sources.list.d/tmp-experimental.list; then
		rm /etc/apt/sources.list.d/tmp-experimental.list
		$APT_GET update
	fi
}

cat <<EOF >> /usr/share/dpkg/cputable
csky		csky		csky		32	little
EOF

if test -z "$HOST_ARCH" || ! dpkg-architecture "-a$HOST_ARCH"; then
	echo "architecture $HOST_ARCH unknown to dpkg"
	exit 1
fi
dpkg-architecture: warning: specified GNU system type i686-linux-gnu does not match CC system type x86_64-linux-gnu, try setting a correct CC environment variable
DEB_BUILD_ARCH=amd64
DEB_BUILD_ARCH_ABI=base
DEB_BUILD_ARCH_BITS=64
DEB_BUILD_ARCH_CPU=amd64
DEB_BUILD_ARCH_ENDIAN=little
DEB_BUILD_ARCH_LIBC=gnu
DEB_BUILD_ARCH_OS=linux
DEB_BUILD_GNU_CPU=x86_64
DEB_BUILD_GNU_SYSTEM=linux-gnu
DEB_BUILD_GNU_TYPE=x86_64-linux-gnu
DEB_BUILD_MULTIARCH=x86_64-linux-gnu
DEB_HOST_ARCH=i386
DEB_HOST_ARCH_ABI=base
DEB_HOST_ARCH_BITS=32
DEB_HOST_ARCH_CPU=i386
DEB_HOST_ARCH_ENDIAN=little
DEB_HOST_ARCH_LIBC=gnu
DEB_HOST_ARCH_OS=linux
DEB_HOST_GNU_CPU=i686
DEB_HOST_GNU_SYSTEM=linux-gnu
DEB_HOST_GNU_TYPE=i686-linux-gnu
DEB_HOST_MULTIARCH=i386-linux-gnu
DEB_TARGET_ARCH=i386
DEB_TARGET_ARCH_ABI=base
DEB_TARGET_ARCH_BITS=32
DEB_TARGET_ARCH_CPU=i386
DEB_TARGET_ARCH_ENDIAN=little
DEB_TARGET_ARCH_LIBC=gnu
DEB_TARGET_ARCH_OS=linux
DEB_TARGET_GNU_CPU=i686
DEB_TARGET_GNU_SYSTEM=linux-gnu
DEB_TARGET_GNU_TYPE=i686-linux-gnu
DEB_TARGET_MULTIARCH=i386-linux-gnu

# ensure that the rebootstrap list comes first
test -f /etc/apt/sources.list && mv -v /etc/apt/sources.list /etc/apt/sources.list.d/local.list
renamed '/etc/apt/sources.list' -> '/etc/apt/sources.list.d/local.list'
grep -q '^deb-src .*sid' /etc/apt/sources.list.d/*.list || echo "deb-src $MIRROR sid main" >> /etc/apt/sources.list.d/sid-source.list

dpkg --add-architecture "$HOST_ARCH"
$APT_GET update
Hit:1 http://deb.debian.org/debian sid InRelease
Get:2 http://deb.debian.org/debian sid/main i386 Packages [9760 kB]
Fetched 9760 kB in 2s (4928 kB/s)
Reading package lists...

rm -Rf /tmp/buildd
drop_privs mkdir -p /tmp/buildd

HOST_ARCH_SUFFIX="-$(dpkg-architecture "-a$HOST_ARCH" -qDEB_HOST_GNU_TYPE | tr _ -)"
dpkg-architecture: warning: specified GNU system type i686-linux-gnu does not match CC system type x86_64-linux-gnu, try setting a correct CC environment variable

case "$HOST_ARCH" in
	amd64) MULTILIB_NAMES="i386 x32" ;;
	i386) MULTILIB_NAMES="amd64 x32" ;;
	mips|mipsel) MULTILIB_NAMES="mips64 mipsn32" ;;
	mips64|mips64el) MULTILIB_NAMES="mips32 mipsn32" ;;
	mipsn32|mipsn32el) MULTILIB_NAMES="mips32 mips64" ;;
	powerpc) MULTILIB_NAMES=ppc64 ;;
	ppc64) MULTILIB_NAMES=powerpc ;;
	s390x) MULTILIB_NAMES=s390 ;;
	sparc) MULTILIB_NAMES=sparc64 ;;
	sparc64) MULTILIB_NAMES=sparc ;;
	x32) MULTILIB_NAMES="amd64 i386" ;;
	*) MULTILIB_NAMES="" ;;
esac
if test "$ENABLE_MULTILIB" != yes; then
	MULTILIB_NAMES=""
fi

for f in /etc/apt/sources.list.d/*.list; do
	test -f "$f" && sed -i "s/^deb \(\[.*\] \)*/deb [ arch-=$HOST_ARCH ] /" "$f"
done
mkdir -p "$REPODIR/conf" "$REPODIR/archive" "$REPODIR/stamps"
cat > "$REPODIR/conf/distributions" <<EOF
Codename: rebootstrap
Label: rebootstrap
Architectures: `dpkg --print-architecture` $HOST_ARCH
Components: main
UDebComponents: main
Description: cross toolchain and build results for $HOST_ARCH

Codename: rebootstrap-native
Label: rebootstrap-native
Architectures: `dpkg --print-architecture`
Components: main
UDebComponents: main
Description: native packages needed for bootstrap
EOF
cat > "$REPODIR/conf/options" <<EOF
verbose
ignore wrongdistribution
EOF
export REPREPRO_BASE_DIR="$REPODIR"
reprepro export
Exporting rebootstrap...
Exporting rebootstrap-native...
echo "deb [ arch=$(dpkg --print-architecture),$HOST_ARCH trusted=yes ] file://$REPODIR rebootstrap main" >/etc/apt/sources.list.d/000_rebootstrap.list
echo "deb [ arch=$(dpkg --print-architecture) trusted=yes ] file://$REPODIR rebootstrap-native main" >/etc/apt/sources.list.d/001_rebootstrap-native.list
cat >/etc/apt/preferences.d/rebootstrap.pref <<EOF
Explanation: prefer our own rebootstrap (native) packages over everything
Package: *
Pin: release l=rebootstrap-native
Pin-Priority: 1001

Explanation: prefer our own rebootstrap (toolchain) packages over everything
Package: *
Pin: release l=rebootstrap
Pin-Priority: 1002

Explanation: do not use archive cross toolchain
Package: *-$HOST_ARCH-cross *$HOST_ARCH_SUFFIX gcc-*$HOST_ARCH_SUFFIX-base
Pin: release a=unstable
Pin-Priority: -1
EOF
$APT_GET update
Get:1 file:/tmp/repo rebootstrap InRelease
Ign:1 file:/tmp/repo rebootstrap InRelease
Get:2 file:/tmp/repo rebootstrap-native InRelease
Ign:2 file:/tmp/repo rebootstrap-native InRelease
Get:3 file:/tmp/repo rebootstrap Release [2731 B]
Hit:4 http://deb.debian.org/debian sid InRelease
Get:3 file:/tmp/repo rebootstrap Release [2731 B]
Get:5 file:/tmp/repo rebootstrap-native Release [1475 B]
Get:5 file:/tmp/repo rebootstrap-native Release [1475 B]
Get:6 file:/tmp/repo rebootstrap Release.gpg
Ign:6 file:/tmp/repo rebootstrap Release.gpg
Get:7 file:/tmp/repo rebootstrap-native Release.gpg
Ign:7 file:/tmp/repo rebootstrap-native Release.gpg
Reading package lists...

# Since most libraries (e.g. libgcc_s) do not include ABI-tags,
# glibc may be confused and try to use them. A typical symptom is:
# apt-get: error while loading shared libraries: /lib/x86_64-kfreebsd-gnu/libgcc_s.so.1: ELF file OS ABI invalid
cat >/etc/dpkg/dpkg.cfg.d/ignore-foreign-linker-paths <<EOF
path-exclude=/etc/ld.so.conf.d/$(dpkg-architecture "-a$HOST_ARCH" -qDEB_HOST_MULTIARCH).conf
EOF

# Work around Multi-Arch: same file conflict in libxdmcp-dev. #825146
cat >/etc/dpkg/dpkg.cfg.d/bug-825146 <<'EOF'
path-exclude=/usr/share/doc/libxdmcp-dev/xdmcp.txt.gz
EOF

# Work around binNMU file conflicts of e.g. binutils or gcc.
cat >/etc/dpkg/dpkg.cfg.d/binNMU-changelogs <<EOF
path-exclude=/usr/share/doc/*/changelog.Debian.$(dpkg-architecture -qDEB_BUILD_ARCH).gz
EOF

# debhelper/13.10 started trimming changelogs, this breaks all over the place
cat >/etc/dpkg/dpkg.cfg.d/trimmed-changelogs <<'EOF'
path-exclude=/usr/share/doc/*/changelog.Debian.gz
path-exclude=/usr/share/doc/*/changelog.gz
path-exclude=/usr/share/doc/*/NEWS.Debian.gz
EOF

if test "$HOST_ARCH" = nios2; then
	echo "fixing libtool's nios2 misdetection as os2 #851253"
	apt_get_install libtool
	sed -i -e 's/\*os2\*/*-os2*/' /usr/share/libtool/build-aux/ltmain.sh
fi

# removing libc*-dev conflict with each other
LIBC_DEV_PKG=$(apt-cache showpkg libc-dev | sed '1,/^Reverse Provides:/d;s/ .*//;q')
if test "$(apt-cache show "$LIBC_DEV_PKG" | sed -n 's/^Source: //;T;p;q')" = glibc; then
if test -f "$REPODIR/pool/main/g/glibc/$LIBC_DEV_PKG"_*_"$(dpkg --print-architecture).deb"; then
	dpkg -i "$REPODIR/pool/main/g/glibc/$LIBC_DEV_PKG"_*_"$(dpkg --print-architecture).deb"
else
	cd /tmp/buildd
	apt-get download "$LIBC_DEV_PKG"
	dpkg-deb -R "./$LIBC_DEV_PKG"_*.deb x
	sed -i -e '/^Conflicts: /d' x/DEBIAN/control
	mv -nv -t x/usr/include "x/usr/include/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/"*
	mv -nv x/usr/include x/usr/include.orig
	mkdir x/usr/include
	mv -nv x/usr/include.orig "x/usr/include/$(dpkg-architecture -qDEB_HOST_MULTIARCH)"
	dpkg-deb -b x "./$LIBC_DEV_PKG"_*.deb
	reprepro includedeb rebootstrap-native "./$LIBC_DEV_PKG"_*.deb
	dpkg -i "./$LIBC_DEV_PKG"_*.deb
	$APT_GET update
	rm -R "./$LIBC_DEV_PKG"_*.deb x
fi # already repacked
fi # is glibc
Get:1 http://deb.debian.org/debian sid/main amd64 libc6-dev amd64 2.37-15.1 [1905 kB]
Fetched 1905 kB in 0s (61.1 MB/s)
W: Download is performed unsandboxed as root as file '/tmp/buildd/libc6-dev_2.37-15.1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
renamed 'x/usr/include/x86_64-linux-gnu/a.out.h' -> 'x/usr/include/a.out.h'
renamed 'x/usr/include/x86_64-linux-gnu/bits' -> 'x/usr/include/bits'
renamed 'x/usr/include/x86_64-linux-gnu/fpu_control.h' -> 'x/usr/include/fpu_control.h'
renamed 'x/usr/include/x86_64-linux-gnu/gnu' -> 'x/usr/include/gnu'
renamed 'x/usr/include/x86_64-linux-gnu/ieee754.h' -> 'x/usr/include/ieee754.h'
renamed 'x/usr/include/x86_64-linux-gnu/sys' -> 'x/usr/include/sys'
renamed 'x/usr/include' -> 'x/usr/include.orig'
renamed 'x/usr/include.orig' -> 'x/usr/include/x86_64-linux-gnu'
dpkg-deb: building package 'libc6-dev' in './libc6-dev_2.37-15.1_amd64.deb'.
./libc6-dev_2.37-15.1_amd64.deb: component guessed as 'main'
Exporting indices...
(Reading database ... 15695 files and directories currently installed.)
Preparing to unpack .../libc6-dev_2.37-15.1_amd64.deb ...
Unpacking libc6-dev:amd64 (2.37-15.1) over (2.37-15.1) ...
Setting up libc6-dev:amd64 (2.37-15.1) ...
Get:1 file:/tmp/repo rebootstrap InRelease
Ign:1 file:/tmp/repo rebootstrap InRelease
Get:2 file:/tmp/repo rebootstrap-native InRelease
Ign:2 file:/tmp/repo rebootstrap-native InRelease
Get:3 file:/tmp/repo rebootstrap Release [2731 B]
Hit:4 http://deb.debian.org/debian sid InRelease
Get:3 file:/tmp/repo rebootstrap Release [2731 B]
Get:5 file:/tmp/repo rebootstrap-native Release [1490 B]
Get:5 file:/tmp/repo rebootstrap-native Release [1490 B]
Get:6 file:/tmp/repo rebootstrap Release.gpg
Ign:6 file:/tmp/repo rebootstrap Release.gpg
Get:7 file:/tmp/repo rebootstrap-native Release.gpg
Ign:7 file:/tmp/repo rebootstrap-native Release.gpg
Get:8 file:/tmp/repo rebootstrap-native/main amd64 Packages [1623 B]
Reading package lists...

chdist_native() {
	local command
	command="$1"
	shift
	chdist --data-dir /tmp/chdist_native --arch "$HOST_ARCH" "$command" native "$@"
}

if test "$ENABLE_DIFFOSCOPE" = yes; then
	apt_get_install devscripts
	chdist_native create "$MIRROR" sid main
	if ! chdist_native apt-get update; then
		echo "rebootstrap-warning: not comparing packages to native builds"
		rm -Rf /tmp/chdist_native
		ENABLE_DIFFOSCOPE=no
	fi
fi
Reading package lists...
Building dependency tree...
Reading state information...
  MarkInstall devscripts:amd64 < none -> 2.23.7 @un puN Ib > FU=1
    MarkInstall dpkg-dev:amd64 < 1.22.6 @ii pmK > FU=0
      MarkInstall perl:amd64 < 5.38.2-3.2 @ii pmK > FU=0
        MarkInstall dpkg:amd64 < 1.22.6 @ii pmK > FU=0
          MarkInstall libbz2-1.0:amd64 < 1.0.8-5.1 @ii pmK > FU=0
            MarkInstall libc6:amd64 < 2.37-15.1 @ii pmK > FU=0
              MarkInstall libgcc-s1:amd64 < 14-20240315-1 @ii pmK > FU=0
                MarkInstall gcc-14-base:amd64 < 14-20240315-1 @ii pmK > FU=0
          MarkInstall liblzma5:amd64 < 5.6.1+really5.4.5-1 @ii pmK > FU=0
          MarkInstall libmd0:amd64 < 1.1.0-2 @ii pmK > FU=0
          MarkInstall libselinux1:amd64 < 3.5-2+b1 @ii pmK > FU=0
            MarkInstall libpcre2-8-0:amd64 < 10.42-4+b1 @ii pmK > FU=0
          MarkInstall libzstd1:amd64 < 1.5.5+dfsg2-2 @ii pmK > FU=0
          MarkInstall zlib1g:amd64 < 1:1.3.dfsg-3.1 @ii pmK > FU=0
          MarkInstall tar:amd64 < 1.35+dfsg-3 @ii pmK > FU=0
            MarkInstall libacl1:amd64 < 2.3.2-1 @ii pmK > FU=0
        MarkInstall perl-base:amd64 < 5.38.2-3.2 @ii pmK > FU=0
          MarkInstall libcrypt1:amd64 < 1:4.4.36-4 @ii pmK > FU=0
        MarkInstall perl-modules-5.38:amd64 < 5.38.2-3.2 @ii pmK > FU=0
        MarkInstall libperl5.38t64:amd64 < 5.38.2-3.2 @ii pmK > FU=0
          MarkInstall libdb5.3t64:amd64 < 5.3.28+dfsg2-6 @ii pmK > FU=0
          MarkInstall libgdbm-compat4t64:amd64 < 1.23-5.1+b1 @ii pmK > FU=0
            MarkInstall libgdbm6t64:amd64 < 1.23-5.1+b1 @ii pmK > FU=0
      MarkInstall libdpkg-perl:amd64 < 1.22.6 @ii pmK > FU=0
      MarkInstall bzip2:amd64 < 1.0.8-5.1 @ii pmK > FU=0
      MarkInstall xz-utils:amd64 < 5.6.1+really5.4.5-1 @ii pmK > FU=0
      MarkInstall patch:amd64 < 2.7.6-7 @ii pmK > FU=0
      MarkInstall binutils:amd64 < 2.42-4 @ii pmK > FU=0
        MarkInstall binutils-common:amd64 < 2.42-4 @ii pmK > FU=0
        MarkInstall libbinutils:amd64 < 2.42-4 @ii pmK > FU=0
          MarkInstall libsframe1:amd64 < 2.42-4 @ii pmK > FU=0
        MarkInstall binutils-x86-64-linux-gnu:amd64 < 2.42-4 @ii pmK > FU=0
          MarkInstall libctf-nobfd0:amd64 < 2.42-4 @ii pmK > FU=0
          MarkInstall libctf0:amd64 < 2.42-4 @ii pmK > FU=0
          MarkInstall libgprofng0:amd64 < 2.42-4 @ii pmK > FU=0
            MarkInstall libstdc++6:amd64 < 14-20240315-1 @ii pmK > FU=0
          MarkInstall libjansson4:amd64 < 2.14-2+b2 @ii pmK > FU=0
    MarkInstall file:amd64 < 1:5.45-3 @ii pmK > FU=0
      MarkInstall libmagic1t64:amd64 < 1:5.45-3 @ii pmK > FU=0
        MarkInstall libmagic-mgc:amd64 < 1:5.45-3 @ii pmK > FU=0
  Installing libfile-dirlist-perl:amd64 as Depends of devscripts:amd64
    MarkInstall libfile-dirlist-perl:amd64 < none -> 0.05-3 @un puN > FU=0
  Installing libfile-homedir-perl:amd64 as Depends of devscripts:amd64
    MarkInstall libfile-homedir-perl:amd64 < none -> 1.006-2 @un puN Ib > FU=0
    Installing libfile-which-perl:amd64 as Depends of libfile-homedir-perl:amd64
      MarkInstall libfile-which-perl:amd64 < none -> 1.27-2 @un puN > FU=0
  Installing libfile-touch-perl:amd64 as Depends of devscripts:amd64
    MarkInstall libfile-touch-perl:amd64 < none -> 0.12-2 @un puN > FU=0
  Installing libipc-run-perl:amd64 as Depends of devscripts:amd64
    MarkInstall libipc-run-perl:amd64 < none -> 20231003.0-1 @un puN Ib > FU=0
    Installing libio-pty-perl:amd64 as Depends of libipc-run-perl:amd64
      MarkInstall libio-pty-perl:amd64 < none -> 1:1.20-1+b1 @un puN > FU=0
  Installing libmoo-perl:amd64 as Depends of devscripts:amd64
    MarkInstall libmoo-perl:amd64 < none -> 2.005005-1 @un puN Ib > FU=0
    Installing libclass-method-modifiers-perl:amd64 as Depends of libmoo-perl:amd64
      MarkInstall libclass-method-modifiers-perl:amd64 < none -> 2.15-1 @un puN > FU=0
    Installing libclass-xsaccessor-perl:amd64 as Depends of libmoo-perl:amd64
      MarkInstall libclass-xsaccessor-perl:amd64 < none -> 1.19-4+b3 @un puN > FU=0
    Installing libimport-into-perl:amd64 as Depends of libmoo-perl:amd64
      MarkInstall libimport-into-perl:amd64 < none -> 1.002005-2 @un puN Ib > FU=0
      Installing libmodule-runtime-perl:amd64 as Depends of libimport-into-perl:amd64
        MarkInstall libmodule-runtime-perl:amd64 < none -> 0.016-2 @un puN Ib > FU=0
        Installing libparams-classify-perl:amd64 as Depends of libmodule-runtime-perl:amd64
          MarkInstall libparams-classify-perl:amd64 < none -> 0.015-2+b3 @un puN Ib > FU=0
          Installing libdevel-callchecker-perl:amd64 as Depends of libparams-classify-perl:amd64
            MarkInstall libdevel-callchecker-perl:amd64 < none -> 0.008-2+b2 @un puN Ib > FU=0
            Installing libb-hooks-op-check-perl:amd64 as Depends of libdevel-callchecker-perl:amd64
              MarkInstall libb-hooks-op-check-perl:amd64 < none -> 0.22-3+b1 @un puN > FU=0
            Installing libdynaloader-functions-perl:amd64 as Depends of libdevel-callchecker-perl:amd64
              MarkInstall libdynaloader-functions-perl:amd64 < none -> 0.003-3 @un puN > FU=0
    Installing librole-tiny-perl:amd64 as Depends of libmoo-perl:amd64
      MarkInstall librole-tiny-perl:amd64 < none -> 2.002004-1 @un puN > FU=0
    Installing libsub-quote-perl:amd64 as Depends of libmoo-perl:amd64
      MarkInstall libsub-quote-perl:amd64 < none -> 2.006008-1 @un puN > FU=0
  Installing libwww-perl:amd64 as Depends of devscripts:amd64
    MarkInstall libwww-perl:amd64 < none -> 6.77-1 @un puN Ib > FU=0
    Installing ca-certificates:amd64 as Depends of libwww-perl:amd64
      MarkInstall ca-certificates:amd64 < none -> 20240203 @un pumN Ib > FU=0
      Installing openssl:amd64 as Depends of ca-certificates:amd64
        MarkInstall openssl:amd64 < none -> 3.1.5-1.1 @un puN > FU=0
          MarkInstall libssl3t64:amd64 < 3.1.5-1.1 @ii pmK > FU=0
    Installing libencode-locale-perl:amd64 as Depends of libwww-perl:amd64
      MarkInstall libencode-locale-perl:amd64 < none -> 1.05-3 @un puN > FU=0
    Installing libfile-listing-perl:amd64 as Depends of libwww-perl:amd64
      MarkInstall libfile-listing-perl:amd64 < none -> 6.16-1 @un puN Ib > FU=0
      Installing libhttp-date-perl:amd64 as Depends of libfile-listing-perl:amd64
        MarkInstall libhttp-date-perl:amd64 < none -> 6.06-1 @un puN Ib > FU=0
        Installing libtimedate-perl:amd64 as Depends of libhttp-date-perl:amd64
          MarkInstall libtimedate-perl:amd64 < none -> 2.3300-2 @un puN > FU=0
    Installing libhtml-parser-perl:amd64 as Depends of libwww-perl:amd64
      MarkInstall libhtml-parser-perl:amd64 < none -> 3.82-1 @un puN Ib > FU=0
      Installing libhtml-tagset-perl:amd64 as Depends of libhtml-parser-perl:amd64
        MarkInstall libhtml-tagset-perl:amd64 < none -> 3.24-1 @un puN > FU=0
      Installing liburi-perl:amd64 as Depends of libhtml-parser-perl:amd64
        MarkInstall liburi-perl:amd64 < none -> 5.27-1 @un puN > FU=0
    Installing libhtml-tree-perl:amd64 as Depends of libwww-perl:amd64
      MarkInstall libhtml-tree-perl:amd64 < none -> 5.07-3 @un puN > FU=0
    Installing libhttp-cookies-perl:amd64 as Depends of libwww-perl:amd64
      MarkInstall libhttp-cookies-perl:amd64 < none -> 6.11-1 @un puN Ib > FU=0
      Installing libhttp-message-perl:amd64 as Depends of libhttp-cookies-perl:amd64
        MarkInstall libhttp-message-perl:amd64 < none -> 6.45-1 @un puN Ib > FU=0
        Installing libclone-perl:amd64 as Depends of libhttp-message-perl:amd64
          MarkInstall libclone-perl:amd64 < none -> 0.46-1+b2 @un puN > FU=0
        Installing libio-html-perl:amd64 as Depends of libhttp-message-perl:amd64
          MarkInstall libio-html-perl:amd64 < none -> 1.004-3 @un puN > FU=0
        Installing liblwp-mediatypes-perl:amd64 as Depends of libhttp-message-perl:amd64
          MarkInstall liblwp-mediatypes-perl:amd64 < none -> 6.04-2 @un puN > FU=0
    Installing libhttp-negotiate-perl:amd64 as Depends of libwww-perl:amd64
      MarkInstall libhttp-negotiate-perl:amd64 < none -> 6.01-2 @un puN > FU=0
    Installing liblwp-protocol-https-perl:amd64 as Depends of libwww-perl:amd64
      MarkInstall liblwp-protocol-https-perl:amd64 < none -> 6.14-1 @un puN Ib > FU=0
      Installing libio-socket-ssl-perl:amd64 as Depends of liblwp-protocol-https-perl:amd64
        MarkInstall libio-socket-ssl-perl:amd64 < none -> 2.085-1 @un puN Ib > FU=0
        Installing libnet-ssleay-perl:amd64 as Depends of libio-socket-ssl-perl:amd64
          MarkInstall libnet-ssleay-perl:amd64 < none -> 1.94-1+b1 @un puN Ib > FU=0
          Installing perl-openssl-defaults:amd64 as Depends of libnet-ssleay-perl:amd64
            MarkInstall perl-openssl-defaults:amd64 < none -> 7+b2 @un puN > FU=0
        Installing netbase:amd64 as Depends of libio-socket-ssl-perl:amd64
          MarkInstall netbase:amd64 < none -> 6.4 @un pumN > FU=0
      Installing libnet-http-perl:amd64 as Depends of liblwp-protocol-https-perl:amd64
        MarkInstall libnet-http-perl:amd64 < none -> 6.23-1 @un puN > FU=0
    Installing libtry-tiny-perl:amd64 as Depends of libwww-perl:amd64
      MarkInstall libtry-tiny-perl:amd64 < none -> 0.31-2 @un puN > FU=0
    Installing libwww-robotrules-perl:amd64 as Depends of libwww-perl:amd64
      MarkInstall libwww-robotrules-perl:amd64 < none -> 6.02-1 @un puN > FU=0
  Installing patchutils:amd64 as Depends of devscripts:amd64
    MarkInstall patchutils:amd64 < none -> 0.4.2-1 @un puN > FU=0
      MarkInstall sensible-utils:amd64 < 0.0.22 @ii pmK > FU=0
  Installing wdiff:amd64 as Depends of devscripts:amd64
    MarkInstall wdiff:amd64 < none -> 1.2.2-6 @un pumN > FU=0
      MarkInstall libtinfo6:amd64 < 6.4+20240113-1 @ii pmK > FU=0
  Installing python3:amd64 as Depends of devscripts:amd64
    MarkInstall python3:amd64 < none -> 3.11.8-1 @un puN Ib > FU=0
    Installing python3-minimal:amd64 as PreDepends of python3:amd64
      MarkInstall python3-minimal:amd64 < none -> 3.11.8-1 @un puN Ib > FU=0
      Installing python3.11-minimal:amd64 as PreDepends of python3-minimal:amd64
        MarkInstall python3.11-minimal:amd64 < none -> 3.11.8-3+b2 @un puN Ib > FU=0
        Installing libpython3.11-minimal:amd64 as Depends of python3.11-minimal:amd64
          MarkInstall libpython3.11-minimal:amd64 < none -> 3.11.8-3+b2 @un puN > FU=0
        Installing libexpat1:amd64 as Depends of python3.11-minimal:amd64
          MarkInstall libexpat1:amd64 < none -> 2.6.2-1 @un puN > FU=0
    Installing python3.11:amd64 as Depends of python3:amd64
      MarkInstall python3.11:amd64 < none -> 3.11.8-3+b2 @un puN Ib > FU=0
      Installing libpython3.11-stdlib:amd64 as Depends of python3.11:amd64
        MarkInstall libpython3.11-stdlib:amd64 < none -> 3.11.8-3+b2 @un puN Ib > FU=0
        Installing media-types:amd64 as Depends of libpython3.11-stdlib:amd64
          MarkInstall media-types:amd64 < none -> 10.1.0 @un puN > FU=0
          MarkInstall tzdata:amd64 < 2024a-1 @ii pmK > FU=0
          MarkInstall libffi8:amd64 < 3.4.6-1 @ii pmK > FU=0
          MarkInstall libncursesw6:amd64 < 6.4+20240113-1 @ii pmK > FU=0
          MarkInstall libreadline8t64:amd64 < 8.2-4 @ii pmK > FU=0
            MarkInstall readline-common:amd64 < 8.2-4 @ii pmK > FU=0
          MarkInstall libsqlite3-0:amd64 < 3.45.2-1 @ii pmK > FU=0
    Installing libpython3-stdlib:amd64 as Depends of python3:amd64
      MarkInstall libpython3-stdlib:amd64 < none -> 3.11.8-1 @un puN > FU=0
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
  Ignore MarkGarbage of libtimedate-perl:amd64 < none -> 2.3300-2 @un puN > as its mode (Install) is protected
  Ignore MarkGarbage of libhtml-tagset-perl:amd64 < none -> 3.24-1 @un puN > as its mode (Install) is protected
  Ignore MarkGarbage of python3.11:amd64 < none -> 3.11.8-3+b2 @un puN > as its mode (Install) is protected
  Ignore MarkGarbage of libnet-ssleay-perl:amd64 < none -> 1.94-1+b1 @un puN > as its mode (Install) is protected
  Ignore MarkGarbage of libio-socket-ssl-perl:amd64 < none -> 2.085-1 @un puN > as its mode (Install) is protected
  Ignore MarkGarbage of python3-minimal:amd64 < none -> 3.11.8-1 @un puN > as its mode (Install) is protected
  Ignore MarkGarbage of libsub-quote-perl:amd64 < none -> 2.006008-1 @un puN > as its mode (Install) is protected
  Ignore MarkGarbage of librole-tiny-perl:amd64 < none -> 2.002004-1 @un puN > as its mode (Install) is protected
  Ignore MarkGarbage of libfile-which-perl:amd64 < none -> 1.27-2 @un puN > as its mode (Install) is protected
  Ignore MarkGarbage of libfile-touch-perl:amd64 < none -> 0.12-2 @un puN > as its mode (Install) is protected
  Ignore MarkGarbage of python3:amd64 < none -> 3.11.8-1 @un puN > as its mode (Install) is protected
  Ignore MarkGarbage of libdevel-callchecker-perl:amd64 < none -> 0.008-2+b2 @un puN > as its mode (Install) is protected
  Ignore MarkGarbage of libfile-dirlist-perl:amd64 < none -> 0.05-3 @un puN > as its mode (Install) is protected
  Ignore MarkGarbage of libclass-xsaccessor-perl:amd64 < none -> 1.19-4+b3 @un puN > as its mode (Install) is protected
  Ignore MarkGarbage of libmoo-perl:amd64 < none -> 2.005005-1 @un puN > as its mode (Install) is protected
The following additional packages will be installed:
  ca-certificates libb-hooks-op-check-perl libclass-method-modifiers-perl
  libclass-xsaccessor-perl libclone-perl libdevel-callchecker-perl
  libdynaloader-functions-perl libencode-locale-perl libexpat1
  libfile-dirlist-perl libfile-homedir-perl libfile-listing-perl
  libfile-touch-perl libfile-which-perl libhtml-parser-perl
  libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-date-perl
  libhttp-message-perl libhttp-negotiate-perl libimport-into-perl
  libio-html-perl libio-pty-perl libio-socket-ssl-perl libipc-run-perl
  liblwp-mediatypes-perl liblwp-protocol-https-perl libmodule-runtime-perl
  libmoo-perl libnet-http-perl libnet-ssleay-perl libparams-classify-perl
  libpython3-stdlib libpython3.11-minimal libpython3.11-stdlib
  librole-tiny-perl libsub-quote-perl libtimedate-perl libtry-tiny-perl
  liburi-perl libwww-perl libwww-robotrules-perl media-types netbase openssl
  patchutils perl-openssl-defaults python3 python3-minimal python3.11
  python3.11-minimal wdiff
Suggested packages:
  adequate at autopkgtest bls-standalone bsd-mailx | mailx
  check-all-the-things cvs-buildpackage diffoscope disorderfs dose-extra duck
  elpa-devscripts faketime gnuplot how-can-i-help libauthen-sasl-perl
  libdbd-pg-perl libfile-desktopentry-perl libterm-size-perl libyaml-syck-perl
  mmdebstrap mutt piuparts postgresql-client pristine-lfs ratt reprotest
  ssh-client svn-buildpackage w3m libdata-dump-perl libcrypt-ssleay-perl
  libscalar-number-perl libsub-name-perl libbusiness-isbn-perl
  libregexp-ipv6-perl libauthen-ntlm-perl python3-doc python3-tk python3-venv
  python3.11-venv python3.11-doc binfmt-support wdiff-doc
Recommended packages:
  dctrl-tools dput | dupload libdistro-info-perl libgit-wrapper-perl
  libjson-perl liblist-compare-perl libstring-shellquote-perl licensecheck
  lintian python3-apt python3-debian python3-magic python3-requests
  python3-unidiff python3-xdg strace unzip wget | curl debian-keyring equivs
  libgitlab-api-v4-perl libsoap-lite-perl pristine-tar libhtml-format-perl
  libio-compress-brotli-perl libnamespace-clean-perl libxstring-perl
  libdata-dump-perl libhtml-form-perl libhttp-daemon-perl libmailtools-perl
The following NEW packages will be installed:
  ca-certificates devscripts libb-hooks-op-check-perl
  libclass-method-modifiers-perl libclass-xsaccessor-perl libclone-perl
  libdevel-callchecker-perl libdynaloader-functions-perl libencode-locale-perl
  libexpat1 libfile-dirlist-perl libfile-homedir-perl libfile-listing-perl
  libfile-touch-perl libfile-which-perl libhtml-parser-perl
  libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-date-perl
  libhttp-message-perl libhttp-negotiate-perl libimport-into-perl
  libio-html-perl libio-pty-perl libio-socket-ssl-perl libipc-run-perl
  liblwp-mediatypes-perl liblwp-protocol-https-perl libmodule-runtime-perl
  libmoo-perl libnet-http-perl libnet-ssleay-perl libparams-classify-perl
  libpython3-stdlib libpython3.11-minimal libpython3.11-stdlib
  librole-tiny-perl libsub-quote-perl libtimedate-perl libtry-tiny-perl
  liburi-perl libwww-perl libwww-robotrules-perl media-types netbase openssl
  patchutils perl-openssl-defaults python3 python3-minimal python3.11
  python3.11-minimal wdiff
0 upgraded, 54 newly installed, 0 to remove and 0 not upgraded.
Need to get 9890 kB of archives.
After this operation, 34.3 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian sid/main amd64 libpython3.11-minimal amd64 3.11.8-3+b2 [817 kB]
Get:2 http://deb.debian.org/debian sid/main amd64 libexpat1 amd64 2.6.2-1 [103 kB]
Get:3 http://deb.debian.org/debian sid/main amd64 python3.11-minimal amd64 3.11.8-3+b2 [1879 kB]
Get:4 http://deb.debian.org/debian sid/main amd64 python3-minimal amd64 3.11.8-1 [26.3 kB]
Get:5 http://deb.debian.org/debian sid/main amd64 media-types all 10.1.0 [26.9 kB]
Get:6 http://deb.debian.org/debian sid/main amd64 netbase all 6.4 [12.8 kB]
Get:7 http://deb.debian.org/debian sid/main amd64 libpython3.11-stdlib amd64 3.11.8-3+b2 [1792 kB]
Get:8 http://deb.debian.org/debian sid/main amd64 python3.11 amd64 3.11.8-3+b2 [597 kB]
Get:9 http://deb.debian.org/debian sid/main amd64 libpython3-stdlib amd64 3.11.8-1 [9332 B]
Get:10 http://deb.debian.org/debian sid/main amd64 python3 amd64 3.11.8-1 [27.4 kB]
Get:11 http://deb.debian.org/debian sid/main amd64 openssl amd64 3.1.5-1.1 [1241 kB]
Get:12 http://deb.debian.org/debian sid/main amd64 ca-certificates all 20240203 [158 kB]
Get:13 http://deb.debian.org/debian sid/main amd64 libfile-dirlist-perl all 0.05-3 [7600 B]
Get:14 http://deb.debian.org/debian sid/main amd64 libfile-which-perl all 1.27-2 [15.1 kB]
Get:15 http://deb.debian.org/debian sid/main amd64 libfile-homedir-perl all 1.006-2 [42.4 kB]
Get:16 http://deb.debian.org/debian sid/main amd64 libfile-touch-perl all 0.12-2 [8816 B]
Get:17 http://deb.debian.org/debian sid/main amd64 libio-pty-perl amd64 1:1.20-1+b1 [34.4 kB]
Get:18 http://deb.debian.org/debian sid/main amd64 libipc-run-perl all 20231003.0-1 [102 kB]
Get:19 http://deb.debian.org/debian sid/main amd64 libclass-method-modifiers-perl all 2.15-1 [18.0 kB]
Get:20 http://deb.debian.org/debian sid/main amd64 libclass-xsaccessor-perl amd64 1.19-4+b3 [36.2 kB]
Get:21 http://deb.debian.org/debian sid/main amd64 libb-hooks-op-check-perl amd64 0.22-3+b1 [10.6 kB]
Get:22 http://deb.debian.org/debian sid/main amd64 libdynaloader-functions-perl all 0.003-3 [12.7 kB]
Get:23 http://deb.debian.org/debian sid/main amd64 libdevel-callchecker-perl amd64 0.008-2+b2 [15.1 kB]
Get:24 http://deb.debian.org/debian sid/main amd64 libparams-classify-perl amd64 0.015-2+b3 [22.4 kB]
Get:25 http://deb.debian.org/debian sid/main amd64 libmodule-runtime-perl all 0.016-2 [19.6 kB]
Get:26 http://deb.debian.org/debian sid/main amd64 libimport-into-perl all 1.002005-2 [11.3 kB]
Get:27 http://deb.debian.org/debian sid/main amd64 librole-tiny-perl all 2.002004-1 [21.4 kB]
Get:28 http://deb.debian.org/debian sid/main amd64 libsub-quote-perl all 2.006008-1 [21.8 kB]
Get:29 http://deb.debian.org/debian sid/main amd64 libmoo-perl all 2.005005-1 [58.0 kB]
Get:30 http://deb.debian.org/debian sid/main amd64 libencode-locale-perl all 1.05-3 [12.9 kB]
Get:31 http://deb.debian.org/debian sid/main amd64 libtimedate-perl all 2.3300-2 [39.3 kB]
Get:32 http://deb.debian.org/debian sid/main amd64 libhttp-date-perl all 6.06-1 [10.7 kB]
Get:33 http://deb.debian.org/debian sid/main amd64 libfile-listing-perl all 6.16-1 [12.4 kB]
Get:34 http://deb.debian.org/debian sid/main amd64 libhtml-tagset-perl all 3.24-1 [14.7 kB]
Get:35 http://deb.debian.org/debian sid/main amd64 liburi-perl all 5.27-1 [98.4 kB]
Get:36 http://deb.debian.org/debian sid/main amd64 libhtml-parser-perl amd64 3.82-1 [98.9 kB]
Get:37 http://deb.debian.org/debian sid/main amd64 libhtml-tree-perl all 5.07-3 [211 kB]
Get:38 http://deb.debian.org/debian sid/main amd64 libclone-perl amd64 0.46-1+b2 [13.7 kB]
Get:39 http://deb.debian.org/debian sid/main amd64 libio-html-perl all 1.004-3 [16.2 kB]
Get:40 http://deb.debian.org/debian sid/main amd64 liblwp-mediatypes-perl all 6.04-2 [20.2 kB]
Get:41 http://deb.debian.org/debian sid/main amd64 libhttp-message-perl all 6.45-1 [82.0 kB]
Get:42 http://deb.debian.org/debian sid/main amd64 libhttp-cookies-perl all 6.11-1 [19.1 kB]
Get:43 http://deb.debian.org/debian sid/main amd64 libhttp-negotiate-perl all 6.01-2 [13.1 kB]
Get:44 http://deb.debian.org/debian sid/main amd64 perl-openssl-defaults amd64 7+b2 [6724 B]
Get:45 http://deb.debian.org/debian sid/main amd64 libnet-ssleay-perl amd64 1.94-1+b1 [339 kB]
Get:46 http://deb.debian.org/debian sid/main amd64 libio-socket-ssl-perl all 2.085-1 [218 kB]
Get:47 http://deb.debian.org/debian sid/main amd64 libnet-http-perl all 6.23-1 [23.9 kB]
Get:48 http://deb.debian.org/debian sid/main amd64 liblwp-protocol-https-perl all 6.14-1 [10.8 kB]
Get:49 http://deb.debian.org/debian sid/main amd64 libtry-tiny-perl all 0.31-2 [22.6 kB]
Get:50 http://deb.debian.org/debian sid/main amd64 libwww-robotrules-perl all 6.02-1 [12.9 kB]
Get:51 http://deb.debian.org/debian sid/main amd64 libwww-perl all 6.77-1 [183 kB]
Get:52 http://deb.debian.org/debian sid/main amd64 patchutils amd64 0.4.2-1 [77.5 kB]
Get:53 http://deb.debian.org/debian sid/main amd64 wdiff amd64 1.2.2-6 [119 kB]
Get:54 http://deb.debian.org/debian sid/main amd64 devscripts all 2.23.7 [1068 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 9890 kB in 0s (52.0 MB/s)
Selecting previously unselected package libpython3.11-minimal:amd64.
(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 ... 15697 files and directories currently installed.)
Preparing to unpack .../libpython3.11-minimal_3.11.8-3+b2_amd64.deb ...
Unpacking libpython3.11-minimal:amd64 (3.11.8-3+b2) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../libexpat1_2.6.2-1_amd64.deb ...
Unpacking libexpat1:amd64 (2.6.2-1) ...
Selecting previously unselected package python3.11-minimal.
Preparing to unpack .../python3.11-minimal_3.11.8-3+b2_amd64.deb ...
Unpacking python3.11-minimal (3.11.8-3+b2) ...
Setting up libpython3.11-minimal:amd64 (3.11.8-3+b2) ...
Setting up libexpat1:amd64 (2.6.2-1) ...
Setting up python3.11-minimal (3.11.8-3+b2) ...
Selecting previously unselected package python3-minimal.
(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 ... 16015 files and directories currently installed.)
Preparing to unpack .../0-python3-minimal_3.11.8-1_amd64.deb ...
Unpacking python3-minimal (3.11.8-1) ...
Selecting previously unselected package media-types.
Preparing to unpack .../1-media-types_10.1.0_all.deb ...
Unpacking media-types (10.1.0) ...
Selecting previously unselected package netbase.
Preparing to unpack .../2-netbase_6.4_all.deb ...
Unpacking netbase (6.4) ...
Selecting previously unselected package libpython3.11-stdlib:amd64.
Preparing to unpack .../3-libpython3.11-stdlib_3.11.8-3+b2_amd64.deb ...
Unpacking libpython3.11-stdlib:amd64 (3.11.8-3+b2) ...
Selecting previously unselected package python3.11.
Preparing to unpack .../4-python3.11_3.11.8-3+b2_amd64.deb ...
Unpacking python3.11 (3.11.8-3+b2) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../5-libpython3-stdlib_3.11.8-1_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.11.8-1) ...
Setting up python3-minimal (3.11.8-1) ...
Selecting previously unselected package python3.
(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 ... 16448 files and directories currently installed.)
Preparing to unpack .../00-python3_3.11.8-1_amd64.deb ...
Unpacking python3 (3.11.8-1) ...
Selecting previously unselected package openssl.
Preparing to unpack .../01-openssl_3.1.5-1.1_amd64.deb ...
Unpacking openssl (3.1.5-1.1) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../02-ca-certificates_20240203_all.deb ...
Unpacking ca-certificates (20240203) ...
Selecting previously unselected package libfile-dirlist-perl.
Preparing to unpack .../03-libfile-dirlist-perl_0.05-3_all.deb ...
Unpacking libfile-dirlist-perl (0.05-3) ...
Selecting previously unselected package libfile-which-perl.
Preparing to unpack .../04-libfile-which-perl_1.27-2_all.deb ...
Unpacking libfile-which-perl (1.27-2) ...
Selecting previously unselected package libfile-homedir-perl.
Preparing to unpack .../05-libfile-homedir-perl_1.006-2_all.deb ...
Unpacking libfile-homedir-perl (1.006-2) ...
Selecting previously unselected package libfile-touch-perl.
Preparing to unpack .../06-libfile-touch-perl_0.12-2_all.deb ...
Unpacking libfile-touch-perl (0.12-2) ...
Selecting previously unselected package libio-pty-perl.
Preparing to unpack .../07-libio-pty-perl_1%3a1.20-1+b1_amd64.deb ...
Unpacking libio-pty-perl (1:1.20-1+b1) ...
Selecting previously unselected package libipc-run-perl.
Preparing to unpack .../08-libipc-run-perl_20231003.0-1_all.deb ...
Unpacking libipc-run-perl (20231003.0-1) ...
Selecting previously unselected package libclass-method-modifiers-perl.
Preparing to unpack .../09-libclass-method-modifiers-perl_2.15-1_all.deb ...
Unpacking libclass-method-modifiers-perl (2.15-1) ...
Selecting previously unselected package libclass-xsaccessor-perl.
Preparing to unpack .../10-libclass-xsaccessor-perl_1.19-4+b3_amd64.deb ...
Unpacking libclass-xsaccessor-perl (1.19-4+b3) ...
Selecting previously unselected package libb-hooks-op-check-perl:amd64.
Preparing to unpack .../11-libb-hooks-op-check-perl_0.22-3+b1_amd64.deb ...
Unpacking libb-hooks-op-check-perl:amd64 (0.22-3+b1) ...
Selecting previously unselected package libdynaloader-functions-perl.
Preparing to unpack .../12-libdynaloader-functions-perl_0.003-3_all.deb ...
Unpacking libdynaloader-functions-perl (0.003-3) ...
Selecting previously unselected package libdevel-callchecker-perl:amd64.
Preparing to unpack .../13-libdevel-callchecker-perl_0.008-2+b2_amd64.deb ...
Unpacking libdevel-callchecker-perl:amd64 (0.008-2+b2) ...
Selecting previously unselected package libparams-classify-perl:amd64.
Preparing to unpack .../14-libparams-classify-perl_0.015-2+b3_amd64.deb ...
Unpacking libparams-classify-perl:amd64 (0.015-2+b3) ...
Selecting previously unselected package libmodule-runtime-perl.
Preparing to unpack .../15-libmodule-runtime-perl_0.016-2_all.deb ...
Unpacking libmodule-runtime-perl (0.016-2) ...
Selecting previously unselected package libimport-into-perl.
Preparing to unpack .../16-libimport-into-perl_1.002005-2_all.deb ...
Unpacking libimport-into-perl (1.002005-2) ...
Selecting previously unselected package librole-tiny-perl.
Preparing to unpack .../17-librole-tiny-perl_2.002004-1_all.deb ...
Unpacking librole-tiny-perl (2.002004-1) ...
Selecting previously unselected package libsub-quote-perl.
Preparing to unpack .../18-libsub-quote-perl_2.006008-1_all.deb ...
Unpacking libsub-quote-perl (2.006008-1) ...
Selecting previously unselected package libmoo-perl.
Preparing to unpack .../19-libmoo-perl_2.005005-1_all.deb ...
Unpacking libmoo-perl (2.005005-1) ...
Selecting previously unselected package libencode-locale-perl.
Preparing to unpack .../20-libencode-locale-perl_1.05-3_all.deb ...
Unpacking libencode-locale-perl (1.05-3) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../21-libtimedate-perl_2.3300-2_all.deb ...
Unpacking libtimedate-perl (2.3300-2) ...
Selecting previously unselected package libhttp-date-perl.
Preparing to unpack .../22-libhttp-date-perl_6.06-1_all.deb ...
Unpacking libhttp-date-perl (6.06-1) ...
Selecting previously unselected package libfile-listing-perl.
Preparing to unpack .../23-libfile-listing-perl_6.16-1_all.deb ...
Unpacking libfile-listing-perl (6.16-1) ...
Selecting previously unselected package libhtml-tagset-perl.
Preparing to unpack .../24-libhtml-tagset-perl_3.24-1_all.deb ...
Unpacking libhtml-tagset-perl (3.24-1) ...
Selecting previously unselected package liburi-perl.
Preparing to unpack .../25-liburi-perl_5.27-1_all.deb ...
Unpacking liburi-perl (5.27-1) ...
Selecting previously unselected package libhtml-parser-perl:amd64.
Preparing to unpack .../26-libhtml-parser-perl_3.82-1_amd64.deb ...
Unpacking libhtml-parser-perl:amd64 (3.82-1) ...
Selecting previously unselected package libhtml-tree-perl.
Preparing to unpack .../27-libhtml-tree-perl_5.07-3_all.deb ...
Unpacking libhtml-tree-perl (5.07-3) ...
Selecting previously unselected package libclone-perl:amd64.
Preparing to unpack .../28-libclone-perl_0.46-1+b2_amd64.deb ...
Unpacking libclone-perl:amd64 (0.46-1+b2) ...
Selecting previously unselected package libio-html-perl.
Preparing to unpack .../29-libio-html-perl_1.004-3_all.deb ...
Unpacking libio-html-perl (1.004-3) ...
Selecting previously unselected package liblwp-mediatypes-perl.
Preparing to unpack .../30-liblwp-mediatypes-perl_6.04-2_all.deb ...
Unpacking liblwp-mediatypes-perl (6.04-2) ...
Selecting previously unselected package libhttp-message-perl.
Preparing to unpack .../31-libhttp-message-perl_6.45-1_all.deb ...
Unpacking libhttp-message-perl (6.45-1) ...
Selecting previously unselected package libhttp-cookies-perl.
Preparing to unpack .../32-libhttp-cookies-perl_6.11-1_all.deb ...
Unpacking libhttp-cookies-perl (6.11-1) ...
Selecting previously unselected package libhttp-negotiate-perl.
Preparing to unpack .../33-libhttp-negotiate-perl_6.01-2_all.deb ...
Unpacking libhttp-negotiate-perl (6.01-2) ...
Selecting previously unselected package perl-openssl-defaults:amd64.
Preparing to unpack .../34-perl-openssl-defaults_7+b2_amd64.deb ...
Unpacking perl-openssl-defaults:amd64 (7+b2) ...
Selecting previously unselected package libnet-ssleay-perl:amd64.
Preparing to unpack .../35-libnet-ssleay-perl_1.94-1+b1_amd64.deb ...
Unpacking libnet-ssleay-perl:amd64 (1.94-1+b1) ...
Selecting previously unselected package libio-socket-ssl-perl.
Preparing to unpack .../36-libio-socket-ssl-perl_2.085-1_all.deb ...
Unpacking libio-socket-ssl-perl (2.085-1) ...
Selecting previously unselected package libnet-http-perl.
Preparing to unpack .../37-libnet-http-perl_6.23-1_all.deb ...
Unpacking libnet-http-perl (6.23-1) ...
Selecting previously unselected package liblwp-protocol-https-perl.
Preparing to unpack .../38-liblwp-protocol-https-perl_6.14-1_all.deb ...
Unpacking liblwp-protocol-https-perl (6.14-1) ...
Selecting previously unselected package libtry-tiny-perl.
Preparing to unpack .../39-libtry-tiny-perl_0.31-2_all.deb ...
Unpacking libtry-tiny-perl (0.31-2) ...
Selecting previously unselected package libwww-robotrules-perl.
Preparing to unpack .../40-libwww-robotrules-perl_6.02-1_all.deb ...
Unpacking libwww-robotrules-perl (6.02-1) ...
Selecting previously unselected package libwww-perl.
Preparing to unpack .../41-libwww-perl_6.77-1_all.deb ...
Unpacking libwww-perl (6.77-1) ...
Selecting previously unselected package patchutils.
Preparing to unpack .../42-patchutils_0.4.2-1_amd64.deb ...
Unpacking patchutils (0.4.2-1) ...
Selecting previously unselected package wdiff.
Preparing to unpack .../43-wdiff_1.2.2-6_amd64.deb ...
Unpacking wdiff (1.2.2-6) ...
Selecting previously unselected package devscripts.
Preparing to unpack .../44-devscripts_2.23.7_all.deb ...
Unpacking devscripts (2.23.7) ...
Setting up media-types (10.1.0) ...
Setting up wdiff (1.2.2-6) ...
Setting up libfile-which-perl (1.27-2) ...
Setting up libdynaloader-functions-perl (0.003-3) ...
Setting up libclass-method-modifiers-perl (2.15-1) ...
Setting up libio-pty-perl (1:1.20-1+b1) ...
Setting up libclone-perl:amd64 (0.46-1+b2) ...
Setting up libhtml-tagset-perl (3.24-1) ...
Setting up liblwp-mediatypes-perl (6.04-2) ...
Setting up libtry-tiny-perl (0.31-2) ...
Setting up perl-openssl-defaults:amd64 (7+b2) ...
Setting up libencode-locale-perl (1.05-3) ...
Setting up patchutils (0.4.2-1) ...
Setting up libio-html-perl (1.004-3) ...
Setting up libb-hooks-op-check-perl:amd64 (0.22-3+b1) ...
Setting up libipc-run-perl (20231003.0-1) ...
Setting up libtimedate-perl (2.3300-2) ...
Setting up librole-tiny-perl (2.002004-1) ...
Setting up netbase (6.4) ...
Setting up libsub-quote-perl (2.006008-1) ...
Setting up libclass-xsaccessor-perl (1.19-4+b3) ...
Setting up libfile-dirlist-perl (0.05-3) ...
Setting up libfile-homedir-perl (1.006-2) ...
Setting up openssl (3.1.5-1.1) ...
Setting up liburi-perl (5.27-1) ...
Setting up libfile-touch-perl (0.12-2) ...
Setting up libnet-ssleay-perl:amd64 (1.94-1+b1) ...
Setting up libhttp-date-perl (6.06-1) ...
Setting up libfile-listing-perl (6.16-1) ...
Setting up libpython3.11-stdlib:amd64 (3.11.8-3+b2) ...
Setting up libnet-http-perl (6.23-1) ...
Setting up libdevel-callchecker-perl:amd64 (0.008-2+b2) ...
Setting up ca-certificates (20240203) ...
Updating certificates in /etc/ssl/certs...
146 added, 0 removed; done.
Setting up libwww-robotrules-perl (6.02-1) ...
Setting up libhtml-parser-perl:amd64 (3.82-1) ...
Setting up libio-socket-ssl-perl (2.085-1) ...
Setting up libpython3-stdlib:amd64 (3.11.8-1) ...
Setting up libhttp-message-perl (6.45-1) ...
Setting up python3.11 (3.11.8-3+b2) ...
Setting up libhttp-negotiate-perl (6.01-2) ...
Setting up libhttp-cookies-perl (6.11-1) ...
Setting up libhtml-tree-perl (5.07-3) ...
Setting up libparams-classify-perl:amd64 (0.015-2+b3) ...
Setting up python3 (3.11.8-1) ...
Setting up libmodule-runtime-perl (0.016-2) ...
Setting up libimport-into-perl (1.002005-2) ...
Setting up libmoo-perl (2.005005-1) ...
Setting up libwww-perl (6.77-1) ...
Setting up devscripts (2.23.7) ...
Setting up liblwp-protocol-https-perl (6.14-1) ...
Processing triggers for libc-bin (2.37-15.1) ...
Processing triggers for man-db (2.12.0-3+b1) ...
Not building database; man-db/auto-update is not 'true'.
Processing triggers for ca-certificates (20240203) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
given is deprecated at /usr/bin/chdist line 710.
when is deprecated at /usr/bin/chdist line 711.
when is deprecated at /usr/bin/chdist line 714.
when is deprecated at /usr/bin/chdist line 717.
when is deprecated at /usr/bin/chdist line 720.
when is deprecated at /usr/bin/chdist line 723.
when is deprecated at /usr/bin/chdist line 726.
when is deprecated at /usr/bin/chdist line 729.
when is deprecated at /usr/bin/chdist line 732.
when is deprecated at /usr/bin/chdist line 735.
when is deprecated at /usr/bin/chdist line 738.
when is deprecated at /usr/bin/chdist line 741.
when is deprecated at /usr/bin/chdist line 744.
when is deprecated at /usr/bin/chdist line 747.
when is deprecated at /usr/bin/chdist line 750.
when is deprecated at /usr/bin/chdist line 753.
when is deprecated at /usr/bin/chdist line 756.
when is deprecated at /usr/bin/chdist line 759.
when is deprecated at /usr/bin/chdist line 762.
Run chdist apt native update
And enjoy.
given is deprecated at /usr/bin/chdist line 710.
when is deprecated at /usr/bin/chdist line 711.
when is deprecated at /usr/bin/chdist line 714.
when is deprecated at /usr/bin/chdist line 717.
when is deprecated at /usr/bin/chdist line 720.
when is deprecated at /usr/bin/chdist line 723.
when is deprecated at /usr/bin/chdist line 726.
when is deprecated at /usr/bin/chdist line 729.
when is deprecated at /usr/bin/chdist line 732.
when is deprecated at /usr/bin/chdist line 735.
when is deprecated at /usr/bin/chdist line 738.
when is deprecated at /usr/bin/chdist line 741.
when is deprecated at /usr/bin/chdist line 744.
when is deprecated at /usr/bin/chdist line 747.
when is deprecated at /usr/bin/chdist line 750.
when is deprecated at /usr/bin/chdist line 753.
when is deprecated at /usr/bin/chdist line 756.
when is deprecated at /usr/bin/chdist line 759.
when is deprecated at /usr/bin/chdist line 762.
W: Forcing arch i386 for this command only.
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 [9760 kB]
Get:4 http://deb.debian.org/debian sid/main Translation-en [7200 kB]
Fetched 27.8 MB in 7s (4212 kB/s)
Reading package lists...
if test "$ENABLE_DIFFOSCOPE" = yes; then
	compare_native() {
		local pkg pkgname tmpdir downloadname errcode
		apt_get_install diffoscope binutils-multiarch vim-common
		for pkg in "$@"; do
			if test "`dpkg-deb -f "$pkg" Architecture`" != "$HOST_ARCH"; then
				echo "not comparing $pkg: wrong architecture"
				continue
			fi
			pkgname=`dpkg-deb -f "$pkg" Package`
			tmpdir=`mktemp -d`
			mkdir "$tmpdir/a" "$tmpdir/b"
			cp "$pkg" "$tmpdir/a" # work around diffoscope recursing over the build tree
			if ! (cd "$tmpdir/b" && chdist_native apt-get download "$pkgname"); then
				echo "not comparing $pkg: download failed"
				rm -R "$tmpdir"
				continue
			fi
			downloadname=`dpkg-deb -W --showformat '${Package}_${Version}_${Architecture}.deb' "$pkg" | sed 's/:/%3a/'`
			if ! test -f "$tmpdir/b/$downloadname"; then
				echo "not comparing $pkg: downloaded different version"
				rm -R "$tmpdir"
				continue
			fi
			errcode=0
			timeout --kill-after=1m 1h diffoscope --text "$tmpdir/out" "$tmpdir/a/$(basename -- "$pkg")" "$tmpdir/b/$downloadname" || errcode=$?
			case $errcode in
				0)
					echo "diffoscope-success: $pkg"
				;;
				1)
					if ! test -f "$tmpdir/out"; then
						echo "rebootstrap-error: no diffoscope output for $pkg"
						exit 1
					elif test "`wc -l < "$tmpdir/out"`" -gt 1000; then
						echo "truncated diffoscope output for $pkg:"
						head -n1000 "$tmpdir/out"
					else
						echo "diffoscope output for $pkg:"
						cat "$tmpdir/out"
					fi
				;;
				124)
					echo "rebootstrap-warning: diffoscope timed out"
				;;
				*)
					echo "rebootstrap-error: diffoscope terminated with abnormal exit code $errcode"
					exit 1
				;;
			esac
			rm -R "$tmpdir"
		done
	}
else
	compare_native() { :
	}
fi

pickup_additional_packages() {
	local f
	for f in "$@"; do
		if test "${f%.deb}" != "$f"; then
			reprepro includedeb rebootstrap "$f"
		elif test "${f%.changes}" != "$f"; then
			reprepro include rebootstrap "$f"
		else
			echo "cannot pick up package $f"
			exit 1
		fi
	done
	$APT_GET update
}

pickup_packages() {
	local sources
	local source
	local f
	local i
	# collect source package names referenced
	sources=""
	for f in "$@"; do
		if test "${f%.deb}" != "$f"; then
			source=`dpkg-deb -f "$f" Source`
			test -z "$source" && source=${f%%_*}
		elif test "${f%.changes}" != "$f"; then
			source=${f%%_*}
		else
			echo "cannot pick up package $f"
			exit 1
		fi
		sources=`set_add "$sources" "$source"`
	done
	# archive old contents and remove them from the repository
	for source in $sources; do
		i=1
		while test -e "$REPODIR/archive/${source}_$i"; do
			i=$((i + 1))
		done
		i="$REPODIR/archive/${source}_$i"
		mkdir "$i"
		for f in $(reprepro --list-format '${Filename}\n' listfilter rebootstrap "\$Source (== $source)"); do
			cp -v "$REPODIR/$f" "$i"
		done
		find "$i" -type d -empty -delete
		reprepro removesrc rebootstrap "$source"
	done
	# add new contents
	pickup_additional_packages "$@"
}

# compute a function name from a hook prefix $1 and a package name $2
# returns success if the function actually exists
get_hook() {
	local hook
	hook=`echo "$2" | tr -- -. __` # - and . are invalid in function names
	hook="${1}_$hook"
	echo "$hook"
	type "$hook" >/dev/null 2>&1 || return 1
}

cross_build_setup() {
	local pkg subdir hook
	pkg="$1"
	subdir="${2:-$pkg}"
	cd /tmp/buildd
	drop_privs mkdir "$subdir"
	cd "$subdir"
	obtain_source_package "$pkg"
	cd "${pkg}-"*
	hook=`get_hook patch "$pkg"` && "$hook"
	return 0
}

# add a binNMU changelog entry
# . is a debian package
# $1 is the binNMU number
# $2 is reason
add_binNMU_changelog() {
	cat - debian/changelog <<EOF |
$(dpkg-parsechangelog -SSource) ($(dpkg-parsechangelog -SVersion)+b$1) sid; urgency=medium, binary-only=yes

  * Binary-only non-maintainer upload for $HOST_ARCH; no source changes.
  * $2

 -- rebootstrap <invalid@invalid>  $(dpkg-parsechangelog -SDate)

EOF
		drop_privs tee debian/changelog.new >/dev/null
	drop_privs mv debian/changelog.new debian/changelog
}

check_binNMU() {
	local pkg srcversion binversion maxversion
	srcversion=`dpkg-parsechangelog -SVersion`
	maxversion=$srcversion
	for pkg in `dh_listpackages`; do
		binversion=`apt-cache show "$pkg=$srcversion*" 2>/dev/null | sed -n 's/^Version: //p;T;q'`
		test -z "$binversion" && continue
		if dpkg --compare-versions "$maxversion" lt "$binversion"; then
			maxversion=$binversion
		fi
	done
	case "$maxversion" in
		"$srcversion+b"*)
			echo "rebootstrap-warning: binNMU detected for $(dpkg-parsechangelog -SSource) $srcversion/$maxversion"
			add_binNMU_changelog "${maxversion#"$srcversion+b"}" "Bump to binNMU version of $(dpkg --print-architecture)."
		;;
	esac
}

PROGRESS_MARK=1
progress_mark() {
	echo "progress-mark:$PROGRESS_MARK:$*"
	PROGRESS_MARK=$((PROGRESS_MARK + 1))
}

# prints the set (as in set_create) of installed packages
record_installed_packages() {
	dpkg --get-selections | sed 's/\s\+install$//;t;d' | xargs
}

# Takes the set (as in set_create) of packages and apt-get removes any
# currently installed packages outside the given set.
remove_extra_packages() {
	local origpackages currentpackages removedpackages extrapackages
	origpackages="$1"
	currentpackages=$(record_installed_packages)
	removedpackages=$(set_difference "$origpackages" "$currentpackages")
	extrapackages=$(set_difference "$currentpackages" "$origpackages")
	echo "original packages: $origpackages"
	echo "removed packages:  $removedpackages"
	echo "extra packages:    $extrapackages"
	apt_get_remove $extrapackages
}

buildpackage_failed() {
	local err last_config_log
	err="$1"
	echo "rebootstrap-error: dpkg-buildpackage failed with status $err"
	last_config_log=$(find . -type f -name config.log -printf "%T@ %p\n" | sort -g | tail -n1 | cut "-d " -f2-)
	if test -f "$last_config_log"; then
		tail -v -n+0 "$last_config_log"
	fi
	exit "$err"
}

cross_build() {
	local pkg profiles stamp ignorebd hook installedpackages
	pkg="$1"
	profiles="$DEFAULT_PROFILES ${2:-}"
	stamp="${3:-$pkg}"
	if test "$ENABLE_MULTILIB" = "no"; then
		profiles="$profiles nobiarch"
	fi
	profiles=$(join_words , $profiles)
	if test -f "$REPODIR/stamps/$stamp"; then
		echo "skipping rebuild of $pkg with profiles $profiles"
	else
		echo "building $pkg with profiles $profiles"
		cross_build_setup "$pkg" "$stamp"
		installedpackages=$(record_installed_packages)
		if hook=`get_hook builddep "$pkg"`; then
			echo "installing Build-Depends for $pkg using custom function"
			"$hook" "$HOST_ARCH" "$profiles"
		else
			echo "installing Build-Depends for $pkg using apt-get build-dep"
			apt_get_build_dep "-a$HOST_ARCH" --arch-only -P "$profiles" ./
		fi
		check_binNMU
		ignorebd=
		if get_hook builddep "$pkg" >/dev/null; then
			if dpkg-checkbuilddeps -B "-a$HOST_ARCH" -P "$profiles"; then
				echo "rebootstrap-warning: Build-Depends for $pkg satisfied even though a custom builddep_  function is in use"
			fi
			ignorebd=-d
		fi
		(
			if hook=`get_hook buildenv "$pkg"`; then
				echo "adding environment variables via buildenv hook for $pkg"
				"$hook" "$HOST_ARCH"
			fi
			drop_privs_exec dpkg-buildpackage "-a$HOST_ARCH" -B "-P$profiles" $ignorebd -uc -us
		) || buildpackage_failed "$?"
		cd ..
		remove_extra_packages "$installedpackages"
		ls -l
		pickup_packages *.changes
		touch "$REPODIR/stamps/$stamp"
		compare_native ./*.deb
		cd ..
		drop_privs rm -Rf "$stamp"
	fi
	progress_mark "$stamp cross build"
}

if test "$ENABLE_MULTIARCH_GCC" != yes; then
	apt_get_install dpkg-cross
fi

automatic_packages=
add_automatic() { automatic_packages=$(set_add "$automatic_packages" "$1"); }

add_automatic acl
add_automatic apt
add_automatic attr
add_automatic base-files
add_automatic base-passwd

add_automatic bash
patch_bash() {
	dpkg-architecture "-a$HOST_ARCH" -imusl-linux-any || return 0
	echo "fixing logic error around wrapping strtoimax #1023053"
	drop_privs patch -p1 <<'EOF'
--- a/configure
+++ b/configure
@@ -20443,7 +20443,7 @@

 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bash_cv_func_strtoimax" >&5
 printf "%s\n" "$bash_cv_func_strtoimax" >&6; }
-if test $bash_cv_func_strtoimax = yes; then
+if test $bash_cv_func_strtoimax = no; then
 case " $LIBOBJS " in
   *" strtoimax.$ac_objext "* ) ;;
   *) LIBOBJS="$LIBOBJS strtoimax.$ac_objext"
EOF
}

patch_binutils() {
	echo "patching binutils to discard ldscripts"
	# They cause file conflicts with binutils and the in-archive cross
	# binutils discard ldscripts as well.
	drop_privs patch -p1 <<'EOF'
--- a/debian/rules
+++ b/debian/rules
@@ -751,6 +751,7 @@
 		mandir=$(pwd)/$(D_CROSS)/$(PF)/share/man install
 
 	rm -rf \
+		$(D_CROSS)/$(PF)/lib/ldscripts \
 		$(D_CROSS)/$(PF)/share/info \
 		$(D_CROSS)/$(PF)/share/locale
 
EOF
	if test "$HOST_ARCH" = hppa; then
		echo "patching binutils to discard hppa64 ldscripts"
		# They cause file conflicts with binutils and the in-archive
		# cross binutils discard ldscripts as well.
		drop_privs patch -p1 <<'EOF'
--- a/debian/rules
+++ b/debian/rules
@@ -1233,6 +1233,7 @@
 		$(d_hppa64)/$(PF)/lib/$(DEB_HOST_MULTIARCH)/.

 	: # Now get rid of just about everything in binutils-hppa64
+	rm -rf $(d_hppa64)/$(PF)/lib/ldscripts
 	rm -rf $(d_hppa64)/$(PF)/man
 	rm -rf $(d_hppa64)/$(PF)/info
 	rm -rf $(d_hppa64)/$(PF)/include
EOF
	fi
	echo "fix honouring of nocheck option #990794"
	drop_privs sed -i -e 's/ifeq (\(,$(filter $(DEB_HOST_ARCH),\)/ifneq ($(DEB_BUILD_ARCH)\1/' debian/rules
	case "$HOST_ARCH" in nios2|sparc)
		echo "enabling uncommon architectures in debian/control"
		drop_privs sed -i -e "/^#NATIVE_ARCHS +=/aNATIVE_ARCHS += $HOST_ARCH" debian/rules
		drop_privs ./debian/rules ./stamps/control
		drop_privs rm -f ./stamps/control
	;; esac
	echo "fix undefined symbol ldlex_defsym #992318"
	rm -f ld/ldlex.c
}

add_automatic blt
add_automatic bsdmainutils

builddep_build_essential() {
	# g++ dependency needs cross translation
	apt_get_install debhelper python3
}

add_automatic bzip2
add_automatic c-ares
add_automatic coreutils
add_automatic curl

add_automatic dash
patch_dash() {
	echo "fix FTCBFS #1057339"
	drop_privs patch -p1 <<'EOF'
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -12,7 +12,7 @@
 COMPILE_FOR_BUILD = \
 	$(CC_FOR_BUILD) $(DEFAULT_INCLUDES) $(AM_CPPFLAGS_FOR_BUILD) \
 	$(CPPFLAGS_FOR_BUILD) \
-	$(CPPFLAGS) $(CFLAGS) $(LDFLAGS) \
+	$(LDFLAGS) \
 	$(AM_CFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD) 

 bin_PROGRAMS = dash
EOF
}

add_automatic db-defaults
add_automatic debianutils

add_automatic diffutils
buildenv_diffutils() {
	if dpkg-architecture "-a$1" -ignu-any-any; then
		export gl_cv_func_getopt_gnu=yes
	fi
}

add_automatic dpkg

add_automatic e2fsprogs
patch_e2fsprogs() {
	echo "fix FTBFS #1053111"
	drop_privs sed -i -e 's,lib/systemd/system,usr/&,' debian/e2fsprogs.install
}

add_automatic expat
add_automatic file
add_automatic findutils
add_automatic flex
add_automatic fontconfig
add_automatic freetype
add_automatic fribidi
add_automatic fuse

patch_gcc_default_pie_everywhere()
{
	echo "enabling pie everywhere #892281"
	drop_privs patch -p1 <<'EOF'
--- a/debian/rules.defs
+++ a/debian/rules.defs
@@ -1250,9 +1250,7 @@
     pie_archs += armhf arm64 i386
   endif
 endif
-ifneq (,$(filter $(DEB_TARGET_ARCH),$(pie_archs)))
-  with_pie := yes
-endif
+with_pie := yes
 ifeq ($(trunk_build),yes)
   with_pie := disabled for trunk builds
 endif
EOF
}
patch_gcc_limits_h_test() {
	echo "fix LIMITS_H_TEST again https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80677"
	drop_privs tee debian/patches/limits-h-test.diff >/dev/null <<'EOF'
--- a/src/gcc/limitx.h
+++ b/src/gcc/limitx.h
@@ -29,7 +29,7 @@
 #ifndef _GCC_LIMITS_H_  /* Terminated in limity.h.  */
 #define _GCC_LIMITS_H_

-#ifndef _LIBC_LIMITS_H_
+#if !defined(_LIBC_LIMITS_H_) && __has_include_next(<limits.h>)
 /* Use "..." so that we find syslimits.h only in this same directory.  */
 #include "syslimits.h"
 #endif
--- a/src/gcc/limity.h
+++ b/src/gcc/limity.h
@@ -3,7 +3,7 @@

 #else /* not _GCC_LIMITS_H_ */

-#ifdef _GCC_NEXT_LIMITS_H
+#if defined(_GCC_NEXT_LIMITS_H) && __has_include_next(<limits.h>)
 #include_next <limits.h>		/* recurse down to the real one */
 #endif

--- a/src/gcc/Makefile.in
+++ b/src/gcc/Makefile.in
@@ -3139,11 +3139,7 @@
 	  sysroot_headers_suffix=`echo $${ml} | sed -e 's/;.*$$//'`; \
 	  multi_dir=`echo $${ml} | sed -e 's/^[^;]*;//'`; \
 	  include_dir=include$${multi_dir}; \
-	  if $(LIMITS_H_TEST) ; then \
-	    cat $(srcdir)/limitx.h $(T_GLIMITS_H) $(srcdir)/limity.h > tmp-xlimits.h; \
-	  else \
-	    cat $(T_GLIMITS_H) > tmp-xlimits.h; \
-	  fi; \
+	  cat $(srcdir)/limitx.h $(T_GLIMITS_H) $(srcdir)/limity.h > tmp-xlimits.h; \
 	  $(mkinstalldirs) $${include_dir}; \
 	  chmod a+rx $${include_dir} || true; \
 	  $(SHELL) $(srcdir)/../move-if-change \
EOF
	if test "$GCC_VER" -le 12; then
		drop_privs sed -i -e 's/include_dir=include/fix_dir=include-fixed/' -e 's/{include_dir}/{fix_dir}/' debian/patches/limits-h-test.diff
	fi
	echo "debian_patches += limits-h-test" | drop_privs tee -a debian/rules.patch >/dev/null
}
patch_gcc_unapplicable_ada() {
	echo "fix patch application failure #993205"
	drop_privs sed -i -e /ada-armel-libatomic/d debian/rules.patch
}
patch_gcc_crypt_h() {
	echo "fix libsanitizer failing to find crypt.h #1014375"
	drop_privs patch -p1 <<'EOF'
--- a/debian/rules2
+++ b/debian/rules2
@@ -1251,6 +1251,13 @@
 	  mkdir -p $(builddir)/sys-include; \
 	  ln -sf /usr/include/$(DEB_TARGET_MULTIARCH)/asm $(builddir)/sys-include/asm; \
 	fi
+	: # Fall back to the host crypt.h when target is unavailable as the sizeof(struct crypt_data) is unlikely to change, needed by libsanitizer.
+	if [ ! -f /usr/include/crypt.h ] && \
+		[ ! -f /usr/include/$(DEB_TARGET_MULTIARCH)/crypt.h ] && \
+		[ -f /usr/include/$(DEB_HOST_MULTIARCH)/crypt.h ]; then \
+	  mkdir -p $(builddir)/sys-include; \
+	  ln -sf /usr/include/$(DEB_HOST_MULTIARCH)/crypt.h $(builddir)/sys-include/crypt.h; \
+	fi

 	touch $(configure_stamp)

EOF
}
patch_gcc_has_include_next() {
	echo "fix __has_include_next https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80755"
	drop_privs tee debian/patches/has_include_next.diff >/dev/null <<EOF
--- a/src/libcpp/files.cc
+++ b/src/libcpp/files.cc
@@ -1042,7 +1042,7 @@
      path use the normal search logic.  */
   if (type == IT_INCLUDE_NEXT && file->dir
       && file->dir != &pfile->no_search_path)
-    dir = file->dir->next;
+    return file->dir->next;
   else if (angle_brackets)
     dir = pfile->bracket_include;
   else if (type == IT_CMDLINE)
@@ -2145,6 +2145,8 @@
 		 enum include_type type)
 {
   cpp_dir *start_dir = search_path_head (pfile, fname, angle_brackets, type);
+  if (!start_dir)
+    return false;
   _cpp_file *file = _cpp_find_file (pfile, fname, start_dir, angle_brackets,
 				    _cpp_FFK_HAS_INCLUDE, 0);
   return file->err_no != ENOENT;
EOF
	echo "debian_patches += has_include_next" | drop_privs tee -a debian/rules.patch >/dev/null
}
patch_gcc_wdotap() {
	if test "$ENABLE_MULTIARCH_GCC" = yes; then
		echo "applying patches for with_deps_on_target_arch_pkgs"
		drop_privs rm -Rf .pc
		drop_privs QUILT_PATCHES="/usr/share/cross-gcc/patches/gcc-$GCC_VER" quilt push -a
		drop_privs rm -Rf .pc
	fi
}
patch_gcc_12() {
	patch_gcc_limits_h_test
	patch_gcc_default_pie_everywhere
	patch_gcc_unapplicable_ada
	patch_gcc_crypt_h
	patch_gcc_has_include_next
	drop_privs sed -i -e 's/^\s*#\?\(with_common_libs\s*:\?=\).*/\1yes/' debian/rules.defs
	patch_gcc_wdotap
}
patch_gcc_13() {
	patch_gcc_limits_h_test
	patch_gcc_wdotap
}

buildenv_gdbm() {
	if dpkg-architecture "-a$1" -ignu-any-any; then
		export ac_cv_func_mmap_fixed_mapped=yes
	fi
}

add_automatic glib2.0
patch_glib2_0() {
	dpkg-architecture "-a$HOST_ARCH" -ix32-any-any-any || return 0
	# https://github.com/mesonbuild/meson/issues/9845
	echo "working around wrong cc_can_run on x32"
	drop_privs tee -a debian/meson/libc-properties.ini >/dev/null <<EOF
needs_exe_wrapper=true
EOF
}

builddep_glibc() {
	test "$1" = "$HOST_ARCH"
	apt_get_install gettext file quilt autoconf gawk debhelper rdfind symlinks binutils bison netbase "gcc-$GCC_VER$HOST_ARCH_SUFFIX"
	if dpkg-architecture "-a$1" -ilinux-any; then
		if test "$ENABLE_MULTIARCH_GCC" = yes; then
			apt_get_install "linux-libc-dev:$1"
		else
			apt_get_install "linux-libc-dev-$1-cross"
		fi
	elif dpkg-architecture "-a$1" -ihurd-any; then
		apt_get_install "gnumach-dev:$1" "hurd-headers-dev:$1" "mig$HOST_ARCH_SUFFIX"
	else
		echo "rebootstrap-error: unsupported kernel"
		exit 1
	fi
}
patch_glibc() {
	echo "patching glibc to pass -l to dh_shlibdeps for multilib"
	drop_privs patch -p1 <<'EOF'
diff -Nru glibc-2.19/debian/rules.d/debhelper.mk glibc-2.19/debian/rules.d/debhelper.mk
--- glibc-2.19/debian/rules.d/debhelper.mk
+++ glibc-2.19/debian/rules.d/debhelper.mk
@@ -109,7 +109,7 @@
 	./debian/shlibs-add-udebs $(curpass)
 
 	dh_installdeb -p$(curpass)
-	dh_shlibdeps -p$(curpass)
+	dh_shlibdeps $(if $($(lastword $(subst -, ,$(curpass)))_slibdir),-l$(CURDIR)/debian/$(curpass)/$($(lastword $(subst -, ,$(curpass)))_slibdir)) -p$(curpass)
 	dh_gencontrol -p$(curpass)
 	if [ $(curpass) = nscd ] ; then \
 		sed -i -e "s/\(Depends:.*libc[0-9.]\+\)-[a-z0-9]\+/\1/" debian/nscd/DEBIAN/control ; \
EOF
	echo "patching glibc to find standard linux headers"
	drop_privs patch -p1 <<'EOF'
diff -Nru glibc-2.19/debian/sysdeps/linux.mk glibc-2.19/debian/sysdeps/linux.mk
--- glibc-2.19/debian/sysdeps/linux.mk
+++ glibc-2.19/debian/sysdeps/linux.mk
@@ -16,7 +16,7 @@
 endif

 ifndef LINUX_SOURCE
-  ifeq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+  ifeq ($(shell dpkg-query --status linux-libc-dev-$(DEB_HOST_ARCH)-cross 2>/dev/null),)
     LINUX_HEADERS := /usr/include
   else
     LINUX_HEADERS := /usr/$(DEB_HOST_GNU_TYPE)/include
EOF
	if ! sed -n '/^libc6_archs *:=/,/[^\\]$/p' debian/rules.d/control.mk | grep -qw "$HOST_ARCH"; then
		echo "adding $HOST_ARCH to libc6_archs"
		drop_privs sed -i -e "s/^libc6_archs *:= /&$HOST_ARCH /" debian/rules.d/control.mk
		drop_privs ./debian/rules debian/control
	fi
	echo "patching glibc to drop dev package conflict"
	sed -i -e '/^Conflicts: @libc-dev-conflict@$/d' debian/control.in/libc
	echo "patching glibc to move all headers to multiarch locations #798955"
	drop_privs patch -p1 <<'EOF'
--- a/debian/rules.d/build.mk
+++ b/debian/rules.d/build.mk
@@ -4,12 +4,16 @@
 xx=$(if $($(curpass)_$(1)),$($(curpass)_$(1)),$($(1)))
 define generic_multilib_extra_pkg_install
 set -e; \
-mkdir -p debian/$(1)/usr/include/sys; \
-ln -sf $(DEB_HOST_MULTIARCH)/bits debian/$(1)/usr/include/; \
-ln -sf $(DEB_HOST_MULTIARCH)/gnu debian/$(1)/usr/include/; \
-ln -sf $(DEB_HOST_MULTIARCH)/fpu_control.h debian/$(1)/usr/include/; \
-for i in `ls debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/sys`; do \
-	ln -sf ../$(DEB_HOST_MULTIARCH)/sys/$$i debian/$(1)/usr/include/sys/$$i; \
+mkdir -p debian/$(1)/usr/include; \
+for i in `ls debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)`; do \
+	if test -d "debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/$$i" && ! test "$$i" = bits -o "$$i" = gnu; then \
+		mkdir -p "debian/$(1)/usr/include/$$i"; \
+		for j in `ls debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/$$i`; do \
+			ln -sf "../$(DEB_HOST_MULTIARCH)/$$i/$$j" "debian/$(1)/usr/include/$$i/$$j"; \
+		done; \
+	else \
+		ln -sf "$(DEB_HOST_MULTIARCH)/$$i" "debian/$(1)/usr/include/$$i"; \
+	fi; \
 done
 mkdir -p debian/$(1)/usr/include/finclude; \
 for i in `ls debian/tmp/usr/include/finclude/$(DEB_HOST_MULTIARCH)`; do \
@@ -270,15 +272,11 @@
 	    echo "/lib/$(DEB_HOST_GNU_TYPE)" >> $$conffile; \
 	    echo "/usr/lib/$(DEB_HOST_GNU_TYPE)" >> $$conffile; \
 	  fi; \
-	  mkdir -p $(debian-tmp)/usr/include/$(DEB_HOST_MULTIARCH); \
-	  mv $(debian-tmp)/usr/include/bits $(debian-tmp)/usr/include/$(DEB_HOST_MULTIARCH); \
-	  mv $(debian-tmp)/usr/include/gnu $(debian-tmp)/usr/include/$(DEB_HOST_MULTIARCH); \
-	  mv $(debian-tmp)/usr/include/sys $(debian-tmp)/usr/include/$(DEB_HOST_MULTIARCH); \
-	  mv $(debian-tmp)/usr/include/fpu_control.h $(debian-tmp)/usr/include/$(DEB_HOST_MULTIARCH); \
-	  mv $(debian-tmp)/usr/include/a.out.h $(debian-tmp)/usr/include/$(DEB_HOST_MULTIARCH); \
-	  mv $(debian-tmp)/usr/include/ieee754.h $(debian-tmp)/usr/include/$(DEB_HOST_MULTIARCH); \
+	  mkdir -p $(debian-tmp)/usr/include.tmp; \
+	  mv $(debian-tmp)/usr/include $(debian-tmp)/usr/include.tmp/$(DEB_HOST_MULTIARCH); \
+	  mv $(debian-tmp)/usr/include.tmp $(debian-tmp)/usr/include; \
 	  mkdir -p $(debian-tmp)/usr/include/finclude/$(DEB_HOST_MULTIARCH); \
-	  mv $(debian-tmp)/usr/include/finclude/math-vector-fortran.h $(debian-tmp)/usr/include/finclude/$(DEB_HOST_MULTIARCH); \
+	  mv $(debian-tmp)/usr/include/$(DEB_HOST_MULTIARCH)/finclude/math-vector-fortran.h $(debian-tmp)/usr/include/finclude/$(DEB_HOST_MULTIARCH); \
 	fi
 
 	ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
--- a/debian/sysdeps/hurd-i386.mk
+++ b/debian/sysdeps/hurd-i386.mk
@@ -18,9 +18,6 @@ endif
 define libc_extra_install
 mkdir -p $(debian-tmp)/lib
 ln -s ld.so.1 $(debian-tmp)/lib/ld.so
-mkdir -p $(debian-tmp)/usr/include/$(DEB_HOST_MULTIARCH)/mach
-mv $(debian-tmp)/usr/include/mach/i386 $(debian-tmp)/usr/include/$(DEB_HOST_MULTIARCH)/mach/
-ln -s ../$(DEB_HOST_MULTIARCH)/mach/i386 $(debian-tmp)/usr/include/mach/i386
 endef
 
 # FIXME: We are having runtime issues with ifunc...
EOF
}
buildenv_glibc() {
	export DEB_GCC_VERSION="-$GCC_VER"
	# glibc passes -Werror by default as it uses a fixed gcc version. We change that version.
	export DEB_CFLAGS_APPEND="${DEB_CFLAGS_APPEND:-} -Wno-error"
}

add_automatic gmp

builddep_gnu_efi() {
	# binutils dependency needs cross translation
	apt_get_install debhelper
}

add_automatic gnupg2
add_automatic gpm
add_automatic grep
add_automatic groff

add_automatic gzip
patch_gzip() {
	test "$(dpkg-architecture "-a$HOST_ARCH" -qDEB_HOST_ARCH_BITS)" = 32 || return 0
	echo "fixing time_t ftcbfs #1009893"
	drop_privs sed -i -e '/CONFIGURE_ARGS.*--host/s/$/ --build=${DEB_BUILD_GNU_TYPE}/' debian/rules
}
buildenv_gzip() {
	dpkg-architecture "-a$1" -imusl-linux-any || return 0
	# this avoids replacing fseeko with a variant that is broken
	echo gl_cv_func_fflush_stdin exported
	export gl_cv_func_fflush_stdin=yes
}

add_automatic hostname

add_automatic icu
patch_icu() {
	echo "fix FTCBFS #1057726"
	drop_privs patch -p1 <<'EOF'
--- a/debian/rules
+++ b/debian/rules
@@ -35,7 +35,7 @@
 ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
 	dh_auto_configure -- --enable-static --disable-layoutex --disable-icu-config
 else
-	dh_auto_configure -B $(CURDIR)/build-native -- --host=$(DEB_BUILD_GNU_TYPE) --disable-layoutex --disable-icu-config
+	dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_configure --reload-all-buildenv-variables -B $(CURDIR)/build-native -- --disable-layoutex --disable-icu-config
 	dh_auto_build -B $(CURDIR)/build-native
 	dh_auto_configure -- --enable-static --with-cross-build=$(CURDIR)/build-native
 endif
EOF
}

add_automatic isl
add_automatic jansson
add_automatic jemalloc
add_automatic keyutils
add_automatic kmod

add_automatic krb5
buildenv_krb5() {
	export krb5_cv_attr_constructor_destructor=yes,yes
	export ac_cv_func_regcomp=yes
	export ac_cv_printf_positional=yes
}

add_automatic libassuan
add_automatic libatomic-ops

add_automatic libbsd
patch_libbsd() {
	dpkg-architecture "-a$HOST_ARCH" -imusl-any-any || return 0
	echo "fix musl FTBFS #1032159"
	drop_privs patch -p1 <<'EOF'
--- a/debian/libbsd-dev.install
+++ b/debian/libbsd-dev.install
@@ -1,4 +1,3 @@
-usr/lib/*/libbsd-ctor.a
 usr/lib/*/libbsd.a
 usr/lib/*/libbsd.so
 usr/lib/*/pkgconfig/*.pc
--- a/debian/rules
+++ b/debian/rules
@@ -6,8 +6,15 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export DEB_CFLAGS_MAINT_PREPEND = -Wall

+include /usr/share/dpkg/architecture.mk
+
 %:
 	dh $@

 override_dh_installchangelogs:
 	dh_installchangelogs --no-trim
+
+ifneq ($(DEB_HOST_ARCH_LIBC),musl)
+execute_after_dh_install:
+	dh_install -plibbsd-dev usr/lib/*/libbsd-ctor.a
+endif
EOF
}

add_automatic libcap2
add_automatic libdebian-installer
add_automatic libev
add_automatic libevent
add_automatic libffi

add_automatic libgc
buildenv_libgc() {
	if dpkg-architecture "-a$1" -imusl-linux-any; then
		echo "ignoring symbol differences for musl for now"
		export DPKG_GENSYMBOLS_CHECK_LEVEL=0
	fi
	if test "$1" = arc; then
		echo "ignoring symbol differences for arc #994211"
		export DPKG_GENSYMBOLS_CHECK_LEVEL=0
	fi
}

add_automatic libgcrypt20
buildenv_libgcrypt20() {
	export ac_cv_sys_symbol_underscore=no
}

add_automatic libgpg-error
add_automatic libice
add_automatic libidn

add_automatic libidn2
patch_libidn2() {
	dpkg-architecture "-a$HOST_ARCH" -imusl-linux-any || return 0
	echo "patching gettext version for musl support #999510"
	drop_privs rm -f m4/gettext.m4
	drop_privs patch -p1 <<'EOF'
--- a/configure.ac
+++ b/configure.ac
@@ -90,7 +90,8 @@
 ])

 AM_GNU_GETTEXT([external])
-AM_GNU_GETTEXT_VERSION([0.19.3])
+AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.8])
+AM_GNU_GETTEXT_VERSION([0.19.6])

 AX_CODE_COVERAGE

EOF
	# must be newer than configure.ac
	drop_privs touch doc/idn2.1
}

add_automatic libksba
add_automatic libmd
add_automatic libnsl
add_automatic libonig
add_automatic libpipeline
add_automatic libpng1.6

buildenv_libprelude() {
	if dpkg-architecture "-a$1" -ignu-any-any; then
		echo "glibc does not return NULL for malloc(0)"
		export ac_cv_func_malloc_0_nonnull=yes
	fi
}

add_automatic libpsl
add_automatic libpthread-stubs
add_automatic libsepol
add_automatic libsm
add_automatic libsodium
add_automatic libssh
add_automatic libssh2
add_automatic libsystemd-dummy
add_automatic libtasn1-6
add_automatic libtextwrap
add_automatic libtirpc

builddep_libtool() {
	assert_built "zlib"
	test "$1" = "$HOST_ARCH"
	# gfortran dependency needs cross-translation
	# gnulib dependency lacks M-A:foreign
	apt_get_install debhelper file "gfortran-$GCC_VER$HOST_ARCH_SUFFIX" automake autoconf autotools-dev help2man texinfo "zlib1g-dev:$HOST_ARCH" gnulib
}

add_automatic libunistring
buildenv_libunistring() {
	if dpkg-architecture "-a$1" -ignu-any-any; then
		echo "glibc does not prefer rwlock writers to readers"
		export gl_cv_pthread_rwlock_rdlock_prefer_writer=no
	fi
	echo "memchr and strstr generally work"
	export gl_cv_func_memchr_works=yes
	export gl_cv_func_strstr_works_always=yes
	export gl_cv_func_strstr_linear=yes
	if dpkg-architecture "-a$1" -imusl-any-any; then
		echo "setting malloc/realloc do not return 0"
		export ac_cv_func_malloc_0_nonnull=yes
		export ac_cv_func_realloc_0_nonnull=yes
	fi
}
patch_libunistring() {
	dpkg-architecture "-a$HOST_ARCH" -imusl-any-any || return 0
	echo "update symbols for musl #1022846"
	drop_privs patch -p1 <<'EOF'
--- a/debian/libunistring2.symbols
+++ b/debian/libunistring2.symbols
@@ -162,10 +162,18 @@
  libunistring_gl_uninorm_decomp_chars_table@Base 0.9.7
  libunistring_gl_uninorm_decomp_index_table@Base 0.9.7
  libunistring_gl_uninorm_decompose_merge_sort_inplace@Base 0.9.7
- libunistring_glthread_once_multithreaded@Base 1.0
+ (arch=gnu-any-any)libunistring_glthread_once_multithreaded@Base 1.0
  libunistring_glthread_once_singlethreaded@Base 0.9.7
+ (arch=musl-any-any)libunistring_glthread_recursive_lock_destroy_multithreaded@Base 1.0-2
  libunistring_glthread_recursive_lock_init_multithreaded@Base 0.9.7
+ (arch=musl-any-any)libunistring_glthread_recursive_lock_lock_multithreaded@Base 1.0-2
+ (arch=musl-any-any)libunistring_glthread_recursive_lock_unlock_multithreaded@Base 1.0-2
+ (arch=musl-any-any)libunistring_glthread_rwlock_destroy_multithreaded@Base 1.0-2
  (arch=gnu-any-any)libunistring_glthread_rwlock_init_for_glibc@Base 0.9.8
+ (arch=musl-any-any)libunistring_glthread_rwlock_init_multithreaded@Base 1.0-2
+ (arch=musl-any-any)libunistring_glthread_rwlock_rdlock_multithreaded@Base 1.0-2
+ (arch=musl-any-any)libunistring_glthread_rwlock_unlock_multithreaded@Base 1.0-2
+ (arch=musl-any-any)libunistring_glthread_rwlock_wrlock_multithreaded@Base 1.0-2
  libunistring_hard_locale@Base 0.9.7
  libunistring_iconveh_close@Base 0.9.7
  libunistring_iconveh_open@Base 0.9.7
EOF
}

add_automatic libusb
add_automatic libusb-1.0
add_automatic libverto

add_automatic libx11
buildenv_libx11() {
	export xorg_cv_malloc0_returns_null=no
}

add_automatic libxau
add_automatic libxaw
add_automatic libxcb
add_automatic libxcrypt
add_automatic libxdmcp

add_automatic libxext
buildenv_libxext() {
	export xorg_cv_malloc0_returns_null=no
}

add_automatic libxmu
add_automatic libxpm

add_automatic libxrender
buildenv_libxrender() {
	export xorg_cv_malloc0_returns_null=no
}

add_automatic libxss
buildenv_libxss() {
	export xorg_cv_malloc0_returns_null=no
}

add_automatic libxt
buildenv_libxt() {
	export xorg_cv_malloc0_returns_null=no
}

add_automatic libzstd

patch_linux() {
	local kernel_arch comment regen_control
	kernel_arch=
	comment="just building headers yet"
	regen_control=
	case "$HOST_ARCH" in
		arc|csky|ia64|nios2)
			kernel_arch=$HOST_ARCH
		;;
		loong64) kernel_arch=loongarch ;;
		powerpcel) kernel_arch=powerpc; ;;
		# https://salsa.debian.org/kernel-team/linux/-/merge_requests/703/diffs
		riscv32) kernel_arch=riscv; ;;
		*-linux-*)
			if ! test -d "debian/config/$HOST_ARCH"; then
				kernel_arch=$(sed 's/^kernel-arch: //;t;d' < "debian/config/${HOST_ARCH#*-linux-}/defines")
				comment="$HOST_ARCH must be part of a multiarch installation with a ${HOST_ARCH#*-linux-*} kernel"
			fi
		;;
	esac
	if test -n "$kernel_arch"; then
		if test "$kernel_arch" != defines-only; then
			echo "patching linux for $HOST_ARCH with kernel-arch $kernel_arch"
			drop_privs mkdir -p "debian/config/$HOST_ARCH"
			drop_privs tee "debian/config/$HOST_ARCH/defines" >/dev/null <<EOF
[base]
kernel-arch: $kernel_arch
featuresets:
# empty; $comment
EOF
		else
			echo "patching linux to enable $HOST_ARCH"
		fi
		drop_privs sed -i -e "/^arches:/a\\ $HOST_ARCH" debian/config/defines
		regen_control=yes
	fi
	test "$regen_control" = yes || return 0
	apt_get_install kernel-wedge python3-jinja2
	# intentionally exits 1 to avoid being called automatically. we are doing it wrong
	drop_privs sed -i -e '/^\s*exit 1$/d' debian/rules
	drop_privs ./debian/rules debian/rules.gen
}

add_automatic lz4

patch_make_dfsg() {
	echo "fixing the noguile build profile #993944"
	drop_privs patch -p1 <<'EOF'
--- a/debian/control
+++ b/debian/control
@@ -36,6 +36,7 @@
 Provides: make (= ${source:Version})
 Replaces: make
 Architecture: any
+Build-Profiles: <!noguile>
 Multi-Arch: allowed
 Description: utility for directing compilation with guile support
  GNU Make is a utility which controls the generation of executables
EOF
}

add_automatic man-db
add_automatic mawk
add_automatic mpclib3
add_automatic mpfr4

builddep_ncurses() {
	if dpkg-architecture "-a$1" -ilinux-any; then
		assert_built gpm
		apt_get_install "libgpm-dev:$1"
	fi
	# g++-multilib dependency unsatisfiable
	apt_get_install debhelper pkg-config autoconf-dickey
	case "$ENABLE_MULTILIB:$1" in
		yes:amd64|yes:i386|yes:powerpc|yes:ppc64|yes:s390|yes:sparc)
			test "$1" = "$HOST_ARCH"
			apt_get_install "g++-$GCC_VER-multilib$HOST_ARCH_SUFFIX"
			# the unversioned gcc-multilib$HOST_ARCH_SUFFIX should contain the following link
			ln -sf "$(dpkg-architecture "-a$HOST_ARCH" -qDEB_HOST_MULTIARCH)/asm" /usr/include/asm
		;;
	esac
}

add_automatic nettle
add_automatic nghttp2
add_automatic npth
add_automatic nspr

add_automatic nss
patch_nss() {
	if dpkg-architecture "-a$HOST_ARCH" -iany-ppc64el; then
		echo "fix FTCBFS for ppc64el #948523"
		drop_privs patch -p1 <<'EOF'
--- a/debian/rules
+++ b/debian/rules
@@ -40,7 +40,8 @@
 ifeq ($(origin RANLIB),default)
 TOOLCHAIN += RANLIB=$(DEB_HOST_GNU_TYPE)-ranlib
 endif
-TOOLCHAIN += OS_TEST=$(DEB_HOST_GNU_CPU)
+OS_TYPE_map_powerpc64le = ppc64le
+TOOLCHAIN += OS_TEST=$(or $(OS_TYPE_map_$(DEB_HOST_GNU_CPU)),$(DEB_HOST_GNU_CPU))
 TOOLCHAIN += KERNEL=$(DEB_HOST_ARCH_OS)
 endif

EOF
	fi
	echo "support building without -Werror #1036211"
	drop_privs patch -p1 <<'EOF'
--- a/debian/rules
+++ b/debian/rules
@@ -74,8 +74,9 @@
 	$(NULL)

 # Disable -Werror on less mainline architectures.
-ifneq (,$(filter-out i386 x86_64 aarch64,$(DEB_HOST_GNU_CPU)))
+ifneq (,$(filter-out i386 x86_64 aarch64,$(DEB_HOST_GNU_CPU))$(filter -Wno-error,$(CFLAGS)))
 COMMON_MAKE_FLAGS += NSS_ENABLE_WERROR=0
+CFLAGS := $(filter-out -Wno-error,$(CFLAGS))
 endif

 NSS_TOOLS := \
EOF
}
buildenv_nss() {
	# nss tends to FTBFS with next gcc
	export DEB_CFLAGS_APPEND="${DEB_CFLAGS_APPEND:-} -Wno-error"
}

buildenv_openldap() {
	export ol_cv_pthread_select_yields=yes
	export ac_cv_func_memcmp_working=yes
}

add_automatic openssl
add_automatic p11-kit

patch_pam() {
	echo "fix FTCBFS #1057729"
	drop_privs sed -i -e '/fix-autoreconf/d' debian/patches-applied/series
}

add_automatic patch
add_automatic pcre2
add_automatic pcre3
add_automatic pkgconf
add_automatic popt

builddep_readline() {
	assert_built "ncurses"
	# gcc-multilib dependency unsatisfiable
	apt_get_install debhelper "libtinfo-dev:$1" "libncursesw5-dev:$1" mawk texinfo autotools-dev
	case "$ENABLE_MULTILIB:$1" in
		yes:amd64|yes:ppc64)
			test "$1" = "$HOST_ARCH"
			apt_get_install "gcc-$GCC_VER-multilib$HOST_ARCH_SUFFIX" "lib32ncurses-dev:$1"
			# the unversioned gcc-multilib$HOST_ARCH_SUFFIX should contain the following link
			ln -sf "$(dpkg-architecture "-a$1" -qDEB_HOST_MULTIARCH)/asm" /usr/include/asm
		;;
		yes:i386|yes:powerpc|yes:sparc|yes:s390)
			test "$1" = "$HOST_ARCH"
			apt_get_install "gcc-$GCC_VER-multilib$HOST_ARCH_SUFFIX" "lib64ncurses-dev:$1"
			# the unversioned gcc-multilib$HOST_ARCH_SUFFIX should contain the following link
			ln -sf "$(dpkg-architecture "-a$1" -qDEB_HOST_MULTIARCH)/asm" /usr/include/asm
		;;
	esac
}

add_automatic rtmpdump

add_automatic sed
patch_sed() {
	dpkg-architecture "-a$HOST_ARCH" -imusl-any-any || return 0
	echo "musl FTBFS #1010224"
	drop_privs sed -i -e '1ainclude /usr/share/dpkg/architecture.mk' debian/rules
	drop_privs sed -i -e 's/--without-included-regex/--with$(if $(filter musl,$(DEB_HOST_ARCH_LIBC)),,out)-included-regex/' debian/rules
}

add_automatic shadow
add_automatic slang2
add_automatic spdylay
add_automatic sqlite3
add_automatic sysvinit

add_automatic tar
buildenv_tar() {
	if dpkg-architecture "-a$1" -ignu-any-any; then
		echo "struct dirent contains working d_ino on glibc systems"
		export gl_cv_struct_dirent_d_ino=yes
	fi
	if ! dpkg-architecture "-a$1" -ilinux-any; then
		echo "forcing broken posix acl check to fail on non-linux #850668"
		export gl_cv_getxattr_with_posix_acls=no
	fi
	case "$1" in arm64ilp32|x32)
		echo "work around time64 inconsistency FTBFS to be fixed via #1030159"
		export DEB_CPPFLAGS_APPEND="${DEB_CPPFLAGS_APPEND:+$DEB_CPPFLAGS_APPEND }-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
	esac
}

add_automatic tcl8.6
buildenv_tcl8_6() {
	export tcl_cv_strtod_buggy=ok
	export tcl_cv_strtoul_unbroken=ok
}

add_automatic tcltk-defaults
add_automatic tcp-wrappers

add_automatic tk8.6
buildenv_tk8_6() {
	export tcl_cv_strtod_buggy=ok
}

add_automatic uchardet
add_automatic ustr

buildenv_util_linux() {
	export scanf_cv_type_modifier=ms
}

add_automatic xft
add_automatic xxhash

add_automatic xz-utils
buildenv_xz_utils() {
	if dpkg-architecture "-a$1" -imusl-linux-any; then
		echo "ignoring symbol differences for musl for now"
		export DPKG_GENSYMBOLS_CHECK_LEVEL=0
	fi
}

builddep_zlib() {
	# gcc-multilib dependency unsatisfiable
	apt_get_install debhelper binutils dpkg-dev
}
patch_zlib() {
	echo "fix FTCBFS #1050995"
	drop_privs patch -p1 <<'EOF'
--- a/contrib/minizip/Makefile.am
+++ b/contrib/minizip/Makefile.am
@@ -39,7 +39,7 @@
 EXTRA_PROGRAMS = miniunzip minizip

 miniunzip_SOURCES = miniunz.c
-miniunzip_LDADD = libminizip.la
+miniunzip_LDADD = libminizip.la -lz

 minizip_SOURCES = minizip.c
 minizip_LDADD = libminizip.la -lz
--- a/debian/rules
+++ b/debian/rules
@@ -87,7 +77,8 @@

 	AR=$(AR) CC="$(DEB_HOST_GNU_TYPE)-gcc" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" uname=GNU ./configure --shared --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)

-	cd contrib/minizip && autoreconf -fis && CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" uname=GNU ./configure --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
+	cd contrib/minizip && autoreconf -fis
+	CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" uname=GNU dh_auto_configure --sourcedirectory=contrib/minizip

 	touch $@

EOF
}

# choosing libatomic1 arbitrarily here, cause it never bumped soname
BUILD_GCC_MULTIARCH_VER=`apt-cache show --no-all-versions libatomic1 | sed 's/^Source: gcc-\([0-9.]*\)$/\1/;t;d'`
if test "$GCC_VER" != "$BUILD_GCC_MULTIARCH_VER"; then
	echo "host gcc version ($GCC_VER) and build gcc version ($BUILD_GCC_MULTIARCH_VER) mismatch. need different build gcc"
if dpkg --compare-versions "$GCC_VER" gt "$BUILD_GCC_MULTIARCH_VER"; then
	echo "deb [ arch=$(dpkg --print-architecture) ] $MIRROR experimental main" > /etc/apt/sources.list.d/tmp-experimental.list
	$APT_GET update
	$APT_GET -t experimental install g++ "g++-$GCC_VER"
	rm -f /etc/apt/sources.list.d/tmp-experimental.list
	$APT_GET update
elif test -f "$REPODIR/stamps/gcc_0"; then
	echo "skipping rebuild of build gcc"
	$APT_GET --force-yes dist-upgrade # downgrade!
else
	cross_build_setup "gcc-$GCC_VER" gcc0
	apt_get_build_dep --arch-only ./
	# dependencies for common libs no longer declared
	apt_get_install doxygen graphviz ghostscript texlive-latex-base xsltproc docbook-xsl-ns
	(
		export gcc_cv_libc_provides_ssp=yes
		nolang=$(set_add "${GCC_NOLANG:-}" biarch)
		export DEB_BUILD_OPTIONS="$DEB_BUILD_OPTIONS nostrap nolang=$(join_words , $nolang)"
		drop_privs_exec dpkg-buildpackage -B -uc -us
	)
	cd ..
	ls -l
	reprepro include rebootstrap-native ./*.changes
	drop_privs rm -fv ./*-plugin-dev_*.deb ./*-dbg_*.deb
	dpkg -i *.deb
	touch "$REPODIR/stamps/gcc_0"
	cd ..
	drop_privs rm -Rf gcc0
fi
progress_mark "build compiler complete"
else
echo "host gcc version and build gcc version match. good for multiarch"
fi
host gcc version (13) and build gcc version (14) mismatch. need different build gcc
Reading package lists...
NOTICE: 'gcc-13' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/toolchain-team/gcc.git -b gcc-13-debian
Please use:
git clone https://salsa.debian.org/toolchain-team/gcc.git -b gcc-13-debian
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 91.7 MB of source archives.
Get:1 http://deb.debian.org/debian sid/main gcc-13 13.2.0-23 (dsc) [39.0 kB]
Get:2 http://deb.debian.org/debian sid/main gcc-13 13.2.0-23 (tar) [89.7 MB]
Get:3 http://deb.debian.org/debian sid/main gcc-13 13.2.0-23 (diff) [1919 kB]
dpkg-source: info: extracting gcc-13 in gcc-13-13.2.0
dpkg-source: info: unpacking gcc-13_13.2.0.orig.tar.gz
dpkg-source: info: unpacking gcc-13_13.2.0-23.debian.tar.xz
Fetched 91.7 MB in 2s (46.9 MB/s)
fix LIMITS_H_TEST again https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80677
applying patches for with_deps_on_target_arch_pkgs
Applying patch /usr/share/cross-gcc/patches/gcc-13/0001-Allowing-with_deps_on_target_arch_deps-again.patch
patching file debian/rules.defs

Applying patch /usr/share/cross-gcc/patches/gcc-13/0002-added-DEB_CROSS_NO_BIARCH-option-to-disable-biarch-s.patch
patching file debian/rules.defs
Hunk #1 succeeded at 1953 (offset 10 lines).
Hunk #2 succeeded at 2105 (offset 10 lines).

Applying patch /usr/share/cross-gcc/patches/gcc-13/0003-Compilers-now-depend-on-cpp-instead-of-gcc-base.patch
patching file debian/control.m4
Hunk #1 FAILED at 1017.
Hunk #2 succeeded at 1071 (offset 1 line).
Hunk #3 succeeded at 1083 (offset 1 line).
Hunk #4 succeeded at 1096 (offset 1 line).
Hunk #5 succeeded at 1110 (offset 1 line).
Hunk #6 succeeded at 1124 (offset 1 line).
Hunk #7 FAILED at 1142.
Hunk #8 succeeded at 1176 (offset 1 line).
Hunk #9 succeeded at 1214 (offset 1 line).
Hunk #10 FAILED at 1234.
Hunk #11 succeeded at 1275 (offset 2 lines).
Hunk #12 succeeded at 3218 (offset 2 lines).
Hunk #13 succeeded at 3231 (offset 2 lines).
Hunk #14 succeeded at 3246 (offset 2 lines).
Hunk #15 succeeded at 3272 (offset 2 lines).
Hunk #16 succeeded at 3287 (offset 2 lines).
Hunk #17 FAILED at 3301.
Hunk #18 succeeded at 3333 (offset 5 lines).
Hunk #19 succeeded at 3349 (offset 5 lines).
Hunk #20 succeeded at 3366 (offset 5 lines).
Hunk #21 FAILED at 3377.
Hunk #22 succeeded at 3409 (offset 6 lines).
Hunk #23 succeeded at 3423 (offset 6 lines).
Hunk #24 succeeded at 3683 (offset 6 lines).
Hunk #25 FAILED at 3700.
Hunk #26 succeeded at 3749 (offset 8 lines).
Hunk #27 succeeded at 4037 (offset 8 lines).
Hunk #28 FAILED at 4045.
Hunk #29 succeeded at 4081 (offset 10 lines).
Hunk #30 succeeded at 4096 (offset 10 lines).
Hunk #31 succeeded at 4915 (offset 10 lines).
Hunk #32 FAILED at 4926.
Hunk #33 succeeded at 4992 (offset 12 lines).
Hunk #34 FAILED at 5089.
Hunk #35 FAILED at 5455.
Hunk #36 FAILED at 5779.
Hunk #37 succeeded at 5854 (offset 18 lines).
Hunk #38 succeeded at 5884 (offset 18 lines).
Hunk #39 succeeded at 5898 (offset 18 lines).
Hunk #40 succeeded at 5914 (offset 18 lines).
Hunk #41 succeeded at 5928 (offset 18 lines).
Hunk #42 succeeded at 5941 (offset 18 lines).
Hunk #43 succeeded at 5952 (offset 18 lines).
11 out of 43 hunks FAILED -- rejects in file debian/control.m4
patching file debian/rules.conf
Patch /usr/share/cross-gcc/patches/gcc-13/0003-Compilers-now-depend-on-cpp-instead-of-gcc-base.patch does not apply (enforce with -f)
Sun Mar 31 06:22:38 UTC 2024 - chroot-run.sh stopped running as /tmp/jenkins-script-vfiz8A62, removing.
+ cleanup_all
+ rm -r /tmp/gitclone-AzjrVykZ9
Sun Mar 31 06:22:38 UTC 2024 - rebootstrap.sh stopped running as /tmp/jenkins-script-VN9ByUfb, removing.

SSH EXIT CODE: 1
Build step 'Execute shell' marked build as failure
Sending e-mails to: jenkins+debian-bootstrap@jenkins.debian.net helmutg@debian.org abrodkin@synopsys.com
Finished: FAILURE