| Summary: | emerge avifile fails during divx4.cpp | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | jtapper <jtapper> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
which version of divx do u use ? |
When I try to emerge avifile I get errors in the divx4.cpp file which causes the emerge to fail. Reproducible: Always Steps to Reproduce: 1. emerge avifile 2. 3. Actual Results: Here is as much of the output as I could grab: ../../include/avm_stl.h: In member function `const Type& avm::qring<Type>::back() const': ../../include/avm_stl.h:96: warning: no return statement in function returning non-void /bin/sh ../../libtool --mode=link i686-pc-linux-gnu-g++ -g -O2 -mcpu=i686 -march=i686 -ffast-math -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -pipe -o ac3pass.la -rpath /usr/lib/avifile0.7 -module -avoid-version -no-undefined ac3-iec958.lo libac3pass.lo ../../lib/libaviplay.la -lnsl -ldl mkdir .libs rm -fr .libs/ac3pass.la .libs/ac3pass.* .libs/ac3pass.* (cd . && ln -s ac3-iec958.lo ac3-iec958.o) (cd . && ln -s libac3pass.lo libac3pass.o) i686-pc-linux-gnu-gcc -shared ac3-iec958.lo libac3pass.lo -Wl,--rpath -Wl,/var/tmp/portage/avifile-0.7.32.20030219/work/avifile0.7-0.7.32/lib/.libs -L/usr/X11R6/lib -L/usr/lib ../../lib/.libs/libaviplay.so -lnsl -ldl -Wl,-soname -Wl,ac3pass.so -o .libs/ac3pass.so creating ac3pass.la (cd .libs && rm -f ac3pass.la && ln -s ../ac3pass.la ac3pass.la) make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.32.20030219/work/avifile0.7-0.7.32/plugins/libac3pass' Making all in libaudiodec make[2]: Entering directory `/var/tmp/portage/avifile-0.7.32.20030219/work/avifile0.7-0.7.32/plugins/libaudiodec' /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -Wall -Wno-unused -I../../include -g -O2 -mcpu=i686 -march=i686 -ffast-math -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -pipe -c audiodecoder.cpp /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -Wall -Wno-unused -I../../include -g -O2 -mcpu=i686 -march=i686 -ffast-math -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -pipe -c adpcm_impl.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -Wall -Wno-unused -I../../include -g -O2 -mcpu=i686 -march=i686 -ffast-math -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -pipe -c adpcm_impl.c -fPIC -DPIC -o adpcm_impl.lo i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -Wall -Wno-unused -I../../include -g -O2 -mcpu=i686 -march=i686 -ffast-math -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -pipe -c audiodecoder.cpp -fPIC -DPIC -o audiodecoder.lo In file included from ../../include/StreamInfo.h:8, from ../../include/infotypes.h:4, from ../../include/audiodecoder.h:4, from audiodecoder.cpp:1: ../../include/avm_stl.h: In member function `const Type& avm::qring<Type>::back() const': ../../include/avm_stl.h:96: warning: no return statement in function returning non-void /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -Wall -Wno-unused -I../../include -g -O2 -mcpu=i686 -march=i686 -ffast-math -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -pipe -c xa_gsm.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -Wall -Wno-unused -I../../include -g -O2 -mcpu=i686 -march=i686 -ffast-math -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -pipe -c xa_gsm.c -fPIC -DPIC -o xa_gsm.lo /bin/sh ../../libtool --mode=link i686-pc-linux-gnu-g++ -g -O2 -mcpu=i686 -march=i686 -ffast-math -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -pipe -o audiodec.la -rpath /usr/lib/avifile0.7 -module -avoid-version audiodecoder.lo adpcm_impl.lo xa_gsm.lo ../../lib/libaviplay.la -lnsl -ldl mkdir .libs rm -fr .libs/audiodec.la .libs/audiodec.* .libs/audiodec.* (cd . && ln -s audiodecoder.lo audiodecoder.o) (cd . && ln -s adpcm_impl.lo adpcm_impl.o) (cd . && ln -s xa_gsm.lo xa_gsm.o) i686-pc-linux-gnu-gcc -shared audiodecoder.lo adpcm_impl.lo xa_gsm.lo -Wl,--rpath -Wl,/var/tmp/portage/avifile-0.7.32.20030219/work/avifile0.7-0.7.32/lib/.libs -L/usr/X11R6/lib -L/usr/lib ../../lib/.libs/libaviplay.so -lnsl -ldl -Wl,-soname -Wl,audiodec.so -o .libs/audiodec.so creating audiodec.la (cd .libs && rm -f audiodec.la && ln -s ../audiodec.la audiodec.la) make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.32.20030219/work/avifile0.7-0.7.32/plugins/libaudiodec' Making all in libdivx4 make[2]: Entering directory `/var/tmp/portage/avifile-0.7.32.20030219/work/avifile0.7-0.7.32/plugins/libdivx4' /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -DLINUX -Wall -Wno-unused -I../../include -g -O2 -mcpu=i686 -march=i686 -ffast-math -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -pipe -c divx4.cpp i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -DLINUX -Wall -Wno-unused -I../../include -g -O2 -mcpu=i686 -march=i686 -ffast-math -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -pipe -c divx4.cpp -fPIC -DPIC -o divx4.lo In file included from ../../include/StreamInfo.h:8, from ../../include/infotypes.h:4, from fillplugins.h:4, from divx4.cpp:1: ../../include/avm_stl.h: In member function `const Type& avm::qring<Type>::back() const': ../../include/avm_stl.h:96: warning: no return statement in function returning non-void divx4.cpp: In member function `virtual int avm::DIVX_VideoDecoder::Start()': divx4.cpp:105: `DEC_PARAM' undeclared (first use this function) divx4.cpp:105: (Each undeclared identifier is reported only once for each function it appears in.) divx4.cpp:105: syntax error before `;' token divx4.cpp:107: `param' undeclared (first use this function) divx4.cpp:119: `DEC_RGB565' undeclared (first use this function) divx4.cpp:119: `DEC_RGB565_INV' undeclared (first use this function) divx4.cpp:125: `DEC_RGB555' undeclared (first use this function) divx4.cpp:125: `DEC_RGB555_INV' undeclared (first use this function) divx4.cpp:128: `DEC_RGB24' undeclared (first use this function) divx4.cpp:128: `DEC_RGB24_INV' undeclared (first use this function) divx4.cpp:131: `DEC_RGB32' undeclared (first use this function) divx4.cpp:131: `DEC_RGB32_INV' undeclared (first use this function) divx4.cpp:142: `DEC_420' undeclared (first use this function) divx4.cpp:145: `DEC_YV12' undeclared (first use this function) divx4.cpp:148: `DEC_YUV2' undeclared (first use this function) divx4.cpp:152: `DEC_UYVY' undeclared (first use this function) divx4.cpp:176: invalid conversion from `long unsigned int' to `void*' divx4.cpp: In member function `virtual int avm::DIVX_VideoDecoder::Stop()': divx4.cpp:187: invalid conversion from `long unsigned int' to `void*' divx4.cpp: In member function `virtual int avm::DIVX_VideoDecoder::DecodeFrame(avm::CImage*, const void*, unsigned int, int, bool, avm::CImage**)': divx4.cpp:235: `DEC_SET' undeclared (first use this function) divx4.cpp:235: syntax error before `;' token divx4.cpp:236: `set' undeclared (first use this function) divx4.cpp:237: `DEC_OPT_SETPP' undeclared (first use this function) divx4.cpp:237: invalid conversion from `long unsigned int' to `void*' divx4.cpp:258: invalid conversion from `long unsigned int' to `void*' divx4.cpp: In constructor `avm::DIVX_VideoEncoder::DIVX_VideoEncoder(const avm::CodecInfo&, int, const BITMAPINFOHEADER&)': divx4.cpp:377: `ENC_CSP_RGB24' undeclared (first use this function) divx4.cpp:378: `ENC_CSP_YUY2' undeclared (first use this function) divx4.cpp:379: `ENC_CSP_YV12' undeclared (first use this function) divx4.cpp:380: `ENC_CSP_I420' undeclared (first use this function) divx4.cpp: In member function `virtual int avm::DIVX_VideoEncoder::Start()': divx4.cpp:398: syntax error before `;' token divx4.cpp: In member function `virtual int avm::DIVX_VideoEncoder::EncodeFrame(const avm::CImage*, void*, int*, uint_t*, int*)': divx4.cpp:519: `struct _ENC_FRAME_' has no member named `colorspace' divx4.cpp:521: `struct _ENC_FRAME_' has no member named `mvs' divx4.cpp:525: `struct _ENC_FRAME_' has no member named `quant' divx4.cpp:527: `struct _ENC_FRAME_' has no member named `intra' divx4.cpp:528: `ENC_OPT_ENCODE_VBR' undeclared (first use this function) divx4.cpp:533: `struct ENC_RESULT' has no member named `is_key_frame' make[2]: *** [divx4.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.32.20030219/work/avifile0.7-0.7.32/plugins/libdivx4' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.32.20030219/work/avifile0.7-0.7.32/plugins' make: *** [all-recursive] Error 1 !!! ERROR: media-video/avifile-0.7.32.20030219 failed. !!! Function src_compile, Line 135, Exitcode 2 !!! (no error message) Expected Results: emerge should have been successful. Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6) ================================================================= System uname: 2.4.20-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 zlib gdbm berkdb slang readline svga java sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis kde motif opengl gphoto2 cdr X qt avi alsa mysql apache2 gd xv xmms -gtk -gnome -arts"