On the first try with makepkg -si, it misses the build number & commit id.
(current commit a7b116537675, but isn't a new issue)
The result is that e.g. llama-server --version confidently reports it is version: 0 (), with similar issues anywhere else a version is expected.
My current workaround is to interrupt it partway through a build, then rerun, somehow this gets the correct value.
Sticking in an echo to check the variables _commit_id/_build_number, they are set correctly in prepare(), but have been forgotten and reset to blank/0 when build() runs, in the PKGBUILD.
Anyone else getting this weird behaviour, or just me?
Pinned Comments
Bink commented on 2026-04-20 01:25 (UTC)
The package now leverages ninja to ensure parallel builds regardless of
makepkg.confsettings.If you have multiple Nvidia GPU's, be sure to install the optional dependency
nccl, for multi-GPU parallelism.To improve re-build times, install the optional dependency
ccache.