Summary: | lang/go 1.17.6,1 fails to build: Sanity check failed: kernel is missing COMPAT_FREEBSD11 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | p5B2EA84B3 | ||||
Component: | Individual Port(s) | Assignee: | Guangyuan Yang <ygy> | ||||
Status: | Closed Works As Intended | ||||||
Severity: | Affects Only Me | CC: | dewayne, lwhsu, rbranco | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(ygy) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
(In reply to p5B2E9A8F from comment #0) Unfortunately 64bit inodes are missing in go, and COMPAT_FREEBSD11 addresses this. If you need more info, I came across this 20210624 and the go developers have documented this in their forums. (Apologies for being terse, but its an old, ongoing issue that is easily fixed.) dewayne@ Thanks for the hint. BTW building lang/rust failed too the same way. I fixed it by adding COMPAT_FREEBSD11 to the kernel on my builder system. |
Created attachment 231600 [details] Poudriere build logfile go-1.17.6,1.log building for: FreeBSD pkg.FreeBSD.org 13.0-RELEASE FreeBSD 13.0-RELEASE amd64 fails with missing COMPAT_FREEBSD11 which looks a little strange to me. Any comments on that? =======================<phase: build >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for go-1.17.6,1 Bad system call => Sanity check failed: kernel is missing COMPAT_FREEBSD11 => Aborting build *** Error code 1 Stop. make: stopped in /usr/ports/lang/go =>> Cleaning up wrkdir ===> Cleaning for go-1.17.6,1 build of lang/go | go-1.17.6,1 ended at Mon Feb 7 11:34:56 CET 2022 build time: 00:00:22 !!! build failure encountered !!!