Skip to content

Building Telegraf 1.17.2 fails due to unknown-revision error of the wireguard dependency #8800

@gsauthof

Description

@gsauthof

System info:

Telegraf 1.17.2, Fedora 33, go version 1.15.6

(build is started in a completely pristine $HOME without any go environment variables (such as GOPATH) set)

Steps to reproduce:

  1. git clone https://github.com/influxdata/telegraf.git
  2. git checkout release-1.17
  3. make telegraf

Expected behavior:

The telegraf binary is build sucessfully.

Actual behavior:

go build -mod=mod -ldflags " -X main.commit=74011e22 -X main.branch=release-1.17 -X main.goos=linux -X main.goarch=amd64 -X main.version=1.17.2" ./cmd/telegraf
go: golang.zx2c4.com/wireguard/wgctrl@v0.0.0-20200205215550-e35592f146e4 requires
	golang.zx2c4.com/wireguard@v0.0.20200121: reading golang.zx2c4.com/wireguard/go.mod at revision v0.0.20200121: unknown revision v0.0.20200121
make: *** [Makefile:90: telegraf] Error 1

Additional info:

I did the same steps 1 or 2 weeks ago (on another system) where it succeeded! Perhaps some referenced git repository changed their published tags or something like that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugunexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions