git: 0bec925908e2 - main - filesystems/nbd-client-kmod: mark only for arch amd64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Oct 2025 11:48:37 UTC
The branch main has been updated by bapt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0bec925908e2c8de65a243380e3de886dc94fd30
commit 0bec925908e2c8de65a243380e3de886dc94fd30
Author: Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2025-10-21 11:47:29 +0000
Commit: Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-10-21 11:48:28 +0000
filesystems/nbd-client-kmod: mark only for arch amd64
Fails to build on non x86 architectures
In file included from g_nbd.c:7:
In file included from /usr/src/sys/sys/param.h:117:
In file included from /usr/src/sys/sys/types.h:43:
./machine/endian.h:5:10: fatal error: 'x86/endian.h' file not found
5 | #include <x86/endian.h>
| ^~~~~~~~~~~~~~
1 error generated.
*** [g_nbd.o] Error code 1
---
filesystems/nbd-client-kmod/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/filesystems/nbd-client-kmod/Makefile b/filesystems/nbd-client-kmod/Makefile
index ab4d62f09d4c..60d01a1bd66d 100644
--- a/filesystems/nbd-client-kmod/Makefile
+++ b/filesystems/nbd-client-kmod/Makefile
@@ -12,6 +12,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_i386= format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long')
+ONLY_FOR_ARCHS= amd64
+
USES= kmod ssl uidfix
USE_GITHUB= yes
GH_ACCOUNT= ryan-moeller