Jaeger: Cannot build binaries

Created on 29 Oct 2019  路  4Comments  路  Source: jaegertracing/jaeger

I am trying to follow the CONTRIBUTING.md to build the binaries, in order to contribute them to conda forge https://github.com/conda-forge/staged-recipes/pull/9945

However, when I run build-binaries-darwin (I am on a mac), I get:

$ make build-binaries-darwin
GOOS=darwin /Applications/Xcode.app/Contents/Developer/usr/bin/make build-platform-binaries
CGO_ENABLED=0 installsuffix=cgo go build -o ./cmd/agent/agent-darwin -ldflags "-X github.com/jaegertracing/jaeger/pkg/version.commitSHA=6887ae4b92814c7e54592b5e7081d92a96cdcf64 -X github.com/jaegertracing/jaeger/pkg/version.latestVersion=v1.14.0 -X github.com/jaegertracing/jaeger/pkg/version.date=2019-10-29T16:51:07Z" ./cmd/agent/main.go
esc -pkg mappings -o plugin/storage/es/mappings/gen_assets.go -ignore assets -prefix plugin/storage/es/mappings plugin/storage/es/mappings
CGO_ENABLED=0 installsuffix=cgo go build -o ./cmd/collector/collector-darwin -ldflags "-X github.com/jaegertracing/jaeger/pkg/version.commitSHA=6887ae4b92814c7e54592b5e7081d92a96cdcf64 -X github.com/jaegertracing/jaeger/pkg/version.latestVersion=v1.14.0 -X github.com/jaegertracing/jaeger/pkg/version.date=2019-10-29T16:51:10Z" ./cmd/collector/main.go
CGO_ENABLED=0 installsuffix=cgo go build -tags ui -o ./cmd/query/query-darwin -ldflags "-X github.com/jaegertracing/jaeger/pkg/version.commitSHA=6887ae4b92814c7e54592b5e7081d92a96cdcf64 -X github.com/jaegertracing/jaeger/pkg/version.latestVersion=v1.14.0 -X github.com/jaegertracing/jaeger/pkg/version.date=2019-10-29T16:51:14Z" ./cmd/query/main.go
# github.com/jaegertracing/jaeger/cmd/query/app/ui
cmd/query/app/ui/actual.go:24:19: undefined: assets.FS
make[1]: *** [build-query] Error 2
make: *** [build-binaries-darwin] Error 2

Any ideas?

Most helpful comment

you also need to make build-ui

All 4 comments

did you run this first?

git submodule update --init --recursive
dep ensure
make install-tools
make test

Yes

you also need to make build-ui

@yurishkuro Thanks, that fixed it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

black-adder picture black-adder  路  4Comments

trondhindenes picture trondhindenes  路  4Comments

albertteoh picture albertteoh  路  3Comments

pavolloffay picture pavolloffay  路  3Comments

elgalu picture elgalu  路  3Comments