#1145083 linux: conf utility hangs during build on several architectures

Package:
src:linux
Source:
src:linux
Submitter:
John Paul Adrian Glaubitz
Date:
2026-08-23 05:15:01 UTC
Severity:
normal
#1145083#5
Date:
2026-08-22 08:40:17 UTC
From:
To:
Source: linux
Version: 7.1.9-1
Severity: important
X-Debbugs-Cc: debian-alpha@lists.debian.org, debian-superh@lists.debian.org, debian-sparc@lists.debian.org
User: debian-alpha@lists.debian.org
Usertags: alpha
User: debian-superh@lists.debian.org
Usertags: sh4
User: debian-sparc@lists.debian.org
Usertags: sparc64

Hi,

the conf utility hangs on several architectures such as sparc64 during build [1][2][3]:

make[4]: Leaving directory '/build/reproducible-path/linux-7.1.9/debian/build/build_sparc64_none_sparc64'
make[3]: Leaving directory '/build/reproducible-path/linux-7.1.9'
yes "" | env -u ABINAME -u ARCH -u FEATURESET -u FLAVOUR -u UPSTREAMVERSION -u LOCALVERSION -u KBUILD_HOSTCFLAGS \
-u HOSTCFLAGS -u KBUILD_HOSTLDFLAGS DISTRIBUTION_OFFICIAL_BUILD=1 DISTRIBUTOR="Debian" DISTRIBUTION_VERSION=\
"7.1.9-1" KBUILD_BUILD_TIMESTAMP="@1787313086" KBUILD_BUILD_VERSION_TIMESTAMP="Debian 7.1.9-1 (2026-08-21)" \
KBUILD_BUILD_USER="debian-kernel" KBUILD_BUILD_HOST="lists.debian.org" KBUILD_VERBOSE=1 /usr/bin/make KCFLAGS=\
-fdebug-prefix-map=/build/reproducible-path/linux-7.1.9/= KAFLAGS=-fdebug-prefix-map=/build/reproducible-path/\
linux-7.1.9/= KRUSTFLAGS=--remap-path-prefix=/build/reproducible-path/linux-7.1.9/= HOSTRUSTFLAGS=--remap-path-prefix\
=/build/reproducible-path/linux-7.1.9/= -C 'debian/build/source_none' O='/build/reproducible-path/linux-7.1.9/\
debian/build/build_sparc64_none_sparc64' oldconfig >/dev/null
E: Build killed with signal TERM after 600 minutes of inactivity

Attaching strace shows the same string written over and over again:

write(1, "\n        EROFS LZMA default maxi"..., 108) = 108
write(1, "\n        EROFS LZMA default maxi"..., 108) = 108
write(1, "\n        EROFS LZMA default maxi"..., 108) = 108
write(1, "\n        EROFS LZMA default maxi"..., 108) = 108
write(1, "\n        EROFS LZMA default maxi"..., 108) = 108
write(1, "\n        EROFS LZMA default maxi"..., 108) = 108
write(1, "\n        EROFS LZMA default maxi"..., 108) = 108
write(1, "\n        EROFS LZMA default maxi"..., 108) = 108
write(1, "\n        EROFS LZMA default maxi"..., 108) = 108
write(1, "\n        EROFS LZMA default maxi"..., 108) = 108
write(1, "\n        EROFS LZMA default maxi"..., 108) = 108
write(1, "\n        EROFS LZMA default maxi"..., 108) = 108
write(1, "\n        EROFS LZMA default maxi"..., 108) = 108
write(1, "\n        EROFS LZMA default maxi"..., 108) = 108
write(1, "\n        EROFS LZMA default maxi"..., 108) = 108
write(1, "\n        EROFS LZMA default maxi"..., 108) = 108
write(1, "\n        EROFS LZMA default maxi"..., 108) = 108
write(1, "\n        EROFS LZMA default maxi"..., 108) = 108
write(1, "\n        EROFS LZMA default maxi"..., 108) = 108

Adrian

#1145083#10
Date:
2026-08-22 09:11:46 UTC
From:
To:
Hi,

The problem seems to be that CONFIG_EROFS_FS_ZIP_LZMA_DEFAULT_MAX_STREAMS cannot be set
with the "yes" command. Instead, it needs to be defined in debian/config/config.

Testing this now.

Adrian

#1145083#15
Date:
2026-08-23 05:12:06 UTC
From:
To:
Hi,

I can confirm that adding CONFIG_EROFS_FS_ZIP_LZMA_DEFAULT_MAX_STREAMS=16 to debian/config/config
fixes the problem and the kernel package can be built normally on sparc64. I assume that the same
fix would also work on alpha and sh4.

Thanks,
Adrian