Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88879 - media-video/ffmpeg-0.4.9_p20050226-r3 lacks media-libs/xvid version dependency
Summary: media-video/ffmpeg-0.4.9_p20050226-r3 lacks media-libs/xvid version dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-04-12 10:36 UTC by Flurin Rupp
Modified: 2005-05-02 03:15 UTC (History)
0 users

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 Flurin Rupp 2005-04-12 10:36:11 UTC
When attempting to emerge media-video/ffmpeg-0.4.9_p20050226-r3 with USE flag "xvid" the compilation fails with errors about various xvid variables being undeclared.
At the time I had media-libs/xvid-0.9.1 installed. All I needed to do was updating media-libs/xvid to version 1.0.2 (most current stable) and ffmpeg compiled correctly. 

Reproducible: Always
Steps to Reproduce:
1. Have media-libs/xvid-0.9.1 as highest installed xvid version
2. env USE="xvid" emerge media-video/ffmpeg-0.4.9_p20050226-r3

Actual Results:  
Emerge fails with bunch of errors relating to undeclared xvid variables, etc.
(sorry lost actual output in scrollback, but since updating xvid to the latest
version fixes the problem I felt it is not really needed)

Expected Results:  
media-video/ffmpeg-0.4.9_p20050226-r3 emerged
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-15 04:15:39 UTC
./configure --help tells that --enable-xvid enables xvid with xvidcore, which is part of xvid4, that is, xvid 1.0.
So, correctly, the dependency should be =media-libs/xvid-1.0*.
Comment 2 Richard Hartmann 2005-04-16 04:25:56 UTC
I get the same error, although I have emerged ffmpeg-0.4.9_p20050226-r3 without the "xvid" flag. It seems the above solution does not always help. 

This is the error message:

