Hi !
I was trying to install knot-resolver from the AUR (with yay as the AUR Helper) and the build fails at one point. I can figure out what is in cause, maybe it's meson of libsystemd. Anyone already had a similar issue ?
Here is the output of "yay -Syu knot-resolver":
==> Starting build()...
The Meson build system
Version: 0.54.3
Source dir: /home/USER/.cache/yay/knot-resolver/src/knot-resolver-5.1.2
Build dir: /home/USER/.cache/yay/knot-resolver/src/knot-resolver-5.1.2/build_arch
Build type: native build
Project name: knot-resolver
Project version: 5.1.2
Using 'CFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -g -fvar-tracking-assignments -fdebug-prefix-map=/home/USER/.cache/yay/knot-resolver/src=/usr/src/debug'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
Using 'CXXFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -g -fvar-tracking-assignments -fdebug-prefix-map=/home/USER/.cache/yay/knot-resolver/src=/usr/src/debug'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
Using 'CFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -g -fvar-tracking-assignments -fdebug-prefix-map=/home/USER/.cache/yay/knot-resolver/src=/usr/src/debug'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
C compiler for the host machine: ccache cc (gcc 10.1.0 "cc (GCC) 10.1.0")
C linker for the host machine: cc ld.bfd 2.34.0
Using 'CXXFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -g -fvar-tracking-assignments -fdebug-prefix-map=/home/USER/.cache/yay/knot-resolver/src=/usr/src/debug'
Using 'LDFLAGS' from environment with value: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
C++ compiler for the host machine: ccache c++ (gcc 10.1.0 "c++ (GCC) 10.1.0")
C++ linker for the host machine: c++ ld.bfd 2.34.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Message: --- required dependencies ---
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Run-time dependency libknot found: YES 2.9.5
Run-time dependency libdnssec found: YES 2.9.5
Run-time dependency libzscanner found: YES 2.9.5
Run-time dependency libuv found: YES 1.38.1
Run-time dependency lmdb found: YES 0.9.25
Run-time dependency gnutls found: YES 3.6.14
Run-time dependency luajit found: YES 2.0.5
Message: ------------------------------
Message: --- optional dependencies ---
Run-time dependency libcap-ng found: YES 0.7.10
Run-time dependency openssl found: YES 1.1.1g
Checking for function "asprintf" : YES
Checking for function "sendmmsg" : YES
Run-time dependency libsystemd found: YES 243.7
Message: ---------------------------
meson.build:164:10: ERROR: String '243.7' cannot be converted to int
A full log can be found at /home/USER/.cache/yay/knot-resolver/src/knot-resolver-5.1.2/build_arch/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
Aborting...
error making: %!s(func() string=0x55acdfbfabb0)