I've tried to emerge the 20030522 ebuild of avifile several times now with different CFLAGS and re-emerging other packages. Still it fails on the same place every time. The emerge info: [ebuild U ] media-video/avifile-0.7.37.20030522 [0.7.34.20030319] -static +truetype +xv +sdl -dvd +mmx -sse +3dnow +zlib +oggvorbis +X -qt +alsa +esd Reproducible: Always Steps to Reproduce: 1. # emerge -u avifile Actual Results: After a while of compiling it fails on the same file every time: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/X11R6/include -I../../libavqt -Wall -Wno-unused -I../../include -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c ccap.cpp In file included from capproc.h:4, from capproc.cpp:2: ../../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 In file included from capproc.cpp:27: v4lwindow.h:4:21: qwidget.h: No such file or directory v4lwindow.h:5:20: qtimer.h: No such file or directory In file included from capproc.cpp:27: v4lwindow.h: At global scope: v4lwindow.h:30: syntax error before `{' token v4lwindow.h:36: syntax error before `*' token v4lwindow.h:37: destructors must be member functions . . . v4lwindow.h:153: syntax error before `public' In file included from capproc.cpp:27: v4lwindow.h:156: syntax error before `}' token Expected Results: Compiled Portage 2.0.48 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) Processor GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" 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/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss apm arts avi crypt cups encode gif jpeg libg++ mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline tetex bonobo svga tcltk java guile sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk motif opengl alsa cdr dga gtk2 -kde -qt mozilla X mmx 3dnow" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -maccumulate-outgoing-args -fprefetch-loop-arrays -ffast-math -fmerge-all-constants -mmmx -m3dnow" CXXFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -maccumulate-outgoing-args -fprefetch-loop-arrays -ffast-math -fmerge-all-constants -mmmx -m3dnow" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
try run #revdep-rebuild from gentoolkit you had qt/kde installed and removed it
Thanks. Sorry, didn't even know about that command.
Ran revdep-rebuild (twice just to be sure) and still it gives the exact same error. I have qt installed. Do I need to rebuild it or something? [ebuild R ] x11-libs/qt-3.1.2-r3 +cups -nas -postgres +opengl -mysql -odbc +gif
try emerge avifile again with less agressive CFLAGS i686 -O2 -pipe should go
*** This bug has been marked as a duplicate of 21804 *** *** This bug has been marked as a duplicate of 21804 ***