Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124777 - media-video/ffmpeg-0.4.9_p20060302 failed
Summary: media-video/ffmpeg-0.4.9_p20060302 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-03 05:07 UTC by Carsten Lohrke (RETIRED)
Modified: 2006-03-06 10:03 UTC (History)
3 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 Carsten Lohrke (RETIRED) gentoo-dev 2006-03-03 05:07:50 UTC
i686-pc-linux-gnu-gcc -Wall -Wno-switch -O2 -march=athlon-xp -pipe -fforce-addr -mfpmath=sse -fomit-frame-pointer -Wdeclaration-after-statement -DHAVE_AV_CONFIG_H -I.. -I/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-static/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE    -c -o xvidff.o xvidff.c
i686-pc-linux-gnu-gcc -Wall -Wno-switch -O2 -march=athlon-xp -pipe -fforce-addr -mfpmath=sse -fomit-frame-pointer -Wdeclaration-after-statement -DHAVE_AV_CONFIG_H -I.. -I/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-static/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE    -c -o xvid_rc.o xvid_rc.c
i686-pc-linux-gnu-gcc -Wall -Wno-switch -O2 -march=athlon-xp -pipe -fforce-addr -mfpmath=sse -fomit-frame-pointer -Wdeclaration-after-statement -DHAVE_AV_CONFIG_H -I.. -I/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-static/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE    -c -o mp3lameaudio.o mp3lameaudio.c
xvid_rc.c: In function `ff_xvid_rate_control_init':
xvid_rc.c:67: error: structure has no member named `vbv_size'
xvid_rc.c:68: error: structure has no member named `vbv_maxrate'
xvid_rc.c:69: error: structure has no member named `vbv_initial'
make[1]: *** [xvid_rc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-static/libavcodec'
make: *** [lib] Error 2
Comment 1 Patrizio Bassi 2006-03-03 05:30:19 UTC
different bug here:

i686-pc-linux-gnu-gcc -Wall -Wno-switch -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -fomit-frame-pointer -fomit-frame-pointer -Wdeclaration-after-statement -DHAVE_AV_CONFIG_H -I.. -I/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-shared/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE  -fPIC -DPIC -c -o i386/dsputil_mmx.o i386/dsputil_mmx.c
In file included from i386/dsputil_mmx.c:2492:
i386/h264dsp_mmx.c:49:1: warning: "SBUTTERFLY" redefined
i386/dsputil_mmx.c:1525:1: warning: this is the location of the previous definition
i386/h264dsp_mmx.c:1147:1: warning: "PUT_OP" redefined
i386/dsputil_mmx.c:2377:1: warning: this is the location of the previous definition
i386/h264dsp_mmx.c: In function ‘h264_h_loop_filter_luma_mmx2’:
i386/dsputil_mmx.c:621: error: can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’
i386/dsputil_mmx.c:621: error: can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’
make[1]: *** [i386/dsputil_mmx.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-shared/libavcodec'
make: *** [lib] Error 2

!!! ERROR: media-video/ffmpeg-0.4.9_p20060302 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile


System uname: 2.6.16-rc2-git1 i686 Pentium III (Katmai)
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.4.2-r1
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-r1
sys-devel/binutils:  2.16.91.0.5-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/mail/dspam /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/run/dspam"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.ngi.it"
LANG="it_IT.utf8"
LC_ALL="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,--as-needed -Wl,-hashvals -Wl,-zdynsort"
LINGUAS="it"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/myportage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X X509 Xaw3d a52 aac aalib accessibility acl acpi activefilter adns alsa apache2 apm arts asf audiofile avi bash-completion berkdb bidi bitmap-fonts bootsplash browserplugin bzip2 cairo caps cdda cddb cdio cdparanoia cdr cgi chroot clamav cli client codecs crypt css cups curl dba dbus dga dhcp directfb djbfft dri edl eds emboss encode ethereal exif expat extraengine faac faad fam fbcon ffmpeg fftw firefox flac flash foomaticdb foreign-package fortran gcj gd gdbm geometry ggi gif gimp gimpprint glut glx gnokii gnome gnutls gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile h264 hal iconv idea idn imagemagick imap imlib innodb ipod irda irmc jack java javascript jikes jit joystick jpeg jpeg2k junit justify kde kdeenablefinal kerberos kqemu lame lcd lcms ldap libcaca libclamav libg++ libgda libusb libwww lirc live lm_sensors lua lzo mad mailwrapper matroska md5sum mdb mikmod mime mmx mmx2 mmxext mng mono motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mp4live mpeg mpeg2 mpeg4 mplayer msn msnextras mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses neXt network ngui nls nntp no_wxgtk1 nobsh nopie nossp noxalan nptl nptlonly nsplugin oav odbc ogg oggvorbis openal opengl openssl operanom2 oss pam pcre pda pdf pdflib pdo pear perl php png pnp postgres ppds pthreads python qemu-fast qhull qt quicktime quotas readline real rrdtool rtc ruby samba scanner sdl server session sftplogging sguil slang slp snortsam soap sockets socks5 softmmu softquota spamassassin speex spell sqlite3 sse ssl subject-rewrite svg svga tcltk tcpd tetex tga theora tiff tokenizer truetype truetype-fonts trusted type1-fonts unicode usb userlocales vidix vorbis win32codecs wmf wsconvert wxwindows x264 xanim xchatdccserver xchattext xcomposite xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid xvm xvmc zlib elibc_glibc kernel_linux linguas_it userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, MAKEOPTS
Comment 2 Philip Kovacs 2006-03-03 08:15:57 UTC
I am getting compilation errors on code compiled due to xvid USE flag:

xvid_rc.c: In function `ff_xvid_rate_control_init':
xvid_rc.c:67: error: structure has no member named `vbv_size'
xvid_rc.c:68: error: structure has no member named `vbv_maxrate'
xvid_rc.c:69: error: structure has no member named `vbv_initial'

I am masking this one off locally for now.

---emerge --info-------
Portage 2.1_pre5-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://gentoo.mirrors.pair.com http://gentoo.ccccom.com http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm avi bitmap-fonts cdr crypt cups dvd dvdr eds emboss encode fbcon foomaticdb gif gpm gstreamer gtk gtk2 imlib jpeg libg++ libwww mad mikmod mmx mp3 mpeg ncurses nls nptl ogg opengl oss pdflib perl png python quicktime readline sdl slang spell sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev unicode vorbis xml xml2 xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, LINGUAS
Comment 3 Luca Barbato gentoo-dev 2006-03-03 10:25:39 UTC
Patrizio, please open another bug and cc amd64 

about xvid, which version do you have installed?
Comment 4 Philip Kovacs 2006-03-03 10:41:59 UTC
media-libs/xvid-1.0.3
Comment 5 Mate Car 2006-03-03 13:29:58 UTC
had the same problem with media-libs/xvid-1.0.3, media-libs/xvid-1.1.0 solved it(or at least I got beyond it and got stuck with bug 124836).
Comment 6 Philip Kovacs 2006-03-03 15:53:03 UTC
yes, using unstable xvid-1.1.0 allows the compile to proceed, BUT THIS EBUILD IS STILL A COMPLETE MESS.  I will file another bug report.   This issue is that the configure does NOT support BOTH --enable and --disable switches for its configure items.   It only allows the direction that reverses the default.  So, if an item is enabled by default, only --disable-<item> works and vice versa.

This means all this code in the ebuild:

 myconf="${myconf}
        $(use_enable altivec) \
        $(use_enable debug) \
        $(use_enable encode mp3lame) \
        $(use_enable a52) --disable-a52bin \
        $(use_enable oss audio-oss) \
        $(use_enable v4l) \
        $(use_enable ieee1394 dv1394) $(use_enable ieee1394 dc1394) \
        $(use_enable threads pthreads) \
        $(use_enable xvid) \
        $(use_enable ogg libogg) \
        $(use_enable vorbis) \
        $(use_enable theora) \
        $(use_enable dts) \
        $(use_enable network) \
        $(use_enable zlib) \
        $(use_enable sdl ffplay) \
        $(use_enable x264) \
        $(use_enable aac faad) $(use_enable aac faac) --disable-faadbin \
        --enable-gpl \
        --enable-pp \
        --disable-opts"

must be replaced with code like this:

 # Enabled by default
    (! use altivec) && myconf="${myconf} --disable-altivec"
    (! use debug) && myconf="${myconf} --disable-debug"
    (! use oss) && myconf="${myconf} --disable-audio-oss"
    (! use v4l) && myconf="${myconf} --disable-v4l"
    (! use network) && myconf="${myconf} --disable-network"
    (! use zlib) && myconf="${myconf} --disable-zlib"
    (! use sdl) && myconf="${myconf} --disable-ffplay"

    # Disabled by default
    (use encode) && myconf="${myconf} --enable-mp3lame"
    (use a52) && myconf="${myconf} --enable-a52"
    (use threads) && myconf="${myconf} --enable-pthreads"
    (use xvid) && myconf="${myconf} --enable-xvid"
    (use ogg) && myconf="${myconf} --enable-libogg"
    (use vorbis) && myconf="${myconf} --enable-libogg --enable-vorbis"
    (use theora) && myconf="${myconf} --enable-theora"
    (use dts) && myconf="${myconf} --enable-dts"
    (use aac) && myconf="${myconf} --enable-faad --enable-faac"
    (use x264) && myconf="${myconf} --enable-x264"

Comment 7 Philip Kovacs 2006-03-03 16:08:10 UTC
I filed a separate bug 124883 addressing what I talked about in comment 6.
Comment 8 Luca Barbato gentoo-dev 2006-03-05 22:49:08 UTC
everything cosmetics and what not got fixed, I hope
Comment 9 Philip Kovacs 2006-03-06 10:03:16 UTC
yeah but this snapshot got masked off yesterday:

# Diego Petten
Comment 10 Philip Kovacs 2006-03-06 10:03:16 UTC
yeah but this snapshot got masked off yesterday:

# Diego Pettenò <flameeyes@gentoo.org> (05 Mar 2006)
# Too many things breaks with that (vlc, xine, ...)
=media-video/ffmpeg-0.4.9_p20060302

due to a incompatibilities with other packages (not related to this clean-up).

see bug 124802.

phil