# Error -before compilation even starts

**URL:** <https://forum.endeavouros.com/t/error-before-compilation-even-starts/81744>\
**Category:** Pacman & AUR helpers\
**Created:** [September 30, 2026, 9:10pm UTC](https://forum.endeavouros.com/t/error-before-compilation-even-starts/81744 "2026-09-30T21:10:27Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![bendipa1](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/b/439d5e/32.png) [@bendipa1](https://forum.endeavouros.com/u/bendipa1)\
**Post date:** [September 30, 2026, 9:10pm UTC](https://forum.endeavouros.com/t/error-before-compilation-even-starts/81744/1 "2026-09-30T21:10:27Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![fred666](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/f/f17d59/32.png) [@fred666](https://forum.endeavouros.com/u/fred666)\
**Post date:** [September 30, 2026, 9:15pm UTC](https://forum.endeavouros.com/t/error-before-compilation-even-starts/81744/2 "2026-09-30T21:15:45Z")

</div>

> [@bendipa1](#):
>
> `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`

Clearly this file is missing/in a different location?

Check if `CMakeCXXCompilerABI.cpp exists`

---

<div class="post-metadata">

**Author:** ![xircon](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/xircon/32/9124_2.png) [@xircon](https://forum.endeavouros.com/u/xircon)\
**Post date:** [September 30, 2026, 9:35pm UTC](https://forum.endeavouros.com/t/error-before-compilation-even-starts/81744/3 "2026-09-30T21:35:15Z")

</div>

> [@bendipa1](#):
>
> pokerth

try `pokerth-bin`

---

<div class="post-metadata">

**Author:** ![bendipa1](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/b/439d5e/32.png) [@bendipa1](https://forum.endeavouros.com/u/bendipa1)\
**Post date:** [October 1, 2026, 4:28pm UTC](https://forum.endeavouros.com/t/error-before-compilation-even-starts/81744/4 "2026-10-01T16:28:46Z")

</div>

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`

> [@fred666](#):
>
> Clearly this file is missing/in a different location?
> 
> Check if `CMakeCXXCompilerABI.cpp exists`

---

<div class="post-metadata">

**Author:** ![bendipa1](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/b/439d5e/32.png) [@bendipa1](https://forum.endeavouros.com/u/bendipa1)\
**Post date:** [October 1, 2026, 4:40pm UTC](https://forum.endeavouros.com/t/error-before-compilation-even-starts/81744/5 "2026-10-01T16:40:05Z")

</div>

> [@xircon](#):
>
> > [@bendipa1](#):
> >
> > pokerth
> 
> try `pokerth-bin`

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

---

<div class="post-metadata">

**Author:** ![Stagger\_Lee](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/stagger_lee/32/93385_2.png) [@Stagger\_Lee](https://forum.endeavouros.com/u/Stagger_Lee)\
**Post date:** [October 1, 2026, 5:34pm UTC](https://forum.endeavouros.com/t/error-before-compilation-even-starts/81744/6 "2026-10-01T17:34:36Z")

</div>

> [@bendipa1](#):
>
> > [@xircon](#):
> >
> > try `pokerth-bin`
> 
> Produces errors as well.

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.

 ![Screenshot_20261001_132405](https://forum.endeavouros.com/uploads/default/original/3X/7/1/7133c6f9b3a6dbf6c629009e6e2242a529247b0f.png)

---

<div class="post-metadata">

**Author:** ![keescase](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keescase/32/114900_2.png) [@keescase](https://forum.endeavouros.com/u/keescase)\
**Post date:** [October 1, 2026, 5:41pm UTC](https://forum.endeavouros.com/t/error-before-compilation-even-starts/81744/7 "2026-10-01T17:41:42Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ajgringo619](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ajgringo619/32/35599_2.png) [@ajgringo619](https://forum.endeavouros.com/u/ajgringo619)\
**Post date:** [October 1, 2026, 5:51pm UTC](https://forum.endeavouros.com/t/error-before-compilation-even-starts/81744/8 "2026-10-01T17:51:26Z")

</div>

`pkgfile` shows this file as part of `extra/cmake`:

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

```

---

<div class="post-metadata">

**Author:** ![xircon](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/xircon/32/9124_2.png) [@xircon](https://forum.endeavouros.com/u/xircon)\
**Post date:** [October 1, 2026, 8:38pm UTC](https://forum.endeavouros.com/t/error-before-compilation-even-starts/81744/9 "2026-10-01T20:38:27Z")

</div>

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