Pipewire 0.3.32 and 0.3.30-r2 and 9999 fail to build due to the meson build system receiving the incorrect ncursesw library location from pkg-config. It seems like the meson-multilib eclass is passing PKG_CONFIG_PATH="/var/tmp/portage/media-video/pipewire-0.3.32/temp/python3.9/pkgconfig:/usr/share/pkgconfig". Thus the full command would be env PKG_CONFIG_PATH="/var/tmp/portage/media-video/pipewire-0.3.32/temp/python3.9/pkgconfig:/usr/share/pkgconfig" /usr/bin/x86_64-pc-linux-gnu-pkg-config --cflags ncursesw which results in -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=199506L -I/usr/x86_64-w64-mingw32/usr/include It picks up the mingw ncursesw library. I managed to workaround this by forcing this environment variable instead: PKG_CONFIG_PATH="/var/tmp/portage/media-video/pipewire-0.3.32/temp/python3.9/pkgconfig:/usr/lib/pkgconfig" which picks up ncursesw at /usr/include/ncursesw as expected. Reproducible: Always Steps to Reproduce: 1.emerge pipewire Actual Results: Build failure Expected Results: Successful build.
Created attachment 727401 [details] emerge --info
Could you include the build.log too please?
Created attachment 727404 [details] emerge error
(In reply to Sam James from comment #2) > Could you include the build.log too please? yeah sorry i was trying to include it as an attachment but it was too long
(In reply to rexy712 from comment #4) > (In reply to Sam James from comment #2) > > Could you include the build.log too please? > > yeah sorry i was trying to include it as an attachment but it was too long Could you attach it compressed?
Created attachment 727407 [details] compressed error
Why do you have an mingw pkgconfig file in /usr/share/pkgconfig?