https://bugs.winehq.org/show_bug.cgi?id=53953
--- Comment #19 from Eric Pouech eric.pouech@gmail.com ---
PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/ usr/lib32/pkgconfig:/usr/lib/pkgconfig}
PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/ usr/lib32/pkgconfig:/usr/lib/pkgconfig:/usr/lib64/pkgconfig}
which is obviously not great, I mean I was kind of hoping that we could finally move away from "fall back to the wrong arch", but it's no worse than what we have been doing, or what we do for other distributions.
yes that would avoid breakage, but wouldn't warn user about 32/64.pc mismatch
I also pushed https://gitlab.winehq.org/wine/wine/-/merge_requests/1523 to log the output of pkgconfig so that one can figure out which package(s) to add
and if helpful, the following bash thingie lists the packages -devel which are installed for 64bit but not for 32bit in the system it helped me pinpoint some missing ones
for i in `dnf list --installed '*-devel.x86_64' | tail -n +2 | sed 's/-devel.x86_64.*/-devel.i686/'`; do dnf list --installed "$i" >& /dev/null || echo "Missing $i"; done