Error -before compilation even starts

I’ve been trying to install package pokerth from the AUR, which I’ve done before without issue using yay. However, this no longer seems to work. On running yay -S pokerth the folllowing output is seen:

==> Making package: pokerth 2.1.9-1 (Wed 30 Sep 2026 22:07:33 BST)
==> Retrieving sources...
-> Found pokerth-2.1.9.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with md5sums...
pokerth-2.1.9.tar.gz ... Passed
:: (1/1) Parsing SRCINFO: pokerth
==> Making package: pokerth 2.1.9-1 (Wed 30 Sep 2026 22:07:34 BST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found pokerth-2.1.9.tar.gz
==> Validating source files with md5sums...
pokerth-2.1.9.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting pokerth-2.1.9.tar.gz with bsdtar
==> Starting prepare()...
==> Sources are ready.
==> Making package: pokerth 2.1.9-1 (Wed 30 Sep 2026 22:07:37 BST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- The C compiler identification is GNU 16.2.1
-- The CXX compiler identification is GNU 16.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
CMake Error at /home/paulb/.cache/yay/pokerth/src/build/CMakeFiles/CMakeScratch/TryCompile-1goMpc/CMakeLists.txt:25 (target_sources):
Cannot find source file:

/usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp


CMake Error at /home/paulb/.cache/yay/pokerth/src/build/CMakeFiles/CMakeScratch/TryCompile-1goMpc/CMakeLists.txt:24 (add_executable):
No SOURCES given to target: cmTC_68045


CMake Error at /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:123 (try_compile):
Failed to generate test project build system.
Call Stack (most recent call first):
/usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)
CMakeLists.txt:5 (project)


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
-> error making: pokerth-exit status 4
-> Failed to install the following packages. Manual intervention is required:
pokerth - exit status 4

Any compilation experts who can explain what has gone wrong, or is missing?

Clearly this file is missing/in a different location?

Check if CMakeCXXCompilerABI.cpp exists

try pokerth-bin

It doesn’t exist, but I would expect it to be one of many *.cpp files included in the source extraction process anyway as it’s a *.cpp file - not a file naturally residing on my computer.

CMake Error at /home/paulb/.cache/yay/pokerth/src/build/CMakeFiles/CMakeScratch/TryCompile-1goMpc/CMakeLists.txt:25 (target_sources):
Cannot find source file:

/usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp

Produces errors as well. Just to add that pokerth compiles and installs fine on Manjaro, using pamac to install instead of yay.

Did you let the process complete or did you exit before completion?

The pokerth-bin package installs (and runs) here (fully updated Arch system) via yay.

I don’t use EndeavourOS but I think they probably disable the debug option in /etc/makepkg.conf (as I have done on my system), but if that option is not disabled you will see a lot of harmless errors during the pokerth-bin package installation.

Can confirm that I could install the bin package as well , on a fully updated EOS system.
If you want to install something it is way better to do that using -Syu instead of -S , so you always know your system is up to date before installing something.

pkgfile shows this file as part of extra/cmake:

$ pkgfile --search /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp
extra/cmake

So it’s a poker game? I didn’t try it thought it was pokemon :rofl: I got as far as install then cancelled :smiley: