Will not build on CachyOS with the following error:
30%] Linking C static library libwayland_protocol.a [ 30%] Linking C static library liblg_common_platform_code.a [ 30%] Built target wayland_protocol [ 30%] Built target lg_common_platform_code [ 31%] Linking CXX static library cimgui.a [ 31%] Built target cimgui make: *** [Makefile:136: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
12%] Generating ../../../wayland/wayland-presentation-time-client-protocol.c
/home/bdw/looking-glass-git/src/looking-glass/repos/PureSpice/src/rsa.c: In function ‘sha1’:
/home/bdw/looking-glass-git/src/looking-glass/repos/PureSpice/src/rsa.c:48:23: error: passing argument 2 of ‘nettle_sha1_digest’ makes pointer from integer without a cast [-Wint-conversion]
48 | #define SHA1_HASH_LEN 20
| ^~
| |
| int
/home/bdw/looking-glass-git/src/looking-glass/repos/PureSpice/src/rsa.c:65:21: note: in expansion of macro ‘SHA1_HASH_LEN’
65 | sha1_digest(&ctx, SHA1_HASH_LEN, hash);
| ^
compilation terminated due to -Wfatal-errors.
make[2]: *** [PureSpice/CMakeFiles/purespice.dir/build.make:107: PureSpice/CMakeFiles/purespice.dir/src/rsa.c.o] Error 1
Pinned Comments
Omar007 commented on 2025-08-08 12:31 (UTC) (edited on 2025-08-08 12:34 (UTC) by Omar007)
If you encounter any issues building a package from this PKGBUILD and/or running the resulting binaries:
DO NOT CONTACT UPSTREAM!!!
This PKGBUILD is not supported nor provided by upstream!
Only leave messages here on the AUR!