From 51daf760b70ca5fcd5fa091b0772d4ac3e0a3319 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Sat, 29 Aug 2026 08:08:14 -0600 Subject: [PATCH] =?UTF-8?q?docs+ci:=20two=20glibc=20floors=20=E2=80=94=20x?= =?UTF-8?q?86=5F64=202.35,=20arm64=20desktop=202.39,=20qbzd=202.35=20every?= =?UTF-8?q?where?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Decided 2026-08-29: the arm64 Qt build only works on ubuntu-24.04-arm (aqt's arm64 host tools segfault on 22.04-arm), so the arm64 desktop app requires glibc 2.39; qbzd keeps building on 22.04-arm at 2.35 so a trimmed Pi OS bookworm image stays a valid target. The floor gate asserts per arch instead of warning; README states both floors. cc --- .github/workflows/build-qt-linux.yml | 25 ++++++++++++------------- README.md | 14 ++++++++++---- 2 files changed, 22 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build-qt-linux.yml b/.github/workflows/build-qt-linux.yml index 26be79fb8..d79f92adb 100644 --- a/.github/workflows/build-qt-linux.yml +++ b/.github/workflows/build-qt-linux.yml @@ -72,8 +72,8 @@ jobs: name: build (${{ inputs.arch }}) # aarch64 on 24.04-arm: aqt's arm64 Qt host tools (6.8.3 AND 6.9.3 qmake) # SIGSEGV on ubuntu-22.04-arm with a clean ldd (2026-08-29, two runs). - # EXPERIMENT — the glibc floor gate below only warns for aarch64 until - # the owner rules on the Pi (bookworm = 2.36) floor. + # Accepted 2026-08-29: the arm64 DESKTOP floor is glibc 2.39; qbzd keeps + # 2.35 (Pi OS bookworm) — see the floor gate below. runs-on: ${{ inputs.arch == 'aarch64' && 'ubuntu-24.04-arm' || 'ubuntu-22.04' }} timeout-minutes: 120 env: @@ -181,20 +181,19 @@ jobs: [ -z "$hits" ] || { echo "::error::qbz-qt graph resolves Slint crates:"; echo "$hits"; exit 1; } # The empirical-verification rule: the README/website say what objdump - # says, not what the runner image advertises. - - name: glibc floor gate (<= 2.35) + # says, not what the runner image advertises. Two floors, decided + # 2026-08-29: x86_64 2.35 (ubuntu-22.04 runner); aarch64 2.39 — the + # arm64 Qt host tools only run on ubuntu-24.04-arm — while qbzd stays at + # 2.35 on both (its own job, 22.04-arm) for the 1 GB Pi OS boards. + # README "Requires glibc" + the website glibcNote must match these. + - name: glibc floor gate (x86_64 <= 2.35, aarch64 <= 2.39) run: | set -euo pipefail floor=$(objdump -T qbz | grep -oE 'GLIBC_[0-9]+\.[0-9]+' | sort -Vu | tail -1) - echo "glibc floor: $floor" - highest=$(printf '%s\n' "$floor" "GLIBC_2.35" | sort -V | tail -1) - if [ "$highest" != "GLIBC_2.35" ]; then - if [ "${{ inputs.arch }}" = aarch64 ]; then - echo "::warning::aarch64 glibc floor $floor exceeds 2.35 (24.04-arm runner experiment; owner decision pending)" - else - echo "::error::glibc floor $floor exceeds 2.35"; exit 1 - fi - fi + limit=$([ "${{ inputs.arch }}" = aarch64 ] && echo GLIBC_2.39 || echo GLIBC_2.35) + echo "glibc floor: $floor (limit $limit)" + highest=$(printf '%s\n' "$floor" "$limit" | sort -V | tail -1) + [ "$highest" = "$limit" ] || { echo "::error::glibc floor $floor exceeds $limit"; exit 1; } # Self-contained AppDir. The plugin scans QML_SOURCES_PATHS for imports # and copies exactly the Qt QML modules the app uses (Effects, labs, diff --git a/README.md b/README.md index b2fac8a9a..6f72dfe42 100644 --- a/README.md +++ b/README.md @@ -152,15 +152,19 @@ EOF sudo apt update && sudo apt install qbz ``` -> Requires glibc 2.39+ (Ubuntu 24.04+, Debian 13+). For older releases use -> Flatpak, Snap, or AppImage. +> **x86_64:** glibc 2.35+ (Ubuntu 22.04+, Debian 12+, Mint 21+). +> **arm64 (desktop app):** glibc 2.39+ (Ubuntu 24.04+, Debian 13+) — the Qt +> arm64 build needs it; Raspberry Pi OS *bookworm* is 2.36, so use `qbzd` +> there (2.35+, see below). Older releases: Flatpak, Snap, or AppImage. ### RPM (Fedora / openSUSE) Download from [Releases](https://github.com/vicrodh/qbz/releases): `sudo dnf install ./qbz-*.rpm` -> Requires glibc 2.39+ (Fedora 40+, openSUSE Tumbleweed). +> **x86_64:** glibc 2.35+ (Fedora 36+, openSUSE Leap 15.6+ / Tumbleweed). +> **arm64 (desktop app):** glibc 2.39+ (Fedora 40+). `qbzd` packages stay at +> 2.35+ on both architectures. ### Gentoo @@ -379,7 +383,9 @@ Run QBZ without a screen: `qbzd` is a standalone ~25 MB binary (shipped inside the deb/rpm packages and as its own tarball) that turns any Linux box — a Raspberry Pi, a NAS, the living-room mini-PC — into a bit-perfect **Qobuz Connect endpoint** that appears in the official Qobuz apps like a hardware -streamer. +streamer. It needs only **glibc 2.35+ on x86_64 and arm64** (Raspberry Pi OS +*bookworm* and *trixie*, 1 GB boards included) — deliberately lower than the +arm64 desktop app's 2.39, so a trimmed Pi image stays a valid target. - Daemon + full CLI + terminal setup wizard (TUI) in one binary - Browser-based login that works over SSH; one-file settings hand-off from