On Sun, Jul 24, 2022 at 8:58 AM Paolo Bonzini <pbonzini@redhat.com> wrote:


Il sab 23 lug 2022, 19:12 Adam Williamson <adamwill@fedoraproject.org> ha scritto:
This of course begs a question: did qemu also have a non-static pcre
requirement at the time? But it seems not:

[adamw@xps13k qemu (f36 %)]$ git show 0835325:qemu.spec | grep pcre
BuildRequires: glibc-static pcre-static glib2-static zlib-static

so, I'm not sure why Daniel concluded this needs a BuildRequires on
pcre-static, but the obvious thing to do would be to ask him, I guess.

I think it could have been a missing requires of glib2-static, because glib does use PCRE and therefore has it in the linker flags for a static build. I will check next time I am at a computer.

glib2 switched to pcre2 in rawhide recently. Can you check if qemu needs to be updated for that now so that it BuildRequires pcre2-static instead?

https://src.fedoraproject.org/rpms/glib2/c/34b203d5499b579c68b4f923a29fd417efdd9637?branch=rawhide

-- 
Kalev