Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 2026 07:34:34 +0000
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        "Herbert J. Skuhra" <herbert@gojira.at>
Cc:        Muhammad Moinur Rahman <bofh@freebsd.org>,  ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org,  dev-commits-ports-main@freebsd.org
Subject:   Re: git: f816572e04c2 - main - emulators/qemu: Fix build with 15 and later
Message-ID:  <afBiWEX37aQHsayc@ptrcrt.ch>
In-Reply-To: <b6e01a87-b08a-438d-b874-d64023dbbdfe@app.fastmail.com>
References:  <69ee592d.21c2e.537f7f5@gitrepo.freebsd.org> <b6e01a87-b08a-438d-b874-d64023dbbdfe@app.fastmail.com>

index | next in thread | previous in thread | raw e-mail

On Apr 27 2026, 16:37 +0000, "Herbert J. Skuhra" <herbert@gojira.at> wrote:
>On Sun, 26 Apr 2026, at 20:27, Muhammad Moinur Rahman wrote:
>> The branch main has been updated by bofh:
>>
>> URL:
>> https://cgit.FreeBSD.org/ports/commit/?id=f816572e04c228b7b091aa3ff8e395d5c1c9ab2b
>>
>> commit f816572e04c228b7b091aa3ff8e395d5c1c9ab2b
>> Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
>> AuthorDate: 2026-04-26 14:40:05 +0000
>> Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
>> CommitDate: 2026-04-26 18:27:31 +0000
>>
>>     emulators/qemu: Fix build with 15 and later
>>
>>     - Add missing dependency
>>
>>     Reported by:    otis
>>
>>     Event:  Wiesbaden Hackathon 202604
>> ---
>>  emulators/qemu/Makefile                      |  4 ++-
>>  emulators/qemu/files/extra-patch-meson.build | 38 ----------------------------
>>  2 files changed, 3 insertions(+), 39 deletions(-)
>>
>
>[...]
>
>> diff --git a/emulators/qemu/files/extra-patch-meson.build
>> b/emulators/qemu/files/extra-patch-meson.build
>> deleted file mode 100644
>> index 5fc53eb7c6f6..000000000000
>> --- a/emulators/qemu/files/extra-patch-meson.build
>> +++ /dev/null
>> @@ -1,38 +0,0 @@
>> ---- meson.build.orig	2025-12-03 21:35:34 UTC
>> -+++ meson.build
>> -@@ -2738,17 +2738,6 @@ have_inotify_init1 =
>> cc.has_header_symbol('sys/inotify
>> -
>> - have_inotify_init = cc.has_header_symbol('sys/inotify.h',
>> 'inotify_init')
>> - have_inotify_init1 = cc.has_header_symbol('sys/inotify.h',
>> 'inotify_init1')
>> --inotify = not_found
>> --if (have_inotify_init or have_inotify_init1) and host_os == 'freebsd'
>> --  # libinotify-kqueue
>> --  inotify = cc.find_library('inotify')
>> --  if have_inotify_init
>> --    have_inotify_init = inotify.found()
>> --  endif
>> --  if have_inotify_init1
>> --    have_inotify_init1 = inotify.found()
>> --  endif
>> --endif
>> - config_host_data.set('CONFIG_INOTIFY', have_inotify_init)
>> - config_host_data.set('CONFIG_INOTIFY1', have_inotify_init1)
>> -
>> -@@ -5011,7 +5000,6 @@ if host_os == 'freebsd'
>> - summary_info += {'selinux':           selinux}
>> - summary_info += {'libdw':             libdw}
>> - if host_os == 'freebsd'
>> --  summary_info += {'libinotify-kqueue': inotify}
>> - endif
>> - if host_os == 'darwin'
>> -   summary_info += {'ParavirtualizedGraphics support': pvg}
>> ---- util/meson.build.orig	2025-12-04 10:07:58 UTC
>> -+++ util/meson.build
>> -@@ -110,7 +110,6 @@ if have_block
>> -   if config_host_data.get('CONFIG_INOTIFY1')
>> -     freebsd_dep = []
>> -     if host_os == 'freebsd'
>> --      freebsd_dep = inotify
>> -     endif
>> -     util_ss.add(files('filemonitor-inotify.c'), freebsd_dep)
>> -   else
>
>The file is still referenced in the Makefile:
>
>    128 .if exists(/usr/include/sys/inotify.h)
>    129 EXTRA_PATCHES+=                ${PATCHDIR}/extra-patch-meson.build
>    130 .endif

Yes, the package is broken.
https://pkg-status.freebsd.org/beefy23/data/150amd64-default/dbe5b29fb7e7/logs/errors/qemu-guest-agent-11.0.0.log

-- 
Pietro Cerutti
I have pledged to give 10% of income to effective charities
and invite you to join me - https://givingwhatwecan.org


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?afBiWEX37aQHsayc>