Eksctl: Building eksctl using Go 1.13

Created on 3 Oct 2019  Â·  2Comments  Â·  Source: weaveworks/eksctl

What happened?
Eksctl does not build with Golang 1.13

What you expected to happen?
Eksctl builds successfully

How to reproduce it?

Anything else we need to know?
Compiling Eksctl from source on MacOS X using Go from MacPorts

Versions

macport Version: 2.6.1
go version go1.13.1 darwin/amd64 (port: go @1.13.1_0)

Logs

make build
go: github.com/goreleaser/[email protected] requires
    [email protected] requires
    contrib.go.opencensus.io/exporter/[email protected] requires
    github.com/census-instrumentation/[email protected]: invalid pseudo-version: version before v0.1.0 would have negative patch number
go: github.com/goreleaser/[email protected] requires
    [email protected] requires
    contrib.go.opencensus.io/exporter/[email protected] requires
    github.com/census-instrumentation/[email protected]: invalid pseudo-version: version before v0.1.0 would have negative patch number
go: github.com/goreleaser/[email protected] requires
    [email protected] requires
    contrib.go.opencensus.io/exporter/[email protected] requires
    github.com/census-instrumentation/[email protected]: invalid pseudo-version: version before v0.1.0 would have negative patch number
env GOBIN=/Users/szczad/go/bin time go generate ./pkg/nodebootstrap
go: github.com/goreleaser/[email protected] requires
    [email protected] requires
    contrib.go.opencensus.io/exporter/[email protected] requires
    github.com/census-instrumentation/[email protected]: invalid pseudo-version: version before v0.1.0 would have negative patch number
        0.26 real         0.19 user         0.13 sys
make: *** [pkg/nodebootstrap/maxpods.go] Error 1
kinbug

Most helpful comment

I am having the same issue, what I did is to add the below replace in go.mod file.

replace (
    github.com/census-instrumentation/opencensus-proto v0.1.0-0.20181214143942-ba49f56771b8 => github.com/census-instrumentation/opencensus-proto v0.2.1
)

All 2 comments

I am having the same issue, what I did is to add the below replace in go.mod file.

replace (
    github.com/census-instrumentation/opencensus-proto v0.1.0-0.20181214143942-ba49f56771b8 => github.com/census-instrumentation/opencensus-proto v0.2.1
)

We can close this one now :) @martina-if

Was this page helpful?
0 / 5 - 0 ratings