I really wanted to try using this, however unless i am doing something wrong on my side this dosen't seem to compile and the program just errors out and quits
So far i have tried building from this repo using Release 2.0 & 2.1, and from yay
Although i have never done low level code before im hoping this is merely a little typo or two here or there
$ yay -S aawmtt [0:37:17]
AUR Explicit (1): aawmtt-2.1-1
:: PKGBUILD up to date, skipping download: aawmtt
1 aawmtt (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
1 aawmtt (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
==> Making package: aawmtt 2.1-1 (Sat Jun 10 00:37:27 2023)
==> Retrieving sources...
-> Found v2.1.tar.gz
==> Validating source files with sha256sums...
v2.1.tar.gz ... Skipped
:: (1/1) Parsing SRCINFO: aawmtt
==> Making package: aawmtt 2.1-1 (Sat Jun 10 00:37:28 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found v2.1.tar.gz
==> Validating source files with sha256sums...
v2.1.tar.gz ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting v2.1.tar.gz with bsdtar
bsdtar: Failed to set default locale
==> Sources are ready.
==> Making package: aawmtt 2.1-1 (Sat Jun 10 00:37:29 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- The CXX compiler identification is GNU 13.1.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The C compiler identification is GNU 13.1.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
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Module support is disabled.
-- Version: 9.1.0
-- Build type: Release
-- CXX_STANDARD: 11
-- Performing Test has_std_11_flag
-- Performing Test has_std_11_flag - Success
-- Performing Test has_std_0x_flag
-- Performing Test has_std_0x_flag - Success
-- Required features: cxx_variadic_templates
-- Build spdlog: 1.11.0
-- Build type: Release
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Configuring done (16.3s)
-- Generating done (0.0s)
-- Build files have been written to: /home/shywizz/.cache/yay/aawmtt/src/aawmtt-2.1/build
[13/36] Building CXX object CMakeFiles/aawmtt.dir/src/process.cpp.o
FAILED: CMakeFiles/aawmtt.dir/src/process.cpp.o
/usr/bin/c++ -DSPDLOG_COMPILED_LIB -I/home/shywizz/.cache/yay/aawmtt/src/aawmtt-2.1/include -I/home/shywizz/.cache/yay/aawmtt/src/aawmtt-2.1/build/_deps/cli11-src/include -I/home/shywizz/.cache/yay/aawmtt/src/aawmtt-2.1/build/_deps/reproc-src/reproc++/include -I/home/shywizz/.cache/yay/aawmtt/src/aawmtt-2.1/build/_deps/fmt-src/include -I/home/shywizz/.cache/yay/aawmtt/src/aawmtt-2.1/build/_deps/spdlog-src/include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -O3 -DNDEBUG -std=c++20 -MD -MT CMakeFiles/aawmtt.dir/src/process.cpp.o -MF CMakeFiles/aawmtt.dir/src/process.cpp.o.d -o CMakeFiles/aawmtt.dir/src/process.cpp.o -c /home/shywizz/.cache/yay/aawmtt/src/aawmtt-2.1/src/process.cpp
In file included from /home/shywizz/.cache/yay/aawmtt/src/aawmtt-2.1/src/process.cpp:5:
/home/shywizz/.cache/yay/aawmtt/src/aawmtt-2.1/build/_deps/reproc-src/reproc++/include/reproc++/reproc.hpp:95:5: error: declaration of 'reproc::options::<unnamed struct> reproc::options::env' changes meaning of 'env' [-Wchanges-meaning]
95 | } env = {};
| ^~~
/home/shywizz/.cache/yay/aawmtt/src/aawmtt-2.1/build/_deps/reproc-src/reproc++/include/reproc++/reproc.hpp:91:5: note: used here to mean 'class reproc::env'
91 | env::type behavior;
| ^~~
In file included from /home/shywizz/.cache/yay/aawmtt/src/aawmtt-2.1/build/_deps/reproc-src/reproc++/include/reproc++/reproc.hpp:11:
/home/shywizz/.cache/yay/aawmtt/src/aawmtt-2.1/build/_deps/reproc-src/reproc++/include/reproc++/env.hpp:8:7: note: declared here
8 | class env : public detail::array {
| ^~~
/home/shywizz/.cache/yay/aawmtt/src/aawmtt-2.1/build/_deps/reproc-src/reproc++/include/reproc++/reproc.hpp:107:5: error: declaration of 'reproc::options::<unnamed struct> reproc::options::redirect' changes meaning of 'redirect' [-Wchanges-meaning]
107 | } redirect = {};
| ^~~~~~~~
/home/shywizz/.cache/yay/aawmtt/src/aawmtt-2.1/build/_deps/reproc-src/reproc++/include/reproc++/reproc.hpp:102:5: note: used here to mean 'struct reproc::redirect'
102 | redirect err;
| ^~~~~~~~
/home/shywizz/.cache/yay/aawmtt/src/aawmtt-2.1/build/_deps/reproc-src/reproc++/include/reproc++/reproc.hpp:68:8: note: declared here
68 | struct redirect {
| ^~~~~~~~
[18/36] Building CXX object CMakeFiles/aawmtt.dir/src/inotify.cpp.o
/home/shywizz/.cache/yay/aawmtt/src/aawmtt-2.1/src/inotify.cpp: In lambda function:
/home/shywizz/.cache/yay/aawmtt/src/aawmtt-2.1/src/inotify.cpp:95:21: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result]
95 | read(impl->fd, buffer.get(), len);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[20/36] Building CXX object CMakeFiles/aawmtt.dir/src/parser.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
-> error making: aawmtt-exit status 4
-> Failed to install the following packages. Manual intervention is required:
aawmtt - exit status 4