This is due to some newer bash constructs (you might have to update bash first).
# apply patch level commits on top of annotated tag for pacman
if [[ -n ${_git_patch_level_commit} ]]; then
if [[ v${_git_tag} != $(git describe --tags --abbrev=0 "${_git_patch_lev
error "patch level commit ${_git_patch_level_commit} is not a descen
exit 1
fi
git rebase "${_git_patch_level_commit}"
fi
I took over the patching code from upstream: https://gitlab.archlinux.org/archlinux/packaging/packages/pacman/-/blob/main/PKGBUILD?ref_type=heads#L69
I had a similar issue on some ARMv6 Archlinux ARM systems. You can just comment
out everything but the git rebase "${_git_patch_level_commit}"
.
Which bash version do you have?
Pinned Comments
Morganamilo commented on 2022-02-20 18:30 (UTC)
There's now a custom repo and binaries again. Though only for x86_64 currently.
Custom Repo
Pre compiled binaries
https://pkgbuild.com/~morganamilo/pacman-static/x86_64/bin/