Bug 242377 - ftp/curlie: Unbreak on aarch64
Summary: ftp/curlie: 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: Mateusz Piotrowski
URL:
Keywords:
Depends on:
Blocks: 242312
  Show dependency treegraph
 
Reported: 2019-12-02 17:25 UTC by Dmitri Goutnik
Modified: 2019-12-02 19:42 UTC (History)
1 user (show)

See Also:
0mp: maintainer-feedback+


Attachments
curlie-1.2.0_3.patch (1.47 KB, patch)
2019-12-02 17:25 UTC, Dmitri Goutnik
dmgk: maintainer-approval? (0mp)
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-02 17:25:14 UTC
Created attachment 209617 [details]
curlie-1.2.0_3.patch

===>  Building curlie from .
# 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.
Comment 1 Mateusz Piotrowski freebsd_committer 2019-12-02 17:48:31 UTC
Thanks! I'll try to commit it shortly. Feel welcome to commit it earlier if you wish!
Comment 2 commit-hook freebsd_committer 2019-12-02 19:41:32 UTC
A commit references this bug:

Author: dmgk
Date: Mon Dec  2 19:40:39 UTC 2019
New revision: 518868
URL: https://svnweb.freebsd.org/changeset/ports/518868

Log:
  ftp/curlie: Unbreak on aarch64

  ===>  Building curlie from .
  # 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.

  PR:		242377
  Approved by:	0mp (maintainer)

Changes:
  head/ftp/curlie/Makefile
  head/ftp/curlie/distinfo
Comment 3 Dmitri Goutnik freebsd_committer 2019-12-02 19:42:23 UTC
Committed, thanks for the approval :)