When I tried to build the gala package, I also ran into libsystemd.
makepkg -si /tmp/gala
==> Making package: gala 7.1.1-1 (Mon Jul 10 07:56:34 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating gala git repo...
==> Validating source files with b2sums...
gala ... Skipped
==> Extracting sources...
-> Creating working copy of gala git repo...
Reset branch 'makepkg'
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true gala build
The Meson build system
Version: 1.1.1
Source dir: /tmp/gala/src/gala
Build dir: /tmp/gala/src/build
Build type: native build
Project name: gala
Project version: 7.1.1
C compiler for the host machine: cc (gcc 13.1.1 "cc (GCC) 13.1.1 20230429")
C linker for the host machine: cc ld.bfd 2.40.0
Vala compiler for the host machine: valac (valac 0.56.9)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Configuring config.h using configuration
Library config found: YES
Found pkg-config: /bin/pkg-config (1.8.1)
Run-time dependency libcanberra found: YES 0.30
Run-time dependency glib-2.0 found: YES 2.76.4
Run-time dependency gobject-2.0 found: YES 2.76.4
Run-time dependency gio-2.0 found: YES 2.76.4
Run-time dependency gio-unix-2.0 found: YES 2.76.4
Run-time dependency gmodule-2.0 found: YES 2.76.4
Run-time dependency gtk+-3.0 found: YES 3.24.38
Run-time dependency gdk-x11-3.0 found: YES 3.24.38
Run-time dependency gee-0.8 found: YES 0.20.6
Run-time dependency granite found: YES 6.2.0
Run-time dependency gnome-desktop-3.0 found: YES 44.0
Run-time dependency gnome-settings-daemon found: YES 44.1
Library m found: YES
Library posix found: YES
Run-time dependency gexiv2 found: YES 0.14.1
Found CMake: /bin/cmake (3.26.4)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency libsystemd found: NO (tried pkgconfig and cmake)
gala/meson.build:101:18: ERROR: Dependency "libsystemd" not found, tried pkgconfig and cmake
A full log can be found at /tmp/gala/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
Aborting...
At the same time, cmake is installed from native repositories
pacman -Qi cmake /tmp/gala
Name : cmake
Version : 3.26.4-1
Description : A cross-platform open-source make system
Architecture : x86_64
URL : https://www.cmake.org/
Licenses : custom
Groups : None
Provides : None
Depends On : curl libarchive hicolor-icon-theme jsoncpp libjsoncpp.so=25-64 libuv rhash
Optional Deps : qt6-base: cmake-gui
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 66.71 MiB
Packager : Artix Build Bot <[email protected]>
Build Date : Fri May 19 16:19:23 2023
Install Date : Sun Jul 9 14:18:05 2023
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature