Summary: | media-video/vlc-2.0.4 doesn't build with ncurses USE flag turned on | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Max Klinger <max> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | dannestrat.bugzilla, nandhp, poletti.marco, quantheory, rei4dan |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
emerge info of the package config log emerge --info ncurses pkgconfig emerge --info for 32-bit Failed build.log for 32-bit |
Description
Max Klinger
2012-11-02 02:47:02 UTC
Created attachment 328028 [details]
build log
Created attachment 328034 [details]
emerge info of the package
As the dep looks fine, config.log is needed. Created attachment 328042 [details]
config log
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. Rafał Mużyło 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: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-libs/ncurses/ncurses-5.9-r2.ebuild?r1=1.15&r2=1.16 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 |