Multiple identical errors during compilation Reproducible: Always Steps to Reproduce: 1.sudo emerge ffmpeg2theora 2. 3. Actual Results: ddc@czarkerlaptop ~ $ sudo emerge ffmpeg2theora Calculating dependencies ...done! >>> emerge (1 of 1) media-video/ffmpeg2theora-0.13 to / >>> Downloading http://distfiles.gentoo.org/distfiles/ffmpeg2theora-0.13.tar.bz2 --11:05:21-- http://distfiles.gentoo.org/distfiles/ffmpeg2theora-0.13.tar.bz2 => `/usr/portage/distfiles/ffmpeg2theora-0.13.tar.bz2' Resolving distfiles.gentoo.org... 64.50.236.52, 216.165.129.135, 156.56.247.195 Connecting to distfiles.gentoo.org|64.50.236.52|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 198,783 (194K) [application/x-tar] 100%[=================================================================================================================================================================>] 198,783 11.80K/s ETA 00:00 11:05:48 (11.81 KB/s) - `/usr/portage/distfiles/ffmpeg2theora-0.13.tar.bz2' saved [198783/198783] >>> md5 files ;-) ffmpeg2theora-0.12.ebuild >>> md5 files ;-) ffmpeg2theora-0.13.ebuild >>> md5 files ;-) files/digest-ffmpeg2theora-0.12 >>> md5 files ;-) files/digest-ffmpeg2theora-0.13 >>> md5 src_uri ;-) ffmpeg2theora-0.13.tar.bz2 >>> Unpacking source... >>> Unpacking ffmpeg2theora-0.13.tar.bz2 to /var/tmp/portage/ffmpeg2theora-0.13/work >>> Source unpacked. * econf: updating ffmpeg2theora-0.13/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ffmpeg2theora-0.13/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/x86_64-pc-linux-gnu-nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... gcc3 checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for x86_64-pc-linux-gnu-g77... no checking for x86_64-pc-linux-gnu-f77... no checking for x86_64-pc-linux-gnu-xlf... no checking for x86_64-pc-linux-gnu-frt... no checking for x86_64-pc-linux-gnu-pgf77... no checking for x86_64-pc-linux-gnu-fort77... no checking for x86_64-pc-linux-gnu-fl32... no checking for x86_64-pc-linux-gnu-af77... no checking for x86_64-pc-linux-gnu-f90... no checking for x86_64-pc-linux-gnu-xlf90... no checking for x86_64-pc-linux-gnu-pgf90... no checking for x86_64-pc-linux-gnu-epcf90... no checking for x86_64-pc-linux-gnu-f95... no checking for x86_64-pc-linux-gnu-fort... no checking for x86_64-pc-linux-gnu-xlf95... no checking for x86_64-pc-linux-gnu-ifc... no checking for x86_64-pc-linux-gnu-efc... no checking for x86_64-pc-linux-gnu-pgf95... no checking for x86_64-pc-linux-gnu-lf95... no checking for x86_64-pc-linux-gnu-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking if x86_64-pc-linux-gnu-gcc static flag works... yes checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for ffmpeg/libavcodec/libavcodec.a... no checking for ffmpeg/libavformat/libavformat.a... no checking ffmpeg/avcodec.h usability... yes checking ffmpeg/avcodec.h presence... yes checking for ffmpeg/avcodec.h... yes checking ffmpeg/avformat.h usability... yes checking ffmpeg/avformat.h presence... yes checking for ffmpeg/avformat.h... yes checking for /usr/local/include/ffmpeg... no checking for faacDecClose in -lfaad... yes checking faad.h usability... yes checking faad.h presence... yes checking for faad.h... yes checking for NeAACDecInit in -lfaad... no checking for pkg-config... /usr/bin/pkg-config checking for libdts... checking for ogg >= 1.1 vorbis vorbisenc theora ... yes checking XIPH_CFLAGS... checking XIPH_LIBS... -lvorbisenc -lvorbis -lm -ltheora -logg configure: creating ./config.status config.status: creating Makefile config.status: creating kino_export/Makefile config.status: executing depfiles commands Making all in kino_export make[1]: Entering directory `/var/tmp/portage/ffmpeg2theora-0.13/work/ffmpeg2theora-0.13/kino_export' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/ffmpeg2theora-0.13/work/ffmpeg2theora-0.13/kino_export' make[1]: Entering directory `/var/tmp/portage/ffmpeg2theora-0.13/work/ffmpeg2theora-0.13' if x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"ffmpeg2theora\" -DPACKAGE_TARNAME=\"ffmpeg2theora\" -DPACKAGE_VERSION=\"0.13\" -DPACKAGE_STRING=\"ffmpeg2theora\ 0.13\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ffmpeg2theora\" -DVERSION=\"0.13\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/ffmpeg -O3 -march=k8 -msse -msse2 -m3dnow -mmmx -mfpmath=sse -pipe -fomit-frame-pointer -MT ffmpeg2theora-ffmpeg2theora.o -MD -MP -MF ".deps/ffmpeg2theora-ffmpeg2theora.Tpo" -c -o ffmpeg2theora-ffmpeg2theora.o `test -f 'ffmpeg2theora.c' || echo './'`ffmpeg2theora.c; \ then mv -f ".deps/ffmpeg2theora-ffmpeg2theora.Tpo" ".deps/ffmpeg2theora-ffmpeg2theora.Po"; else rm -f ".deps/ffmpeg2theora-ffmpeg2theora.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"ffmpeg2theora\" -DPACKAGE_TARNAME=\"ffmpeg2theora\" -DPACKAGE_VERSION=\"0.13\" -DPACKAGE_STRING=\"ffmpeg2theora\ 0.13\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ffmpeg2theora\" -DVERSION=\"0.13\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/ffmpeg -O3 -march=k8 -msse -msse2 -m3dnow -mmmx -mfpmath=sse -pipe -fomit-frame-pointer -MT ffmpeg2theora-theorautils.o -MD -MP -MF ".deps/ffmpeg2theora-theorautils.Tpo" -c -o ffmpeg2theora-theorautils.o `test -f 'theorautils.c' || echo './'`theorautils.c; \ then mv -f ".deps/ffmpeg2theora-theorautils.Tpo" ".deps/ffmpeg2theora-theorautils.Po"; else rm -f ".deps/ffmpeg2theora-theorautils.Tpo"; exit 1; fi ffmpeg2theora.c: In function `ff2theora_output': ffmpeg2theora.c:127: warning: initialization from incompatible pointer type ffmpeg2theora.c:144: warning: assignment from incompatible pointer type ffmpeg2theora.c:147: error: structure has no member named `frame_rate' ffmpeg2theora.c:147: error: structure has no member named `frame_rate_base' ffmpeg2theora.c:280: warning: assignment from incompatible pointer type ffmpeg2theora.c:332: error: request for member `pix_fmt' in something not a structure or union ffmpeg2theora.c:333: error: request for member `width' in something not a structure or union ffmpeg2theora.c:333: error: request for member `height' in something not a structure or union ffmpeg2theora.c:334: error: request for member `pix_fmt' in something not a structure or union ffmpeg2theora.c:335: error: request for member `width' in something not a structure or union ffmpeg2theora.c:335: error: request for member `height' in something not a structure or union ffmpeg2theora.c:337: error: request for member `width' in something not a structure or union ffmpeg2theora.c:337: error: request for member `height' in something not a structure or union ffmpeg2theora.c:339: error: request for member `width' in something not a structure or union ffmpeg2theora.c:339: error: request for member `height' in something not a structure or union ffmpeg2theora.c:363: error: structure has no member named `frame_rate' ffmpeg2theora.c:364: error: structure has no member named `frame_rate_base' ffmpeg2theora.c:439: warning: passing arg 1 of `avcodec_decode_video' from incompatible pointer type ffmpeg2theora.c:497: warning: passing arg 1 of `avcodec_decode_audio' from incompatible pointer type make[1]: *** [ffmpeg2theora-ffmpeg2theora.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/ffmpeg2theora-0.13/work/ffmpeg2theora-0.13' make: *** [all-recursive] Error 1 !!! ERROR: media-video/ffmpeg2theora-0.13 failed. !!! Function src_compile, Line 561, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: ffmpeg merges clearly ddc@czarkerlaptop ~ $ sudo emerge info Portage 2.0.53_rc3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo-r2 x86_64) ================================================================= System uname: 2.6.13-gentoo-r2 x86_64 AMD Turion(tm) 64 Mobile Technology MT-28 Gentoo Base System version 1.12.0_pre8 dev-lang/python: 2.3.5-r2, 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=k8 -msse -msse2 -m3dnow -mmmx -mfpmath=sse -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=k8 -msse -msse2 -m3dnow -mmmx -mfpmath=sse -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="ru" 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="amd64 X a52 aac aalib acl acpi alsa apache2 arts avi bash-completion bitmap-fonts bluetooth bzip2 cdr clamav crypt cups curl dga dri dvd dvdr dvdread emboss encode exif fam fbcon ffmpeg flac flash ftp gcj gif gmp gpm gstreamer gtk2 hal iconv ieee1394 imagemagick imlib ipv6 ithreads jpeg kde kerberos lcms libwww lzw lzw-tiff mad mime ming mng mp3 mpeg mplayer mysql ncurses nls nptl nptlonly ocaml offensive ogg oggvorbis opengl pam pcmcia pda pdflib perl pic png python qt readline samba sdl slang spell ssl subversion svg tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis wifi wmf xine xml xml2 xpm xv xvid zlib linguas_ru userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
*** Bug 108152 has been marked as a duplicate of this bug. ***
emerge -vp ffmpeg please
ddc@czarkerlaptop ~ $ sudo emerge -vp ffmpeg These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-video/ffmpeg-0.4.9_p20050906 +a52 +aac (-altivec) -debug -doc -dts +encode +ieee1394 +imlib (-mmx) -network +ogg -oss +sdl -test +theora +threads +truetype -v4l +vorbis +xvid +zlib 0 kB Total size of downloads: 0 kB
Latest ffmpeg needs updated ffmpeg2theora.
0.15 should fix