fix(ci): target glibc 2.35 instead of 2.31

glibc 2.31 is too old for system shared libs (libasound, libdbus)
on Ubuntu 22.04 runners which have glibc 2.35. The linker rejects
symbols from libs compiled against newer glibc.

glibc 2.35 covers: Raspberry Pi OS Bookworm (2.36), Ubuntu 22.04+,
Armbian Bookworm, DietPi Bookworm. Bullseye (2.31) is EOL June 2026.

cc
This commit is contained in:
vicrodh committed 2026-04-09 07:08:22 -06:00
1 parent 7a522623cf
commit 22a34b4f3e
1 file changed
+2 -2
+2 -2
View File
@@ -25,7 +25,7 @@ jobs:
- name: Build qbzd (x86_64, glibc 2.31)
working-directory: crates
run: cargo zigbuild --release --target x86_64-unknown-linux-gnu.2.31 -p qbzd
run: cargo zigbuild --release --target x86_64-unknown-linux-gnu.2.35 -p qbzd
- name: Strip binary
run: strip crates/target/x86_64-unknown-linux-gnu/release/qbzd
@@ -72,7 +72,7 @@ jobs:
PKG_CONFIG_SYSROOT_DIR: /usr/aarch64-linux-gnu
PKG_CONFIG_PATH: /usr/lib/aarch64-linux-gnu/pkgconfig
PKG_CONFIG_ALLOW_CROSS: 1
run: cargo zigbuild --release --target aarch64-unknown-linux-gnu.2.31 -p qbzd
run: cargo zigbuild --release --target aarch64-unknown-linux-gnu.2.35 -p qbzd
- name: Strip binary
run: aarch64-linux-gnu-strip crates/target/aarch64-unknown-linux-gnu/release/qbzd