coredns: The gopkg.in/DataDog/dd-trace-go.v0/opentracing dependency is broken

In the FreeBSD port it first wants dd-trace-go.v0:

plugin/trace/trace.go:22:2: cannot find package "gopkg.in/DataDog/dd-trace-go.v0/opentracing" in any of:
	/usr/ports/dns/coredns/work/src/github.com/coredns/coredns/vendor/gopkg.in/DataDog/dd-trace-go.v0/opentracing (vendor tree)
	/usr/local/go/src/gopkg.in/DataDog/dd-trace-go.v0/opentracing (from $GOROOT)
	/usr/ports/dns/coredns/work/src/gopkg.in/DataDog/dd-trace-go.v0/opentracing (from $GOPATH)

But after I add it, it also wants the same package dd-trace-go without v0:

vendor/gopkg.in/DataDog/dd-trace-go.v0/opentracing/span.go:7:2: cannot find package "github.com/DataDog/dd-trace-go/tracer" in any of:
	/usr/ports/dns/coredns/work/src/github.com/coredns/coredns/vendor/gopkg.in/DataDog/dd-trace-go.v0/vendor/github.com/DataDog/dd-trace-go/tracer (vendor tree)
	/usr/ports/dns/coredns/work/src/github.com/coredns/coredns/vendor/github.com/DataDog/dd-trace-go/tracer
	/usr/local/go/src/github.com/DataDog/dd-trace-go/tracer (from $GOROOT)
	/usr/ports/dns/coredns/work/src/github.com/DataDog/dd-trace-go/tracer (from $GOPATH)

Now I am stuck with the FreeBSD port. Adding dd-trace-go without v0 doesn’t help.

It also doesn’t seem right that both v0 and non-v0 versions are imported into the same project.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

They do have some readme for how to migrate, I can look into it today.

Sent from my iPhone

On 27 May 2019, at 11.09, Michael Grosser notifications@github.com wrote:

Go modules specifically was created to address the two different versions problem. So in my view still not a bug within CoreDNS, but moving to the latest version would be great. If you want to push a PR that would be great.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.