Compilation is failing. Looks like perhaps a case of mis-matched header files? Details follow. # emerge --pretend -v mythdvd These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] media-plugins/mythvideo-0.19 -debug +mmx 0 kB [ebuild N ] media-plugins/mythdvd-0.19 -debug +mmx -transcode 0 kB Total size of downloads: 0 kB # emerge -v mythdvd Calculating dependencies ...done! >>> emerge (1 of 2) media-plugins/mythvideo-0.19 to / >>> md5 files ;-) mythvideo-0.19_pre8642.ebuild >>> md5 files ;-) mythvideo-0.18.1.ebuild >>> md5 files ;-) mythvideo-0.19.ebuild >>> md5 files ;-) files/digest-mythvideo-0.19_pre8642 >>> md5 files ;-) files/digest-mythvideo-0.18.1 >>> md5 files ;-) files/digest-mythvideo-0.19 >>> md5 src_uri ;-) mythplugins-0.19.tar.bz2 >>> Unpacking source... >>> Unpacking mythplugins-0.19.tar.bz2 to /var/tmp/portage/mythvideo-0.19/work >>> Source unpacked. ./configure --prefix=/usr --host=i386-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-mythbrowser --disable-mythcontrols --disable-mythdvd --disable-mythflix --disable-mythgallery --disable-mythgame --disable-mythmusic --disable-mythnews --disable-mythphone --enable-mythvideo --disable-mythweather --disable-mythweb --build=i386-pc-linux-gnu Configuration settings: MythBrowser plugin will not be built MythControls plugin will not be built MythFlix plugin will not be built MythDVD plugin will not be built MythGallery plugin will not be built MythGame plugin will not be built MythMusic plugin will not be built MythNews plugin will not be built MythPhone plugin will not be built MythVideo plugin will be built MythWeather plugin will not be built cd mythvideo && /usr/qt/3/bin/qmake mythvideo.pro "QMAKE=/usr/qt/3/bin/qmake" -o Makefile cd mythvideo && make -f Makefile make[1]: Entering directory `/var/tmp/portage/mythvideo-0.19/work/mythplugins-0.19/mythvideo' cd mythvideo && /usr/qt/3/bin/qmake mythvideo.pro "QMAKE=/usr/qt/3/bin/qmake" -o Makefile cd i18n && /usr/qt/3/bin/qmake i18n.pro "QMAKE=/usr/qt/3/bin/qmake" -o Makefile cd i18n && make -f Makefile make[2]: Entering directory `/var/tmp/portage/mythvideo-0.19/work/mythplugins-0.19/mythvideo/i18n' gcc -c -pipe -march=athlon -Wall -W -O2 -march=athlon -mmmx -m3dnow -fomit-frame-pointer -D_GNU_SOURCE -DPREFIX=\"/usr\" -DMMX -Di386 -DHAVE_DVDNAV -D_FILE_OFFSET_BITS=64 -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/kde/3.3/include -I/usr/include -I/usr/include -I/usr/include -o dummy.o dummy.c cd mythvideo && make -f Makefile make[2]: Entering directory `/var/tmp/portage/mythvideo-0.19/work/mythplugins-0.19/mythvideo/mythvideo' g++ -c -pipe -march=athlon -Wall -W -O3 -Wall -Wno-switch -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC -D_GNU_SOURCE -DPREFIX=\"/usr\" -DMMX -Di386 -DHAVE_DVDNAV -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/kde/3.3/include -I/usr/include -I/usr/include -I/usr/include -I/usr/qt/3/include -o main.o main.cpp g++ -o i18n dummy.o -L/usr/kde/3.3/lib -L/usr/lib make[2]: Leaving directory `/var/tmp/portage/mythvideo-0.19/work/mythplugins-0.19/mythvideo/i18n' g++ -c -pipe -march=athlon -Wall -W -O3 -Wall -Wno-switch -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC -D_GNU_SOURCE -DPREFIX=\"/usr\" -DMMX -Di386 -DHAVE_DVDNAV -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/kde/3.3/include -I/usr/include -I/usr/include -I/usr/include -I/usr/qt/3/include -o metadata.o metadata.cpp g++ -c -pipe -march=athlon -Wall -W -O3 -Wall -Wno-switch -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC -D_GNU_SOURCE -DPREFIX=\"/usr\" -DMMX -Di386 -DHAVE_DVDNAV -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/kde/3.3/include -I/usr/include -I/usr/include -I/usr/include -I/usr/qt/3/include -o videomanager.o videomanager.cpp main.cpp: In function `int mythplugin_init(const char*)': main.cpp:88: error: `ActivateSettingsCache' undeclared (first use this function) main.cpp:88: error: (Each undeclared identifier is reported only once for each function it appears in.) main.cpp: In function `void runVideoManager()': main.cpp:214: error: `addCurrentLocation' undeclared (first use this function) main.cpp:218: error: `removeCurrentLocation' undeclared (first use this function) main.cpp: In function `void runVideoBrowser()': main.cpp:227: error: `addCurrentLocation' undeclared (first use this function) main.cpp:231: error: `removeCurrentLocation' undeclared (first use this function) main.cpp: In function `void runVideoTree()': main.cpp:241: error: `addCurrentLocation' undeclared (first use this function) main.cpp:245: error: `removeCurrentLocation' undeclared (first use this function) main.cpp: In function `void runVideoGallery()': main.cpp:275: error: `addCurrentLocation' undeclared (first use this function) main.cpp:279: error: `removeCurrentLocation' undeclared (first use this function) make[2]: *** [main.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/mythvideo-0.19/work/mythplugins-0.19/mythvideo/mythvideo' make[1]: *** [sub-mythvideo] Error 2 make[1]: Leaving directory `/var/tmp/portage/mythvideo-0.19/work/mythplugins-0.19/mythvideo' make: *** [sub-mythvideo] Error 2 ------------------------------------------- # emerge --info Gentoo Base System version 1.6.14 Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 AMD Sempron(tm) distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.3-r1, 2.4.2 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-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.4.3-r4, 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-O2 -march=athlon -mmmx -m3dnow -fomit-frame-pointer" CHOST="i386-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="-O2 -march=athlon -mmmx -m3dnow -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" MAKEOPTS="-j2" PKGDIR="/mnt/cdrom" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac aalib acl alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl directfb dri dts dvb dvd dvdr dvdread eds emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal idn imagemagick imlib ipv6 joystick jpeg kde lcd lcms ldap libcaca libg++ libwww lirc mad mhash mikmod mmext mmx mng motif mozilla mp3 mpeg mysql mythtv ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png postgres python qt quicktime readline recode ruby samba scanner sdl spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb v4l v4l2 vorbis win32codecs xine xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
I'm failing while compiling the same portion, but fail with a different message: g++ -o i18n dummy.o -L/usr/kde/3.3/lib -L/usr/lib make[2]: warning: Clock skew detected. Your build may be incomplete. make[2]: Leaving directory `/var/tmp/portage/mythvideo-0.19/work/mythplugins-0.19/mythvideo/i18n' g++ -c -pipe -march=prescott -Wall -W -O3 -Wall -Wno-switch -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC -D_GNU_SOURCE -DPREFIX=\"/usr\" -DMMX -Di386 -DHAVE_DVDNAV -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/kde/3.3/include -I/usr/include -I/usr/include -I/usr/include -I/usr/qt/3/include -o videomanager.o videomanager.cpp g++ -c -pipe -march=prescott -Wall -W -O3 -Wall -Wno-switch -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC -D_GNU_SOURCE -DPREFIX=\"/usr\" -DMMX -Di386 -DHAVE_DVDNAV -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/kde/3.3/include -I/usr/include -I/usr/include -I/usr/include -I/usr/qt/3/include -o videobrowser.o videobrowser.cpp videomanager.h:33: error: extra qualification 'VideoManager::' on member 'processEvents' make[2]: *** [main.o] Error 1 make[2]: *** Waiting for unfinished jobs.... videomanager.h:33: error: extra qualification 'VideoManager::' on member 'processEvents' make[2]: *** [videomanager.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/mythvideo-0.19/work/mythplugins-0.19/mythvideo/mythvideo' make[1]: *** [sub-mythvideo] Error 2 make[1]: Leaving directory `/var/tmp/portage/mythvideo-0.19/work/mythplugins-0.19/mythvideo' make: *** [sub-mythvideo] Error 2 !!! ERROR: media-plugins/mythvideo-0.19 failed. Call stack: ebuild.sh, line 1526: Called dyn_compile ebuild.sh, line 923: Called src_compile ebuild.sh, line 1236: Called mythtv-plugins_src_compile mythtv-plugins.eclass, line 71: Called die !!! make failed to compile !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info: Portage 2.1_pre7-r2 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.16-gentoo i686) ================================================================= System uname: 2.6.16-gentoo i686 Intel(R) Celeron(R) CPU 2.13GHz Gentoo Base System version 1.12.0_pre16 ccache version 2.4 [enabled] dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 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-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=prescott -pipe -mfpmath=sse -mmmx -msse -msse2 -msse3 -funroll-loops" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=prescott -pipe -mfpmath=sse -mmmx -msse -msse2 -msse3 -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac alsa apache2 apm avi berkdb bitmap-fonts bzip2 cdparanoia cdr cli crypt ctype dba dri dts dvb dvd dvdr dvdread eds emboss encode exif expat fastbuild fbcon ffmpeg fftw flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gpm gstreamer gtk gtk2 ieee1394 imagemagick imlib ipv6 joystick jpeg libg++ libwww lirc lm_sensors logrotate mad matroska memlimit mikmod mmx mng motif mp3 mpeg mplayer mysql mythtv ncurses netboot nfs nls nptl ogg oggvorbis opengl openntpd oss pam pcre pdflib perl png posix python qt quicktime readline samba sdl session simplexml soap sockets spell spl sse sse2 sse3 ssl tcpd theora threads tiff tokenizer truetype truetype-fonts type1-fonts udev usb userlocales v4l v4l2 vcd vorbis wifi win32codecs x264 xine xml xmms xsl xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_via video_cards_vesa video_cards_v4l" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
I think I found a fix (works for me anyway), it was in Trac from the 12th of March: http://svn.mythtv.org/trac/ticket/1479 Quick and easy point: You can remove the VideoManager:: on line 33 of mythvideo/videomanager.h
Well, I tried a few things: - emerge -u --newuse world - rebuilt mythtv - emerged the latest GCC and switched to it. - rebuilt mythtv again Of these, only the GCC upgrade seems to have had an affect -- now I get the a different error when compiling the same file: g++ -c -pipe -march=athlon -Wall -W -O3 -Wall -Wno-switch -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC -D_GNU_SOURCE -DPREFIX=\"/usr\" -DMMX -Di386 -DHAVE_DVDNAV -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/kde/3.3/include -I/usr/include -I/usr/include -I/usr/include -I/usr/qt/3/include -o videomanager.o videomanager.cpp main.cpp: In function `int mythplugin_init(const char*)': main.cpp:88: error: 'class MythContext' has no member named 'ActivateSettingsCache' main.cpp:90: error: 'class MythContext' has no member named 'ActivateSettingsCache' main.cpp: In function `void runVideoManager()': main.cpp:214: error: 'class MythContext' has no member named 'addCurrentLocation' main.cpp:218: error: 'class MythContext' has no member named 'removeCurrentLocation' main.cpp: In function `void runVideoBrowser()': main.cpp:227: error: 'class MythContext' has no member named 'addCurrentLocation' main.cpp:231: error: 'class MythContext' has no member named 'removeCurrentLocation' main.cpp: In function `void runVideoTree()': main.cpp:241: error: 'class MythContext' has no member named 'addCurrentLocation' main.cpp:245: error: 'class MythContext' has no member named 'removeCurrentLocation' main.cpp: In function `void runVideoGallery()': main.cpp:275: error: 'class MythContext' has no member named 'addCurrentLocation' main.cpp:279: error: 'class MythContext' has no member named 'removeCurrentLocation' make[2]: *** [main.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/mythvideo-0.19/work/mythplugins-0.19/mythvideo/mythvideo' make[1]: *** [sub-mythvideo] Error 2 make[1]: Leaving directory `/var/tmp/portage/mythvideo-0.19/work/mythplugins-0.19/mythvideo' make: *** [sub-mythvideo] Error 2 ---- Anyone have a clue / suggestion? Anyone? Bueller?
Okay, I was being lame. I had a copy of 0.18 headers in /usr/local/mythtv that were somehow being included before those in /usr/include/mythtv. main.cpp compiles fine now. closing.