git: c99ed109c5fe - 2026Q1 - */*: 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:34:35 UTC
The branch 2026Q1 has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c99ed109c5fe149c9338eb480ae63d0058ec07b0
commit c99ed109c5fe149c9338eb480ae63d0058ec07b0
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:34:12 +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
(cherry picked from commit b1e7e12428e07a6f36afdc91b21ae044f4c4db3c)
---
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, 30 insertions(+), 13 deletions(-)
diff --git a/databases/litestream/Makefile b/databases/litestream/Makefile
index 3e2dd173b005..3d0195ce0102 100644
--- a/databases/litestream/Makefile
+++ b/databases/litestream/Makefile
@@ -12,6 +12,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 f08b08d76a28..f7dd5f141841 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 6e5a1e1f9602..d78f2ee13d54 100644
--- a/finance/homebox/Makefile
+++ b/finance/homebox/Makefile
@@ -12,7 +12,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 02a1a6969c8a..afc5a07b936d 100644
--- a/security/vuls/Makefile
+++ b/security/vuls/Makefile
@@ -11,6 +11,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.25+,modules
GO_MODULE= github.com/future-architect/vuls
@@ -25,9 +28,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 7376456df16b..fed3f81931cd 100644
--- a/sysutils/zot/Makefile
+++ b/sysutils/zot/Makefile
@@ -13,7 +13,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 6d7dd3ebc300..4e56b2c60c25 100644
--- a/textproc/qo/Makefile
+++ b/textproc/qo/Makefile
@@ -11,7 +11,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.25+,modules
GO_MODULE= github.com/kiki-ki/go-qo
diff --git a/www/filebrowser-quantum/Makefile b/www/filebrowser-quantum/Makefile
index b02a4cf20a59..d77542acf516 100644
--- a/www/filebrowser-quantum/Makefile
+++ b/www/filebrowser-quantum/Makefile
@@ -15,6 +15,9 @@ WWW= https://filebrowserquantum.com \
LICENSE= APACHE20
+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
GH_ACCOUNT= gtsteffaniak
diff --git a/www/gatus/Makefile b/www/gatus/Makefile
index 8c024c0c93e1..839d44b3d658 100644
--- a/www/gatus/Makefile
+++ b/www/gatus/Makefile
@@ -13,7 +13,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 57cceaee648a..6a17f625a1fa 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 34c4f4eae2bf..85985540f6e5 100644
--- a/www/pocket-id/Makefile
+++ b/www/pocket-id/Makefile
@@ -12,7 +12,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.25+,modules
USE_GITHUB= yes
diff --git a/www/tinyauth/Makefile b/www/tinyauth/Makefile
index 0d52aca6b298..aba53a0668db 100644
--- a/www/tinyauth/Makefile
+++ b/www/tinyauth/Makefile
@@ -13,7 +13,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