Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625650 - media-video/mplayer-1.3.0-r1 with vdpau fails to build
Summary: media-video/mplayer-1.3.0-r1 with vdpau fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-19 17:35 UTC by Henry R. Bent
Modified: 2017-10-23 12:14 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henry R. Bent 2017-07-19 17:35:50 UTC
media-video/mplayer-1.3.0-r1 can't build VDPAU video output:

x86_64-pc-linux-gnu-gcc -MMD -MP -Wundef  -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99  -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O3 -march=native -pipe -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -fpie -DPIC -D_REENTRANT  -I/usr/include/    -I/usr/include/freetype2 -DZLIB_CONST -I/usr/include/bs2b    -c -o libvo/vo_vdpau.o libvo/vo_vdpau.c
libvo/vo_vdpau.c:131:8: error: unknown type name 'VdpPresentationQueueTargetCreateX11'
 static VdpPresentationQueueTargetCreateX11       *vdp_presentation_queue_target_create_x11;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libvo/vo_vdpau.c: In function 'win_x11_init_vdpau_procs':
libvo/vo_vdpau.c:394:10: error: 'VDP_FUNC_ID_PRESENTATION_QUEUE_TARGET_CREATE_X11' undeclared (first use in this function)
         {VDP_FUNC_ID_PRESENTATION_QUEUE_TARGET_CREATE_X11,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libvo/vo_vdpau.c:394:10: note: each undeclared identifier is reported only once for each function it appears in
libvo/vo_vdpau.c:419:14: warning: implicit declaration of function 'vdp_device_create_x11' [-Wimplicit-function-declaration]
     vdp_st = vdp_device_create_x11(mDisplay, mScreen,
              ^~~~~~~~~~~~~~~~~~~~~
libvo/vo_vdpau.c: In function 'win_x11_init_vdpau_flip_queue':
libvo/vo_vdpau.c:449:14: error: called object 'vdp_presentation_queue_target_create_x11' is not a function or function pointer
     vdp_st = vdp_presentation_queue_target_create_x11(vdp_device, vo_window,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libvo/vo_vdpau.c:131:51: note: declared here
 static VdpPresentationQueueTargetCreateX11       *vdp_presentation_queue_target_create_x11;
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libvo/vo_vdpau.c:449:12: error: incompatible types when assigning to type 'VdpStatus {aka enum <anonymous>}' from type 'const struct vdp_function *'
     vdp_st = vdp_presentation_queue_target_create_x11(vdp_device, vo_window,
            ^
libvo/vo_vdpau.c: In function 'draw_image':
libvo/vo_vdpau.c:1096:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         VdpVideoSurface surface = (VdpVideoSurface)mpi->priv;


emerge --info:
Portage 2.3.6 (python 3.4.6-final-0, default/linux/amd64/13.0, gcc-6.3.0, glibc-2.24-r3, 4.12.0-gentoo x86_64)
=================================================================
System uname: Linux-4.12.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.4.1
KiB Mem:    24578848 total,   2928624 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 19 Jul 2017 16:45:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.27 p1.1) 2.27
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.2::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1::gentoo
sys-apps/openrc:          0.28::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r3::gentoo
sys-devel/automake:       1.9.6-r4::gentoo, 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15.1::gentoo
sys-devel/binutils:       2.27-r1::gentoo, 2.28-r2::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.4.0-r2::gentoo, 6.3.0::gentoo, 7.1.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r3::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Intel-SDP"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O3 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
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="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.osuosl.org/ ftp://mirrors.rit.edu/gentoo/ ftp://cosmos.illinois.edu/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aacplus aacs aalib acl alac alsa amd64 amr amrenc animgif apng bdplus berkdb bluray bs2b bzip2 cairo cdda cddb cdparanoia celt cilk cjk cli corefonts cracklib crypt cue curl cvs cxx dbus double-precision dri dri3 dts dv dvb dvd encode exif expat extra-cardsets faac faad ffmpeg fftw flac fluidsynth fontconfig fontforge fortran ftp gd gdbm gegl gif gmp gold graphite graphviz gsm gstreamer gtk gtk-pixbuf gtk3 i965 iconv icu id3tag ieee1394 imagemagick introspection ipv6 jbig jit jpeg jpeg2k ladspa lame lapack lcms libass libcaca libmpeg2 libsamplerate libsoxr lqr lzma lzo mad matroska midi minizip mms mng modules mp3 mp4 mpeg multilib musepack ncurses netpbm nfs nls nptl ogg openal opencv openexr opengl openmp opus pango pcap pcre pdf perl pgo physfs pixbuf png pnm postproc projectm python qt4 readline rtsp schroedinger sdl sdl-image sdl2 seccomp session sftp shorten sid smp sndfile sox speex sqlite ssl staging subversion svg taglib tcl tcpd tga theora threads tiff timidity tk toolame truetype twolame udf unicode usb v4l vaapi vamp vcd vdpau vorbis vpx wad wavpack webp wmf x264 x265 xanim xattr xft xml xpm xrandr xv xvid xvmc yuv4mpeg zlib" ABI_X86="64" ALSA_CARDS="usb-usx2y" 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="kexi words flow plan sheets stage tables krita karbon braindump author" 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 isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="ps2mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 alpha i386 m68k mips mipsel ppc sparc sparc64" QEMU_USER_TARGETS="x86_64 alpha i386 m68k mips mipsel mipsn32 mipsn32el ppc sparc sparc32plus sparc64" RUBY_TARGETS="ruby23" SANE_BACKENDS="snapscan pnm" USERLAND="GNU" VIDEO_CARDS="intel i965" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Alexis Ballier gentoo-dev 2017-10-23 12:14:12 UTC
commit 549f9b5f320c3e0032551e0da821d1151ea764df (HEAD -> master, origin/master, origin/HEAD)
Author: Alexis Ballier <aballier@gentoo.org>
Date:   Mon Oct 23 14:13:40 2017 +0200

    media-video/mplayer: backport upstream patch fixing vdpau build with latest ffmpeg, bug #625650