Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't install go on freebsd 12.2 #50022

Closed
django-nauts opened this issue Dec 7, 2021 · 1 comment
Closed

I can't install go on freebsd 12.2 #50022

django-nauts opened this issue Dec 7, 2021 · 1 comment

Comments

@django-nauts
Copy link

django-nauts commented Dec 7, 2021

Hi. I tried to go-1.17.1,1 install golang on FreeBSD 12.2-RELEASE amd64
and updated and upgraded my system:
sudo pkg update && sudo pkg upgrade
and tried to install go:
sudo pkg install go
The installation was 100% complete, but this error message was displayed:
pkg: go-1.17.1,1 failed checksum from repository
So I tried to compile it:
sudo su
cd /usr/ports/lang/go/ && make -DBATCH install clean
failed again:


===> go-1.15.8,1 has known vulnerabilities:
go-1.15.8,1 is vulnerable:
go -- multiple vulnerabilities
CVE: CVE-2021-41772
CVE: CVE-2021-41771
WWW: https://vuxml.FreeBSD.org/freebsd/930def19-3e05-11ec-9ba8-002324b2fba8.html

go -- net/http: ReadRequest can stack overflow due to recursion with very large headers
CVE: CVE-2021-31525
WWW: https://vuxml.FreeBSD.org/freebsd/7f242313-aea5-11eb-8151-67f74cf7c704.html

go -- encoding/xml: infinite loop when using xml.NewTokenDecoder with a custom TokenReader; archive/zip: panic when calling Reader.Open
CVE: CVE-2021-27919
CVE: CVE-2021-27918
WWW: https://vuxml.FreeBSD.org/freebsd/72709326-81f7-11eb-950a-00155d646401.html

go -- crypto/tls: clients can panic when provided a certificate of the wrong type for the negotiated parameters
CVE: CVE-2021-34558
WWW: https://vuxml.FreeBSD.org/freebsd/c365536d-e3cf-11eb-9d8d-b37b683944c2.html

go -- net/http: panic due to racy read of persistConn after handler panic
CVE: CVE-2021-36221
WWW: https://vuxml.FreeBSD.org/freebsd/880552c4-f63f-11eb-9d56-7186043316e9.html

go -- misc/wasm, cmd/link: do not let command line arguments overwrite global data
CVE: CVE-2021-38297
WWW: https://vuxml.FreeBSD.org/freebsd/4fce9635-28c0-11ec-9ba8-002324b2fba8.html

go -- multiple vulnerabilities
CVE: CVE-2021-33196
CVE: CVE-2021-33195
CVE: CVE-2021-33197
CVE: CVE-2021-33198
WWW: https://vuxml.FreeBSD.org/freebsd/079b3641-c4bd-11eb-a22a-693f0544ae52.html

go -- archive/zip: overflow in preallocation check can cause OOM panic
CVE: CVE-2021-39293
WWW: https://vuxml.FreeBSD.org/freebsd/4ea1082a-1259-11ec-b4fa-dd5a552bdd17.html

8 problem(s) in 1 installed package(s) found.
=> Please update your ports tree and try again.
=> Note: Vulnerable ports are marked as such even if there is no update available.
=> If you wish to ignore this vulnerability rebuild with 'make DISABLE_VULNERABILITIES=yes'
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/go`


I read a blog post about how to install go on freebsd and did all the steps like that but it can't find go version.
appreciate for any help

@ALTree
Copy link
Member

ALTree commented Dec 7, 2021

failed checksum from repository

This is a freebsd error message, it's not printed by Go, so I think this is an issue with your system or the Go freebsd package. You're more likely to get help on a freebsd forum.

As for go1.15, it's no longer supported (1.16 and 1.17 are).

Closing here since this is not a bug in Go.

@ALTree ALTree closed this as completed Dec 7, 2021
@golang golang locked and limited conversation to collaborators Dec 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants