if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -O2 -mcpu=i686 -pipe -MT filehandler.o -MD -MP -MF ".deps/filehandler.Tpo" -c -o filehandler.o filehandler.cc; \ then mv -f ".deps/filehandler.Tpo" ".deps/filehandler.Po"; else rm -f ".deps/filehandler.Tpo"; exit 1; fi `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. filehandler.cc: In member function 'virtual off_t QtHandler::GetFileSize()': filehandler.cc:910: error: invalid use of undefined type 'struct quicktime_s' /usr/include/quicktime/quicktime.h:252: error: forward declaration of 'struct quicktime_s' make[1]: *** [filehandler.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dvgrab-2.0/work/dvgrab-2.0' make: *** [all] Error 2 !!! ERROR: media-video/dvgrab-2.0 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile ebuild.sh, line 609: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant.
mkennedy@localhost:/tmp/dvgrab-2.0$ emerge --info Portage 2.1.1_pre3-r4 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) XP 3200+ Gentoo Base System version 1.12.1 ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache cvs distlocks metadata-transfer notitles parallel-fetch sandbox sfperms sign strict userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cdr cli crypt cups dbus dlloader dri dv dvdr eds emboss encode firefox flac foomaticdb fortran gcj gdbm gif gnome gstreamer gtk gtk2 hal imlib isdnlog jikes jpeg kdeenablefinal libg++ libwww mad mikmod motif mozdevelop mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg opengl pam pcre pdflib perl png pppd python quicktime readline reflection sdl session source spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode vorbis xml xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY mkennedy@localhost:/tmp/dvgrab-2.0$
Forum topic here - http://forums.gentoo.org/viewtopic-p-3521385.html Are you using libquicktime-0.99? Can you reproduce the error with libquicktime 0.97-r1?
Sorry, should be 0.9.9 and 0.9.7
More info on this bug, here: http://forums.gentoo.org/viewtopic.php?p=3521593
I can reproduce the error with dvgrab-1.8 using libquicktime-0.9.9 regardless of USE=quicktime is set or not. With libquicktime-0.9.7-r1 everything compiles.
This is now fixed. I just had to backport the compatibility fix upstream applied to their cvs.