In file included from i386/dsputil_mmx.c:165:
i386/dsputil_mmx_avg.h: In function `put_pixels4_l2_3dnow':
i386/dsputil_mmx_avg.h:58: error: can't find a register in class `BREG' while reloading `asm'
i386/dsputil_mmx.c: In function `dsputil_init_mmx':
i386/dsputil_mmx.c:3076: warning: assignment from incompatible pointer type
i386/dsputil_mmx.c:3077: warning: assignment from incompatible pointer type
i386/dsputil_mmx.c: At top level:
i386/dsputil_mmx_rnd.h:59: warning: `put_no_rnd_pixels8_l2_mmx' defined but not used
i386/dsputil_mmx_rnd.h:155: warning: `put_no_rnd_pixels16_l2_mmx' defined but not used
i386/dsputil_mmx_rnd.h:300: warning: `avg_no_rnd_pixels4_mmx' defined but not used
i386/dsputil_mmx_rnd.h:59: warning: `put_pixels8_l2_mmx' defined but not used
i386/dsputil_mmx_rnd.h:155: warning: `put_pixels16_l2_mmx' defined but not used
make[1]: *** [i386/dsputil_mmx.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/ffmpeg-0.4.9_p20050226-r3/work/ffmpeg-0.4.9-p20050226-shared/libavcodec'
make: *** [lib] Error 2

!!! ERROR: media-video/ffmpeg-0.4.9_p20050226-r3 failed.
!!! Function src_compile, Line 111, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


My sytem:

Portage 2.0.51.19 (default-linux/x86/2005.0/2.4, gcc-3.3.2, glibc-2.3.4.20040808-r1, 2.4.26-gentoo-r13 i686)
=================================================================
System uname: 2.4.26-gentoo-r13 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.3 [2.3.3 (#1, Jun 23 2004, 23:14:51)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.3
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.14.90.0.7-r4
sys-devel/libtool:   1.4.3-r3
virtual/os-headers:  2.4.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage/"
USE="x86 X alsa apm arts avi bash-completion berkdb bitmap-fonts bonobo cdr crypt cups curl emboss encode esd fam flac foomaticdb fortran gd gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib ipv6 java jpeg junit kde ldap libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts vorbis xml xml2 xmms xv zlib linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Portage 2.0.51.19 (default-linux/x86/2005.0/2.4, gcc-3.3.2, glibc-2.3.4.20040808-r1, 2.4.26-gentoo-r13 i686)
=================================================================
System uname: 2.4.26-gentoo-r13 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.3 [2.3.3 (#1, Jun 23 2004, 23:14:51)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.3
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.14.90.0.7-r4
sys-devel/libtool:   1.4.3-r3
virtual/os-headers:  2.4.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage/"
USE="x86 X alsa apm arts avi bash-completion berkdb bitmap-fonts bonobo cdr crypt cups curl emboss encode esd fam flac foomaticdb fortran gd gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib ipv6 java jpeg junit kde ldap libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts vorbis xml xml2 xmms xv zlib linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 3 groepaz 2005-04-17 23:47:27 UTC
same problem on ppc, did exactly what the first poster did (except the ffmpeg version and dependant xvid core are both unstable on ppc)
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-18 03:30:05 UTC
Fixed in cvs. Thanks for reporting.
Comment 5 Matt Caesar 2005-04-30 06:34:25 UTC
This still seems to be a problem for me. ffmpeg compiled without the xvid USE flag but failed when I added it with the error listed in comment #2. This is also a new system compiled a few days ago.

xvid version 1.0.2 is installed. 

Thanks

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 27 2005, 17:48:45)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnow 3dnowext X a52 aac acpi alsa amarok apache2 apm arts artworkextra asm avi bash-completion bdf berkdb bitmap-fonts bootsplash bzip2 cdrcpudetection crypt css cups curl dbus dga divx4linux djbfft dnd doc dpms dv dvd dvdr dvdread emboss encode ethereal fam ffmpeg fftw firefox flac flash font-server foomaticdb fortran freetype gdbm gif gimp gimpprint gnome gphoto2 gpm gtk gtk2 imlib ipv6 java javascript jp2 jpeg jpeg2k justify kde libg++ libwww mad mikmod mixer mjpeg mmx mmxext mng mono motif mozdevelop mozilla moznocompose moznoirc moznomail mozp3p mozsvg mp3 mpeg mpi mplayer mssql ncurses nls nvidia offensive ogg oggvorbis opengl oss pam pdflib perl plugin png povray python qemu-fast qt quicktime rdesktop readline real rtc ruby sblive scanner sdk sdl spell sse ssl subversion svg svga symlink tcpd tiff transcode truetype truetype-fonts type1-fonts usb v4l v4l2 vcd vcdimager vorbis win32codecs wma123 wmfxanim xine xml2 xmms xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


Comment 6 Matt Caesar 2005-04-30 06:37:59 UTC
Sorry, I spoke to soon. I though R3 was the fixed version.
Comment 7 Todd Walton 2005-05-01 09:47:25 UTC
This bug is marked as fixed, but I don't think it is.  I'm trying to emerge ffmpeg-0.4.9_p20050226-r3 and it's failing with the errors that the original reporter had, i.e. lines and lines of stuff about undeclared variables.  The original reporter fixed his problem by updating to xvid-1.0.2, well I have that and it doesn't fix my problem.  ffmpeg-0.4.9_p20050226-r3 does not emerge.  I tried emerging with "xvid" unset, but then I just get the mmx error that Richard Hartmann mentioned above.  (By the way, Richard Hartmann, that's not "the same error".)  My emerge info follows: ========

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 29 2005, 16:20:28)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=i686"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=i686"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.ccccom.com/ http://gentoo.mirrors.tds.net/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ ftp://ftp.oss.cc.gatech.edu/pub/linux/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dfx X aac aalib acpi apm artworkextra audiofile avi bash-completion bootsplash bzlib cdda cddb cdio cdparanoia codecs dbus dga directfb divx4linux dpms dts exif fam fame fb fbcon ffmpeg flac fpx gcj ggi gif gmail gnome gpm graphviz gs gstreamer gtk gtk2 hal httpd i8x0 imagemagick innkeywords jabber java javascript jikes jp2 jpeg jpeg2k kipi lcms libcaca libvisual live lzo lzw lzw-tiff mad maildir mikmod mime mjpeg mmx mng moznocompose moznoirc moznomail moznoxft mozsvg mp3 mpeg mpeg4 mplayer native ncurses network nocd offensive ogg openal openexr opengl operanom2 pam pdf pdflib png portaudio quicktime real sblive sdl server silc sndfile speex spell ssl stream svg svga svgz sysvipc tga theora tiff truetype-fonts utf8 v4l v4l2 vcd videos vidix voodoo3 vorbis win32codecs wmf xanim xine xmms xosd xpm xscreensaver xv xvid xvmc yahoo yv12 zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 8 Luca Barbato gentoo-dev 2005-05-02 03:15:09 UTC
xvid? ( >=media-libs/xvid-1.0 )

both present in the ffmpeg ebuilds available.

about the mmx issues please check the -r5 ebuild and tell me if that is ok for you.

Please DO NOT MIX DIFFERENT ISSUES IN THE SAME BUG.
It makes different to track the problems and just adds overhead on bugzilla.