Worked fine up until recent cachyos update (within the past few days) the build fails with two errors:
nettle 4.0+ API change: repos/PureSpice/src/rsa.c line 65 calls sha1_digest(&ctx, SHA1_HASH_LEN, hash) but newer nettle removes the length parameter. Fix: sha1_digest(&ctx, hash)
GCC 16+ uninitialized variable warning: repos/nanosvg/src/nanosvg.h line 1656 declares float t[6] without initialization. Fix: float t[6] = {0}; Workaround: Apply these patches manually before building, or build from source outside of the AUR helper.
Still new to arch and AUR so had AI help with diagnosing this, but made changes to those two lines and looking glass launches just fine again.
Pinned Comments
Omar007 commented on 2025-08-08 12:33 (UTC)
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!