Closed bradc87 closed 3 years ago
Does this occur if you just install freetype2-infinality-remix
and not freetype2-demos-infinality-remix
?
If that works, then install freetype2-infinality-remix
first, and then the demos.
I have the same problem. Just doing yay -S freetype2-infinality-remix
gives this error.
Okay, I think the problem occurs because freetype2-infinality-remix
and freetype2-demos-infinality-remix
are being built in a split package. When compiling the demos, it picks up the system freetype2
headers, which are version 2.10.4 if the official package is installed. There appear to be breaking changes between 2.10.4 and 2.10.1, thus the build error.
I think the only way forward is to split the PKGBUILD into 2 different packages, or just drop the demos all together.
The following diff to the PKGBUILD is a minimal workaround for now. Will implement a proper solution in the next few days.
--- a/freetype2-infinality-remix/PKGBUILD
+++ b/freetype2-infinality-remix/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: bohoomil <bohoomil at zoho dot com>
pkgbase=freetype2-infinality-remix
-pkgname=(freetype2-infinality-remix freetype2-demos-infinality-remix)
+pkgname=freetype2-infinality-remix
pkgver=2.10.1
pkgrel=1
_patchrel=2019.08.21
@@ -73,8 +73,8 @@ build() {
make
# Build FreeType demos
- cd ../freetype2-demos
- make
+# cd ../freetype2-demos
+# make
}
Version 2.10.1-2 in the AUR should fix this now.
thanks..works perfectly now