Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Dep installation fails on Go version 1.7.x #1967

@HaraldNordgren

Description

@HaraldNordgren

What dep command did you run?

$ docker run golang:1.7 bash -c 'go get -v github.com/golang/dep/cmd/dep'
github.com/golang/dep (download)
github.com/golang/dep/vendor/github.com/Masterminds/semver
github.com/golang/dep/vendor/github.com/Masterminds/vcs
github.com/golang/dep/vendor/github.com/armon/go-radix
github.com/golang/dep/vendor/github.com/boltdb/bolt
github.com/golang/dep/vendor/github.com/golang/protobuf/proto
github.com/golang/dep/gps/paths
github.com/golang/dep/gps/pkgtree
github.com/golang/dep/vendor/github.com/pkg/errors
github.com/golang/dep/internal/fs
github.com/golang/dep/vendor/github.com/jmank88/nuts
github.com/golang/dep/vendor/github.com/nightlyone/lockfile
github.com/golang/dep/vendor/github.com/sdboyer/constext
github.com/golang/dep/vendor/golang.org/x/net/context
github.com/golang/dep/vendor/golang.org/x/sync/errgroup
github.com/golang/dep/gps/internal/pb
github.com/golang/dep/vendor/github.com/pelletier/go-toml
github.com/golang/dep/gps
# github.com/golang/dep/gps
src/github.com/golang/dep/gps/constraint.go:378: undefined: sort.SliceStable
src/github.com/golang/dep/gps/lock.go:31: undefined: sort.SliceIsSorted
src/github.com/golang/dep/gps/lock.go:38: undefined: sort.Slice
github.com/golang/dep/vendor/gopkg.in/yaml.v2

The command works on later Go images.

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