CGO_ENABLED=0 go build -a -o build/migrate.linux-386 -ldflags="-s -w -X main.Version=4.15.2-83-g84009cf" -tags "postgres mysql redshift cassandra spanner cockroachdb yugabytedb clickhouse mongodb sqlserver firebird neo4j pgx pgx5 file go_bindata github github_ee bitbucket aws_s3 google_cloud_storage godoc_vfs gitlab" ./cmd/migrate
../../go/pkg/mod/google.golang.org/grpc@v1.51.0/xds/internal/balancer/ringhash/ring.go:26:2: missing go.sum entry needed to verify package github.com/cespare/xxhash/v2 (imported by google.golang.org/grpc/xds/internal/resolver) is provided by exactly one module; to add:
go get google.golang.org/grpc/xds/internal/resolver@v1.51.0
../../go/pkg/mod/github.com/!azure/go-autorest/autorest/adal@v0.9.16/token.go:40:2: missing go.sum entry needed to verify package github.com/golang-jwt/jwt/v4 (imported by github.com/Azure/go-autorest/autorest/adal) is provided by exactly one module; to add:
go get github.com/Azure/go-autorest/autorest/adal@v0.9.16
../../go/pkg/mod/github.com/jackc/pgconn@v1.14.0/config.go:21:2: missing go.sum entry needed to verify package github.com/jackc/chunkreader/v2 (imported by github.com/jackc/pgconn) is provided by exactly one module; to add:
go get github.com/jackc/pgconn@v1.14.0
../../go/pkg/mod/github.com/jackc/pgconn@v1.14.0/auth_scram.go:25:2: missing go.sum entry needed to verify package github.com/jackc/pgproto3/v2 (imported by github.com/jackc/pgconn) is provided by exactly one module; to add:
go get github.com/jackc/pgconn@v1.14.0
../../go/pkg/mod/github.com/jackc/pgx/v5@v5.3.1/pgconn/pgconn.go:19:2: //go:build comment without // +build comment
../../go/pkg/mod/github.com/jackc/pgx/v5@v5.3.1/conn.go:15:2: //go:build comment without // +build comment
../../go/pkg/mod/github.com/jackc/pgx/v5@v5.3.1/pgtype/builtin_wrappers.go:9:2: package net/netip is not in GOROOT (/usr/local/Cellar/go/1.16.5/libexec/src/net/netip)
Details:
This appears to be happening on master. But not on tag/v4.15.2
Bug
Steps
git clone https://github.com/golang-migrate/migrate.git
cd migrate
go mod download
make build-docker
Expected
No error when building.
Actual
Details:
This appears to be happening on master. But not on tag/v4.15.2