Bug 242418

Summary: net-im/xmpp-client: Unbreak on aarch64
Product: Ports & Packages Reporter: Dmitri Goutnik <dmgk>
Component: Individual Port(s)Assignee: Carlo Strub <cs>
Status: Closed FIXED    
Severity: Affects Only Me CC: cs, mikael
Priority: --- Keywords: buildisok
Version: LatestFlags: bugzilla: maintainer-feedback? (cs)
Hardware: arm64   
OS: Any   
Bug Depends on:    
Bug Blocks: 242312    
Attachments:
Description Flags
xmpp-client-20170324_3.patch dmgk: maintainer-approval? (cs)

Description Dmitri Goutnik freebsd_committer freebsd_triage 2019-12-04 12:08:33 UTC
Created attachment 209683 [details]
xmpp-client-20170324_3.patch

===>  Building xmpp-client from github.com/agl/xmpp-client
# github.com/agl/xmpp-client/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

http://thunderx1.nyi.freebsd.org/data/head-arm64-default/p518178_s355024/logs/errors/xmpp-client-20170324_2.log

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:17:03 UTC
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/104202920
Comment 2 Mikael Urankar freebsd_committer freebsd_triage 2020-02-04 17:39:52 UTC
*** Bug 243820 has been marked as a duplicate of this bug. ***
Comment 3 commit-hook freebsd_committer freebsd_triage 2020-02-22 12:40:22 UTC
A commit references this bug:

Author: dmgk
Date: Sat Feb 22 12:40:01 UTC 2020
New revision: 526767
URL: https://svnweb.freebsd.org/changeset/ports/526767

Log:
  net-im/xmpp-client: Unbreak on aarch64

  PR:		242418
  Approved by:	cs (maintainer timeout, >2 months)

Changes:
  head/net-im/xmpp-client/Makefile
  head/net-im/xmpp-client/distinfo