Really love photon but I'm having trouble on my arm64 devices. I am a noob with compiling golang so might be doing something wrong here but I don't think aarch64 supports syscall.Dup2
imgproc/stdout_redirect.go:39:19: undefined: syscall.Dup2 imgproc/stdout_redirect.go:64:10: undefined: syscall.Dup2 make: *** [Makefile:16: photon] Error 2
That's interesting. I'll take a look at it if I have some time.
leave this here, maybe it helps: https://github.com/tamird/cockroach/commit/8f19305c87d0be870e60fef1fe57b4058c901c3d
Thanks, the issue is the same on my Pinephone (PostmarketOS) and Raspberry Pi (Arch) when compiling from git, and the AUR package fails with Yay too.
I notice that the folks at Termux have managed to package photon so I guess they patched their version.
Ah here's the termux patch. They use Dup3() instead... https://github.com/termux/termux-packages/blob/master/packages/photon-rss/imgproc-stdout_redirect.go.patch
Great thanks, this should do it https://git.sr.ht/~ghost08/photon/commit/02e0faa0a40f4772e996b58ec203337f7c0dd51c
Perfect! Many thanks