Repository navigation
fix(candy/typst): per-distro package names (xz-utils is deb-family; fedora/arch/alpine use xz) - #393
Conversation
…edora/arch/alpine use xz)
Review — BLOCKHead SHA: Change class: candy config (per-distro packaging lists in Blocks
Verdict: BLOCK deepseek.com/deepseek-v4-flash — pi-review-action. |
Review — PASSHead SHA: Security screen: PASS — no scope mismatch (diff = exactly the described per-distro package rename), no secrets/egress beyond the candy's own pre-existing build step, no guardrail or supply-chain changes. Checklist: All applicable rules PASS or NA.
Comment intake: prior Verdict: PASS deepseek.com/deepseek-v4-flash — pi-review-action. |
Summary
charly#386 added
package: [xz-utils, curl]to the typst candy's global package list — butxz-utilsis the Debian/Ubuntu package name. Fedora/Arch/Alpine ship the package asxz. A fedora box composing the typst candy fails atdnf install xz-utilswithNo match for argument: xz-utils.This change makes the typst candy's build-time tools per-distro:
xz-utilsfor debian/ubuntu,xzfor fedora/arch/alpine,curlglobal.How tested
The failing compose (pre-fix, fedora-coder box at the #391 tag):
Post-fix — fedora-coder builds GREEN (fresh disposable build, binary 2026.236.1317 from this branch's tree):
The earlier
No match for argument: xz-utilsis gone (the fedora entry now installsxz). The transientrepomd.xml GPG signature verification errorseen in one intermediate run was a stale dnf-cache artifact from the pre-#391 wrong-URL era — RCA'd: the publishedRPM-GPG-KEY-charly(fingerprint 978DFF11A951A830F7ADA2D4062B073E9D1BAE2E) verifiesamd64/repodata/repomd.xml(gpg --verifypasses), and a fresh build imports it correctly (rpm --import {{.gpgkey}}). No residual failure.The per-distro package names: debian/ubuntu
xz-utils(apt), fedora/archxz(dnf/pacman), alpinexz(apk). The fedora path is the one that diverged (the globalxz-utilsfailed there); the debian/ubuntu/arch/alpine entries use the same per-distro package mechanism and their names are the canonical distro spellings (verified against the distro vocabularies). The fedora-coder build above exercises the changed fedora entry end-to-end; the other entries are the same schema with the canonical package names.Rulebook compliance
No match for argument: xz-utilswas traced to the deb-family package name in the global list; the fix is per-distro namingChange classification
analysed on a live system— the failure was reproduced live; the post-fix resolution verified live (the fedora compose advances past the typst step)Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (analysed on a live system)