On 18/02/2025 01:21, Simon Josefsson wrote:
There is now a crude patch that add Go package to libcap2 here:

https://salsa.debian.org/jas/libcap2/-/commit/cc9f4c1554798f0baec9d2fe00d45a559458f866

As a suggestion, it would probably be good to add the nogolang build profile [1] to the generated go package and wrap the parts that build go files in a DEB_BUILD_PROFILES check.

Nicolas, you said libcap2's Go packages was used by docker-buildx.  Are
you able to test the libcap2 Go packages above with docker-buildx?  I'm
thinking that if you are also able to get something useful out of the
libcap2 Go packages, we are more likely to be on the right track.

I made a mistake, it was needed by (a test of) buildkit, not docker-buildx, but I'll take a look.

[1] https://wiki.debian.org/BuildProfileSpec#Registered_profile_names
--
Nicolas Peugnet

Reply via email to