Repository navigation
Conversation
AUR helpers keep $SRCDEST between releases; with the release-shared name cordial.pkg.tar.zst, makepkg finds the previous release download there and fails the new release checksum. Seen 2026-10-19: a v0.17.0-era cache file (0835b7ed..., the old AUR pin) failed the 0.34.0 pin (d1a72ea8...). Embedding $pkgver in the file alias gives every release its own cached name; a bump now touches pkgver, the alias, the URL and the checksum together.
cordial-bin bumps also touch the now version-embedded source alias, and the recorded AUR state moves from the 2026-09-30 0.17.0 snapshot to the 2026-10-19 re-sync at 0.34.0.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem: a release-shared source filename defeats AUR helpers' source cache
cordial-bin'ssourceentry pins the URL correctly, but the left side — the filename makepkg and AUR helpers key on in$SRCDEST— was identical across releases:AUR helpers keep
$SRCDESTbetween releases. Whoever has builtcordial-binonce has the previous release's file sitting there under that same name; on the next releasemakepkgreportsFound cordial.pkg.tar.zst, skips re-downloading, and fails the new release's pinned checksum with a bare:…which reads like an upstream problem but is just the old release being found under the new release's name. Observed 2026-10-19 during the
0.34.0AUR update: the cached file was thev0.17.0artifact, sha2560835b7ed…— matching that era's pin verbatim.Fix
Make the local filename release-unique by embedding
$pkgver:pkgver, the alias, the pinned URL and the checksum (noted inPUBLISHING.mdtoo)..SRCINFO's only change is the samesource =line — nothing else can drift. Useful roundtrip: the hand-maintained.SRCINFOin this directory matchedmakepkg --printsrcinfooutput exactly, except that one line.Testing
Full
makepkg --nodeps -fagainst this exact file atv0.34.0on Arch:namcapclean on the PKGBUILD (exit 0); on the package only the usual notes for CI-pre-stripped binaries. The repack is a straight copy of the CI artifact by design — no compilation involved.Second commit:
PUBLISHING.mdcordial-bin's bump paragraph now lists four things (adds the release-unique alias).0.34.0on 2026-10-19 bytaxin-404after a file-by-file diff againstmain; the remaining differences are the maintainer line,cordial-git's pinned snapshot version, this alias change, and the root-level 0BSD packaging-license file.The same alias fix is already live in the AUR package's own repository (
aur.archlinux.org/cordial-bin, commit76516c5, where the download → validate → repack cycle has run since this morning), so this PR restores agreement between upstream and what the AUR ships.