Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 804687 - media-video/pipewire-0.3.32 fails to build with incorrect directory for ncursesw
Summary: media-video/pipewire-0.3.32 fails to build with incorrect directory for ncursesw
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-27 23:27 UTC by rexy712
Modified: 2022-08-20 00:09 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,23.01 KB, text/plain)
2021-07-27 23:28 UTC, rexy712
Details
emerge error (file_804687.txt,61 bytes, text/plain)
2021-07-27 23:41 UTC, rexy712
Details
compressed error (error.txt.gz,164.26 KB, application/gzip)
2021-07-28 01:21 UTC, rexy712
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rexy712 2021-07-27 23:27:21 UTC
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.
Comment 1 rexy712 2021-07-27 23:28:46 UTC
Created attachment 727401 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-27 23:30:44 UTC
Could you include the build.log too please?
Comment 3 rexy712 2021-07-27 23:41:01 UTC
Created attachment 727404 [details]
emerge error
Comment 4 rexy712 2021-07-27 23:41:40 UTC
(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
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-28 00:19:29 UTC
(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?
Comment 6 rexy712 2021-07-28 01:21:43 UTC
Created attachment 727407 [details]
compressed error
Comment 7 Mike Gilbert gentoo-dev 2021-11-21 00:14:38 UTC
Why do you have an mingw pkgconfig file in /usr/share/pkgconfig?