Bug 245012 - devel/gitlab-runner: fix build on aarch64
Summary: devel/gitlab-runner: fix build 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: Mikael Urankar
URL:
Keywords:
Depends on:
Blocks: 242312
  Show dependency treegraph
 
Reported: 2020-03-23 19:19 UTC by Mikael Urankar
Modified: 2020-03-27 17:21 UTC (History)
0 users

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


Attachments
patch (2.79 KB, patch)
2020-03-23 19:19 UTC, Mikael Urankar
swills: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Urankar freebsd_committer freebsd_triage 2020-03-23 19:19:33 UTC
Created attachment 212653 [details]
patch

see attached patch
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-03-27 17:21:55 UTC
A commit references this bug:

Author: mikael
Date: Fri Mar 27 17:14:03 UTC 2020
New revision: 529268
URL: https://svnweb.freebsd.org/changeset/ports/529268

Log:
  devel/gitlab-runner: unbreak on aarch64

    # github.com/kr/pty
    vendor/github.com/kr/pty/pty_freebsd.go:50:20: undefined: fiodgnameArg
    vendor/github.com/kr/pty/pty_freebsd.go:63:12: undefined: _C_SPECNAMELEN
    vendor/github.com/kr/pty/pty_freebsd.go:66:9: undefined: fiodgnameArg

  Add the missing ztypes_freebsd_arm64.go file for aarch64

    # golang.org/x/sys/unix
    vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go:400:12: undefined: uint128

  Import upstream patch https://github.com/golang/sys/commit/33540a1f603772f9d4b761f416f5c10dade23e96

  PR:		245012
  Approved by:	swills (maintainer), manu (mentor, implicit)

Changes:
  head/devel/gitlab-runner/files/patch-vendor_github.com_kr_pty_ztypes__freebsd__arm64.go
  head/devel/gitlab-runner/files/patch-vendor_golang.org_x_sys_unix_ztypes__freebsd__arm64.go