For anyone having problems compiling, the error clearly states the solution:
/build/lib32-amdvlk-2021q2.5/src/pal/src/util/lnx/lnxUuid.cpp:32:1: note: ‘mktime’ is defined in header ‘<ctime>’; did you forget to ‘#include <ctime>’?
31 | #include <random>
+++ |+#include <ctime>
32 | #include <unistd.h>
This can be done in another terminal, after ninja finishes getting all the files in their respective subdirs and when ninja starts compiling:
sed -i '31 a #include <ctime>' ~/.cache/yay/lib32-amdvlk-2021q2.5/src/pal/src/util/lnx/lnxUuid.cpp
Pinned Comments
luka-devnull commented on 2021-08-29 20:29 (UTC)
Hi! If you're like me and have a pre-Raven (GCN 5.0 APU) or pre-Polaris (GCN 4.0) GPU then you're likely wondering why your Vulkan suddenly stopped working during a system upgrade in the past 6 weeks. Well, AMD saw fit to stop maintaining support for us in AMDVLK. Isn't that great? >.>
Anyway, I pulled the PKGBUILD from the ABS for the 2021.Q2.5 version, verified it still built and uploaded it here for all of us with older GPUs and APUs. This is the multilib version. Enjoy!
If there's any issue in the build, let me know and I'll try to fix it somehow.
NOTE: if you try to build the package and cancel it halfway through, you'll have to nuke the src directory and go again. That's a thing.