ffmpeg-debian + mpv-debian: pacman-on-Debian latent break — fails on next pkgver bump #55
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
PR #47 ("build.yml: route 4 fourier-debian jobs to debian-aarch64 (bohr)") changed
runs-on:fromarch-aarch64todebian-aarch64for four jobs in.gitea/workflows/build.yml, but only two install-deps step bodies actually got converted frompacmantoapt-get(libva-v4l2-request-fourier-debian, post-PR #44; daedalus + dkms-debian, post-PR #50).The remaining two jobs still call
pacman -Syu:ffmpeg-v4l2-request-debian—.gitea/workflows/build.ymlline ~927mpv-fourier-debian—.gitea/workflows/build.ymlline ~1066These will fail instantly on the bohr runner the next time either's
pkgveractually changes, because the Debian runner has nopacmanbinary. Right now they're silently skipped bycheck-already-published.sh(their published versions inpackages.reauktion.de/debian/dists/trixie/mainalready match the stagedPKGVERinbuild-deb.sh), so the latent break isn't visible.How it'll surface
Next upstream bump of either package:
arch/*/PKGBUILD_commit + pkgver (and presumablydebian/*/build-deb.shto match).check-already-published.shreturnsskip=0(new version).pacman -Syu --noconfirm --needed ...→ command not found → step fails → job fails..debnot built, not published. Existing host fleet (higgs, ampere, fresnel) stays on old version.Observable: the
arch/*build atruns-on: arch-aarch64succeeds and publishes a new.pkg.tar; thedebian/*counterpart atruns-on: debian-aarch64fails. Arch and Debian repos drift.Repro / detection
From the marfrit-packages root:
Manual triangulation: the
runs-on: debian-aarch64jobs that still referencepacmanare the broken ones.On higgs (Debian trixie aarch64) the same
build-deb.shfor either package runs cleanly with the right apt-get build-deps installed — confirmed for daedalus-v4l2 (PR #50 verification) and libva-v4l2-request-fourier (PR #44 verification). The fix is purely the CI yaml's install-deps step body.Proposed fix
Same pattern PR #50 used for daedalus-debian + dkms-debian — replace each broken job's
retry pacman -Syu ...block with:Debian package name mappings (vs. the current Arch names):
For
mpv-fourier-debian, additionally drop the[marfrit] ffmpeg-v4l2-request-fourier preinstallstep (mirroring daedalus-debian's PR #50 fix) — apt's libavcodec-dev / libavformat-dev / libavutil-dev provide matching trixie headers, and the daemon path dlopen's at runtime so any header set works.Scope
Two jobs, two install-deps blocks. ~30-line patch. Already validated on equivalent jobs (daedalus PR #50, libva PR #44).
Happy to ship the patch as a single PR. Flagging as an issue first so the operator decides whether to land it preemptively or wait until the next pkgver bump forces it.