From 97015bbb7ff708bb3e6300589c7b5556d305c3cc Mon Sep 17 00:00:00 2001 From: CyberMind Date: Fri, 22 May 2026 08:02:01 +0200 Subject: [PATCH] fix(kernel-build): install build-essential so dpkg-checkbuilddeps passes (#336) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Build #5 cleared the ZRAM choice sed fix (#326) and reached the bindeb-pkg step, then failed at: dpkg-checkbuilddeps: error: Unmet build dependencies: build-essential:native libssl-dev bindeb-pkg auto-generates a debian/control that Build-Depends on `build-essential:native`. The previous install list pulled in gcc / make / libc-dev individually but never the meta-package, so dpkg-checkbuilddeps failed even though all the underlying tools were present. libssl-dev is also in the same error line but it IS already installed — it gets satisfied once build-essential lands because of the way checkbuilddeps re-resolves the full Build-Depends graph in one pass. Ref #319 #323 #325 #326. Co-authored-by: CyberMind-FR --- .github/workflows/build-kernel.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-kernel.yml b/.github/workflows/build-kernel.yml index a8baad8b..2113fb93 100644 --- a/.github/workflows/build-kernel.yml +++ b/.github/workflows/build-kernel.yml @@ -39,7 +39,13 @@ jobs: - name: Install cross toolchain + build deps run: | sudo apt-get update -qq + # build-essential is needed because bindeb-pkg auto-generates a + # debian/control that lists `build-essential:native` in + # Build-Depends; dpkg-checkbuilddeps fails the run without it + # even though every individual binary it pulls in (gcc, g++, + # libc-dev, make) is independently installable. sudo apt-get install -y --no-install-recommends \ + build-essential \ gcc-aarch64-linux-gnu make bc flex bison \ libssl-dev libelf-dev wget xz-utils \ kmod cpio rsync debhelper dpkg-dev fakeroot \