Skip to content

cfssl build failure: conflicting dependencies #1142

@saleem-mirza

Description

@saleem-mirza

I am trying to build cfssl but its failing because of conflicts in mod

go get: github.com/coreos/bbolt@v1.3.2 updating to
        github.com/coreos/bbolt@v1.3.5: parsing go.mod:
        module declares its path as: go.etcd.io/bbolt
                but was required as: github.com/coreos/bbolt

Environment:
OS: Windows 10 64bit
GO verison: go1.15.3 windows/amd64

any help is highly appreciated.

please see full log below

> go get -u github.com/cloudflare/cfssl/cmd/cfssl

go: downloading github.com/go-sql-driver/mysql v1.4.0
go: downloading github.com/jmoiron/sqlx v1.2.0
go: downloading golang.org/x/crypto v0.0.0-20201012173705-84dcc777aaee
go: downloading github.com/google/certificate-transparency-go v1.0.21
go: downloading github.com/kisielk/sqlstruct v0.0.0-20150923205031-648daed35d49
go: downloading github.com/lib/pq v1.3.0
go: downloading github.com/zmap/zcrypto v0.0.0-20200911161511-43ff0ea04f21
go: downloading golang.org/x/net v0.0.0-20201010224723-4f7140c49acb
go: downloading github.com/GeertJohan/go.rice v1.0.0
go: downloading github.com/zmap/zlint/v2 v2.2.1
go: downloading github.com/mattn/go-sqlite3 v1.10.0
go: downloading github.com/daaku/go.zipexe v1.0.0
go: downloading github.com/jmhodges/clock v0.0.0-20160418191101-880ee4c33548
go: downloading github.com/weppos/publicsuffix-go v0.13.0
go: downloading google.golang.org/appengine v1.6.6
go: downloading github.com/golang/protobuf v1.3.1
go: downloading golang.org/x/text v0.3.3
go: golang.org/x/text upgrade => v0.3.4
go: downloading github.com/mattn/go-sqlite3 v1.14.4
go: github.com/zmap/zcrypto upgrade => v0.0.0-20201103164829-2760ff0e1c25
go: github.com/daaku/go.zipexe upgrade => v1.0.1
go: github.com/weppos/publicsuffix-go upgrade => v0.13.0
go: github.com/kisielk/sqlstruct upgrade => v0.0.0-20201105191214-5f3e10d3ab46
go: github.com/go-sql-driver/mysql upgrade => v1.5.0
go: golang.org/x/net upgrade => v0.0.0-20201031054903-ff519b6c9102
go: golang.org/x/crypto upgrade => v0.0.0-20201016220609-9e8e0b390897
go: github.com/lib/pq upgrade => v1.8.0
go: google.golang.org/appengine upgrade => v1.6.7
go: github.com/golang/protobuf upgrade => v1.4.3
go: github.com/google/certificate-transparency-go upgrade => v1.1.1
go: github.com/mattn/go-sqlite3 upgrade => v1.14.4
go: downloading github.com/lib/pq v1.8.0
go: downloading github.com/go-sql-driver/mysql v1.5.0
go: downloading github.com/google/certificate-transparency-go v1.1.1
go: downloading github.com/kisielk/sqlstruct v0.0.0-20201105191214-5f3e10d3ab46
go: downloading golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897
go: downloading github.com/daaku/go.zipexe v1.0.1
go: downloading golang.org/x/net v0.0.0-20201031054903-ff519b6c9102
go: downloading github.com/zmap/zcrypto v0.0.0-20201103164829-2760ff0e1c25
go: downloading golang.org/x/text v0.3.4
go: downloading google.golang.org/protobuf v1.25.0
go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: downloading github.com/golang/protobuf v1.4.3
go: downloading go.etcd.io/etcd v0.0.0-20200513171258-e048e166ab9c
go: downloading github.com/golang/mock v1.4.4
go: downloading golang.org/x/tools v0.0.0-20200706234117-b22de6825cf7
go: downloading github.com/urfave/cli v1.22.1
go: downloading github.com/coreos/go-semver v0.3.0
go: downloading github.com/spf13/cobra v0.0.5
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f
go: downloading google.golang.org/grpc v1.29.1
go: downloading gopkg.in/cheggaaa/pb.v1 v1.0.28
go: downloading sigs.k8s.io/yaml v1.1.0
go: downloading github.com/coreos/go-systemd v0.0.0-20190620071333-e64a0ec8b42a
go: downloading github.com/dustin/go-humanize v1.0.0
go: downloading github.com/dgrijalva/jwt-go v3.2.0+incompatible
go: downloading github.com/grpc-ecosystem/grpc-gateway v1.12.1
go: downloading github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
go: downloading github.com/jonboulle/clockwork v0.2.0
go: downloading github.com/tmc/grpc-websocket-proxy v0.0.0-20200427203606-3cfed13b9966
go: downloading github.com/google/uuid v1.1.1
go: downloading github.com/soheilhy/cmux v0.1.4
go: downloading go.uber.org/zap v1.13.0
go: downloading github.com/inconshreveable/mousetrap v1.0.0
go: downloading github.com/bgentry/speakeasy v0.1.0
go: downloading go.uber.org/atomic v1.5.0
go: downloading github.com/prometheus/client_golang v1.7.1
go: downloading github.com/mattn/go-runewidth v0.0.6
go: downloading github.com/google/btree v1.0.0
go: downloading github.com/json-iterator/go v1.1.10
go: downloading google.golang.org/genproto v0.0.0-20200707001353-8e8330bf89df
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading go.uber.org/multierr v1.4.0
go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.2.2
go: downloading github.com/gorilla/websocket v1.4.1
go: downloading github.com/sirupsen/logrus v1.4.2
go: downloading github.com/modern-go/reflect2 v1.0.1
go: downloading github.com/olekukonko/tablewriter v0.0.2
go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
go: downloading github.com/gogo/protobuf v1.3.1
go: downloading go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee
go: downloading golang.org/x/mod v0.3.0
go: downloading github.com/prometheus/common v0.10.0
go: downloading golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/prometheus/client_model v0.2.0
go: downloading honnef.co/go/tools v0.0.1-2020.1.4
go: downloading github.com/konsorten/go-windows-terminal-sequences v1.0.2
go: downloading go.etcd.io/bbolt v1.3.4
go: downloading golang.org/x/lint v0.0.0-20200302205851-738671d3881b
go: downloading github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2
go: downloading gopkg.in/yaml.v2 v2.2.6
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/prometheus/procfs v0.1.3
go: downloading golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.1.1
go: downloading github.com/cpuguy83/go-md2man v1.0.10
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0
go: downloading github.com/russross/blackfriday v1.5.2
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
go: downloading github.com/BurntSushi/toml v0.3.1
go: golang.org/x/sys upgrade => v0.0.0-20201106081118-db71ae66460a
go: golang.org/x/tools upgrade => v0.0.0-20201105220310-78b158585360
go: google.golang.org/genproto upgrade => v0.0.0-20201105153401-9d023cd09d72
go: google.golang.org/grpc upgrade => v1.33.1
go: gopkg.in/yaml.v2 upgrade => v2.3.0
go: github.com/urfave/cli upgrade => v1.22.5
go: github.com/spf13/cobra upgrade => v1.1.1
go: golang.org/x/lint upgrade => v0.0.0-20200302205851-738671d3881b
go: github.com/prometheus/client_model upgrade => v0.2.0
go: sigs.k8s.io/yaml upgrade => v1.2.0
go: golang.org/x/mod upgrade => v0.3.0
go: go.uber.org/atomic upgrade => v1.7.0
go: github.com/konsorten/go-windows-terminal-sequences upgrade => v1.0.3
go: github.com/google/uuid upgrade => v1.1.2
go: honnef.co/go/tools upgrade => v0.0.1-2020.1.6
go: github.com/prometheus/procfs upgrade => v0.2.0
go: github.com/jonboulle/clockwork upgrade => v0.2.2
go: github.com/gorilla/websocket upgrade => v1.4.2
go: github.com/prometheus/client_golang upgrade => v1.8.0
go: github.com/prometheus/common upgrade => v0.14.0
go: github.com/tmc/grpc-websocket-proxy upgrade => v0.0.0-20200427203606-3cfed13b9966
go: github.com/modern-go/concurrent upgrade => v0.0.0-20180306012644-bacd9c7ef1dd
go: github.com/spf13/pflag upgrade => v1.0.5
go: github.com/sirupsen/logrus upgrade => v1.7.0
go: golang.org/x/xerrors upgrade => v0.0.0-20200804184101-5ec99f83aff1
go: github.com/golang/mock upgrade => v1.4.4
go: google.golang.org/protobuf upgrade => v1.25.0
go: github.com/coreos/go-systemd upgrade => v0.0.0-20191104093116-d3cd4ed1dbcf
go: github.com/golang/groupcache upgrade => v0.0.0-20200121045136-8c9f03a8e57e
go: github.com/google/btree upgrade => v1.0.0
go: github.com/gogo/protobuf upgrade => v1.3.1
go: github.com/grpc-ecosystem/grpc-gateway upgrade => v1.16.0
go: golang.org/x/time upgrade => v0.0.0-20200630173020-3af7569d3a1e
go: github.com/olekukonko/tablewriter upgrade => v0.0.4
go: github.com/json-iterator/go upgrade => v1.1.10
go: github.com/coreos/go-semver upgrade => v0.3.0
go: downloading go.etcd.io/etcd v0.5.0-alpha.5
go: github.com/beorn7/perks upgrade => v1.0.1
go: go.etcd.io/bbolt upgrade => v1.3.5
go: github.com/modern-go/reflect2 upgrade => v1.0.1
go: github.com/mattn/go-runewidth upgrade => v0.0.9
go: go.uber.org/multierr upgrade => v1.6.0
go: github.com/coreos/pkg upgrade => v0.0.0-20180928190104-399ea9e2e55f
go: github.com/grpc-ecosystem/go-grpc-middleware upgrade => v1.2.2
go: gopkg.in/cheggaaa/pb.v1 upgrade => v1.0.28
go: github.com/cpuguy83/go-md2man/v2 upgrade => v2.0.0
go: github.com/dustin/go-humanize upgrade => v1.0.0
go: go.uber.org/zap upgrade => v1.16.0
go: go.etcd.io/etcd upgrade => v3.3.25+incompatible
go: downloading go.etcd.io/etcd v3.3.25+incompatible
go: downloading golang.org/x/tools v0.0.0-20201105220310-78b158585360
go: downloading github.com/coreos/etcd v3.3.13+incompatible
go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
go: downloading github.com/urfave/cli v1.22.5
go: downloading github.com/spf13/cobra v1.1.1
go: downloading google.golang.org/grpc v1.33.1
go: downloading github.com/prometheus/client_golang v1.8.0
go: downloading github.com/sirupsen/logrus v1.7.0
go: downloading github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf
go: downloading github.com/jonboulle/clockwork v0.2.2
go: downloading golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e
go: downloading github.com/mattn/go-runewidth v0.0.9
go: downloading github.com/olekukonko/tablewriter v0.0.4
go: downloading golang.org/x/sys v0.0.0-20201106081118-db71ae66460a
go: downloading github.com/prometheus/common v0.14.0
go: downloading github.com/ghodss/yaml v1.0.0
go: downloading github.com/grpc-ecosystem/grpc-gateway v1.16.0
go: downloading github.com/cespare/xxhash v1.1.0
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading github.com/coreos/bbolt v1.3.2
go: downloading google.golang.org/genproto v0.0.0-20201105153401-9d023cd09d72
go: downloading github.com/gorilla/websocket v1.4.2
go: downloading github.com/prometheus/procfs v0.2.0
go: finding module for package google.golang.org/grpc/naming
go: downloading go.uber.org/zap v1.16.0
go: downloading go.uber.org/atomic v1.7.0
go: downloading go.uber.org/multierr v1.6.0
go: github.com/coreos/bbolt upgrade => v1.3.5
go: github.com/coreos/etcd upgrade => v3.3.25+incompatible
go get: github.com/coreos/bbolt@v1.3.2 updating to
        github.com/coreos/bbolt@v1.3.5: parsing go.mod:
        module declares its path as: go.etcd.io/bbolt
                but was required as: github.com/coreos/bbolt

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