You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go get -d golang.org/x/crypto@latest
go mod tidy
go mod vendor
it seems work as expect so far
git status
modified: go.mod
modified: go.sum
deleted: vendor/golang.org/x/crypto/AUTHORS
deleted: vendor/golang.org/x/crypto/CONTRIBUTORS
modified: vendor/golang.org/x/crypto/chacha20/chacha_generic.go
modified: vendor/golang.org/x/crypto/chacha20/chacha_s390x.go
modified: vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_amd64.go
modified: vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_generic.go
modified: vendor/golang.org/x/crypto/cryptobyte/builder.go
modified: vendor/golang.org/x/crypto/cryptobyte/string.go
modified: vendor/golang.org/x/crypto/curve25519/curve25519.go
modified: vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64.go
modified: vendor/golang.org/x/crypto/internal/poly1305/sum_generic.go
modified: vendor/golang.org/x/crypto/internal/poly1305/sum_s390x.go
deleted: vendor/golang.org/x/crypto/internal/subtle/aliasing.go
deleted: vendor/golang.org/x/crypto/internal/subtle/aliasing_purego.go
modified: vendor/modules.txt
Untracked files:
(use "git add <file>..." to include in what will be committed)
crypto/test/
vendor/golang.org/x/crypto/internal/alias/
vendor/golang.org/x/crypto/ripemd160/
vendor/golang.org/x/crypto/sha3/
then I build new golang from source ./all.bash
After a while, it ends up with error like this:
./all.bash
Building Go cmd/dist using /usr/local/go. (go1.18.2 linux/amd64)
Building Go toolchain1 using /usr/local/go.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
Building Go toolchain2 using go_bootstrap and Go toolchain1.
Building Go toolchain3 using go_bootstrap and Go toolchain2.
Building packages and commands for linux/amd64.
/home/ubuntu/workspace/ubuntu/go/src/crypto/test/test.go:4:2: package golang_org/x/crypto/ripemd160 is not in GOROOT (/home/ubuntu/workspace/ubuntu/go/src/golang_org/x/crypto/ripemd160)
/home/ubuntu/workspace/ubuntu/go/src/crypto/test/test.go:5:2: package golang_org/x/crypto/sha3 is not in GOROOT (/home/ubuntu/workspace/ubuntu/go/src/golang_org/x/crypto/sha3)
go tool dist: FAILED: /home/ubuntu/workspace/ubuntu/go/pkg/tool/linux_amd64/go_bootstrap install -gcflags=all= -ldflags=all= std cmd: exit status 1
What did you expect to see?
Required packages are already vendored, they should be possible to be imported.
What did you see instead?
build failed, I don't get my golang
The text was updated successfully, but these errors were encountered:
liyimeng
changed the title
affected/package: all.bash
all.bash build from source failed
Oct 6, 2022
liyimeng
changed the title
all.bash build from source failed
all.bash build from source failed to import new vendors
Oct 6, 2022
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Not sure
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I wanna custom tls package, which is not possible to be done via module, so I would like to fork this repo and build from source.
Here is what I did:
it seems work as expect so far
./all.bash
After a while, it ends up with error like this:
What did you expect to see?
Required packages are already vendored, they should be possible to be imported.
What did you see instead?
build failed, I don't get my golang
The text was updated successfully, but these errors were encountered: