goharbor / xk6-harbor

GNU Affero General Public License v3.0
6 stars 13 forks source link

Execute make build crash #1

Closed chlins closed 3 years ago

chlins commented 3 years ago
......
2021/04/06 10:42:44 package field systeminfo
2021/04/06 10:42:44 creating generated file "get_systeminfo_volumes_parameters.go" in "pkg/harbor/client/systeminfo" as parameters
2021/04/06 10:42:44 executed template asset:clientParameter
2021/04/06 10:42:44 name field GetSysteminfoVolumes
2021/04/06 10:42:44 package field systeminfo
2021/04/06 10:42:44 creating generated file "get_systeminfo_volumes_responses.go" in "pkg/harbor/client/systeminfo" as responses
2021/04/06 10:42:44 executed template asset:clientResponse
2021/04/06 10:42:44 rendering 1 templates for operation group
2021/04/06 10:42:44 name field systeminfo
2021/04/06 10:42:44 creating generated file "systeminfo_client.go" in "pkg/harbor/client/systeminfo" as client
2021/04/06 10:42:44 executed template asset:clientClient
2021/04/06 10:42:44 rendering 1 templates for application HarborAPI
2021/04/06 10:42:44 name field HarborAPI
2021/04/06 10:42:44 package field client
2021/04/06 10:42:44 creating generated file "harbor_api_client.go" in "pkg/harbor/client" as facade
2021/04/06 10:42:44 executed template asset:clientFacade
2021/04/06 10:42:44 Generation completed!

For this generation to compile you need to have some packages in your GOPATH:

    * github.com/go-openapi/errors
    * github.com/go-openapi/runtime
    * github.com/go-openapi/runtime/client
    * github.com/go-openapi/strfmt

You can get these now with: go get -u -f pkg/harbor/...
/Library/Developer/CommandLineTools/usr/bin/make /Users/chlins/Github/xk6-harbor/bin
make[2]: `/Users/chlins/Github/xk6-harbor/bin' is up to date.
cd "/tmp/xk6-harbor.eGi7" && \
    go mod init gomodifytags && \
    go get 'github.com/fatih/gomodifytags@v1.13.0' && \
    go build -mod=readonly -o /Users/chlins/Github/xk6-harbor/bin/gomodifytags-1.13.0 github.com/fatih/gomodifytags && \
    cd -
go: creating new go.mod: module gomodifytags
go: warning: ignoring go.mod in system temp root /tmp/xk6-harbor.eGi7
go: warning: ignoring go.mod in system temp root /tmp/xk6-harbor.eGi7
cannot find module providing package github.com/fatih/gomodifytags: import lookup disabled by -mod=readonly
make[1]: *** [/Users/chlins/Github/xk6-harbor/bin/gomodifytags-1.13.0] Error 1
make: *** [gomodifytags] Error 2