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

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 22 Jun 2026 19:15:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291390

--- Comment #26 from Alexey Shuvaev <bugsbeastie@gmail.com> ---
(In reply to Sulev-Madis Silber from comment #25)
Okay, that seems to work.

Can you then compile this small program:
------------------------------------
#include        <glib.h>
#include        <stdio.h>

int
main(void)
{
        printf("sizeof(size_t) = %lu\n", sizeof(size_t));
        printf("GLIB_SIZEOF_SIZE_T = %d\n", GLIB_SIZEOF_SIZE_T);

        return (0);
}
------------------------------------
with the command:

> cc -o test `pkg-config --cflags --libs glib-2.0` size_t.c

and run it?

I expect:

> sizeof(size_t) = 8
> GLIB_SIZEOF_SIZE_T = 8

The failing configure script in the port does something very similar and
somehow fails the test sizeof(size_t) != GLIB_SIZEOF_SIZE_T

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