Bug 242420 - security/acmetool: Unbreak on aarch64
Summary: security/acmetool: Unbreak on aarch64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm64 Any
: --- Affects Only Me
Assignee: Oleksii Samorukov
Keywords: buildisok
Depends on:
Blocks: 242312
  Show dependency treegraph
Reported: 2019-12-04 12:21 UTC by Dmitri Goutnik
Modified: 2020-02-22 12:55 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (samm)

acmetool-0.0.67_1.patch (1.82 KB, patch)
2019-12-04 12:21 UTC, Dmitri Goutnik
dmgk: maintainer-approval? (samm)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Goutnik freebsd_committer 2019-12-04 12:21:27 UTC
Created attachment 209685 [details]

===>  Building acmetool from ./cmd/acmetool
# github.com/hlandau/acme/vendor/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


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.
Comment 1 Automation User 2019-12-19 00:13:43 UTC
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/104201491
Comment 2 commit-hook freebsd_committer 2020-02-22 12:55:25 UTC
A commit references this bug:

Author: dmgk
Date: Sat Feb 22 12:55:13 UTC 2020
New revision: 526770
URL: https://svnweb.freebsd.org/changeset/ports/526770

  security/acmetool: Unbreak on aarch64

  PR:		242420
  Approved by:	samm (maintainer timeout, >2 months)