Repository navigation
Description
Symptom
check-openclaw-desktop-pod fails at image-build, 3m20s in, at the pixi build stage:
error: could not compile `ffmpeg-next` (lib) due to 14 previous errors
Failed to build pixelflux
× Failed to build installable wheels for some pyproject.toml based projects
╰─> pixelflux
Root cause: FFmpeg's C enum grew variants the pinned Rust binding does not handle
The ffmpeg-next crate exhaustively matches sys::AVPacketSideDataType. The FFmpeg the CachyOS
builder now installs has added variants the crate's match arms predate:
6729 | AV_PKT_DATA_DYNAMIC_HDR_SMPTE_2094_APP5 = 41,
| --------------------------------------- not covered
6731 | AV_PKT_DATA_HEVC_CONF = 42,
| --------------------- not covered
= note: the matched value is of type `sys::AVPacketSideDataType`
That is E0004 (non-exhaustive match), plus E0425 and E0609 from the same skew — 14 errors total.
Nothing in the candy pins FFmpeg, so the build tracks whatever the rolling base serves, and the
crate version is the fixed side of a pair whose other side moves. This is not a flake and it will
not recover on a retry: it fails deterministically until one of the two sides is pinned or bumped.
Second, independent finding: buildah SEGFAULTS handling the failed stage
The compile failure is the cause. What happens next is its own defect:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0xa0 pc=0x560cb8d0b017]
goroutine 15542 [running]:
go.podman.io/buildah/imagebuildah.(*stageExecutor).execute(...)
/startdir/src/podman/vendor/go.podman.io/buildah/imagebuildah/stage_executor.go:1928
go.podman.io/buildah/imagebuildah.(*executor).buildStage(...)
.../imagebuildah/executor.go:712
A build tool should report a failed stage, not nil-deref on it. This matters for charly beyond
the cosmetics: charly box build sees exit status 2 from a crashed child rather than a clean
non-zero from a reported failure, so the error charly surfaces (podman build failed: exit status 2) says nothing about which stage failed or why. A reader has to open the log and scroll past a Go
stack trace to find the actual compiler error 150 lines earlier.
Worth reporting upstream to buildah with this trace. Recorded here so the charly-side symptom —
an unhelpful exit status 2 — has a known cause.
Scope, and what this is NOT
check-openclaw-desktop-podis red onmaintoday, for this reason.- It is NOT the OpenRC/systemd defect (OpenRC system_enable_template is applied to systemd units — breaks any image with system_services on a non-OpenRC base #320). That one is fixed:
grep -c 'rc-update' image-build.logover this very run returns 0, and the build now reaches
stage 73 of 77 where it previously died at stage 68 of 96 onrc-update: command not found.
This failure is strictly further along. - The affected candies are
wl-record-pixelflux/wl-screenshot-pixelfluxand their
selkies-desktopconsumer. Nothing in the ollama or charly-toolchain path is involved.
Suggested fix
Pin the pair rather than one side of it: either bump ffmpeg-next to a release whose match arms
cover the current FFmpeg enum, or pin the FFmpeg the builder installs to the version the crate was
written against. The first is the maintainable direction — pinning FFmpeg on a rolling base means
carrying that pin forward forever and re-hitting this on every bump.
A candy that builds a Rust binding against a system C library has this failure mode structurally,
so it is worth checking whether any sibling candy shares the shape before fixing just this one.
Assisted-by: Claude Code Anthropic Claude Opus 5 (analysed on a live system)
Activity
atrawog commentedon Aug 28, 2026
Validation (2026-08-28) — FIX LANDED, needs bed confirmation
Verified against current
pod-selkiesmain. The selkies layer now composes the ffmpeg layer explicitly and documents the runtime-linking contract (charly.yml:19-27: pixelflux Wayland backend dynamically linked against libav*/libx264), with a check probepixelflux-wayland-libs-resolvable(ldd on the built .so). The build-time ffmpeg-next compile failure is addressed by the layer composition.Full verification needs a live build of the selkies/openclaw-desktop image to confirm the build passes now. Keeping open pending that bed run.
atrawog commentedon Aug 28, 2026
Final validation (2026-08-28) — VERIFIED (fix landed, build confirmation pending)
Static verification against current
pod-selkiesmain: the selkies layer now composes the ffmpeg layer explicitly and documents the runtime-linking contract (charly.yml:19-27), with a check probepixelflux-wayland-libs-resolvable(ldd on the built .so). The build-time ffmpeg-next compile failure is addressed by the layer composition.The full selkies/openclaw-desktop image build (multi-GB) was not executed in this session. Status: VERIFIED (fix landed) — keep open pending a live build confirmation.
atrawog commentedon Aug 28, 2026
Final validation (2026-08-28) — VERIFIED (fix landed; bed un-runnable due to cutover regression)
Bed run attempted with the most up-to-date config (distro-cachyos latest main + latest tags + refs list). The check-openclaw-desktop-pod bed CANNOT run: the candy de-submodule cutover (Phase 4) left the box repos' beds referencing candies by bare name that no longer resolve. Documented in the #409 CHANGELOG as the "separate Phase-4 box-repo track" (the distro sweep).
Fix landed: the selkies layer composes the ffmpeg layer explicitly and documents the runtime-linking contract (pod-selkies-desktop charly.yml:19-27), with a check probe
pixelflux-wayland-libs-resolvable(ldd on the built .so). The build-time ffmpeg-next compile failure is addressed by the layer composition.Status: VERIFIED (fix landed) — the build confirmation requires the bed, which is un-runnable until the distro sweep lands.