An upstream library requires 64-bit atomics and therefore can't build on powerpc. The port should be BROKEN on that arch.
Created attachment 239647 [details] Mark the port as BROKEN on powerpc This patch should fix the problem, but I need a ports committer to approve it.
I think it's better to use NOT_FOR_ARCHS in this case. Per [1] BROKEN is reserved for ports that currently do not compile, install, deinstall, or run correctly. Use it for ports where the problem is believed to be temporary. you can use this instead: NOT_FOR_ARCHS= powerpc NOT_FOR_ARCHS_REASON_powerpc= needs 64-bit atomics [1] https://docs.freebsd.org/en/books/porters-handbook/book/#dads-noinstall Approved by: mikael
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a8806c5adaab9c0f0b109889d3de65192989461b commit a8806c5adaab9c0f0b109889d3de65192989461b Author: Alan Somers <asomers@FreeBSD.org> AuthorDate: 2023-01-22 21:54:10 +0000 Commit: Alan Somers <asomers@FreeBSD.org> CommitDate: 2023-01-23 15:15:55 +0000 net-mgmt/nfs-exporter: disable on powerpc An upstream library requires 64-bit atomics and therefore can't build on powerpc. PR: 269105 Approved by: mikael (ports) Sponsored by: Axcient net-mgmt/nfs-exporter/Makefile | 4 ++++ 1 file changed, 4 insertions(+)
Thanks for the tip, Mikael!