[Buildroot] [PATCH] libcap: disable GOLANG

Tian Yuanhao tianyuanhao at aliyun.com
Mon Aug 31 16:14:30 UTC 2020


This patch is for the next branch.

Recently, the go infrastructure has changed, and libcap has been
upgraded to 2.42. libcap introduced golang in 2.28, see:

https://git.kernel.org/pub/scm/linux/kernel/git/morgan/libcap.git/commit/Make.Rules?id=0615d996379dceedefcd65a114f93fefd81c208f

When you compile host-go and then compile host-libcap, GOLANG will be
automatically set to yes. Because libcap.mk lacks golang support,
compilation will fail.

 > > libcap is a pure C library before 2.27, it lacks some environment
 > > variables set in pkg-golang.mk.
 >
 > Can you be more specific? What exactly is this fixing? I don't see
 > any related autobuilder errors?
 >
 > http://autobuild.buildroot.net/?reason=libcap-2.27
 >
 > And I don't see any reference to GOLANG in libcap-2.27?



More information about the buildroot mailing list