Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369521 - media-video/mplayer2-2.0 with media-video/libav-0.7_beta2 - libvo/vo_xvmc.c:367: error: 'struct xvmc_pix_fmt' has no member named 'state'
Summary: media-video/mplayer2-2.0 with media-video/libav-0.7_beta2 - libvo/vo_xvmc.c:3...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on: 401041
Blocks:
  Show dependency tree
 
Reported: 2011-05-31 14:16 UTC by Paolo Pedroni
Modified: 2012-03-28 07:32 UTC (History)
8 users (show)

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


Attachments
media-video/mplayer2-2.0 build log (mplayer2-2.0:20110531-132726.log.gz,9.98 KB, application/gzip)
2011-05-31 14:16 UTC, Paolo Pedroni
Details
media-video/mplayer2-2.0 ebuild environment (environment,114.81 KB, text/plain)
2011-05-31 14:17 UTC, Paolo Pedroni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Pedroni 2011-05-31 14:16:15 UTC
Created attachment 275353 [details]
media-video/mplayer2-2.0 build log

I decided to try to compile libav-0.7_beta2 (mostly because I needed to use some filters which were in ffmpeg, but not in libav-0.6) and fully expected that not all packages depending on it would "survive" a revdep-rebuild. This is one of the packages that didn't.

I will attach the build log and the ebuild environment ASAP

Reproducible: Always

Steps to Reproduce:
1. emerge -1av =libav-0.7_beta2
2. revdep-rebuild
Actual Results:  
Compilation failure

Expected Results:  
Succesfull ebuild

# emerge --info =media-video/mplayer2-2.0
Portage 2.1.9.42 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, libc-0-r0, 2.6.38-gentoo-r6 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.38-gentoo-r6-x86_64-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-2.0.2
Timestamp of tree: Tue, 31 May 2011 07:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going y"
FEATURES="assume-digests binpkg-logs ccache compress-build-logs distcc distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms split-elog split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://tux.rainside.sk/gentoo/ http://mirror.netcologne.de/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.wheel.sk/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 ao audiofile bash-completion bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cli consolekit cracklib crypt css cups curl cxx dbus dga djvu dri dts dvd dvdr emboss encode exif expat fam fbcon ffmpeg fftw firefox flac fontconfig foomaticdb fortran ftp gd gdbm gdu geoip ggi gif gimp gmp gnutls gphoto2 gpm graphviz gstreamer gtk handbook iconv icu idn ieee1394 imagemagick imlib ipv6 java jbig jpeg jpeg2k kde lame lcms libcaca libnotify libsamplerate lm_sensors lua lzma lzo mad mmap mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib musicbrainz ncurses nls nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd python qt3support qt4 rdesktop readline recode sdl semantic-desktop session smartcard sndfile sockets speex spell sqlite sqlite3 sse sse2 ssl startup-notification subversion svg symlink sysfs syslog sysvipc taglib tcpd theora threads tidy tiff truetype udev unicode usb vcd vim-syntax vnc vorbis wmf wxwidgets x264 xattr xcb xcomposite xinerama xml xorg xpm xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="hda-intel virmidi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="kodak ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-video/mplayer2-2.0 was built with the following:
USE="X a52 aalib alsa ass cddb cdio cdparanoia (consolekit) dga dts dvd dvdnav enca fbcon ftp ggi gif iconv ipv6 jpeg libcaca live mad md5sum mmx mmxext mng mp3 (multilib) network nut opengl osdmenu png (policykit) quicktime rar rtc sdl shm speex sse sse2 tga theora truetype unicode vorbis xanim xinerama xscreensaver xv xvid xvmc (-3dnow) (-3dnowext) (-altivec) (-aqua) -bidi -bindist -bl -bluray -bs2b -cpudetection -custom-cflags -custom-cpuopts -debug -directfb -doc -dv -dvb -dxr3 -esd -faad -jack -joystick -ladspa -lirc -nas -oss -pnm -pulseaudio -pvr -radio (-real) -samba (-ssse3) -v4l -v4l2 -vdpau (-win32codecs)" VIDEO_CARDS="-mga -s3virge -tdfx -vesa"

# emerge -pqv =media-video/mplayer2-2.0
[ebuild   R   ] media-video/mplayer2-2.0  USE="X a52 aalib alsa ass cddb cdio cdparanoia dga dts dvd dvdnav enca fbcon ftp ggi gif iconv ipv6 jpeg libcaca live mad md5sum mmx mmxext mng mp3 network nut opengl osdmenu png quicktime rar rtc sdl shm speex sse sse2 tga theora truetype unicode vorbis xanim xinerama xscreensaver xv xvid xvmc (-3dnow) (-3dnowext) (-altivec) (-aqua) -bidi -bindist -bl -bluray -bs2b -cpudetection -custom-cflags -custom-cpuopts -debug -directfb -doc -dv -dvb -dxr3 -esd -faad -jack -joystick -ladspa -lirc -nas -oss -pnm -pulseaudio -pvr -radio (-real) -samba (-ssse3) -v4l -v4l2 -vdpau (-win32codecs)" VIDEO_CARDS="-mga -s3virge -tdfx -vesa"
Comment 1 Paolo Pedroni 2011-05-31 14:17:00 UTC
Created attachment 275355 [details]
media-video/mplayer2-2.0 ebuild environment
Comment 2 Paolo Pedroni 2011-06-01 08:13:34 UTC
It works with USE=-xvmc, though.
Comment 3 Matt Turner gentoo-dev 2011-07-21 21:44:18 UTC
That version of libav isn't in the tree anymore. Can you try with 0.7_pre20110327?
Comment 4 Paolo Pedroni 2011-07-22 06:22:48 UTC
(In reply to comment #3)
> That version of libav isn't in the tree anymore. Can you try with
> 0.7_pre20110327?

That version still uses the old ABI so I think it's supposed to work (it used to work with libav-0.6.2). I tried again today with libav-0.7 final and it still does not work.

Should I still try 0.7_pre? It would be a little PITA for me to switch libav ABI again.
Comment 5 Patrizio Bassi 2011-09-17 18:41:09 UTC
i have libav-0.8_pre20110818 and i have the same issue. can you import patch from mplayer2 git?
Comment 6 Matt Turner gentoo-dev 2011-11-01 03:56:27 UTC
(In reply to comment #5)
> i have libav-0.8_pre20110818 and i have the same issue. can you import patch
> from mplayer2 git?

I just hit this myself. I confirm that it is a problem. (I'm sorry to see that no media-video herd member has done a damn thing with this bug since I last commented on it.)

As it turns out, mplayer2 upstream has remove XvMC support:

http://git.mplayer2.org/mplayer2/commit/libvo?id=cbdb7e630526753efd5716bb67cf627393f3258c

I'm not sure what we can really do but drop the xvmc USE flag.
Comment 7 Nikoli 2012-03-23 14:53:26 UTC
mplayer2-2.0 was removed from portage, xvmc USE was removed from current mplayer2 ebuilds. Bug should be closed.
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2012-03-28 07:32:04 UTC
As per last comment.