From daee1325c124f39c765b4471fb007e173dfc1f07 Mon Sep 17 00:00:00 2001 From: Bjorn Andersson Date: Sun, 5 Jul 2026 17:51:57 +0000 Subject: [PATCH] ci: install target libc headers for Debian cross builds The Debian cross jobs install packages with --no-install-recommends. The cross compiler packages only recommend the target libc development headers, so the jobs can reach the compile step without basic headers such as sys/file.h, sys/socket.h, and bits/wordsize.h. Install libc6-dev for the target architecture explicitly. This provides the normal system headers needed by the cross compiler and keeps the CI setup independent of package recommendations. Signed-off-by: Bjorn Andersson --- ci/debian.cross-compile.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/debian.cross-compile.sh b/ci/debian.cross-compile.sh index a685738..153c526 100755 --- a/ci/debian.cross-compile.sh +++ b/ci/debian.cross-compile.sh @@ -19,6 +19,7 @@ dpkg --add-architecture $ARCH apt update apt install -y --no-install-recommends \ + libc6-dev:${ARCH} \ libftdi1-dev:${ARCH} \ libudev-dev:${ARCH} \ libyaml-dev:${ARCH} \