marfrit a1ff6de652 libva-v4l2-request-fourier-debian: pin trixie libva-dev for ABI
The libva-v4l2-request-fourier .deb shipped with the wrong VA-API
symbol export because the CI runner is Arch (libva 2.23 = VA-API
1.23) while the install target is Debian trixie (libva 2.22 = VA-API
1.22).  At compile time, <va/va.h>'s VA_MAJOR/VA_MINOR macros are
baked into the driver's __vaDriverInit_<MAJOR>_<MINOR> symbol name.
trixie's libva runtime looks up __vaDriverInit_1_22, our driver only
exported __vaDriverInit_1_23, so dlsym() returned NULL and libva
fell back to its sentinel error "has no function __vaDriverInit_1_0".
Result: ffmpeg -hwaccel vaapi fails on startup, vainfo fails the
same way, on every Pi 5 / CM5 that installed the package.

The driver itself doesn't link libva.so (no NEEDED entry — confirmed
via readelf on higgs), so the only thing that matters is the symbol
NAME the compiler bakes in.  Fix is small: in build-deb.sh, download
trixie's libva-dev / libva2 / libva-drm2 .deb from deb.debian.org,
extract to a sysroot, rewrite the .pc prefixes, and set
PKG_CONFIG_PATH so pkg-config returns trixie headers regardless of
what the runner has installed.  The link step still resolves -lva
against the sysroot's libva.so.2, but the resulting .so has no
NEEDED entry for it.

Added a hard sanity check at the end of build-deb.sh: fail the build
if the produced .so doesn't export __vaDriverInit_1_22.  This makes
future ABI-skew failures loud at CI time instead of silent install-
then-refuse-to-load on the target.

Tested on boltzmann (aarch64): sysroot build produces a .so exporting
__vaDriverInit_1_22 (verified via nm -D).  Source unchanged from
c332d34; only the build env differs.

pkgver/upstream unchanged.  PKGREL bumped 1 -> 2 (rebuild against
pinned trixie libva-dev) so apt picks up the new .deb on higgs.

This is the LIBVA-2 unblocker — the runtime-libva-bind failure was
masking whether the LIBVA-1 per-codec dispatch actually works on
higgs.  Once -2 lands on packages.reauktion.de, apt upgrade on higgs
and the daedalus daemon log + rpi-hevc-dec dispatch can be validated
end-to-end.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-20 14:31:40 +02:00

marfrit-packages

Overlay package repository for the reauktion.de infrastructure.

Published at: https://packages.reauktion.de/

Scope

Tree Arches Notes
Arch Linux ARM (ALARM) aarch64 primary target — Pi 5, Rock 5, ampere, KU-1255 test rigs
Arch Linux x86_64 for nuccies / workstations
Debian arm64, amd64 for non-Arch hosts

MIPS is intentionally unsupported. The Fritz!Box is sacred.

Layout (served at packages.reauktion.de)

packages.reauktion.de/
├── arch/
│   ├── aarch64/{marfrit.db,marfrit.files,*.pkg.tar.{xz,zst}{,.sig}}
│   └── x86_64/...
├── debian/
│   ├── dists/
│   │   ├── bookworm/{Release,InRelease,Release.gpg,main/binary-{arm64,amd64}/...}
│   │   └── trixie/...
│   └── pool/main/...
└── marfrit.gpg      # public signing key

Adding the repo (Arch / ALARM)

curl -sO https://packages.reauktion.de/marfrit.gpg
sudo pacman-key --add marfrit.gpg
sudo pacman-key --lsign-key 92D5E96D8F63C75E4116AA1FF5C8C4603D0D250C

# Paste at the end of /etc/pacman.conf:
[marfrit]
Server = https://packages.reauktion.de/arch/$arch
SigLevel = Required DatabaseRequired

sudo pacman -Sy

Adding the repo (Debian)

sudo install -m 755 -d /etc/apt/keyrings
curl -s https://packages.reauktion.de/marfrit.gpg | \
    sudo gpg --dearmor -o /etc/apt/keyrings/marfrit.gpg

echo "deb [signed-by=/etc/apt/keyrings/marfrit.gpg] https://packages.reauktion.de/debian $(lsb_release -cs) main" | \
    sudo tee /etc/apt/sources.list.d/marfrit.list

sudo apt update

Signing key

  • Fingerprint: 92D5E96D8F63C75E4116AA1FF5C8C4603D0D250C
  • UID: Markus Fritsche (marfrit-repo signing) <mfritsche@reauktion.de>
  • Expires: 2030-04-13

Key management procedures (renewal, rotation, revocation) live in DokuWiki at private:reauktion:marfrit_repo_key (admin-only).

Layout in this Git repo

marfrit-packages/
├── README.md
├── arch/
│   └── distcc-avahi/                # ALARM distcc with --with-avahi
├── debian/                          # (future) Debian source packages
└── .gitea/
    └── workflows/
        └── build.yml                # CI pipeline stub

Mail

mfritsche@reauktion.de.

S
Description
ALARM aarch64 + Arch x86_64 + Debian arm64/amd64 overlay repo — published at packages.reauktion.de
Readme 3.1 GiB
Languages
Shell 100%