Created attachment 290789 [details] patch psx_test_wrap removed in commit dca9b22261, but still in dependencies.
Thanks for this! I clearly missed this because my personal build trees hid it from me - .gitignore and all!
Patch applied: https://git.kernel.org/pub/scm/libs/libcap/libcap.git/commit/?id=40c452c877353e2f1a439c5fd1fc4fde3f8fa15c