On 7/24/22 15:42, Kalev Lember wrote:
On Sun, Jul 24, 2022 at 8:58 AM Paolo Bonzini <pbonzini(a)redhat.com
<mailto:pbonzini@redhat.com>> wrote:
Il sab 23 lug 2022, 19:12 Adam Williamson
<adamwill(a)fedoraproject.org <mailto: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?
Yep, that works. I still think that pcre2-static and
sysprof-capture-devel belong in glib2's spec file though, but I
committed that as a stopgap measure.
Paolo