Skip to content

test and lint fail #169

Description

@DaanHoogland

I cannot build cloudmonkey: even in clean main it says

make tests
▶  Running gofmt…
▶  Building golint…
go: github.com/golang/lint@v0.0.0-20210508222113-6edffad5e616 (matching github.com/golang/lint/golint@upgrade) requires github.com/golang/lint@v0.0.0-20210508222113-6edffad5e616: parsing go.mod:
	module declares its path as: golang.org/x/lint
	        but was required as: github.com/golang/lint
make: *** [/Users/daan/apache/cloudstack-cloudmonkey/bin/golint] Error 1

After changing the Makefile to change the origin i have to change the vendor file with go mod vendor.

make lint
▶  Building golint…
▶  Running golint…
/bin/sh: /Users/daan/apache/cloudstack-cloudmonkey/bin/golint: No such file or directory
/bin/sh: /Users/daan/apache/cloudstack-cloudmonkey/bin/golint: No such file or directory
/bin/sh: /Users/daan/apache/cloudstack-cloudmonkey/bin/golint: No such file or directory
/bin/sh: /Users/daan/apache/cloudstack-cloudmonkey/bin/golint: No such file or directory

Either the install of golint fails or goes to a different location.
GOPATH is set and the go bin dir is in my path. (GOPATH=~/go/ and ~/go/bin is in PATH)

make all, make build, make dist all work.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    builddevelopment and/or build issue

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions