I'm getting this while compiling avifile-0.7.43.20050224-r2: /bin/sh ../../libtool --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -O2 -march=athlon64 -pipe -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_64BIT -D_GNU_SOURCE -pipe -c AviReadStream.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -O2 -march=athlon64 -pipe -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_64BIT -D_GNU_SOURCE -pipe -Wp,-MD,.deps/AviReadHandler.pp -c AviReadHandler.cpp -o AviReadHandler.o >/dev/null 2>&1/bin/sh ../../libtool --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -O2 -march=athlon64 -pipe -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_64BIT -D_GNU_SOURCE -pipe -c Cache.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -O2 -march=athlon64 -pipe -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_64BIT -D_GNU_SOURCE -pipe -Wp,-MD,.deps/AviReadStream.pp -c AviReadStream.cpp -fPIC -DPIC -o .libs/AviReadStream.o x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -O2 -march=athlon64 -pipe -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_64BIT -D_GNU_SOURCE -pipe -Wp,-MD,.deps/AviReadStream.pp -c AviReadStream.cpp -o AviReadStream.o >/dev/null 2>&1 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -O2 -march=athlon64 -pipe -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_64BIT -D_GNU_SOURCE -pipe -Wp,-MD,.deps/Cache.pp -c Cache.cpp -fPIC -DPIC -o .libs/Cache.o /bin/sh ../../libtool --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -O2 -march=athlon64 -pipe -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_64BIT -D_GNU_SOURCE -pipe -c FFReadHandler.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -O2 -march=athlon64 -pipe -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_64BIT -D_GNU_SOURCE -pipe -Wp,-MD,.deps/Cache.pp -c Cache.cpp -o Cache.o >/dev/null 2>&1 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -O2 -march=athlon64 -pipe -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_64BIT -D_GNU_SOURCE -pipe -Wp,-MD,.deps/FFReadHandler.pp -c FFReadHandler.cpp -fPIC -DPIC -o .libs/FFReadHandler.o/bin/sh ../../libtool --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -O2 -march=athlon64 -pipe -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_64BIT -D_GNU_SOURCE -pipe -c FFReadStream.cpp FFReadHandler.cpp: In member function `int avm::FFReadHandler::Init(const char*)': FFReadHandler.cpp:69: error: cannot convert `AVCodecContext**' to `AVCodecContext*' in initialization FFReadHandler.cpp:72: error: 'struct AVCodecContext' has no member named 'frame_rate' FFReadHandler.cpp: In member function `virtual avm::IMediaReadStream* avm::FFReadHandler::GetStream(uint_t, avm::IStream::StreamType)': FFReadHandler.cpp:109: error: request for member `codec_type' in `((avm::FFReadHandler*)this)->avm::FFReadHandler::m_pContext->AVFormatContext::streams[i]->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadHandler.cpp: In member function `virtual uint_t avm::FFReadHandler::GetStreamCount(avm::IStream::StreamType)': FFReadHandler.cpp:133: error: request for member `codec_type' in `((avm::FFReadHandler*)this)->avm::FFReadHandler::m_pContext->AVFormatContext::streams[i]->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadHandler.cpp: In member function `int avm::FFReadHandler::readPacket()': FFReadHandler.cpp:206: error: request for member `codec_type' in `st->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadHandler.cpp:209: error: request for member `bit_rate' in `st->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadHandler.cpp:211: error: request for member `bit_rate' in `st->AVStream::codec', which is of non-class type `AVCodecContext*' make[2]: *** [FFReadHandler.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -O2 -march=athlon64 -pipe -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_64BIT -D_GNU_SOURCE -pipe -Wp,-MD,.deps/FFReadStream.pp -c FFReadStream.cpp -fPIC -DPIC -o .libs/FFReadStream.o FFReadStream.cpp: In constructor `avm::FFReadStream::FFReadStream(avm::FFReadHandler*, uint_t, AVStream*)': FFReadStream.cpp:54: error: request for member `codec_id' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:60: error: request for member `codec_id' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp: In member function `virtual avm::StreamInfo* avm::FFReadStream::GetStreamInfo() const': FFReadStream.cpp:149: error: request for member `codec_type' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:152: error: request for member `channels' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:153: error: request for member `sample_rate' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:154: error: request for member `frame_bits' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:156: error: request for member `codec_tag' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:158: error: request for member `codec_tag' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:158: error: request for member `codec_tag' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:161: error: request for member `width' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:161: error: request for member `height' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:162: error: request for member `sample_aspect_ratio' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:163: error: request for member `sample_aspect_ratio' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:165: error: request for member `codec_tag' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:171: error: request for member `codec_id' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp: In member function `virtual avm::IStream::StreamType avm::FFReadStream::GetType() const': FFReadStream.cpp:192: error: request for member `codec_type' in `((avm::FFReadHandler*)((const avm::FFReadStream*)this)->avm::FFReadStream::m_pHandler)->avm::FFReadHandler::m_pContext->AVFormatContext::streams[((unsigned int)((const avm::FFReadStream*)this)->avm::FFReadStream::m_uiSId)]->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp: In member function `virtual uint_t avm::FFReadStream::GetFormat(void*, uint_t) const': FFReadStream.cpp:203: error: request for member `codec_type' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:209: error: request for member `codec_tag' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:211: error: request for member `codec_id' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:214: error: request for member `channels' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:215: error: request for member `sample_rate' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:216: error: request for member `bit_rate' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:217: error: request for member `block_align' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:218: error: request for member `bits_per_sample' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:219: error: request for member `extradata_size' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:220: error: request for member `extradata' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:222: error: request for member `extradata_size' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:223: error: request for member `extradata' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:223: error: request for member `extradata_size' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:230: error: request for member `extradata' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:230: error: request for member `extradata_size' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:238: error: request for member `width' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:239: error: request for member `height' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:241: error: request for member `codec_tag' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:242: error: request for member `bits_per_sample' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:246: error: request for member `codec_id' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:247: error: request for member `extradata_size' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:248: error: request for member `extradata' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:250: error: request for member `extradata_size' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:251: error: request for member `extradata' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:251: error: request for member `extradata_size' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:258: error: request for member `extradata' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:258: error: request for member `extradata_size' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp: In member function `virtual int avm::FFReadStream::SeekTime(double)': FFReadStream.cpp:313: error: request for member `codec_type' in `((avm::FFReadStream*)this)->avm::FFReadStream::m_pAvStream->AVStream::codec', which is of non-class type `AVCodecContext*' make[2]: *** [FFReadStream.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.43.20050224-r2/work/avifile-0.7-0.7.43/lib/aviread'make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.43.20050224-r2/work/avifile-0.7-0.7.43/lib' make: *** [all-recursive] Error 1 !!! ERROR: media-video/avifile-0.7.43.20050224-r2 failed. !!! Function src_compile, Line 145, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. This is my emerge info: nibiru ~ # emerge info Portage 2.0.52-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo x86_64) ================================================================= System uname: 2.6.13-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.0_pre8 dev-lang/python: 2.3.4-r1, 2.4.1-r1 sys-apps/sandbox: 1.2.12 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 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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=athlon64 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage_overlays/main /usr/local/portage_overlays/lila" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib alsa amuled aotuv avi berkdb bidi bitmap-fonts browserplugin bzip2 cairo cdio cdparanoia cdr cdrom cgi crypt cups curl dba dbus directfb dts dvb dvd dvdr dvdread eds emboss encode fam fastcgi fbcon ffmpeg firefox flac foomaticdb fortran fping gd gdbm gif glitz gnome gpm gstreamer gtk gtk2 h323 hal icq imagemagick imlib ipv6 jabber java javascript joystick jpeg kdeenablefinal libcaca libwww lzw lzw-tiff mad matroska mp3 mpeg mplayer musepack musicbrainz ncurses nls nowin nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl pam pcre pdflib perl png postgres python quicktime rar readline real remote ruby samba scanner sdl session speex sqlite3 ssl stats stencil-buffer stream subtitles svg symlink sysfs tag tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 v4l v4l2 vlm vorbis wxwindows xine xml2 xpm xv xvid zlib linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS
confirming on x86. Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-4.0.1-20050908, glibc-2.3.5.20050722-r0, 2.6.13-ck3 i686) ================================================================= System uname: 2.6.13-ck3 i686 Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz Gentoo Base System version 1.12.0_pre8 ccache version 2.4 [enabled] dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.12 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 sys-devel/binutils: 2.16.1, 2.16.91.0.3 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -mfpmath=sse -fno-ident" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/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=prescott -fomit-frame-pointer -pipe -mfpmath=sse -fno-ident -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/dirtyepic/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac acpi alsa avi bash-completion berkdb bzip2 cddb cdr crypt curl dbus divx4linux dts dvd dvdr dvdread encode exif ffmpeg firefox flac gdbm gif gnutls gphoto2 gstreamer gtk gtk2 hal imagemagick imlib java jpeg mad mmap mmx mng motif mp3 mpeg mpi ncurses nntp nptl nsplugin ogg oggvorbis opengl pcmcia perl pic png python qt quicktime readline ruby sse sse2 ssl svg tcpd threads tiff truetype usb vcd vorbis wifi win32codecs xml xml2 xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
this is triggered when building against ffmpeg-0.4.9_p20050906.
(In reply to comment #2) > this is triggered when building against ffmpeg-0.4.9_p20050906. Yes it seems that this is a work around for now: emerge =media-video/ffmpeg-0.4.9_p20050226-r5 =media-video/avifile-0.7.43.20050224-r2 emerge =media-video/ffmpeg-0.4.9_p20050906
Just to confirm that the workaround posted in comment 3 worked for me here, and I had the same failure to compile as detailed in the previous two comments on my laptop. I have included my emerge info if it helps at all. Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo-r1 x86_64) ================================================================= System uname: 2.6.13-gentoo-r1 x86_64 AMD Turion(tm) 64 Mobile Technology ML-37 Gentoo Base System version 1.6.13 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.5-r2, 2.4.1-r1 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 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache collision-protect digest distcc distlocks multilib-strict sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aalib aim alsa ati audiofile avi bash-completion berkdb bitmap-fonts bootsplash bzlib cdparanoia cdr crypt cscope cups curl dbus directfb doc dri dvd dvdr dvdread eds emboss encode ethereal fam fbcon fftw foomaticdb fortran gd gdbm gif gimpprint gmp gphoto2 gpm gstreamer hal icq ieee1394 imagemagick imap imlib ipv6 jabber jikes jpeg jpeg2k kde kdeenablefinal kerberos lcms libwww lm_sensors lzw lzw-tiff mad mp3 mpeg ncurses netcdf nls nptl offensive ogg oggvorbis openexr opengl pam pcre pdflib perl plotutils png povray python qt quicktime readline rtc samba sasl scanner sdl speedo spell ssl svg tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb userlocales videos vorbis wmf xine xinerama xml2 xpm xv xvid zeroconf zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
The workaround from comment #3 worked for me too! This is my emerge info: Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-4.0.1, glibc-2.3.5-r1, 2.6.12-morph7 i686) ================================================================= System uname: 2.6.12-morph7 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.12.0_pre8 ccache version 2.4 [enabled] dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.13 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 sys-devel/binutils: 2.16.91.0.3 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -mtune=pentium4 -O3 -pipe -mmmx -msse -msse2 -ffast-math -mfpmath=sse -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -funroll-loops" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/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="-march=pentium4 -mtune=pentium4 -O3 -pipe -mmmx -msse -msse2 -ffast-math -mfpmath=sse -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://gentoo.inode.at/source/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="de_DE@euro" LC_ALL="de_DE@euro" LDFLAGS="-Wl,-O1 -Wl,--sort-common -s" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/gentoo-de /usr/local/overlays/bmg-main" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aalib acpi alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl directfb divx4linux dvd dvdr eds emboss encode esd fam flac foomaticdb fortran gdbm gif gphoto2 gpm gtk gtk2 imagemagick imlib ipv6 jabber java joystick jpeg kde libg++ libwww mad mikmod mmx mmx2 motif mp3 mpeg ncurses nls nptl nvidia ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline real scanner sdl slang spell sse sse2 ssl svga tcpd tiff truetype truetype-fonts type1-fonts usb videos vorbis win32codecs wmf wxwindows xine xml xml2 xmms xv zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET
Hi! The workaround doesnt work for me because i want to do a update: hek216 ulrich # emerge =media-video/ffmpeg-0.4.9 =media-video/avifile-0.7.41.20041001-r2 --pretend --update --deep --world emerge: please specify a package class ("world" or "system") or individual packages, but not both. hek216 ulrich # emerge info Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.6.12-gentoo-r10 i686) ================================================================= System uname: 2.6.12-gentoo-r10 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.12.0_pre8 ccache version 2.4 [disabled] dev-lang/python: 2.3.5-r2, 2.4.1-r1 sys-apps/sandbox: 1.2.13 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 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-march=athlon-xp -pipe -O3" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon-xp -pipe -O3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X a52 aac acpi alsa apm arts avi berkdb bitmap-fonts cdr clamav crypt cups curl divx4linux dri dts eds emboss encode exif fam fbcon ffmpeg flac foomaticdb fortran ftp gdbm gif glut gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java javascript jpeg kde libg++ libwww mad mikmod mng motif mozilla mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell ssl svga tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb vcd vorbis win32codecs wmf xine xml2 xmms xpm xv xvid zlib video_cards_radeon linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY hek216 ulrich # emerge --pretend --update --deep --world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] media-video/avifile-0.7.43.20050224-r2 [0.7.41.20041001-r2] [ebuild U ] media-libs/musicbrainz-2.1.1-r1 [2.1.1] [ebuild U ] app-cdr/cdrtools-2.01.01_alpha01-r2 [2.01-r3] [ebuild U ] dev-libs/libsigc++-2.0.16 [2.0.15] [ebuild U ] dev-cpp/gtkmm-2.6.4 [2.4.11] [ebuild U ] dev-cpp/gconfmm-2.10.0 [2.6.1] [ebuild U ] dev-cpp/libgnomecanvasmm-2.10.0 [2.6.1] [ebuild U ] dev-cpp/libgnomemm-2.10.0 [2.6.0] [ebuild U ] gnome-base/libbonoboui-2.10.1-r1 [2.10.0] [ebuild U ] gnome-base/gnome-keyring-0.4.4 [0.4.3] [ebuild U ] x11-themes/gtk-engines-2.6.5 [2.6.4-r2] [ebuild U ] dev-cpp/libglademm-2.6.1 [2.4.1] [ebuild U ] dev-cpp/gnome-vfsmm-2.10.0 [2.6.1] [ebuild U ] dev-cpp/libgnomeuimm-2.10.0 [2.6.0] [ebuild U ] app-cdr/k3b-0.12.4a [0.11.24] [ebuild U ] app-arch/zip-2.31 [2.3-r4] [ebuild U ] app-shells/tcsh-6.14 [6.13-r1] [ebuild U ] app-office/openoffice-1.1.5 [1.1.4-r1] [ebuild U ] app-portage/gentoolkit-0.2.1_pre7 [0.2.0] hek216 ulrich #
Ulrich: emerge tells you, that you either specify a package name OR you do a world update. In other words: e.g. 'emerge avifile world' will NOT work, because portage can't handle both options. So, just enter: 'emerge =media-video/ffmpeg-0.4.9_p20050226-r5 && emerge =media-video/avifile-0.7.43.20050224-r2 && emerge -uD world' That should work.
thank you, Juergen I didnt know that "&&" means "logical AND". I thougt it meant "and after that ..." it went all fine.
media-video/avifile-0.7.43.20050224-r2 -3dnow +X +a52* +alsa -debug +divx4linux -dmalloc -dpms +encode +esd +mad +matrox +mmx +oss +qt -sblive +sdl +sse +truetype -v4l -vidix +vorbis +win32codecs +xinerama +xv +xvid +zlib 0 kB FFReadHandler.cpp: In member function `int avm::FFReadHandler::Init(const char*)': FFReadHandler.cpp:69: error: cannot convert `AVCodecContext**' to `AVCodecContext*' in initialization FFReadHandler.cpp:72: error: 'struct AVCodecContext' has no member named 'frame_rate' FFReadHandler.cpp: In member function `virtual avm::IMediaReadStream* avm::FFReadHandler::GetStream(uint_t, avm::IStream::StreamType)': FFReadHandler.cpp:109: error: request for member `codec_type' in `((avm::FFReadHandler*)this)->avm::FFReadHandler::m_pContext->AVFormatContext::streams[i]->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadHandler.cpp: In member function `virtual uint_t avm::FFReadHandler::GetStreamCount(avm::IStream::StreamType)': FFReadHandler.cpp:133: error: request for member `codec_type' in `((avm::FFReadHandler*)this)->avm::FFReadHandler::m_pContext->AVFormatContext::streams[i]->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadHandler.cpp: In member function `int avm::FFReadHandler::readPacket()': FFReadHandler.cpp:206: error: request for member `codec_type' in `st->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadHandler.cpp:209: error: request for member `bit_rate' in `st->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadHandler.cpp:211: error: request for member `bit_rate' in `st->AVStream::codec', which is of non-class type `AVCodecContext*' make[2]: *** [FFReadHandler.lo] Ошибка 1 make[2]: *** Ожидание завершения заданий... FFReadStream.cpp: In constructor `avm::FFReadStream::FFReadStream(avm::FFReadHandler*, uint_t, AVStream*)': FFReadStream.cpp:54: error: request for member `codec_id' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:60: error: request for member `codec_id' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp: In member function `virtual avm::StreamInfo* avm::FFReadStream::GetStreamInfo() const': FFReadStream.cpp:149: error: request for member `codec_type' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:152: error: request for member `channels' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:153: error: request for member `sample_rate' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:154: error: request for member `frame_bits' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:156: error: request for member `codec_tag' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:158: error: request for member `codec_tag' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:158: error: request for member `codec_tag' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:161: error: request for member `width' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:161: error: request for member `height' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:162: error: request for member `sample_aspect_ratio' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:163: error: request for member `sample_aspect_ratio' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:165: error: request for member `codec_tag' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:171: error: request for member `codec_id' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp: In member function `virtual avm::IStream::StreamType avm::FFReadStream::GetType() const': FFReadStream.cpp:192: error: request for member `codec_type' in `((avm::FFReadHandler*)((const avm::FFReadStream*)this)->avm::FFReadStream::m_pHandler)->avm::FFReadHandler::m_pContext->AVFormatContext::streams[((unsigned int)((const avm::FFReadStream*)this)->avm::FFReadStream::m_uiSId)]->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp: In member function `virtual uint_t avm::FFReadStream::GetFormat(void*, uint_t) const': FFReadStream.cpp:203: error: request for member `codec_type' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:209: error: request for member `codec_tag' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:211: error: request for member `codec_id' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:214: error: request for member `channels' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:215: error: request for member `sample_rate' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:216: error: request for member `bit_rate' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:217: error: request for member `block_align' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:218: error: request for member `bits_per_sample' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:219: error: request for member `extradata_size' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:220: error: request for member `extradata' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:222: error: request for member `extradata_size' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:223: error: request for member `extradata' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:223: error: request for member `extradata_size' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:230: error: request for member `extradata' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:230: error: request for member `extradata_size' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:238: error: request for member `width' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:239: error: request for member `height' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:241: error: request for member `codec_tag' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:242: error: request for member `bits_per_sample' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:246: error: request for member `codec_id' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:247: error: request for member `extradata_size' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:248: error: request for member `extradata' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:250: error: request for member `extradata_size' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:251: error: request for member `extradata' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:251: error: request for member `extradata_size' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:258: error: request for member `extradata' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp:258: error: request for member `extradata_size' in `avs->AVStream::codec', which is of non-class type `AVCodecContext*' FFReadStream.cpp: In member function `virtual int avm::FFReadStream::SeekTime(double)': FFReadStream.cpp:313: error: request for member `codec_type' in `((avm::FFReadStream*)this)->avm::FFReadStream::m_pAvStream->AVStream::codec', which is of non-class type `AVCodecContext*' make[2]: *** [FFReadStream.lo] Ошибка 1 make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.43.20050224-r2/work/avifile-0.7-0.7.43/lib/aviread' make[1]: *** [all-recursive] Ошибка 1 make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.43.20050224-r2/work/avifile-0.7-0.7.43/lib' make: *** [all-recursive] Ошибка 1 !!! ERROR: media-video/avifile-0.7.43.20050224-r2 failed. !!! Function src_compile, Line 145, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo i686) ================================================================= System uname: 2.6.13-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.12.0_pre8 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.13 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 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~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/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/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="-O2 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.aiya.ru/pub/gentoo/ ftp://mirror.aiya.ru/pub/gentoo/ http://mir.zyrianes.net/gentoo/ ftp://mir.zyrianes.net/gentoo/" LANG="ru_RU.koi8r" LINGUAS="ru" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acl acpi adns alsa apache2 artworkextra avi bash-completion berkdb bitmap-fonts bzip2 cairo caps cdparanoia cdr cpudetection crypt css cups curl dbus dga divx4linux dvd dvdr dvdread dynagraph eds emboss encode esd exif expat extensions extras fam fame firefox flac font-server foomaticdb gd gdbm ggi gif glitz gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 hal idea imagemagick imap imlib ithreads java javascript jbig jpeg jpeg2k kde kdeenablefinal kerberos largeterminal ldap libcaca libg++ libwww logitech-mouse mad matrox mbox mikmod mmx mmx2 mng motif mozilla mozsvg mp3 mpeg mplayer mpm-prefork mppe-mppc mysql nas ncurses nls nntp noamazon nojoystick nowebdav nptl nsplugin offensive ogg oggvorbis oss pam pcre pdflib perl php pic plotutils png python qt quicktime rar rdesktop readline real ruby samba sdl sendfile slang snmp spell sql sqlite sse sse2 ssl stats subversion svg svga syslog tcpd tga theora threads tiff timidity truetype truetype-fonts type1-fonts unicode usb vim-with-x visualization vorbis win32codecs wma123 wmf wxgtk1 xine xinerama xml xml2 xmms xv xvid zlib linguas_ru userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Confirmed on amd64. Proposed patch for avifile-0.7-0.7.43/lib/aviread/FFReadHandler.cpp: ---------- 69c69 < AVCodecContext* avc = m_pContext->streams[i]->codec; --- > AVCodecContext* avc = &m_pContext->streams[i]->codec; 109c109 < if (m_pContext->streams[i]->codec->codec_type == t) --- > if (m_pContext->streams[i]->codec.codec_type == t) 133c133 < if (m_pContext->streams[i]->codec->codec_type == t) --- > if (m_pContext->streams[i]->codec.codec_type == t) 206c206 < switch (st->codec->codec_type) --- > switch (st->codec.codec_type) 209c209 < if (!pkt.pts && st->codec->bit_rate) --- > if (!pkt.pts && st->codec.bit_rate) 211c211 < st->codec->bit_rate; --- > st->codec.bit_rate; ---------- Only one compile time error left, because there is no field 'frame_rate' in struct AVCodecContext: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -O3 -pipe -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -fomit-frame-pointer -msse2 -msse -march=athlon64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_64BIT -D_GNU_SOURCE -pipe -Wp,-MD,.deps/FFReadHandler.pp -c FFReadHandler.cpp -fPIC -DPIC -o .libs/FFReadHandler.o FFReadHandler.cpp: In member function `int avm::FFReadHandler::Init(const char*)': FFReadHandler.cpp:72: error: 'struct AVCodecContext' has no member named 'frame_rate'
Almost one month later, I have the same problem. The workaround in #3 worked for me.
I've also encountered this problem. Somehow I had previously managed to install this package (possibly r1?) so I had packaged installed (xine) that required this version of avifile so I couldn't use the work around in #3. After little bit of guess work I managed to get the package to install by commenting out the following line from the ebuild: epatch ${FILESDIR}/avifile-0.7.43.20050224-sysffmpeg.patch
(In reply to comment #3) > Yes it seems that this is a work around for now: > > emerge =media-video/ffmpeg-0.4.9_p20050226-r5 > =media-video/avifile-0.7.43.20050224-r2 > > emerge =media-video/ffmpeg-0.4.9_p20050906 This seems a very dangerous solution because you're linking avifile against one version of ffmpeg and substituting a newer version afterwards. There have been API changes between ffmpeg-0.4.9_p20050226-r5 and ffmpeg-0.4.9_p20050906 which could lead to unpredictable behaviour at runtime. A better solution, IMO, is to downgrade to ffmpeg-0.4.9_p20050226-r5 and unmask and emerge avifile-0.7.43.20050224-r2. At least everything's expectations of ffmpeg will then agree with reality.
(In reply to comment #13) > (In reply to comment #3) > > Yes it seems that this is a work around for now: > > This seems a very dangerous solution because you're linking avifile against one > version of ffmpeg and substituting a newer version afterwards. I agree. That workaround is bogus. (In reply to comment #12) > After little bit of guess work I managed to get the package to install by > commenting out the following line from the ebuild: > > epatch ${FILESDIR}/avifile-0.7.43.20050224-sysffmpeg.patch Works for me on amd64; But, think this is a bit undesirable. From the name of the patch, I guess it causes avifile to use the system ffmpeg. So without the patch, it uses an internal ffmpeg? I haven't tried the patch given in #10, but it looks incomplete anyway. emerge --info: Portage 2.0.53_rc5 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo x86_64) ================================================================= System uname: 2.6.13-gentoo x86_64 Dual Core AMD Opteron(tm) Processor 275 Gentoo Base System version 1.12.0_pre8 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.4-r1, 2.4.2 sys-apps/sandbox: 1.2.13 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.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=opteron -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -march=opteron -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X Xaw3d a52 aac aalib acl acpi alsa apm arts async audiofile avi bash-completion berkdb bidi bitmap-fonts bl bzip2 cdparanoia cdr crypt cscope css cups curl dbus dga directfb dts dv dvb dvd dvdr dvdread edl eds emacs emboss encode esd fam fame fbcon ffmpeg flac foomaticdb fortran fuse gdbm gif gnome gnutls gphoto2 gpm gstreamer gtk gtk2 guile hal howl ieee1394 imagemagick imlib ipv6 jack java javascript jpeg kde kdeenablefinal kerberos ldap lesstif libcaca libg++ libwww licaca lzo lzw lzw-tiff mad mikmod mjpeg mng motif mozilla mp3 mpeg mplayer musepack mysql ncurses nls nptl nsplugin odbc ogg oggvorbis opengl oss pam pda pdflib perl png postgres python qt quicktime readline real rtc samba sasl sblive sdl slang sndfile snmp spell ssl syslog tcltk tcpd tetex tga theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd vorbis win32codecs wmf xanim xine xinerama xml xml2 xmms xpm xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Created attachment 71045 [details, diff] quick&dirty compilation fix this patch fixes the compilation issues but is anything but a proper fix. someone will have to delve into the ffmpeg changes and fix the code properly. on a sidenote, ffmpeg should be fixed to use proper library versioning to avoid similar breakage in the future (right now it doesn't even have a SONAME).
*** Bug 109962 has been marked as a duplicate of this bug. ***
As for comment #15, added bug #98573 as a dep of bug #109253. (I'm also having some problems in recompiling latest mplayer since I updated ffmpeg. I'm not sure if it's related...)
The attached patch is not enough. I can fix the frame_rate thing but it's AVOption that needs to be fixed. In the mean time, avifile is anyway going to take the "adieu" way sooner or later.
*bump* Still broken, and the conflicting versions (avifile-0.7.43.20050224-r2 and ffmpeg-0.4.9_p20050906) are still both the most up-to-date for ~amd64. Perhaps one or the other needs to be added to package.mask until a patch/solution is found?
avifile was flagged for removal in 25 days on oct 15. there are a few packages in portage still depending on avifile so it can't simply be package.masked right now. the video herd is working on phasing it out. is there a bug for packages that need fixing up? i could do some work on it this weekend if it would help.
*** Bug 111335 has been marked as a duplicate of this bug. ***
avifile removal metabug. http://bugs.gentoo.org/show_bug.cgi?id=111336 I'm still figuring out which package has to go with it and which have an updated version.
*** This bug has been marked as a duplicate of 111336 ***