fix(kernel-build): install build-essential so dpkg-checkbuilddeps passes (#336)

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 <gandalf@Gk2.net>
This commit is contained in:
CyberMind 2026-05-22 08:02:01 +02:00 committed by GitHub
parent a82b8eedb7
commit 97015bbb7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 \