[Bug 295292] devel/brpc: add ONLY_FOR_ARCHS to fix i386 build failure
Date: Thu, 14 May 2026 22:15:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295292
Bug ID: 295292
Summary: devel/brpc: add ONLY_FOR_ARCHS to fix i386 build
failure
Product: Ports & Packages
Version: Latest
Hardware: i386
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: daniel@morante.net
Created attachment 270737
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=270737&action=edit
Git diff patch
brpc fails to build on i386 with:
butil/time.h:265:4: error: "unsupported arch"
The source uses architecture-specific inline assembly in butil/time.h
that only supports amd64 and aarch64. This is confirmed by FreshPorts
which shows successful builds only on those two architectures.
Fix: add ONLY_FOR_ARCHS to restrict to aarch64 and amd64.
Build log:
https://pkg-status.freebsd.org/beefy18/data/143i386-default/a6e06ed2ecb2/logs/brpc-1.16.0.log
--
You are receiving this mail because:
You are the assignee for the bug.