Skip to content

test and lint fail #169

@DaanHoogland

Description

@DaanHoogland

I cannot build cloudmonkey: even in clean main it says

make tests
▶  Running gofmt…
▶  Building golint…
go: github.com/golang/[email protected] (matching github.com/golang/lint/golint@upgrade) requires github.com/golang/[email protected]: 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.

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