Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > muc.lists.freebsd.emulation > #13012

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

From bugzilla-noreply@freebsd.org
Newsgroups muc.lists.freebsd.emulation
Subject [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE
Date 2026-06-22 22:55 +0000
Organization Newsgate at muc.de e.V.
Message-ID <bug-291390-4077-PSD5lzBGf1@https.bugs.freebsd.org/bugzilla/> (permalink)
References <bug-291390-4077@https.bugs.freebsd.org/bugzilla/>

Show all headers | View raw


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291390

--- Comment #28 from Alexey Shuvaev <bugsbeastie@gmail.com> ---
(In reply to Sulev-Madis Silber from comment #27)
Maybe it is working now?

From one side, try this program which is exactly what is inside the configure
script:
------------------------------------------------
#include <glib.h>
#include <unistd.h>

#define QEMU_BUILD_BUG_ON(x) \
  typedef char qemu_build_bug_on[(x)?-1:1] __attribute__((unused));

int main(void) {
   QEMU_BUILD_BUG_ON(sizeof(size_t) != GLIB_SIZEOF_SIZE_T);
   return 0;
}
------------------------------------------------

compile with the same command
> cc -o test `pkg-config --cflags --libs glib-2.0` test.c

But now, if everything is ok, it compiles it silently. In case of mismatch it
outputs:
> conf_test.c:8:4: error: 'qemu_build_bug_on' declared as an array with a negative size
>     8 |    QEMU_BUILD_BUG_ON(sizeof(char) != GLIB_SIZEOF_SIZE_T);
>       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> conf_test.c:5:34: note: expanded from macro 'QEMU_BUILD_BUG_ON'
>     5 |   typedef char qemu_build_bug_on[(x)?-1:1] __attribute__((unused));
>       |                                  ^~~~~~~~
> 1 error generated.

If the test works, try building the port again manually:
> cd /usr/ports/emulators/qemu-user-static
> make configure

If it fails, go to the work directory:
> cd work/qemu-bsd-user-527096e0c8
and post the last sections of config.log file.

If it works, then rebuild and reinstall the port! ;)

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

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

Back to muc.lists.freebsd.emulation | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2025-12-04 12:53 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2025-12-04 12:56 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-05-14 23:22 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-05-14 23:27 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-05-15 21:35 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-05-15 21:35 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-05-15 21:37 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-05-15 23:52 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-05-16 19:33 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-05-25 00:17 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-05-25 00:27 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-05-28 06:41 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-20 19:57 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-20 20:00 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-20 20:03 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-20 20:06 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-20 20:12 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-20 23:04 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-20 23:09 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-20 23:25 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-21 15:14 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-22 01:56 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-22 02:02 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-22 03:43 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-22 06:07 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-22 14:35 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-22 19:15 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-22 20:56 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-22 22:55 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-22 23:19 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-22 23:48 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-22 23:49 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-23 00:17 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-23 00:19 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-23 00:49 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-23 01:21 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-23 01:54 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-23 02:21 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-23 05:07 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-23 16:00 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-23 16:37 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-23 17:57 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-23 18:42 +0000
  [Bug 291390] emulators/qemu-user-static: poudriere build fails on both 14-STABLE and 15-STABLE bugzilla-noreply@freebsd.org - 2026-06-23 22:23 +0000

csiph-web