Hello. Sorry if I should’ve searched better for similar issues/posts/reports. but the fact is that I’m unable to compile hyprsunset on my Gentoo system based on musl using clang. (Haven’t tried with GCC, and I don’t intend to install it on said system).
The build log:
>>> Emerging (4 of 4) gui-apps/hyprsunset-0.3.3::local
* hyprsunset-0.3.3.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking 'hyprsunset-0.3.3.tar.gz' to /tmp/portage/gui-apps/hyprsunset-0.3.3/work
>>> Source unpacked in /tmp/portage/gui-apps/hyprsunset-0.3.3/work
>>> Preparing source in /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3 ...
* Source directory (CMAKE_USE_DIR): "/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3"
* Build directory (BUILD_DIR): "/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3_build"
>>> Source prepared.
>>> Configuring source in /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3 ...
* Source directory (CMAKE_USE_DIR): "/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3"
* Build directory (BUILD_DIR): "/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3_build"
cmake -C /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3_build/gentoo_toolchain.cmake /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3
loading initial cache file /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3_build/gentoo_common_config.cmake
-- The C compiler identification is Clang 21.1.8
-- The CXX compiler identification is Clang 21.1.8
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/llvm/21/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/llvm/21/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring hyprsunset!
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found PkgConfig: /usr/bin/x86_64-pc-linux-musl-pkg-config (found version "2.5.1")
-- Checking for modules 'wayland-client;wayland-protocols;hyprutils>=0.2.3;hyprlang;hyprwayland-scanner>=0.4.0'
-- Found wayland-client, version 1.25.0
-- Found wayland-protocols, version 1.48
-- Found hyprutils, version 0.11.1
-- Found hyprlang, version 0.6.8
-- Found hyprwayland-scanner, version 0.4.5
-- Found wayland-protocols at //usr/share/wayland-protocols
-- Found wayland-scanner at //usr/share/wayland
-- Checking for module 'hyprland-protocols>=0.4.0'
-- Found hyprland-protocols, version 0.7.0
-- hyprland-protocols dependency set to //usr/share/hyprland-protocols
-- <<< Gentoo configuration >>>
Build type RelWithDebInfo
Install path /usr
Compiler flags:
C -O2 -pipe -march=native -O2 -pipe -march=native -O2 -pipe -march=native -O3 -pipe -flto=thin -Werror=odr -Werror=strict-aliasing -mllvm=-polly -mllvm=-polly-vectorizer=stripmine -mllvm=-polly-omp-backend=LLVM -mllvm=-polly-parallel -mllvm=-polly-num-threads=9 -mllvm=-polly-scheduling=dynamic
C++ -O2 -pipe -march=native -O2 -pipe -march=native -O2 -pipe -march=native -O3 -pipe -flto=thin -Werror=odr -Werror=strict-aliasing -mllvm=-polly -mllvm=-polly-vectorizer=stripmine -mllvm=-polly-omp-backend=LLVM -mllvm=-polly-parallel -mllvm=-polly-num-threads=9 -mllvm=-polly-scheduling=dynamic
Linker flags:
Executable -march=native -O2 -pipe -march=native -O3 -pipe -flto=thin -Werror=odr -Werror=strict-aliasing -mllvm=-polly -mllvm=-polly-vectorizer=stripmine -mllvm=-polly-omp-backend=LLVM -mllvm=-polly-parallel -mllvm=-polly-num-threads=9 -mllvm=-polly-scheduling=dynamic -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -fuse-ld=lld
Module -march=native -O2 -pipe -march=native -O3 -pipe -flto=thin -Werror=odr -Werror=strict-aliasing -mllvm=-polly -mllvm=-polly-vectorizer=stripmine -mllvm=-polly-omp-backend=LLVM -mllvm=-polly-parallel -mllvm=-polly-num-threads=9 -mllvm=-polly-scheduling=dynamic -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -fuse-ld=lld
Shared -march=native -O2 -pipe -march=native -O3 -pipe -flto=thin -Werror=odr -Werror=strict-aliasing -mllvm=-polly -mllvm=-polly-vectorizer=stripmine -mllvm=-polly-omp-backend=LLVM -mllvm=-polly-parallel -mllvm=-polly-num-threads=9 -mllvm=-polly-scheduling=dynamic -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -fuse-ld=lld
-- Configuring done (1.3s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3_build
>>> Source configured.
>>> Compiling source in /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3 ...
* Source directory (CMAKE_USE_DIR): "/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3"
* Build directory (BUILD_DIR): "/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3_build"
ninja -v -l0 -j9
[1/9] cd /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3 && hyprwayland-scanner --client //usr/share/hyprland-protocols/protocols/hyprland-ctm-control-v1.xml /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/protocols/
[2/9] cd /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3 && hyprwayland-scanner --wayland-enums --client //usr/share/wayland/wayland.xml /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/protocols/
[3/9] /usr/lib/llvm/21/bin/clang++ -DGIT_BRANCH=\"\" -DGIT_COMMIT_HASH=\"\" -DGIT_COMMIT_MESSAGE=\"\" -DGIT_DIRTY=\"dirty\" -DHYPRSUNSET_VERSION=\"0.3.3\" -I/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/. -isystem /usr/lib/libffi/include -O2 -pipe -march=native -O2 -pipe -march=native -O2 -pipe -march=native -O3 -pipe -flto=thin -Werror=odr -Werror=strict-aliasing -mllvm=-polly -mllvm=-polly-vectorizer=stripmine -mllvm=-polly-omp-backend=LLVM -mllvm=-polly-parallel -mllvm=-polly-num-threads=9 -mllvm=-polly-scheduling=dynamic -std=gnu++26 -Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -MD -MT CMakeFiles/hyprsunset.dir/protocols/hyprland-ctm-control-v1.cpp.o -MF CMakeFiles/hyprsunset.dir/protocols/hyprland-ctm-control-v1.cpp.o.d -o CMakeFiles/hyprsunset.dir/protocols/hyprland-ctm-control-v1.cpp.o -c /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/protocols/hyprland-ctm-control-v1.cpp
[4/9] /usr/lib/llvm/21/bin/clang++ -DGIT_BRANCH=\"\" -DGIT_COMMIT_HASH=\"\" -DGIT_COMMIT_MESSAGE=\"\" -DGIT_DIRTY=\"dirty\" -DHYPRSUNSET_VERSION=\"0.3.3\" -I/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/. -isystem /usr/lib/libffi/include -O2 -pipe -march=native -O2 -pipe -march=native -O2 -pipe -march=native -O3 -pipe -flto=thin -Werror=odr -Werror=strict-aliasing -mllvm=-polly -mllvm=-polly-vectorizer=stripmine -mllvm=-polly-omp-backend=LLVM -mllvm=-polly-parallel -mllvm=-polly-num-threads=9 -mllvm=-polly-scheduling=dynamic -std=gnu++26 -Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -MD -MT CMakeFiles/hyprsunset.dir/protocols/wayland.cpp.o -MF CMakeFiles/hyprsunset.dir/protocols/wayland.cpp.o.d -o CMakeFiles/hyprsunset.dir/protocols/wayland.cpp.o -c /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/protocols/wayland.cpp
[5/9] /usr/lib/llvm/21/bin/clang++ -DGIT_BRANCH=\"\" -DGIT_COMMIT_HASH=\"\" -DGIT_COMMIT_MESSAGE=\"\" -DGIT_DIRTY=\"dirty\" -DHYPRSUNSET_VERSION=\"0.3.3\" -I/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/. -isystem /usr/lib/libffi/include -O2 -pipe -march=native -O2 -pipe -march=native -O2 -pipe -march=native -O3 -pipe -flto=thin -Werror=odr -Werror=strict-aliasing -mllvm=-polly -mllvm=-polly-vectorizer=stripmine -mllvm=-polly-omp-backend=LLVM -mllvm=-polly-parallel -mllvm=-polly-num-threads=9 -mllvm=-polly-scheduling=dynamic -std=gnu++26 -Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -MD -MT CMakeFiles/hyprsunset.dir/src/Hyprsunset.cpp.o -MF CMakeFiles/hyprsunset.dir/src/Hyprsunset.cpp.o.d -o CMakeFiles/hyprsunset.dir/src/Hyprsunset.cpp.o -c /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/Hyprsunset.cpp
FAILED: [code=1] CMakeFiles/hyprsunset.dir/src/Hyprsunset.cpp.o
/usr/lib/llvm/21/bin/clang++ -DGIT_BRANCH=\"\" -DGIT_COMMIT_HASH=\"\" -DGIT_COMMIT_MESSAGE=\"\" -DGIT_DIRTY=\"dirty\" -DHYPRSUNSET_VERSION=\"0.3.3\" -I/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/. -isystem /usr/lib/libffi/include -O2 -pipe -march=native -O2 -pipe -march=native -O2 -pipe -march=native -O3 -pipe -flto=thin -Werror=odr -Werror=strict-aliasing -mllvm=-polly -mllvm=-polly-vectorizer=stripmine -mllvm=-polly-omp-backend=LLVM -mllvm=-polly-parallel -mllvm=-polly-num-threads=9 -mllvm=-polly-scheduling=dynamic -std=gnu++26 -Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -MD -MT CMakeFiles/hyprsunset.dir/src/Hyprsunset.cpp.o -MF CMakeFiles/hyprsunset.dir/src/Hyprsunset.cpp.o.d -o CMakeFiles/hyprsunset.dir/src/Hyprsunset.cpp.o -c /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/Hyprsunset.cpp
In file included from /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/Hyprsunset.cpp:1:
In file included from /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/ConfigManager.hpp:3:
In file included from /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/Hyprsunset.hpp:2:
/usr/include/sys/signal.h:1:2: warning: redirecting incorrect #include <sys/signal.h> to <signal.h> [-W#warnings]
1 | #warning redirecting incorrect #include <sys/signal.h> to <signal.h>
| ^
In file included from /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/Hyprsunset.cpp:8:
/usr/include/sys/poll.h:1:2: warning: redirecting incorrect #include <sys/poll.h> to <poll.h> [-W#warnings]
1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
| ^
/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/Hyprsunset.cpp:262:5: error: use of undeclared identifier 'close'
262 | close(state.timerFD);
| ^~~~~
/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/Hyprsunset.cpp:287:10: error: no member named 'sort' in namespace 'std'
287 | std::sort(profiles.begin(), profiles.end(), [](const auto& a, const auto& b) {
| ^~~~
/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/Hyprsunset.cpp:316:29: error: no member named 'zoned_time' in namespace 'std::chrono'
316 | auto now = std::chrono::zoned_time(std::chrono::current_zone(), std::chrono::system_clock::now()).get_local_time();
| ^~~~~~~~~~
/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/Hyprsunset.cpp:316:53: error: no member named 'current_zone' in namespace 'std::chrono'
316 | auto now = std::chrono::zoned_time(std::chrono::current_zone(), std::chrono::system_clock::now()).get_local_time();
| ^~~~~~~~~~~~
/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/Hyprsunset.cpp:342:48: error: no member named 'zoned_time' in namespace 'std::chrono'
342 | auto now = std::chrono::zoned_time(std::chrono::current_zone(), std::chrono::system_clock::now()).get_local_time();
| ^~~~~~~~~~
/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/Hyprsunset.cpp:342:72: error: no member named 'current_zone' in namespace 'std::chrono'
342 | auto now = std::chrono::zoned_time(std::chrono::current_zone(), std::chrono::system_clock::now()).get_local_time();
| ^~~~~~~~~~~~
/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/Hyprsunset.cpp:348:41: error: no member named 'zoned_time' in namespace 'std::chrono'
348 | while (time >= std::chrono::zoned_time(std::chrono::current_zone(), std::chrono::system_clock::now()).get_local_time() + std::chrono::minutes(1))
| ^~~~~~~~~~
/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/Hyprsunset.cpp:348:65: error: no member named 'current_zone' in namespace 'std::chrono'
348 | while (time >= std::chrono::zoned_time(std::chrono::current_zone(), std::chrono::system_clock::now()).get_local_time() + std::chrono::minutes(1))
| ^~~~~~~~~~~~
/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/Hyprsunset.cpp:351:45: error: no member named 'zoned_time' in namespace 'std::chrono'
351 | auto system_time = std::chrono::zoned_time{std::chrono::current_zone(), time}.get_sys_time();
| ^~~~~~~~~~
2 warnings and 9 errors generated.
[6/9] /usr/lib/llvm/21/bin/clang++ -DGIT_BRANCH=\"\" -DGIT_COMMIT_HASH=\"\" -DGIT_COMMIT_MESSAGE=\"\" -DGIT_DIRTY=\"dirty\" -DHYPRSUNSET_VERSION=\"0.3.3\" -I/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/. -isystem /usr/lib/libffi/include -O2 -pipe -march=native -O2 -pipe -march=native -O2 -pipe -march=native -O3 -pipe -flto=thin -Werror=odr -Werror=strict-aliasing -mllvm=-polly -mllvm=-polly-vectorizer=stripmine -mllvm=-polly-omp-backend=LLVM -mllvm=-polly-parallel -mllvm=-polly-num-threads=9 -mllvm=-polly-scheduling=dynamic -std=gnu++26 -Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -MD -MT CMakeFiles/hyprsunset.dir/src/main.cpp.o -MF CMakeFiles/hyprsunset.dir/src/main.cpp.o.d -o CMakeFiles/hyprsunset.dir/src/main.cpp.o -c /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/main.cpp
In file included from /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/main.cpp:1:
In file included from /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/ConfigManager.hpp:3:
In file included from /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/Hyprsunset.hpp:2:
/usr/include/sys/signal.h:1:2: warning: redirecting incorrect #include <sys/signal.h> to <signal.h> [-W#warnings]
1 | #warning redirecting incorrect #include <sys/signal.h> to <signal.h>
| ^
1 warning generated.
[7/9] /usr/lib/llvm/21/bin/clang++ -DGIT_BRANCH=\"\" -DGIT_COMMIT_HASH=\"\" -DGIT_COMMIT_MESSAGE=\"\" -DGIT_DIRTY=\"dirty\" -DHYPRSUNSET_VERSION=\"0.3.3\" -I/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/. -isystem /usr/lib/libffi/include -O2 -pipe -march=native -O2 -pipe -march=native -O2 -pipe -march=native -O3 -pipe -flto=thin -Werror=odr -Werror=strict-aliasing -mllvm=-polly -mllvm=-polly-vectorizer=stripmine -mllvm=-polly-omp-backend=LLVM -mllvm=-polly-parallel -mllvm=-polly-num-threads=9 -mllvm=-polly-scheduling=dynamic -std=gnu++26 -Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -MD -MT CMakeFiles/hyprsunset.dir/src/IPCSocket.cpp.o -MF CMakeFiles/hyprsunset.dir/src/IPCSocket.cpp.o.d -o CMakeFiles/hyprsunset.dir/src/IPCSocket.cpp.o -c /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/IPCSocket.cpp
In file included from /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/IPCSocket.cpp:2:
In file included from /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/Hyprsunset.hpp:2:
/usr/include/sys/signal.h:1:2: warning: redirecting incorrect #include <sys/signal.h> to <signal.h> [-W#warnings]
1 | #warning redirecting incorrect #include <sys/signal.h> to <signal.h>
| ^
1 warning generated.
[8/9] /usr/lib/llvm/21/bin/clang++ -DGIT_BRANCH=\"\" -DGIT_COMMIT_HASH=\"\" -DGIT_COMMIT_MESSAGE=\"\" -DGIT_DIRTY=\"dirty\" -DHYPRSUNSET_VERSION=\"0.3.3\" -I/tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/. -isystem /usr/lib/libffi/include -O2 -pipe -march=native -O2 -pipe -march=native -O2 -pipe -march=native -O3 -pipe -flto=thin -Werror=odr -Werror=strict-aliasing -mllvm=-polly -mllvm=-polly-vectorizer=stripmine -mllvm=-polly-omp-backend=LLVM -mllvm=-polly-parallel -mllvm=-polly-num-threads=9 -mllvm=-polly-scheduling=dynamic -std=gnu++26 -Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -MD -MT CMakeFiles/hyprsunset.dir/src/ConfigManager.cpp.o -MF CMakeFiles/hyprsunset.dir/src/ConfigManager.cpp.o.d -o CMakeFiles/hyprsunset.dir/src/ConfigManager.cpp.o -c /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/ConfigManager.cpp
In file included from /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/ConfigManager.cpp:1:
In file included from /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/ConfigManager.hpp:3:
In file included from /tmp/portage/gui-apps/hyprsunset-0.3.3/work/hyprsunset-0.3.3/src/Hyprsunset.hpp:2:
/usr/include/sys/signal.h:1:2: warning: redirecting incorrect #include <sys/signal.h> to <signal.h> [-W#warnings]
1 | #warning redirecting incorrect #include <sys/signal.h> to <signal.h>
| ^
1 warning generated.
ninja: build stopped: subcommand failed.
* ERROR: gui-apps/hyprsunset-0.3.3::local failed (compile phase):
* ninja -v -l0 -j9 failed
*
* Call stack:
* ebuild.sh, line 143: Called src_compile
* environment, line 1633: Called cmake_src_compile
* environment, line 965: Called cmake_build
* environment, line 877: Called eninja
* environment, line 1228: Called die
* The specific snippet of code:
* "$@" || die -n "${*} failed"
*
* If you need support, post the output of `emerge --info '=gui-apps/hyprsunset-0.3.3::local'`,
* the complete build log and the output of `emerge -pqv '=gui-apps/hyprsunset-0.3.3::local'`.
* The complete build log is located at '/tmp/portage/gui-apps/hyprsunset-0.3.3/temp/build.log'.
This patch on FreeBSD ports seems to be in the right direction, but I still wasn’t able to build hyprsunset with it, even after removing the if directive and whatnot: https://cgit.freebsd.org/ports/tree/accessibility/hyprsunset/files/patch-src_Hyprsunset.cpp