Skip to content

cmd/go: go.mod has non-....v2 module path error in master #33154

Closed
@aspacca

Description

@aspacca

What version of Go are you using (go version)?

go version devel +6bf2767cc8 Tue Jul 16 15:37:25 2019 +0000 linux/amd64
go version devel +b5df14c309 Wed Jul 17 12:57:52 2019 +0000 linux/amd64

Does this issue reproduce with the latest release?

No reproducible other than go tip
it seems introduced by 24a6ca0

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GO111MODULE="auto"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/travis/.cache/go-build"
GOENV="/home/travis/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/travis/gopath"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/travis/.gimme/versions/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/travis/.gimme/versions/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/travis/gopath/src/github.com/dutchcoders/transfer.sh/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build599295724=/tmp/go-build -gno-record-gcc-switches"

What did you do?

Run the CI pipeline on travis-ci for github.com/dutchcoders/transfer.sh
(see https://travis-ci.org/dutchcoders/transfer.sh/jobs/559620389 and https://travis-ci.org/dutchcoders/transfer.sh/jobs/559603532)

What did you expect to see?

go get -t -u -v ./... runs with no error

What did you see instead?

go get: upgrading gopkg.in/russross/[email protected]: gopkg.in/russross/[email protected]: invalid version: go.mod has non-....v2 module path "github.com/russross/blackfriday/v2" at revision v2.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.modules

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions