On 2023/10/01 05:29:26 -0600, j...@wxcvbn.org wrote:
> http://build-failures.rhaalovely.net/riscv64/2023-09-18/editors/micro.log
> http://build-failures.rhaalovely.net/riscv64/2023-09-18/mail/aerc.log

I routinely see these failures, check the log, and facepalm since it's
due the pty library not supporting the architecture.

any objections to set ONLY_FOR_ARCHS?

(github.com/zyedidia/pty at first glance MAY seem to support i386.
However, the implementation always returns an error.)

I skimmed through the other failures in go ports and they seem to be
either due shirou/gopsutil or golang.org/x/sys.  In particular for
x/sys maybe there's still hope, so not setting ONLY_FOR_ARCH on those.


Index: editors/micro/Makefile
===================================================================
RCS file: /home/cvs/ports/editors/micro/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- editors/micro/Makefile      19 Sep 2022 18:43:55 -0000      1.10
+++ editors/micro/Makefile      1 Oct 2023 17:05:11 -0000
@@ -1,5 +1,5 @@
-BROKEN-aarch64 = pty@v2.0.0+incompatible/doc.go:15:9: undefined: open
-BROKEN-mips64 =        pty@v2.0.0+incompatible/doc.go:15:9: undefined: open
+# github.com/zyedidia/pty has support only for OpenBSD/amd64
+ONLY_FOR_ARCHS = amd64
 
 COMMENT =      modern and intuitive terminal-based text editor
 
Index: mail/aerc/Makefile
===================================================================
RCS file: /home/cvs/ports/mail/aerc/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- mail/aerc/Makefile  28 Sep 2023 20:59:23 -0000      1.12
+++ mail/aerc/Makefile  1 Oct 2023 17:06:54 -0000
@@ -1,3 +1,6 @@
+# github.com/creack/pty only supports these archs
+ONLY_FOR_ARCHS = aarch64 arm amd64 i386 mips64
+
 COMMENT =      terminal email client
 
 MODGO_MODNAME =        git.sr.ht/~rjarry/aerc

Reply via email to