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


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

[Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+

From bugzilla-noreply@freebsd.org
Newsgroups muc.lists.freebsd.emulation
Subject [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+
Date 2026-06-23 17:12 +0000
Organization Newsgate at muc.de e.V.
Message-ID <bug-286875-4077-P1Nrj3WQVj@https.bugs.freebsd.org/bugzilla/> (permalink)
References <bug-286875-4077@https.bugs.freebsd.org/bugzilla/>

Show all headers | View raw


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

--- Comment #36 from Alexey Shuvaev <bugsbeastie@gmail.com> ---
Created attachment 272081
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=272081&action=edit
meson log of the failed configure on 14-STABLE

It is not that simple...
The meson configure script does something weird with the inotify, probably it
does not expect it to be in a separate library, so not adding -linotify linker
flag in the configure tests.

I have attached the meson-log.txt from the failed configure run, at the end
there are three inotify-related tests. The second test probably should be
positive on 14-STABLE:

> #define inotify_init1 meson_disable_define_of_inotify_init1
> 
> #include <limits.h>
> #undef inotify_init1
> 
> #ifdef __cplusplus
> extern "C"
> #endif
> char inotify_init1 (void);
> 
> #if defined __stub_inotify_init1 || defined __stub___inotify_init1
> fail fail fail this function is not going to work
> #endif
> 
> int main(void) {
>   return inotify_init1 ();
> }

Out-of-the-box, it fails at linking stage as it does not add -linotify:
> cc -m64 -L/usr/local/lib -I/wrkdirs/overlays/patches/emulators/qemu-user-static-devel/work/qemu-bsd-user-e725658f900ca7b4c4a05527256bb927b054ada7 -I/usr/local/include /wrkdirs/overlays/patches/emulators/qemu-user-static-devel/work/.build/meson-private/tmpwc58paq2/testfile.c -o /wrkdirs/overlays/patches/emulators/qemu-user-static-devel/work/.build/meson-private/tmpwc58paq2/output.exe -O2 -pipe -Wno-address-of-packed-member -fstack-protector-strong -fno-strict-aliasing '-DPREFIX=\""/usr/local\""' -D_FILE_OFFSET_BITS=64 -O0 -U_FORTIFY_SOURCE -Werror=implicit-function-declaration -std=gnu11` -> 1
> stderr:
> ld: error: undefined symbol: inotify_init1

Can some kind ports guru point what to do?
I suppose one should (patch) the meson config so it looks for the inotify
functions in a separate libs on 14-STABLE.

Warner, how do you build blitz on 14.4? Do you by-pass meson configure?

-- 
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 | Find similar | Unroll thread


Thread

[Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2025-05-17 14:17 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2025-05-17 14:37 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2025-05-17 14:40 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2025-05-17 14:51 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2025-05-20 11:28 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2026-02-19 18:06 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2026-02-20 06:51 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2026-02-21 03:46 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2026-02-21 03:54 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2026-02-21 03:55 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2026-02-21 04:15 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Sync with upstream; restore build on 15-CURRENT bugzilla-noreply@freebsd.org - 2026-02-23 17:23 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 10.2.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-03-08 07:19 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 10.2.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-03-08 07:20 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 10.2.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-16 19:37 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 10.2.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-21 02:00 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-21 02:00 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-25 00:40 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-25 00:41 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-25 00:48 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-25 00:49 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-25 02:46 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-25 02:51 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-25 04:38 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-25 04:40 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-25 07:13 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-26 16:27 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-26 16:42 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-05-26 23:14 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-06-03 11:15 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-06-03 11:16 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-06-21 00:38 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-06-21 00:40 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-06-21 00:44 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-06-21 00:51 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-06-21 00:58 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-06-22 02:55 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-06-22 03:01 +0000
  [Bug 286875] emulators/qemu-user-static-devel: Switch to blitz, and sync to 11.0.50; restore build on 15+ bugzilla-noreply@freebsd.org - 2026-06-23 17:12 +0000

csiph-web