splunk / qbec

configure kubernetes objects on multiple clusters using jsonnet

Home Page:https://qbec.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot build current version

krakazyabra opened this issue · comments

Faced with problems building from master:

git clone https://github.com/splunk/qbec.git
cd qbec
[egor@egor-powerbook qbec]$ make
go install -ldflags '-X "github.com/splunk/qbec/internal/commands.version=0.14.8" -X "github.com/splunk/qbec/internal/commands.commit=5508c45" -X "github.com/splunk/qbec/internal/commands.goVersion=1.17.1"' ./...
go: downloading github.com/ghodss/yaml v1.0.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/spf13/cobra v1.1.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading k8s.io/apimachinery v0.17.13
go: downloading github.com/bmatcuk/doublestar/v4 v4.0.2
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading k8s.io/client-go v0.17.13
go: downloading github.com/go-openapi/spec v0.19.12
go: downloading github.com/go-openapi/validate v0.19.12
go: downloading github.com/go-openapi/strfmt v0.19.8
go: downloading k8s.io/gengo v0.0.0-20201105220851-a92726d06152
go: downloading github.com/jonboulle/clockwork v0.1.0
go: downloading k8s.io/kube-openapi v0.0.0-20200410145947-bcb3869e6f29
go: downloading github.com/googleapis/gnostic v0.2.0
go: downloading k8s.io/kubectl v0.17.13
go: downloading github.com/google/go-jsonnet v0.17.1-0.20210606191319-46d1fceb9c77
go: downloading github.com/tidwall/pretty v1.0.0
go: downloading gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd
go: downloading github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d
go: downloading k8s.io/klog v1.0.0
go: downloading github.com/go-openapi/jsonpointer v0.19.3
go: downloading github.com/go-openapi/jsonreference v0.19.4
go: downloading github.com/go-openapi/swag v0.19.11
go: downloading github.com/asaskevich/govalidator v0.0.0-20200428143746-21a406dcc535
go: downloading github.com/go-openapi/errors v0.19.7
go: downloading github.com/mitchellh/mapstructure v1.3.2
go: downloading go.mongodb.org/mongo-driver v1.4.2
go: downloading github.com/google/gofuzz v1.1.0
go: downloading github.com/evanphx/json-patch v4.9.0+incompatible
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading sigs.k8s.io/yaml v1.2.0
go: downloading github.com/golang/protobuf v1.4.3
go: downloading k8s.io/api v0.17.13
go: downloading golang.org/x/net v0.0.0-20200602114024-627f9648deb9
go: downloading github.com/imdario/mergo v0.3.5
go: downloading golang.org/x/crypto v0.0.0-20200220183623-bac4c82f6975
go: downloading github.com/go-openapi/analysis v0.19.10
go: downloading github.com/go-openapi/loads v0.19.5
go: downloading github.com/go-openapi/runtime v0.19.16
go: downloading github.com/PuerkitoBio/purell v1.1.1
go: downloading github.com/mailru/easyjson v0.7.1
go: downloading github.com/json-iterator/go v1.1.8
go: downloading github.com/modern-go/reflect2 v1.0.1
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading google.golang.org/protobuf v1.23.0
go: downloading github.com/Azure/go-autorest/autorest v0.9.0
go: downloading github.com/Azure/go-autorest/autorest/adal v0.5.0
go: downloading golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
go: downloading github.com/gophercloud/gophercloud v0.1.0
go: downloading golang.org/x/time v0.0.0-20190308202827-9d24e82272b4
go: downloading k8s.io/utils v0.0.0-20191114184206-e782cd3c129f
go: downloading github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
go: downloading golang.org/x/text v0.3.3
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/go-stack/stack v1.8.0
go: downloading github.com/Azure/go-autorest/tracing v0.5.0
go: downloading github.com/Azure/go-autorest/logger v0.1.0
go: downloading github.com/Azure/go-autorest/autorest/date v0.1.0
go: downloading github.com/dgrijalva/jwt-go v3.2.0+incompatible
go: downloading cloud.google.com/go v0.46.3
Makefile:56: ***  Some files are ill formatted! Run:     gofmt -s -w ./vm/internal/natives/helm.go     gofmt -s -w ./internal/commands/integration_scaffold_test.go     gofmt -s -w ./internal/commands/integration_test.go.  Stop.
[egor@egor-powerbook qbec]$ make
go install -ldflags '-X "github.com/splunk/qbec/internal/commands.version=0.14.8" -X "github.com/splunk/qbec/internal/commands.commit=5508c45" -X "github.com/splunk/qbec/internal/commands.goVersion=1.17.1"' ./...
Makefile:56: ***  Some files are ill formatted! Run:     gofmt -s -w ./vm/internal/natives/helm.go     gofmt -s -w ./internal/commands/integration_scaffold_test.go     gofmt -s -w ./internal/commands/integration_test.go.  Stop.

[egor@egor-powerbook qbec]$ go version
go version go1.17.1 linux/amd64

looks like there is a difference between go 1.6 and 1.17 in terms of fmt rules?