git: b1e7e12428e0 - main - */*: Go ports that use modernc.org/sqlite are for aarch64, amd64 only
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 15 Mar 2026 15:30:58 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b1e7e12428e07a6f36afdc91b21ae044f4c4db3c
commit b1e7e12428e07a6f36afdc91b21ae044f4c4db3c
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-03-09 14:44:40 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-03-15 15:28:56 +0000
*/*: Go ports that use modernc.org/sqlite are for aarch64, amd64 only
The module modernc.org/sqlite (and dependencies such as modernc.org/libc)
are only available on aarch64 and amd64 FreeBSD. Other platforms are
not supported on FreeBSD right now.
Consistently mark ports using these with ONLY_FOR_ARCHS.
Approved by: portmgr (build fix blanket)
MFH: 2026Q1
---
databases/litestream/Makefile | 3 +++
dns/amass/Makefile | 3 ++-
finance/homebox/Makefile | 3 ++-
security/trivy/Makefile | 3 ++-
security/vuls/Makefile | 6 +++---
sysutils/k9s/Makefile | 3 ++-
sysutils/zot/Makefile | 3 ++-
textproc/qo/Makefile | 3 ++-
www/filebrowser-quantum/Makefile | 3 ++-
www/gatus/Makefile | 3 ++-
www/mattermost-server/Makefile | 4 +++-
www/pocket-id/Makefile | 3 ++-
www/tinyauth/Makefile | 3 ++-
13 files changed, 29 insertions(+), 14 deletions(-)
diff --git a/databases/litestream/Makefile b/databases/litestream/Makefile
index 5046548a1b09..c9f8ea7fb1d9 100644
--- a/databases/litestream/Makefile
+++ b/databases/litestream/Makefile
@@ -11,6 +11,9 @@ WWW= https://litestream.io/ \
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
+ONLY_FOR_ARCHS= aarch64 amd64
+ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64
+
USES= go:modules
GO_MODULE= github.com/benbjohnson/litestream
diff --git a/dns/amass/Makefile b/dns/amass/Makefile
index fe1b58eab6d6..5e0dfb86fe53 100644
--- a/dns/amass/Makefile
+++ b/dns/amass/Makefile
@@ -12,7 +12,8 @@ WWW= https://owasp.org/www-project-amass/ \
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_i386= compilation fails: cgo_specific.go:100:2: type [1073741824]*_Ctype_char larger than address space
+ONLY_FOR_ARCHS= aarch64 amd64
+ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64
LIB_DEPENDS= libpostal.so:misc/libpostal
diff --git a/finance/homebox/Makefile b/finance/homebox/Makefile
index fb51ca4bef41..710e9a47e888 100644
--- a/finance/homebox/Makefile
+++ b/finance/homebox/Makefile
@@ -14,7 +14,8 @@ WWW= https://homebox.software
LICENSE= AGPLv3
-BROKEN_i386= cannot use int64(off) (value of type int64) as int32 value in assignment
+ONLY_FOR_ARCHS= aarch64 amd64
+ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64
USES= go:modules
USE_GITHUB= yes
diff --git a/security/trivy/Makefile b/security/trivy/Makefile
index 40c586dded7f..91ff9bb33adf 100644
--- a/security/trivy/Makefile
+++ b/security/trivy/Makefile
@@ -10,7 +10,8 @@ WWW= https://github.com/aquasecurity/trivy
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_i386= not supported, see https://github.com/aquasecurity/trivy/pull/9102
+ONLY_FOR_ARCHS= aarch64 amd64
+ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64
USES= go:modules
diff --git a/security/vuls/Makefile b/security/vuls/Makefile
index 3f58420ae323..290a0c1b1022 100644
--- a/security/vuls/Makefile
+++ b/security/vuls/Makefile
@@ -10,6 +10,9 @@ WWW= https://vuls.io
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
+ONLY_FOR_ARCHS= aarch64 amd64
+ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64
+
USES= go:1.26+,modules
GO_MODULE= github.com/future-architect/vuls
@@ -24,9 +27,6 @@ SUB_LIST= PORTNAME=${PORTNAME} USERS=${USERS} GROUPS=${GROUPS}
USERS= vuls
GROUPS= vuls
-NOT_FOR_ARCHS= i386
-NOT_FOR_ARCHS_REASON_i386= https://gitlab.com/cznic/libc/-/issues/45
-
MAKE_ENV= GOEXPERIMENT=jsonv2
post-patch:
diff --git a/sysutils/k9s/Makefile b/sysutils/k9s/Makefile
index 18f47e11deb7..71f1b9335c92 100644
--- a/sysutils/k9s/Makefile
+++ b/sysutils/k9s/Makefile
@@ -11,7 +11,8 @@ WWW= https://github.com/derailed/k9s
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-NOT_FOR_ARCHS= i386
+ONLY_FOR_ARCHS= aarch64 amd64
+ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64
USES= go:1.25+,modules
GO_MODULE= github.com/derailed/k9s
diff --git a/sysutils/zot/Makefile b/sysutils/zot/Makefile
index ca36535f7974..1062fc313577 100644
--- a/sysutils/zot/Makefile
+++ b/sysutils/zot/Makefile
@@ -12,7 +12,8 @@ WWW= https://zotregistry.dev/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_i386= modernc.org/libc does not compile on i386
+ONLY_FOR_ARCHS= aarch64 amd64
+ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64
USES= go:1.25+,modules
USE_GITHUB= yes
diff --git a/textproc/qo/Makefile b/textproc/qo/Makefile
index 494ee2e4fa79..fa8c4355cce5 100644
--- a/textproc/qo/Makefile
+++ b/textproc/qo/Makefile
@@ -10,7 +10,8 @@ WWW= https://github.com/kiki-ki/go-qo
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_i386= vendor/modernc.org/libc/libc_freebsd.go:1638:17: invalid operation: Uint64(Uint64FromInt32(-1)) / uint64(255) * size_t(c) (mismatched types uint64 and size_t)
+ONLY_FOR_ARCHS= aarch64 amd64
+ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64
USES= go:1.26+,modules
GO_MODULE= github.com/kiki-ki/go-qo
diff --git a/www/filebrowser-quantum/Makefile b/www/filebrowser-quantum/Makefile
index 096b172d4360..b8e18f200cc5 100644
--- a/www/filebrowser-quantum/Makefile
+++ b/www/filebrowser-quantum/Makefile
@@ -17,7 +17,8 @@ WWW= https://filebrowserquantum.com \
LICENSE= APACHE20
-BROKEN_i386= cannot use int64(off) (value of type int64) as int32 value in assignment
+ONLY_FOR_ARCHS= aarch64 amd64
+ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64
USES= go:1.25+,modules
USE_GITHUB= yes
diff --git a/www/gatus/Makefile b/www/gatus/Makefile
index baefc2a7cb35..720b3eb1950f 100644
--- a/www/gatus/Makefile
+++ b/www/gatus/Makefile
@@ -15,7 +15,8 @@ WWW= https://gatus.io
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_i386= cannot use int64(off) (value of type int64) as int32 value in assignment
+ONLY_FOR_ARCHS= aarch64 amd64
+ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64
USES= go:modules
USE_GITHUB= yes
diff --git a/www/mattermost-server/Makefile b/www/mattermost-server/Makefile
index ae8fe0c612a7..9b666ff922b4 100644
--- a/www/mattermost-server/Makefile
+++ b/www/mattermost-server/Makefile
@@ -12,7 +12,9 @@ WWW= https://mattermost.org/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/../LICENSE.txt
-ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7
+ONLY_FOR_ARCHS= aarch64 amd64
+ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64
+
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss \
mattermost-webapp>=${PORTVERSION}:www/mattermost-webapp
diff --git a/www/pocket-id/Makefile b/www/pocket-id/Makefile
index 76510a6e97e4..8073b3e121e3 100644
--- a/www/pocket-id/Makefile
+++ b/www/pocket-id/Makefile
@@ -13,7 +13,8 @@ WWW= https://pocket-id.org
LICENSE= BSD2CLAUSE
-BROKEN_i386= cannot use int64(off) (value of type int64) as int32 value in assignment
+ONLY_FOR_ARCHS= aarch64 amd64
+ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64
USES= go:1.26+,modules
USE_GITHUB= yes
diff --git a/www/tinyauth/Makefile b/www/tinyauth/Makefile
index dc9b1858109a..7176879c5982 100644
--- a/www/tinyauth/Makefile
+++ b/www/tinyauth/Makefile
@@ -15,7 +15,8 @@ WWW= https://tinyauth.app
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_i386= cannot use int64(off) (value of type int64) as int32 value in assignment
+ONLY_FOR_ARCHS= aarch64 amd64
+ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64
USES= go:modules
USE_GITHUB= yes