You are not logged in.
This error started occurring 6-9 months ago. I'd always used the AUR for the google-chrome package to have a secondary browser.
No previous issues building over the years, nor did I modify any related configuration files.
$ makepkg -s
==> ERROR: $PKGEXT does not contain a valid package suffix (needs '.pkg.tar*', got '.tar.gz')
I reinstalled the full base-devel group to ensure current default configs. A misconfigured /etc/makepkg.conf seemed to be the culprit for other users with this error.
$ tail -n6 /etc/makepkg.conf
#########################################################################
# EXTENSION DEFAULTS
#########################################################################
#
PKGEXT='.pkg.tar.zst'
SRCEXT='.src.tar.gz'
Also, explicitly defining the environmental at build time yields the same error:
$ PKGEXT=".pkg.tar" makepkg -s
==> ERROR: $PKGEXT does not contain a valid package suffix (needs '.pkg.tar*', got '.tar.gz')
Thanks in advance for any insight... I'm sure it's something simple I'm overlooking here.
Last edited by tekstryder (2020-11-13 19:37:16)
Offline
What's the output of each of the following:
type makepkg
pacman -Qo /bin/makepkg
pacman -Qkk pacman
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Thanks Trilby, you nailed it! I had a stupid alias defined for makepkg. Marking as solved.
Offline