[Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 23 Jun 2026 02:21:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291390

--- Comment #37 from Alexey Shuvaev <bugsbeastie@gmail.com> ---
(In reply to Sulev-Madis Silber from comment #35)
Maybe the content of your /etc/make.conf?

The shot from the other side:
The compile command from config.log that you have posted:

#!/bin/sh
cc -I/usr/local/include -pthread -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -m64 -mcx16 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
-Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
-fno-strict-aliasing -fno-common -fwrapv -I/usr/local/include
-I/usr/ports/emulators/qemu-user-static/work/qemu-bsd-user-527096e0c8
-I/usr/local/include -DPREFIX=\""/usr/local\""
-Wno-error=address-of-packed-member -Wno-string-plus-int
-Wno-initializer-overrides -Wexpansion-to-defined -Wendif-labels
-Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body
-Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
-Wignored-qualifiers -Wold-style-definition -Wtype-limits -DHAVE_GETRANDOM
-fstack-protector-strong -I/usr/local/include -g -O2 -pipe
-Wno-address-of-packed-member -D_WANT_SEMUN -fstack-protector-strong
-fno-strict-aliasing -o qemu-conf.exe qemu-conf.c -m64 -static -g
-L/usr/local/lib -L/usr/local/lib -lgthread-2.0 -pthread -lintl -lglib-2.0
-lintl -liconv -lm -pthread -lutil -lpcre2-8 -pthread -lpthread -lprocstat
-lkvm -lelf -lutil

Does it work for you in the same environment where you try to build
qemu-user-static?
You need the file qemu-conf.c from comment #28.
It works for me on 16-CURRENT...

-- 
You are receiving this mail because:
You are the assignee for the bug.