Bug 266814 - Mk/Uses/go.mk: Fails to build sysutils/gotop version 4.2.0
Summary: Mk/Uses/go.mk: Fails to build sysutils/gotop version 4.2.0
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Golang Team (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-04 05:34 UTC by Yuri Victorovich
Modified: 2022-10-04 10:38 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2022-10-04 05:34:39 UTC
Build breaks:


[...]
crypto/elliptic
# golang.org/x/sys/unix
vendor/golang.org/x/sys/unix/syscall.go:83:16: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_unix.go:118:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
crypto/internal/boring/bbig
encoding/asn1
crypto/ed25519
crypto/rsa
crypto/dsa
vendor/golang.org/x/text/secure/bidirule
encoding/csv
github.com/xxxserxxx/gotop/v4/utils
vendor/golang.org/x/net/idna
crypto/x509/pkix
vendor/golang.org/x/crypto/cryptobyte
crypto/ecdsa
vendor/golang.org/x/net/http/httpproxy
net/textproto
crypto/x509
vendor/golang.org/x/net/http/httpguts
mime/multipart
crypto/tls
net/http/httptrace
net/http
github.com/xxxserxxx/lingo/v2
github.com/xxxserxxx/gotop/v4/termui
github.com/xxxserxxx/gotop/v4/colorschemes
*** Error code 2
Comment 1 Dmitri Goutnik freebsd_committer freebsd_triage 2022-10-04 10:38:21 UTC
This is an upstream issue, they need to either stick to the golang.org/x/sys/unix version that is buildable with go1.16 or update their go.mod.