Summary: | databases/pgmetrics: Unbreak on aarch64 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Dmitri Goutnik <dmgk> | ||||
Component: | Individual Port(s) | Assignee: | Palle Girgensohn <girgen> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | girgen, linimon | ||||
Priority: | --- | Keywords: | buildisok | ||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(girgen) |
||||
Hardware: | arm64 | ||||||
OS: | Any | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 242312 | ||||||
Attachments: |
|
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/103562562 A commit references this bug: Author: dmgk Date: Sat Feb 22 12:46:32 UTC 2020 New revision: 526768 URL: https://svnweb.freebsd.org/changeset/ports/526768 Log: databases/pgmetrics: Unbreak on aarch64 PR: 242374 Approved by: girgen (maintainer timeout, >2 months) Changes: head/databases/pgmetrics/Makefile head/databases/pgmetrics/distinfo |
Created attachment 209614 [details] pgmetrics-1.7.1_1.patch ===> Building pgmetrics from ./cmd/pgmetrics # golang.org/x/sys/unix vendor/golang.org/x/sys/unix/cap_freebsd.go:18:23: undefined: CAP_RIGHTS_VERSION_00 vendor/golang.org/x/sys/unix/cap_freebsd.go:19:23: undefined: CAP_RIGHTS_VERSION_00 vendor/golang.org/x/sys/unix/cap_freebsd.go:46:21: undefined: CapRights vendor/golang.org/x/sys/unix/cap_freebsd.go:50:24: undefined: CapRights vendor/golang.org/x/sys/unix/cap_freebsd.go:55:27: undefined: CapRights vendor/golang.org/x/sys/unix/cap_freebsd.go:90:29: undefined: CapRights vendor/golang.org/x/sys/unix/syscall_unix_gc.go:12:6: missing function body vendor/golang.org/x/sys/unix/syscall_unix_gc.go:13:6: missing function body vendor/golang.org/x/sys/unix/syscall_unix_gc.go:14:6: missing function body vendor/golang.org/x/sys/unix/syscall_unix_gc.go:15:6: missing function body vendor/golang.org/x/sys/unix/cap_freebsd.go:90:29: too many errors Unbreak by updating golang.org/x/sys to 33540a1f6037 which adds support for freebsd/arm64. Tested on 12.1-STABLE/arm64 and 12.1-RELEASE/amd64.