Closed Chostakovitch closed 3 years ago
To build anything on Arch you have to have "base-devel" installed. By uninstalling pkgconf you damaged your "base-devel" group as pkgconf is part of base-devel: https://www.archlinux.org/groups/x86_64/base-devel/
If there is a risk that you uninstalled even more stuff from base-devel, you should run
pacman -S --needed base-devel
To fix your base-devel group.
Oh, right, so anyone making a package on AUR should expect the base-devel
group to be installed. Sorry for the inconvenience. :)
Exactly. It is also documented this way in the Arch Wiki:
https://wiki.archlinux.org/index.php/PKGBUILD#makedepends
Note: The group base-devel is assumed to be already installed when building with makepkg. Members of this group should not be included in makedepends array.
As it may strange, I accidentally remove
pkgconf
from my system, ending up with Wine build errors like :Indeed
ft2build.h
is in/usr/include/freetype2
, and the configure script of Wine have these lines :And
/usr/lib32/pkgconfig/freetype2.pc
has an additional include path forfreetype2
:Cflags: -I${includedir}/freetype2
.I don't really know Arch packaging but it may help to add
pkgconf
as a build dependency to avoid this kind of errors (even if it's kind of my fault in this case).