Bug 242578 - net/wireguard-go: Unbreak on aarch64
Summary: net/wireguard-go: 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: Dmitri Goutnik
URL:
Keywords:
Depends on:
Blocks: 242312
  Show dependency treegraph
 
Reported: 2019-12-11 12:56 UTC by Dmitri Goutnik
Modified: 2019-12-12 12:11 UTC (History)
1 user (show)

See Also:
decke: maintainer-feedback+


Attachments
wireguard-go-0.0.20191012_1.patch (2.25 KB, patch)
2019-12-11 12:56 UTC, Dmitri Goutnik
dmgk: maintainer-approval? (decke)
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-11 12:56:02 UTC
Created attachment 209863 [details]
wireguard-go-0.0.20191012_1.patch

===>  Building for wireguard-go-0.0.20191012
# 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/p518685_s355218/logs/errors/wireguard-go-0.0.20191012.log

Unbreak by updating golang.org/x/sys to 33540a1f6037 and golang.org/x/net to 83d349e8ac1a which adds support for freebsd/arm64. Upstream PR: https://github.com/WireGuard/wireguard-go/pull/1

Tested on 12.1-STABLE/arm64 and 12.1-RELEASE/amd64.
Comment 1 Bernhard Froehlich freebsd_committer 2019-12-11 15:31:02 UTC
Approved. Thanks also for submitting it upstream.
Comment 2 commit-hook freebsd_committer 2019-12-12 12:10:05 UTC
A commit references this bug:

Author: dmgk
Date: Thu Dec 12 12:09:22 UTC 2019
New revision: 519862
URL: https://svnweb.freebsd.org/changeset/ports/519862

Log:
  net/wireguard-go: Unbreak on aarch64

  ===>  Building for wireguard-go-0.0.20191012
  # 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/p518685_s355218/logs/errors/wireguard-go-0.0.20191012.log

  Unbreak by updating golang.org/x/sys to 33540a1f6037 and golang.org/x/net to
  83d349e8ac1a which adds support for freebsd/arm64.

  PR:		242578
  Approved by:	decke (maintainer)

Changes:
  head/net/wireguard-go/Makefile
  head/net/wireguard-go/distinfo