libcap-2.XX in LFS has issues if gcc go compiler is installed

"\"Richard\"" ([email protected] via lfs-support Mailing List) <[email protected]> Wed, 19 Nov 2025 14:07:38 +0000
Newsgroups gmane.linux.lfs.support
Message-ID <[email protected]>
lfs [ /usr/src/libcap-2.77 ]$ make prefix=/usr lib=lib
make -C libcap all

< stuff deleted>

-       "cap_perfmon":            PERFMON,
-       "cap_bpf":                BPF,
-       "cap_checkpoint_restore": CHECKPOINT_RESTORE,
-}
make[1]: *** [Makefile:53: good-names.go] Error 1
make[1]: Leaving directory '/usr/src/libcap-2.77/go'
make: *** [Makefile:14: all] Error 2

It would be nice if this can be fixed to work by someone who is into "go".
Otherwise, this works if go IS installed, and even if it is not:

GOLANG=no make prefix=/usr lib=lib
GOLANG=no make test
GOLANG=no make prefix=/usr lib=lib install

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-support
Unsubscribe: See the above information page