Summary: | mythvideo-0.19 fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dan Libby <dan> |
Component: | New packages | Assignee: | Television related Applications in Gentoo's Portage <media-tv> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dan Libby
2006-03-22 18:11:49 UTC
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. |