Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279416 - media-video/vlc: fails to build
Summary: media-video/vlc: fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-28 02:13 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-03-19 09:51 UTC (History)
4 users (show)

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


Attachments
Build log (vlc-1.0.0:20090728-004644.log,660.15 KB, text/plain)
2009-07-28 14:28 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-28 02:13:39 UTC
As per summary, check attached build log.

And _please_ try not to fix it in the wrong way: http://blog.flameeyes.eu/2009/07/02/how-_not_-to-fix-gcc-4-4-bugs
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-28 14:28:26 UTC
Created attachment 199433 [details]
Build log
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2009-07-30 06:37:15 UTC
doesn't seem to be a gcc issue.

qt4.cpp: In function 'int Open(vlc_object_t*)':
qt4.cpp:268: error: 'XOpenDisplay' was not declared in this scope
qt4.cpp:275: error: 'XCloseDisplay' was not declared in this scope
make[6]: *** [libqt4_plugin_la-qt4.lo] Error 1
Comment 3 Alexis Ballier gentoo-dev 2009-08-02 21:54:24 UTC
imho a qt problem, fixed in qt-gui-4.5.2-r1 at least.
If it defines Q_WS_X11 it should RDEPEND on Xlib...
Comment 4 Alexis Ballier gentoo-dev 2009-08-21 10:05:24 UTC
(In reply to comment #3)
> imho a qt problem, fixed in qt-gui-4.5.2-r1 at least.
> If it defines Q_WS_X11 it should RDEPEND on Xlib...

added the dep to vlc anyway
Comment 5 Joe Stroller 2009-12-20 11:15:10 UTC
Uh, what version is this fixed in? This is still happening to me with vlc-1.0.2 (the version currently marked as stable).
Comment 6 Joe Stroller 2009-12-20 11:18:54 UTC
Sorry, I should probably add: I'm installing on a headless system that has minimal X / qt / graphics libraries installed:

$ grep USE /etc/make.conf
USE="network-cron -ipv6 doc vim-syntax offensive nethack examples mp4 ffmpeg x264 curl jpeg png raw truetype libssh2 mp3 vorbis xvid ogg quicktime mmx sse sse2 mpeg exif sensord xml -gpm -java aac samba encode dts dvdnav rar schroedinger win32codecs extra-tools md5sum gif mad dvd css dvdr matroska ogm a52 amr spell theora inotify qt3support -semantic-desktop -symlink"
$ grep qt /etc/portage/*
/etc/portage/package.use:x11-libs/qt-gui dbus
/etc/portage/package.use:x11-libs/qt-qt3support kde
/etc/portage/package.use:x11-libs/qt-webkit kde
/etc/portage/package.use:#x11-libs/qt-sql postgres -mysql
$ 
Comment 7 Oleg Gawriloff 2010-03-19 08:36:21 UTC
Still happenning in vlc-1.0.4
Comment 8 Oleg Gawriloff 2010-03-19 09:51:46 UTC
See #310169, I've found solution.