Confused about this bug. The first entry refers to Go package compilation failing for libcap-2.32. It is not clear which version of golang is installed, but the whole module support for Go has changed substantially since libcap-2.32 was new. Modern golang does not work with that old version of libcap. Please try libcap-2.66. A walk through of using it is documented here:
https://sites.google.com/site/fullycapable/getting-started-with-go The second comment in this bug has nothing to do with Go, but refers to trying to build libcap-2.24 (which is yet older). The failure mode there is because libattr is not installed on your system. FWIW the need for `-lattr` was removed in libcap-2.25 via this commit. https://git.kernel.org/pub/scm/libs/libcap/libcap.git/commit/?id=85f38a573fc47472ab792e813b6f6b6f0b1df112 Again the current libcap release is 2.66. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to libcap2 in Ubuntu. https://bugs.launchpad.net/bugs/1955804 Title: make and make test fail Status in libcap2 package in Ubuntu: New Bug description: Hello, make and make test fail like the printscreen following : CGO_LDFLAGS_ALLOW="-Wl,-wrap,.+" CGO_CFLAGS="-I/home/ubuntu/programs/libcap-2.32/libcap/include" CGO_LDFLAGS="-L/home/ubuntu/programs/libcap-2.32/libcap" GOPATH="/home/ubuntu/programs/libcap-2.32/go" go install libcap/psx go install: version is required when current directory is not in a module Try 'go install libcap/psx@latest' to install the latest version make[1]: *** [Makefile:37 : pkg/linux_amd64/libcap/psx.a] Erreur 1 make[1] : on quitte le répertoire « /home/ubuntu/programs/libcap-2.32/go » make: *** [Makefile:13 : all] Erreur 2 root@ubuntu-ThinkPad-X250:/home/ubuntu/programs/libcap-2.32# go install libcap/psx@latest go install: libcap/psx@latest: malformed module path "libcap/psx": missing dot in first path element root@ubuntu-ThinkPad-X250:/home/ubuntu/programs/libcap-2.32# thank you in advance to help myself fully install your program, Regards. Dorian ROSSE. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libcap2/+bug/1955804/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp