Comments (11)
Hi,
I get an error too
$ go get github.com/uber/jaeger
package github.com/uber/jaeger: no buildable Go source files in /home/vagrant/go/src/github.com/uber/jaeger
$ go get github.com/jaegertracing/jaeger
package github.com/jaegertracing/jaeger: no buildable Go source files in /home/vagrant/go/src/github.com/jaegertracing/jaeger
Any idea ?
from jaeger.
On the first look everything seems ok, the Travis build did compile hotrod successfully
https://travis-ci.org/uber/jaeger#L552
from jaeger.
I tried a few things, all seem to work for me. One strange thing about the error you have is that it refers to /Users/Chris/go/src/github.com/uber-go/zap
- instead it should be looking for it under the ./vendor
dir.
from jaeger.
@LoungeFlyZ How did you get the source code?
Was it with go get github.com/uber/jaeger
or with git clone https://github.com/uber/jaeger.git
in a path different from your $GOPATH?
If it was with the second option it would not work. Instead use the go get github.com/uber/jaeger
and check if it does?
from jaeger.
Thanks @dianvaltodorov, it was with git clone. I did that because go get didnt work either. Here is what i got:
can't load package: package github.com/uber/jaeger: no buildable Go source files in /Users/Chris/go/src/github.com/uber/jaeger
from jaeger.
@LoungeFlyZ we may need to put a dummy file in the root to make sure go get
works. If you're using git clone
, you need to make sure the target dir follows Go convention, i.e. it should be cloned into $GOPATH/src/github.com/uber/jaeger
from jaeger.
I added doc.go
, so that go get
now works.
from jaeger.
@yurishkuro that seemed to fix the go get
issue.
Now when i get to the next step it doesnt want to run:
Chris@Christophers-MacBook-Pro-2 ~/go/src/github.com/uber/jaeger/examples/hotrod master go run ./main.go all pkg/log/factory.go:27:2: cannot find package "go.uber.org/zap" in any of: /Users/Chris/go/src/github.com/uber/jaeger/examples/hotrod/vendor/go.uber.org/zap (vendor tree) /usr/local/Cellar/go/1.8/libexec/src/go.uber.org/zap (from $GOROOT) /Users/Chris/go/src/go.uber.org/zap (from $GOPATH) pkg/log/factory.go:28:2: cannot find package "go.uber.org/zap/zapcore" in any of: /Users/Chris/go/src/github.com/uber/jaeger/examples/hotrod/vendor/go.uber.org/zap/zapcore (vendor tree) /usr/local/Cellar/go/1.8/libexec/src/go.uber.org/zap/zapcore (from $GOROOT) /Users/Chris/go/src/go.uber.org/zap/zapcore (from $GOPATH)
Ideas?
from jaeger.
I think it was missing the main install, I just pushed a change to the Makefile.
from jaeger.
Please reopen if you still have the issue.
from jaeger.
however, that error was not fatal, the code is stil downloaded
from jaeger.
Related Issues (20)
- [Bug]: unknown service opentelemetry.proto.collector.trace.v1.TraceService HOT 1
- Go version upgrade script should not ignore patch version HOT 1
- Pin the version of Delve in the debug images HOT 1
- [v2] Use health check extension in e2e test instead of /metrics HOT 2
- Support tail-based sampling from OTEL Collector HOT 34
- [Feature]: Add SLSA provenance
- [jaeger-v2] Release process
- [RFC] Renovate Streaming Support
- Implement in-memory Service Dependency Graph using Apache Beam HOT 4
- Reliably dump logs from integration tests HOT 2
- Simplify bundling of UI assets HOT 2
- [jaeger-v2] Align Memory Storage Config With OTEL
- [jaeger-v2] Align Badger Storage Config With OTEL
- [jaeger-v2] Align Cassandra Storage Config With OTEL HOT 11
- [Bug]: Is ‘tagType’ in ES jaeger-span mapping correct? Should it be ‘type’? HOT 4
- [jaeger-v2] Dangerous use of tracer in plugin/storage/grpc/factory.go
- Replace loopvar linter HOT 1
- Help upgrading the linter HOT 3
- [Bug]: Possible `panic: nil pointer dereference` HOT 1
- SPM is broken by OTEL's new version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jaeger.