Skip to content

v1.13.0 fails during installation due to github.com/bgentry/go-netrc #352

@dgnemo

Description

@dgnemo

Installing bazelisk via go install / go get fails on version 1.13.0, but works for v1.12.2

using go 1.15

# GOPATH=/usr/local/go go get github.com/bazelbuild/bazelisk
package github.com/bgentry/go-netrc: no Go files in /usr/local/go/src/github.com/bgentry/go-netrc

using go 1.18.5

diego@diego-cloudtop:~/src/cloudtops/config$ sudo go install github.com/bazelbuild/bazelisk@latest
go: downloading github.com/bazelbuild/bazelisk v1.13.0
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: downloading github.com/hashicorp/go-version v1.6.0
go: finding module for package github.com/bgentry/go-netrc
/root/go/pkg/mod/github.com/bazelbuild/bazelisk@v1.13.0/httputil/httputil.go:19:2: module github.com/bgentry/go-netrc@latest found (v0.0.0-20140422174119-9fd32a8b3d3d), but does not contain package github.com/bgentry/go-netrc

diego@diego-cloudtop:~/src/cloudtops/config$ sudo go install github.com/bazelbuild/bazelisk@v1.13.0
go: finding module for package github.com/bgentry/go-netrc
/root/go/pkg/mod/github.com/bazelbuild/bazelisk@v1.13.0/httputil/httputil.go:19:2: module github.com/bgentry/go-netrc@latest found (v0.0.0-20140422174119-9fd32a8b3d3d), but does not contain package github.com/bgentry/go-netrc

diego@diego-cloudtop:~/src/cloudtops/config$ sudo go install github.com/bazelbuild/bazelisk@v1.12.2
go: downloading github.com/bazelbuild/bazelisk v1.12.2
go: downloading github.com/jdxcode/netrc v0.0.0-20210204082910-926c7f70242a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions