Summary: | media-video/vlc-2.2.0 *** No rule to make target '../../video_output/libvlc_xcb_events.la' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris Smith <chris> |
Component: | Current packages | Assignee: | Nick Andrade <SDNick484> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | proxy-maint, SDNick484 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 546880 | ||
Attachments: |
build log
Proposed ebuild to enforce vdpau dependency on xcb xcb_fix_for_vlc-2.2.0_and_2.2.1 xcb_fix_for_vlc-2.2.2 |
Description
Chris Smith
2015-03-02 16:58:23 UTC
Created attachment 397884 [details]
build log
Had the same problem with vlc-2.2.9999 and noticed my USE flags had "-xcb" for some reason (I think it was necessary at some point) and changing that to "xcb" allowed vlc-2.2.9999 to build and may or may not work for vlc-2.2.0 as I didn't test it yet. If >=vlc-2.2.0 needs xcb then maybe the USE flag should be removed. I can confirm this problem starts with -2.2.0 and is related to xcb. I'm able to build -2.2.0 (and -2.2.1 & -9999) without issues with xcb enabled however anything after -2.2.0 fails with xcb disabled. Likewise 2.1.5 builds fine with xcb disabled. The configure script does have a --disable-xcb parameter even in the latest git commit so I believe it's still intended to be optional. I plan to check upstream next to see if there's any known issues. It appears you can build vlc-2.2.0 with xcb disabled if you also disable vdpau: <<<<< media-video/vlc-2.2.0::nick was built with the following: USE="X a52 alsa avahi avcodec avformat cdda cddb dbus dts dvbpsi dvd encode faad ffmpeg flac gcrypt httpd ieee1394 jpeg lirc lua mp3 ncurses opencv opengl png postproc pulseaudio qt4 rdp rtsp schroedinger sdl sftp shout svg swscale taglib theora truetype twolame udev upnp v4l vaapi vorbis x264 x265 xml -aalib (-altivec) -atmo (-audioqueue) -bidi -bluray -chromaprint -dc1394 -debug -directfb (-directx) -dvb (-dxva2) -fdk -fluidsynth -fontconfig -gme -gnome -gnutls -growl -jack -kate -kde -libass -libav -libcaca -libnotify -libsamplerate -libtar -libtiger -linsys -live (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) -matroska (-media-library) -modplug -mpeg -mtp -musepack (-neon) -ogg -omxil -optimisememory -opus -projectm -qt5 -run-as-root -samba -sdl-image -sid -skins -speex -test -tremor -vcdx -vdpau -vlm -vnc -vpx -wma-fixed -xcb -xv -zvbi" ABI_X86="64" CPU_FLAGS_X86="mmx sse" LDFLAGS="-Wl,-O1 -Wl,--as-needed -L/usr/lib64/sidplay/builders/" >>>>> I think this may be related to this commit, but I won't have time to look further until tomorrow: http://git.videolan.org/gitweb.cgi/vlc.git/?p=vlc.git;a=commitdiff;h=d37f0aa4a34d7499327bb6d95f0e2c370c68b0e5;hp=76f2664529b2ed59f0b3bdb19a74c88d30942292 I submitted a bug for this upstream. They confirmed that enabling vdpau makes xcb required. The next release of VLC (2.2.2) will enforce this. I will upload a new ebuild with the dependency logic in the USE flags. Created attachment 401412 [details] Proposed ebuild to enforce vdpau dependency on xcb Upstream bug: https://trac.videolan.org/vlc/ticket/14408 Upstream commit: https://github.com/videolan/vlc/commit/c354efa3a2843d479c8fa9e929ff1064e5526bfa Created attachment 401424 [details, diff]
xcb_fix_for_vlc-2.2.0_and_2.2.1
This is a backport of the upstream patch to 2.2.0 & 2.2.1.
After re-reading the upstream commit, it is indeed possible to build vlc with xcb disabled and vdpau enabled. I've backported that patch to apply to vlc-2.2.0 & 2.2.1. This is a cleaner solution then forcing xcb to be enabled if you want vdpau enabled in those versions. The backported patch is attached under the name xcb_fix_for_vlc-2.2.0_and_2.2.1. The upstream patch (derived from git) is attached under the name xcb_fix_for_vlc-2.2.2. It presumably won't be necessary when 2.2.2 eventually gets released. Created attachment 401426 [details, diff]
xcb_fix_for_vlc-2.2.2
Patch from upstream commit
(In reply to Nick Andrade from comment #7) > Created attachment 401424 [details, diff] [details, diff] > xcb_fix_for_vlc-2.2.0_and_2.2.1 > > This is a backport of the upstream patch to 2.2.0 & 2.2.1. Tested and confirmed working on my end 18 Apr 2015; Ian Delaney <idella4@gentoo.org> +files/vlc-2.2.0-fix-xcb.patch, vlc-2.2.0.ebuild: add patch to fix issue with xcb, fixes bug #541928, thx to maintainer for patch lodged upstream |