Summary: | lang/go-devel: Tracking bug for build failures of USES=go ports on arm64 | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Tobias Kortkamp <tobik> |
Component: | Individual Port(s) | Assignee: | Dmitri Goutnik <dmgk> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | emaste, mikael |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(dmgk) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any | ||
Bug Depends on: | 242374, 242375, 242376, 242377, 242380, 242381, 242384, 242388, 242418, 242419, 242420, 242422, 242445, 242446, 242447, 242449, 242456, 242555, 242561, 242577, 242578, 242580, 242581, 242604, 242867, 242889, 243779, 243782, 243800, 243801, 243802, 243803, 243804, 243805, 243806, 243809, 243811, 243812, 243813, 243818, 243819, 243820, 244171, 244173, 244194, 244195, 244196, 244197, 244198, 244199, 244200, 244885, 245009, 245011, 245012, 245013, 245058, 245108, 245137, 245142, 245143, 245144, 245147, 245149, 245157, 245161, 245169, 245170, 245208, 245209, 245210, 245211, 245212, 245350, 245351, 245352, 245353, 245355, 245670, 247008, 247045, 247047, 247048, 247049, 247083, 247086, 247113, 247120, 247141, 247142, 247150 | ||
Bug Blocks: |
Description
Tobias Kortkamp
2019-11-30 08:35:05 UTC
Thanks for the triage. How can I get a list of all ports that depend on go-devel? the "undefined: uint128" error is already fixed upstream: https://github.com/golang/sys/commit/33540a1f603772f9d4b761f416f5c10dade23e96 For the "undefined: CAP_RIGHTS_VERSION_00" error, it seems that the FreeBSD arm64 files are not present (I only checked databases/pgmetrics): find databases/pgmetrics -type f -name zerrors_freebsd_arm64.go yields nothing. We'll probably have to bump the golang:sys version It's probably the same problem with others missing definitions in various ports. security/teleport: uses an old golang.org/sys without freebsd arm64 bits. security/boringssl: shouldn't be hard to fix, we already have a fix in chromium (https://svnweb.freebsd.org/ports/head/www/chromium/files/patch-third__party_boringssl_src_crypto_cpu-aarch64-linux.c) (In reply to mikael.urankar from comment #1) I wrote a small utility for queries like this, https://github.com/dmgk/portgrep. `portgrep -u go` will return all ports that have USES=go (adding `-o -1` will print origins only, useful for feeding results to poudriere bulk). Updating dependencies to refer to golang.org/x/sys/unix 33540a1f6037 or later and golang.org/x/net 83d349e8ac1a or later should fix most of these failures. I'll start looking at others next week (been a bit swamped at $work lately). A commit references this bug: Author: tobik Date: Mon Dec 2 22:54:19 UTC 2019 New revision: 518883 URL: https://svnweb.freebsd.org/changeset/ports/518883 Log: mail/aerc: Unbreak on arm64 # git.sr.ht/~sircmpwn/pty vendor/git.sr.ht/~sircmpwn/pty/pty_freebsd.go:50:20: undefined: fiodgnameArg vendor/git.sr.ht/~sircmpwn/pty/pty_freebsd.go:63:12: undefined: _C_SPECNAMELEN vendor/git.sr.ht/~sircmpwn/pty/pty_freebsd.go:66:9: undefined: fiodgnameArg # golang.org/x/sys/unix vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go:400:12: undefined: uint128 http://thunderx1.nyi.freebsd.org/data/head-arm64-default/p518178_s355024/logs/errors/aerc-0.3.0.log Unbreak by updating golang.org/x/sys to 33540a1f6037 which adds support for FreeBSD arm64 and generating the missing git.sr.ht/~sircmpwn/pty/ztypes_freebsd_arm64.go. PR: 242312 Changes: head/mail/aerc/Makefile head/mail/aerc/distinfo A commit references this bug: Author: tobik Date: Mon Dec 2 23:05:21 UTC 2019 New revision: 518884 URL: https://svnweb.freebsd.org/changeset/ports/518884 Log: sysutils/siegfried: Unbreak on arm64 # golang.org/x/sys/unix vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go:400:12: undefined: uint128 http://thunderx1.nyi.freebsd.org/data/head-arm64-default/p518178_s355024/logs/errors/siegfried-1.7.13.log PR: 242312 Changes: head/sysutils/siegfried/files/ head/sysutils/siegfried/files/patch-vendor_golang.org_x_sys_unix_ztypes__freebsd__arm64.go A commit references this bug: Author: tobik Date: Sun Dec 8 10:30:33 UTC 2019 New revision: 519286 URL: https://svnweb.freebsd.org/changeset/ports/519286 Log: sysutils/immortal: Unbreak build on arm64 ./scandir.go:69:5: undefined: WatchDir ./scandir.go:72:5: undefined: WatchDir ./scandir.go:172:12: undefined: WatchFile ./scandir.go:176:11: undefined: WatchFile ./supervise.go:158:12: s.daemon.WatchPid undefined (type *Daemon has no field or method WatchPid) http://thunderx1.nyi.freebsd.org/data/head-arm64-default/p518178_s355024/logs/errors/immortal-0.24.0.log https://github.com/immortal/immortal/pull/55 PR: 242312 Changes: head/sysutils/immortal/Makefile head/sysutils/immortal/distinfo > # gitlab.com/gitlab-org/gitlab-runner/vendor/github.com/kr/pty > vendor/github.com/kr/pty/pty_freebsd.go:50:20: undefined: fiodgnameArg > vendor/github.com/kr/pty/pty_freebsd.go:63:12: undefined: _C_SPECNAMELEN > vendor/github.com/kr/pty/pty_freebsd.go:66:9: undefined: fiodgnameArg PR to fix it upstream: https://github.com/creack/pty/pull/87 PRs for some offending dependencies: https://github.com/sirupsen/logrus/pull/1077 https://github.com/mattn/go-isatty/pull/44 https://github.com/fsnotify/fsnotify/pull/316 net/yggdrasil: https://github.com/yggdrasil-network/yggdrasil-go/pull/635 sysutils/istio fixed in ports r520194 sysutils/kubectl fixed in ports r520195 A commit references this bug: Author: tobik Date: Mon Dec 16 08:21:14 UTC 2019 New revision: 520229 URL: https://svnweb.freebsd.org/changeset/ports/520229 Log: www/gitea: Unbreak on arm64 # golang.org/x/sys/unix vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go:400:12: undefined: uint128 PR: 242312 Changes: head/www/gitea/files/patch-vendor_golang.org_x_sys_unix_ztypes__freebsd__arm64.go A commit references this bug: Author: dmgk Date: Wed Dec 25 19:26:42 UTC 2019 New revision: 520883 URL: https://svnweb.freebsd.org/changeset/ports/520883 Log: www/gohugo: Update to 0.62.0, unbreak on aarch64 - Update to 0.62.0 - Unbreak on aarch64: # golang.org/x/sys/unix vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go:400:12: undefined: uint128 Unbreak by updating golang.org/x/sys to 33540a1f6037 which adds support for freebsd/arm64. Upstream PR: https://github.com/gohugoio/hugo/pull/6671 Changes: https://github.com/gohugoio/hugo/releases/tag/v0.62.0 PR: 242882, 242312 Submitted by: ben.lavery@hashbang0.com (maintainer) Changes: head/www/gohugo/Makefile head/www/gohugo/distinfo devel/dep fixed in ports r520990 A commit references this bug: Author: dmgk Date: Sat Dec 28 16:28:44 UTC 2019 New revision: 521222 URL: https://svnweb.freebsd.org/changeset/ports/521222 Log: devel/liteide: Unbreak on aarch64 http://thunderx1.nyi.freebsd.org/data/head-arm64-default/p520537_s355573/logs/errors/liteide-36.2_1.log # github.com/kr/pty vendor/github.com/kr/pty/pty_freebsd.go:50:20: undefined: fiodgnameArg vendor/github.com/kr/pty/pty_freebsd.go:63:12: undefined: _C_SPECNAMELEN vendor/github.com/kr/pty/pty_freebsd.go:66:9: undefined: fiodgnameArg The fix was merged by upstream as https://github.com/visualfc/gotools/pull/12 PR: 242312 Changes: head/devel/liteide/Makefile head/devel/liteide/distinfo A commit references this bug: Author: dmgk Date: Mon Feb 17 13:02:23 UTC 2020 New revision: 526369 URL: https://svnweb.freebsd.org/changeset/ports/526369 Log: devel/awless: Unbreak on aarch64 - Unbreak by pulling in golang.org/x/sys@33540a1f6037 required for aarch64 - Pet portclippy while here PR: 242312 Changes: head/devel/awless/Makefile head/devel/awless/distinfo |