Ali_Tahir
(Ali Tahir)
September 15, 2020, 5:16am
1
I get the following error on running make inside libbeat
go build -ldflags "-X github.com/elastic/beats/libbeat/version.buildTime=2020-09-15T05:09:36Z -X github.com/elastic/beats/libbeat/version.commit=3435fe9f46e53708d3f658902c234ef2fea5b026 "
without -mod=vendor, directory /usr/local/go/src/github.com/visasimbu/iibbeat/vendor/github.com/elastic/beats/v7/libbeat has no package path
make: *** [libbeat] Error 1
I'm confused on this as it has package paths and not path
mtojek
(Marcin Tojek)
September 15, 2020, 7:25am
2
I need more details here.
Which go version are you using?
What is your working directory (pwd
)?
Ali_Tahir
(Ali Tahir)
September 15, 2020, 7:30am
3
cwd : vendor\github.com \elastic\beats\v7\libbeat
go version go1.15.2 linux/amd64
Python 2.7.5
mtojek
(Marcin Tojek)
September 15, 2020, 8:15am
4
You definitely shouldn't build it from inside the vendor directory.
I'm not quite sure what are you trying to achieve. Are you fixing a bug in libbeat?
Ali_Tahir
(Ali Tahir)
September 15, 2020, 8:42am
5
I had fork/exec error and i did not wanted to turn it off completely so i was learning about seccomp use in it. I did some changes to learn about the impact.
system
(system)
Closed
October 13, 2020, 10:42am
6
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.