[Bug 1955804] Re: make and make test fail
Dorian Rosse
1955804 at bugs.launchpad.net
Wed Oct 5 16:55:39 UTC 2022
I went to keep up this page web below thus libcap 2.66 is installed
without any errors finaly i will close the issue,
regards.
Azaretdodo.
________________________________
De : noreply at launchpad.net <noreply at launchpad.net> de la part de Andrew G. Morgan <1955804 at bugs.launchpad.net>
Envoyé : mercredi 5 octobre 2022 07:13
À : dorianbrice at hotmail.fr <dorianbrice at hotmail.fr>
Objet : [Bug 1955804] Re: make and make test fail
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 subscribed to the bug
report.
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 at 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 at ubuntu-ThinkPad-X250:/home/ubuntu/programs/libcap-2.32# go install libcap/psx at latest
go install: libcap/psx at latest: malformed module path "libcap/psx": missing dot in first path element
root at 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
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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 at 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 at ubuntu-ThinkPad-X250:/home/ubuntu/programs/libcap-2.32# go install libcap/psx at latest
go install: libcap/psx at latest: malformed module path "libcap/psx": missing dot in first path element
root at 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
More information about the foundations-bugs
mailing list