Repository navigation
build(packaging): point PKGBUILD at v0.3.1 and disable LTO - #408
Merged
Merged
Conversation
v0.3.1 is the first release carrying `make install-system`, so the
PKGBUILD is publishable now — pkgver and sha256sums updated against
that tarball.
`options=('!lto')` is required, not defensive: makepkg's default
`lto` option compiles mlua's vendored Lua 5.4 C sources with
-flto=auto, leaving GCC LTO IR in the static lib that rust-lld cannot
read. A clean build without it fails with 17 `undefined symbol: lua_*`
link errors.
Refs #375
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GFGFsYeFLqRaWUAzXonwd3
There was a problem hiding this comment.
The PKGBUILD updates are well-structured and thoroughly tested. The version bump to 0.3.1, SHA256 checksum update, and LTO disabling are all properly implemented with clear documentation. The extensive verification described in the PR description confirms these changes work correctly.
You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.
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.
Refs #375. Makes
packaging/PKGBUILDactually build.pkgver=0.3.1+ realsha256sums— v0.3.1 is the first release containingmake install-system.options=('!lto'), which is required, not defensive: makepkg's defaultltooption compiles mlua's vendored Lua 5.4 C sources with-flto=auto, so the static lib carries GCC LTO IR thatrust-lldcan't read.Verification (all on a real Arch box,
makepkg)makepkg --verifysource→ checksum passes against the published v0.3.1 tarball.makepkg -f --nodepson a cleansrc/→ exit 0, producesttymap-0.3.1-1-x86_64.pkg.tar.zstcontainingusr/bin/ttymap,usr/share/ttymap/init.lua, 48 files underusr/share/ttymap/lua/, plus both licenses and the README.check()(the fullcargo test) ran as part of it.!ltoremoved, cleansrc/→ fails, exit 4, 17 ×undefined symbol: lua_*. So the option is load-bearing and the comment above it is accurate.usr/shareat the real/usr/sharein a user namespace, bind-mounted an empty dir over the repo'sruntime/and pointedHOMEat an empty dir, so/usr/share/ttymapwas the only runtime tier. The packaged binary painted 6481 Braille cells, 6226 non-blank.Still manual, still yours:
git pushtoaur.archlinux.org/ttymap.gitneeds your SSH key.🤖 Generated with Claude Code
https://claude.ai/code/session_01GFGFsYeFLqRaWUAzXonwd3