From owner-freebsd-ports@freebsd.org Sat Sep 19 10:35:32 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 02B4D3D9C00 for ; Sat, 19 Sep 2020 10:35:32 +0000 (UTC) (envelope-from se@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BtnCl64Q9z4rLp; Sat, 19 Sep 2020 10:35:31 +0000 (UTC) (envelope-from se@freebsd.org) Received: from Stefans-MBP-WLAN.fritz.box (p200300cd5f30c800ad3d31233b3742fa.dip0.t-ipconnect.de [IPv6:2003:cd:5f30:c800:ad3d:3123:3b37:42fa]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 5DCD1195D1; Sat, 19 Sep 2020 10:35:31 +0000 (UTC) (envelope-from se@freebsd.org) To: FreeBSD ports From: Stefan Esser Subject: Need help: nearly complete port of GitHub CLI Message-ID: Date: Sat, 19 Sep 2020 12:35:23 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.2.2 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qLSObl6v0gKpUBhpyytXTVEoJPtYhgZzc" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Sep 2020 10:35:32 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --qLSObl6v0gKpUBhpyytXTVEoJPtYhgZzc Content-Type: multipart/mixed; boundary="faIDroOzCwpgXwlePN5JHXwaHq0uUEJaZ"; protected-headers="v1" From: Stefan Esser To: FreeBSD ports Message-ID: Subject: Need help: nearly complete port of GitHub CLI --faIDroOzCwpgXwlePN5JHXwaHq0uUEJaZ Content-Type: multipart/mixed; boundary="------------55778217444200ABC74022B5" Content-Language: en-US This is a multi-part message in MIME format. --------------55778217444200ABC74022B5 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable I have tried to create a port for the recently announced GitHub CLI 1.0. What I got so far can be downloaded from: https://people.freebsd.org/~se/ports/github-cli-port.tar.bz2 The GH_TUPLE list of the dependencies was the part that caused most effort, but it should be correct and complete, AFAICT. The port is nearly ready, but there is a compilation error which appears to be caused by a missing architecture dependent definition: # github.com/muesli/termenv vendor/github.com/muesli/termenv/termenv_unix.go:76:9: readfds.Bits=20 undefined (type syscall.FdSet has no field or method Bits) vendor/github.com/muesli/termenv/termenv_unix.go:87:12: readfds.Bits=20 undefined (type syscall.FdSet has no field or method Bits) *** Error code 2 Another missing function could be fixed by copying over the Linux specific definition, but I assume it should apply to FreeBSD, too (see the post-extract target in the Makefile). Since I do not know much about Go, I'm stuck, but think it should be very easy to get the missing definition fixed for somebody with some knowledge of Go and its build infrastructure. More issues may exist, but since I'm stuck with the compiler error that prevents building of the binary, I can't tell ... Any help is highly appreciated ... Regards, STefan --------------55778217444200ABC74022B5-- --faIDroOzCwpgXwlePN5JHXwaHq0uUEJaZ-- --qLSObl6v0gKpUBhpyytXTVEoJPtYhgZzc Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAl9l3usFAwAAAAAACgkQR+u171r99UQY ngf9HNvieUVosv6uxnOTEU0It42Vu+gf/EdYXjMiQknu2xdx2g4y02BQtcZFO5WwmaL7Bc94VKtJ EpqHdPPApa1AKyVSDUoxJkh2beoVuPNRWu13g4VXRE6fV0epNKiChcpW3yeLs0nGR2PDXfwzh8F+ 4vjrX0Uple0t4wrCoyrT8mv9c83ahpZ9KadLi4flhFhiTQ02h0jGSu0fiznMH4kwuZf/6ElzGfec uWdR/6phifEyMItIi00tjW99aTyMno343QmeJ/uZWznsHpWmZj24zacjHRM0YZa4iO7SaY+0gjUf FYY+SjGlG3HU3+dVS1ViOiTbp6gybh4INkZqvmCTyw== =vaz0 -----END PGP SIGNATURE----- --qLSObl6v0gKpUBhpyytXTVEoJPtYhgZzc--