Make Inside libbeat fails

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

I need more details here.

  1. Which go version are you using?
  2. What is your working directory (pwd)?

cwd : vendor\github.com\elastic\beats\v7\libbeat
go version go1.15.2 linux/amd64
Python 2.7.5

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?

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.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.