I get a similar, but in the details different, build error:
ninja: Entering directory `build'
[4/21] Compiling C++ object 'auracle@sta/src_auracle_auracle.cc.o'.
FAILED: auracle@sta/src_auracle_auracle.cc.o
ccache c++ -Iauracle@sta -I. -I.. -I../src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++17 -include config.h -ffunction-sections -fdata-sections -O3 -g0 -march=native -ftree-vectorize -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -Wl,-z,relro,-z,now -D_FORTIFY_SOURCE=2 -fPIC -pie -fPIE -fstack-protector -fpermissive -fPIC -MD -MQ 'auracle@sta/src_auracle_auracle.cc.o' -MF 'auracle@sta/src_auracle_auracle.cc.o.d' -o 'auracle@sta/src_auracle_auracle.cc.o' -c ../src/auracle/auracle.cc
In file included from ../src/auracle/auracle.hh:7,
from ../src/auracle/auracle.cc:1:
../src/aur/aur.hh:13:10: fatal error: systemd/sd-event.h: No such file or directory
#include <systemd/sd-event.h>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
[5/21] Compiling C++ object 'aur@sta/src_aur_response.cc.o'.
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments
artafinde commented on 2022-01-26 09:15 (UTC) (edited on 2022-01-29 10:24 (UTC) by artafinde)
If the build fails:
SRCPKGDEST
directoryThere's a package build already which you can try out from my repo.
falconindy commented on 2020-05-31 15:35 (UTC) (edited on 2025-04-28 14:23 (UTC) by falconindy)
FAQ:
PATH
handled by/etc/profile.d/perlbin.sh
makepkg -A
. The "any" architecture is reserved for packages with architecture independent files (and compiled C++ is not).