It fails at,
checking for NCURSES... no
configure: error: No package 'ncursesw' found.
even though ncurses is installed and current
Available versions: (5) 5.7-r7 5.9 ~5.9-r1 5.9-r2
Steps to Reproduce:
1. USE=ncurses emerge vlc
Created attachment 328028 [details]
Created attachment 328034 [details]
emerge info of the package
As the dep looks fine, config.log is needed.
Created attachment 328042 [details]
Try rebuilding ncurses, it worked for me.
Here, with sys-libs/ncurses-5.9-r2, 'pkg-config --modversion ncursesw' returns '5.9.20110404'; for you - it fails. Check why.
It came out empty, it's hard to tell why. I believe the pkgconfig files where in place. Reinstalling ncurses as Dennis suggested helped. pkgconfig then returns the right version, which is a bit odd to me.
We diffed the configure.ac of vlc 2.0.4 and 2.0.3 and there are some lines regarding ncursesw that changed between the versions, so that change might have caused this to surface, I don't know if it is the real problem though.
I guess reinstalling ncurses solved it but also destroyed the testbed. Is there anything else i could provide to clear this up or do i just close it as solved?
I have the same issue since VLC 2.0.4 went stable. I can reinstall ncurses and see if that fixes it, but if there's any other information you'd like me to provide first, I can do that.
> pkg-config --exists --print-errors "ncursesw"
Package ncursesw was not found in the pkg-config search path.
Perhaps you should add the directory containing `ncursesw.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ncursesw' found
"equery f ncurses" does not show a .pc file anywhere (assuming that package is supposed to own it; I'm ignorant about pkg-config). There is no "ncursesw.pc" file anywhere in /usr. The ncurses version is 5.9-r2 (current stable *and* testing).
Correction: this is going from 2.0.3 to 2.0.5. But again, same issue.
Created attachment 335378 [details]
emerge --info ncurses pkgconfig
I also get the same issue, and after recompiling ncurses I get the .pc files installed and then vlc works.
I think the cause is this commit:
That commit makes the ncurses-5.9-r2 ebuild start to install .pc files, but there was no revbump, so it didn't trigger an update and people were still using ncurses installed without this commit, so lacking the .pc files.
The ncurses-5.9-r2 ebuild should be revbumped (IMO) to fix this problem.
Created attachment 335552 [details]
emerge --info for 32-bit
Created attachment 335554 [details]
Failed build.log for 32-bit
I am also having this problem. I have attached two logs for you to review. Please let me know if you need any more information. Thanks.^^
*** This bug has been marked as a duplicate of bug 438922 ***
# emerge -1 sys-libs/ncurses for immediate fix
and you can raise the issue of revbumping in bug 438922, not here, since the bug is clearly not in media-video@ package VLC but in base-system@ package ncurses