Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541928 - media-video/vlc-2.2.0 *** No rule to make target '../../video_output/libvlc_xcb_events.la'
Summary: media-video/vlc-2.2.0 *** No rule to make target '../../video_output/libvlc_x...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Nick Andrade
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 546880
  Show dependency tree
 
Reported: 2015-03-02 16:58 UTC by Chris Smith
Modified: 2015-04-18 07:06 UTC (History)
2 users (show)

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


Attachments
build log (vlc-2.2.0.build.log.xz,73.43 KB, application/octet-stream)
2015-03-02 16:59 UTC, Chris Smith
Details
Proposed ebuild to enforce vdpau dependency on xcb (vlc-2.2.0-r1.ebuild,15.13 KB, text/plain)
2015-04-17 03:51 UTC, Nick Andrade
Details
xcb_fix_for_vlc-2.2.0_and_2.2.1 (xcb_fix.patch,652 bytes, patch)
2015-04-17 05:49 UTC, Nick Andrade
Details | Diff
xcb_fix_for_vlc-2.2.2 (xcb.patch,685 bytes, patch)
2015-04-17 06:06 UTC, Nick Andrade
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Smith 2015-03-02 16:58:23 UTC
media-video/vlc-2.2.0 fails to build with *** No rule to make target '../../video_output/libvlc_xcb_events.la'

Reproducible: Always

Actual Results:  
libtool: link: ( cd ".libs" && rm -f "libvdpau_chroma_plugin.la" && ln -s "../libvdpau_chroma_plugin.la" "libvdpau_chroma_plugin.la" )
../../../doltlibtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../..  -DMODULE_STRING=\"$(p="libvdpau_display_plugin_la-display.lo"; p="${p##*/}"; p="${p#lib}"; p="${p%_plugin*}"; p="${p%.lo}"; echo "$p")\" -D__PLUGIN__  -I./../../video_output/xcb -I../../../include -I../../../include    -O2 -march=native -fomit-frame-pointer -pipe -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -pipe -fvisibility=hidden -c -o libvdpau_display_plugin_la-display.lo `test -f 'display.c' || echo './'`display.c
make[5]: *** No rule to make target '../../video_output/libvlc_xcb_events.la', needed by 'libvdpau_display_plugin.la'.  Stop.



emerge --info
Portage 2.2.17 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.9.2, glibc-2.20-r2, 3.19.0-gentoo x86_64)
=================================================================
System uname: Linux-3.19.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    32896536 total,    543444 free
KiB Swap:    6291452 total,   6291452 free
Timestamp of repository gentoo: Mon, 02 Mar 2015 15:15:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo, 3.4.2::gentoo
dev-util/cmake:           3.0.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.8.4::gentoo, 4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync11.us.gentoo.org/gentoo-portage
    priority: -1000

desktop
    location: /usr/local/portage/desktop
    masters: gentoo
    priority: 0

server
    location: /usr/local/portage/server
    masters: gentoo
    priority: 1

gnome
    location: /var/lib/layman/gnome
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="V=1 -j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aalib acl acpi aes alsa amd64 amr apache2 audiofile avahi avx bash-completion berkdb bluray branding btrfs bzip2 cairo caps cdaudio cdda cddb cdparanoia cdr cdrdao chm cleartype cli corefonts cracklib crypt cups curl cxx dbus declarative designer-plugin djvu dri dts dv dvb dvd dvdr ebook emboss encode exif fam fdk ffmpeg firefox flac fortran gdbm gif glamor gmp google gphoto2 gpm gstreamer gtk gtk3 iconv icu ieee1394 imagemagick imap imlib introspection ipv6 jack java jpeg jpeg2k kde kipi kpathsea lame lash lcms libffi libnotify lzma mad marble midi mmap mmx mmxext mng modules mozilla mp3 mp4 mpeg mtp multilib musicbrainz ncurses network nls nodrm nptl nsplugin nvidia ofx ogg opencl openexr opengl openmp pam pango pcre pdf phonon plasma png policykit popcnt ppds pulseaudio qt3support qt4 readline rtmp sasl scanner sdl semantic-desktop session slp smp sndfile spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification subversion svg systemd theora threads tiff tk transparency truetype type1 udev udisks unicode unwind upower usb v4l vaapi vcd vdpau vim-syntax vorbis vpx wav wavpack wayland wmf wxwidgets x264 xattr xcomposite xine xinerama xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel hdsp hpet hrtimer rtctimer seqdummy virmidi" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="author braindump flow karbon kexi krita sheets stage words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en" NGINX_MODULES_HTTP="autoindex fancyindex fastcgi gzip" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau intel modesetting" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Chris Smith 2015-03-02 16:59:59 UTC
Created attachment 397884 [details]
build log
Comment 2 Chris Smith 2015-03-07 19:33:50 UTC
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.
Comment 3 Nick Andrade 2015-04-16 06:52:38 UTC
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.
Comment 4 Nick Andrade 2015-04-16 07:10:07 UTC
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
Comment 5 Nick Andrade 2015-04-16 21:04:40 UTC
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.
Comment 6 Nick Andrade 2015-04-17 03:51:25 UTC
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
Comment 7 Nick Andrade 2015-04-17 05:49:02 UTC
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.
Comment 8 Nick Andrade 2015-04-17 06:06:19 UTC
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.
Comment 9 Nick Andrade 2015-04-17 06:06:50 UTC
Created attachment 401426 [details, diff]
xcb_fix_for_vlc-2.2.2

Patch from upstream commit
Comment 10 Adam Feldman gentoo-dev 2015-04-17 17:28:17 UTC
(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
Comment 11 Ian Delaney (RETIRED) gentoo-dev 2015-04-18 07:06:19 UTC
  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