On 06/02/2025 10:59, Simon Josefsson wrote:
I looked into landlock+libcap but it looked a bit messy: 'libcap2' is in Debian but without the golang-*-dev package, and maybe this should be a separate source package if the Go wrapper has little to do with the C library. Hopefully I will resume on that or someone else beats me to it.
About libcap2, I also stumbled on this while packaging docker-buildx, I don't think that adding a new source package makes sense, but their Go build script seems a bit complicated.
By the way, building the go packages will resolve #1064065 [1].[1]: https://sources.debian.org/src/libcap2/1%3A2.66-5/go/Makefile/#L171-L181
-- Nicolas Peugnet