Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143495 - mplayer-1.0_pre8 fails to build with updated x264-svn-20060810
Summary: mplayer-1.0_pre8 fails to build with updated x264-svn-20060810
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 143597
  Show dependency tree
 
Reported: 2006-08-10 13:15 UTC by Peter Karlsson
Modified: 2006-10-18 23:19 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 Peter Karlsson 2006-08-10 13:15:40 UTC
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.15-gentoo-r1_20060417_PREEMPT i686)
=================================================================
System uname: 2.6.15-gentoo-r1_20060417_PREEMPT i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo http://ftp.du.se/pub/os/gentoo ftp://ftp.du.se/pub/os/gentoo http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo"
LANG="en_US.utf8"
LINGUAS="-cs -de en -fr -hr -it -nl sv -zh_CN en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acl acpi aim alsa ansi apache2 arts asf audiofile avi bash-completion bcmath berkdb bitmap-fonts bzip2 bzlib cairo caps cdparanoia cdr cli crypt cscope ctype cups dga directfb divx4linux dlloader doc dri dv dvb dvd dvdr dvdread emacs emboss encode examples exif fbcon ffmpeg fftw flac foomaticdb fortran freetype ftp gd gdbm gif gimp ginac glibc-compat20 glut gmp gnutls gphoto2 gpm gstreamer gtk gtk2 guile iconv icq imagemagick imap imlib isdnlog jabber java jpeg junit kerberos ladcca lcms leim libdts libg++ liblzo libwww lm_sensors mad matroska memlimit mhash mikmod mime mmap mmx mng motif mozilla mozsvg mp3 mpeg mplayer mysql mythtv ncurses nls nowin nptl nsplugin ogg oggvorbis openal openexr opengl oss pam pcntl pcre pdflib perl pic pie plotutils png portaudio posix postgresql ppds pppd python qhull qt3 qt4 quicktime readline real recode reflection ruby sasl scanner sdl session shared sharedmem smp sndfile sockets sox speex spell spl sqlite sse ssl svg symlink sysvipc szip tcltk tcpd tetex theora threads tiff toolame truetype truetype-fonts type1-fonts udev unicode usb v4l vcd videos vorbis win32codecs wmf wxgtk1 x264 xanim xine xml xmms xorg xpm xprint xv xvid zlib zvbi elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_-cs linguas_-de linguas_en linguas_-fr linguas_-hr linguas_-it linguas_-nl linguas_sv linguas_-zh_CN linguas_en_GB userland_GNU video_cards_radeon video_cards_fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Peter Karlsson 2006-08-10 13:20:49 UTC
If I upgrade to the latest stable x264-svn-20060810 I get the following when trying to "revdep-rebuild" mplayer-1.0_pre8 (downgrading to x264-svn-20060612 and rebuilding mplayer works fine):

