Stuart Henderson writes: > On 2024/01/23 20:14, Nam Nguyen wrote: >> Theo Buehler writes: >> >> > On Wed, Jan 17, 2024 at 01:11:54PM +0100, Florian Obser wrote: >> >> On 2024-01-03 17:14 +01, Florian Obser <flor...@openbsd.org> wrote: >> >> > Hi there, >> >> > >> >> > dnscrypt-proxy fails thusly on -current: >> >> > >> >> > Jan 3 17:07:29 x395 dnscrypt-proxy[54029]: dnscrypt-proxy 2.1.5 >> >> > Jan 3 17:07:29 x395 dnscrypt-proxy[54029]: Network connectivity >> >> > detected >> >> > Jan 3 17:07:29 x395 dnscrypt-proxy[54029]: Dropping privileges >> >> > Jan 3 17:07:29 x395 dnscrypt-proxy[54029]: Unable to set the close on >> >> > exec flag: [function not implemented] >> > >> > The port uses golang.org/x/sys v0.11.0 whose fnctl() implementation does >> > >> > valptr, _, errno := Syscall(fcntl64Syscall, uintptr(fd), uintptr(cmd), >> > uintptr(arg)) >> > >> > It would need to use at least v0.15.0 to include jrick's >> > >> > https://go-review.googlesource.com/c/sys/+/538995 >> > >> > which is what DNSCrypt/dnscrypt-proxy's master branch seems to be using. >> > >> > So someone would need to update the port to use said branch, or build >> > from source. >> >> Thanks for the report and cluestick. I'll try to update to use that >> until upstream cuts a new release. Sorry for the timeout. > > This might do the trick. Bonus do-build fix to respect MAKE_JOBS rather > than using all cores.
I like this approach. there's some weird characters in /usr/obj/pobj/dnscrypt-proxy-2.1.5/dnscrypt-proxy-2.1.5/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s > + GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8 # github.com/jedisct1/dnscrypt-proxy/vendor/golang.org/x/sys/unix ../vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s:183:7: invalid UTF-8 encoding ../vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s:184:6: invalid UTF-8 encoding # github.com/jedisct1/dnscrypt-proxy/vendor/golang.org/x/sys/unix ../vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s:183:7: invalid UTF-8 encoding ../vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s:183: expected '(', found libc_fcntl_trampoline_addr ../vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s:184:6: invalid UTF-8 encoding ../vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s:184: expected '(', found libc_fcntl_trampoline_addr asm: assembly of ../vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s failed