Version in base suite: 0.89.3+deb13u1 Base version: sbuild_0.89.3+deb13u1 Target version: sbuild_0.89.3+deb13u2 Base file: /srv/ftp-master.debian.org/ftp/pool/main/s/sbuild/sbuild_0.89.3+deb13u1.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/s/sbuild/sbuild_0.89.3+deb13u2.dsc debian/changelog | 13 +++++++++++++ lib/Sbuild/AptResolver.pm | 4 +++- lib/Sbuild/Build.pm | 5 +++-- 3 files changed, 19 insertions(+), 3 deletions(-) diff -Nru sbuild-0.89.3+deb13u1/debian/changelog sbuild-0.89.3+deb13u2/debian/changelog --- sbuild-0.89.3+deb13u1/debian/changelog 2025-08-16 07:00:34.000000000 +0000 +++ sbuild-0.89.3+deb13u2/debian/changelog 2025-11-28 08:43:59.000000000 +0000 @@ -1,3 +1,16 @@ +sbuild (0.89.3+deb13u2) trixie; urgency=medium + + [ Jochen Sprickerhof ] + * Explicitly select the sbuild-build-depends-main-dummy package arch + (Closes: #1119344) + + [ Johannes Schauer Marin Rodrigues ] + * lib/Sbuild/Build.pm: preserve TMPDIR when running autopkgtest + (Closes: #1121503) + * lib/Sbuild/Build.pm: perltidy + + -- Jochen Sprickerhof Fri, 28 Nov 2025 09:43:59 +0100 + sbuild (0.89.3+deb13u1) trixie; urgency=medium [ Richard Lewis ] diff -Nru sbuild-0.89.3+deb13u1/lib/Sbuild/AptResolver.pm sbuild-0.89.3+deb13u2/lib/Sbuild/AptResolver.pm --- sbuild-0.89.3+deb13u1/lib/Sbuild/AptResolver.pm 2025-08-16 07:00:34.000000000 +0000 +++ sbuild-0.89.3+deb13u2/lib/Sbuild/AptResolver.pm 2025-11-28 08:43:59.000000000 +0000 @@ -57,6 +57,7 @@ my $status = 0; my $session = $self->get('Session'); my $dummy_pkg_name = $self->get_sbuild_dummy_pkg_name($name); + my $arch = $self->get('Host Arch'); # Call functions to setup an archive to install dummy package. $self->log_subsubsection("Setup apt archive"); @@ -77,7 +78,8 @@ # Install the dummy package my (@instd, @rmvd); $self->log("Installing build dependencies\n"); - my @apt_args = ("-yf", \@instd, \@rmvd, 'install', $dummy_pkg_name); + my @apt_args + = ("-yf", \@instd, \@rmvd, 'install', "$dummy_pkg_name:$arch"); if (!$self->run_apt(@apt_args)) { $self->log_error("Package installation failed\n"); diff -Nru sbuild-0.89.3+deb13u1/lib/Sbuild/Build.pm sbuild-0.89.3+deb13u2/lib/Sbuild/Build.pm --- sbuild-0.89.3+deb13u1/lib/Sbuild/Build.pm 2025-08-16 07:00:34.000000000 +0000 +++ sbuild-0.89.3+deb13u2/lib/Sbuild/Build.pm 2025-11-28 08:43:59.000000000 +0000 @@ -2214,8 +2214,9 @@ push @autopkgtest_command, '--', 'null'; } $self->get('Host')->run_command({ - COMMAND => \@autopkgtest_command, - PRIORITY => 0, + COMMAND => \@autopkgtest_command, + ENV_FILTER => ['^TMPDIR$'], + PRIORITY => 0, }); my $status = $? >> 8; # if the source package wasn't built and also initially downloaded by