ve_x264.c: In function `parse_cqm':
ve_x264.c:215: warning: passing arg 2 of `strtol' from incompatible pointer type
ve_x264.c: In function `config':
ve_x264.c:278: error: structure has no member named `b_cbr'
make[1]: *** [ve_x264.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre8/work/MPlayer-1.0pre8/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Error 2

!!! ERROR: media-video/mplayer-1.0_pre8 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  mplayer-1.0_pre8.ebuild, line 500:   Called die

!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 2 Jan Waldmann 2006-08-10 13:58:26 UTC
(In reply to comment #1)

The new ebuild mplayer-1.0_pre20060810 should solve this problem, but at the moment it fails to compile (bug #143497), therefore it's hardmasked.
Comment 3 Piojo 2006-08-10 19:12:50 UTC
x264-svn-20060810 also breaks media-libs/libquicktime-0.9.9 and media-video/ffmpeg-0.4.9_p20060530 . They don't compile either. GCC reports the same error.

My emerge --info:

Portage 2.1.1_pre4-r4 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo i686)
=================================================================
System uname: 2.6.17-gentoo i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.12.4
Last Sync: Thu, 10 Aug 2006 19:59:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -mmmx -m3dnow -msse -mfpmath=sse,387 -maccumulate-outgoing-args -fprefetch-loop-arrays -ftree-vectorize  -ftree-loop-im -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/openldap /etc/openoffice /etc/profile.d /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/wget"
CXXFLAGS="-O3 -march=athlon-xp -pipe -mmmx -m3dnow -msse -mfpmath=sse,387 -maccumulate-outgoing-args -fprefetch-loop-arrays -ftree-vectorize  -ftree-loop-im -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://213.186.33.38/gentoo-distfiles/ ftp://213.186.33.37/gentoo-distfiles/ http://213.186.33.38/gentoo-distfiles/ http://213.186.33.37/gentoo-distfiles/ http://ftp.heanet.ie/pub/gentoo/ http://linuv.uv.es/mirror/gentoo/"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/home/portagetmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac alsa apache2 apm arts asf audiofile avi bash-completion berkdb bitmap-fonts blas bootsplash browserplugin bzip2 cdparanoia cli crypt cups dbus dlloader dri dvd elibc_glibc emacs encode fam ffmpeg flac foomaticdb fortran gd gdbm gif gimp gimpprint gmail gpm gtk gtk2 hal idn imagemagick imlib input_devices_keyboard input_devices_mouse isdnlog java jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kernel_linux lapack lcms libg++ libwww linguas_es mad mikmod mmx mmx2 mmxext mng motif moznocompose moznoirc moznomail mp3 mp4 mpeg mplayer ncurses nls no-old-linux nptl nptlonly nsplugin nvidia ogg opengl pam pcre pdf pdflib perl png postgres pppd python qt3 qt4 quicktime readline reflection rtc scanner sdl sensord session spell spl sse ssl svg svga tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales video_cards_nv video_cards_nvidia vorbis win32codecs x264 xcomposite xine xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 R!tman 2006-08-10 23:37:21 UTC
(In reply to comment #2)
> (In reply to comment #1)
> 
> The new ebuild mplayer-1.0_pre20060810 should solve this problem, but at the
> moment it fails to compile (bug #143497), therefore it's hardmasked.

This ebuild works. Nevertheless, either this version of mplayer should be stable, or x264-20060810 should be unstable. 

The stable-only versions from portage don't work together, so either use ~arch mplayer or mask x264.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-08-11 01:33:23 UTC
x264-svn-20060810 is not supposed to be stable, fix the keywords please.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-08-11 04:44:00 UTC
12:23:22 <+CIA-15> christel * gentoo-x86/media-libs/x264-svn/ (ChangeLog x264-svn-20060810.ebuild): 
12:23:22 <+CIA-15> Keywords dropped, marked as unstable.   
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-02 00:53:23 UTC
x264-svn-20060810 is package.masked together with the mplayer using it.
Comment 8 David Li 2006-10-18 17:58:57 UTC
I'm getting new errors with mplayer-1.0_pre20060810 and x264-svn-20061014. Should I file a new bug?

cc -I../libvo -I../../libvo -fno-PIC -O4 -D__STDC_LIMIT_MACROS -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/X11R6/include -I/usr/include/ -I/usr/src/DVB/ost/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/dxr2     -I/usr/lib/live/liveMedia/include              -I/usr/lib/live/UsageEnvironment/include              -I/usr/lib/live/BasicUsageEnvironment/include              -I/usr/lib/live/groupsock/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -DHAVE_AV_CONFIG_H -I.. -I../libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE    -c -o x264.o x264.c
x264.c: In function 
Comment 9 David Li 2006-10-18 17:58:57 UTC
I'm getting new errors with mplayer-1.0_pre20060810 and x264-svn-20061014. Should I file a new bug?

cc -I../libvo -I../../libvo -fno-PIC -O4 -D__STDC_LIMIT_MACROS -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/X11R6/include -I/usr/include/ -I/usr/src/DVB/ost/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/dxr2     -I/usr/lib/live/liveMedia/include              -I/usr/lib/live/UsageEnvironment/include              -I/usr/lib/live/BasicUsageEnvironment/include              -I/usr/lib/live/groupsock/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -DHAVE_AV_CONFIG_H -I.. -I../libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE    -c -o x264.o x264.c
x264.c: In function X264_init:
x264.c:147: error: struct <anonymous> has no member named i_rf_constant
make[1]: *** [x264.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/mplayer-1.0_pre20060810/work/mplayer/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2
Comment 10 Alexis Ballier gentoo-dev 2006-10-18 23:19:10 UTC
(In reply to comment #8)
> I'm getting new errors with mplayer-1.0_pre20060810 and x264-svn-20061014.
> Should I file a new bug?


It's a known bug, you should either mask x264-svn-20061014 and ffmpeg-0.4.9_p20061016 or come on #gentoo-media helping us sorting that out ;)



Alexis.