Gentoo Base System version 1.12.0_pre15 Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-suspend2-r6 i686) ================================================================= System uname: 2.6.15-suspend2-r6 i686 Intel(R) Pentium(R) M processor 1.60GHz distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 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.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -mtune=pentium-m -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium-m -mtune=pentium-m -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo" LANG="en_AU" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://pacifier/gentoo-portage" USE="x86 X acl acpi alsa audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdr crypt cups curl dbus dvd dvdr eds emboss encode ethereal exif expat fam ffmpeg flac foomaticdb fortran freetds gd gdbm gif glut gmp gnome gnutls gpm gstreamer gtk gtk2 gtkhtml guile hal idn imagemagick imlib jack java jpeg junit lcms libg++ libwww logrotate mad mhash mikmod mmx mng motif mozilla mp3 mpeg mysql ncurses nls nptl nptlonly oav odbc ogg oggvorbis opengl pam pcmcia pcre pdflib perl png python quicktime readline ruby samba sdl slang speex spell sqlite sse sse2 ssl svg svga tcpd tetex threads truetype truetype-fonts type1-fonts udev usb vorbis xine xml xml2 xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
I have qt emerged with the following use flags: x11-libs/qt-3.3.4-r8 -cups -debug -doc -examples -firebird +gif -immqt -immqt-bc -ipv6 +mysql -nas -odbc -opengl -postgres -sqlite -xinerama As you can see - no opengl support. I'm trying to emerge a mythtv frontend without opengl support: media-tv/mythtv-0.19 [0.18.1-r2] +alsa (-altivec) -arts -dbox2 -debug -dvb -dvd* +frontendonly -ieee1394 -jack -joystick -lcd -lirc +mmx -nvidia +oggvorbis -opengl -oss -unichrome Mythtv fails to emerge with the following error: ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::updateGL()' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::qt_emit(int, QUObject*)' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::initializeOverlayGL()' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::QGLWidget(QWidget*, char const*, QGLWidget const*, unsigned int)' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::setFormat(QGLFormat const&)' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::resizeGL(int, int)' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::initializeGL()' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::glInit()' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::convertToGLFormat(QImage const&)' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::setMouseTracking(bool)' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::resizeOverlayGL(int, int)' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::grabFrameBuffer(bool)' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::qt_cast(char const*)' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::renderPixmap(int, int, bool)' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::updateOverlayGL()' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::resizeEvent(QResizeEvent*)' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::makeCurrent()' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::qt_property(int, int, QVariant*)' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::makeOverlayCurrent()' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::setContext(QGLContext*, QGLContext const*, bool)' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::swapBuffers()' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::~QGLWidget()' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `typeinfo for QGLWidget' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::paintGL()' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::reparent(QWidget*, unsigned int, QPoint const&, bool)' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::qt_invoke(int, QUObject*)' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::paintOverlayGL()' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::glDraw()' ../../libs/libmythui/libmythui-0.19.so: undefined reference to `QGLWidget::staticMetaObject()' collect2: ld returned 1 exit status make[2]: *** [mythuitest] Error 1 make[2]: Leaving directory `/var/tmp/portage/mythtv-0.19/work/mythtv-0.19/programs/mythuitest' make[1]: *** [sub-mythuitest] Error 2 make[1]: Leaving directory `/var/tmp/portage/mythtv-0.19/work/mythtv-0.19/programs' make: *** [sub-programs] Error 2 !!! ERROR: media-tv/mythtv-0.19 failed. !!! Function src_compile, Line 171, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. They looked like opengl calls to me, so I re-emerged qt with opengl support. mythtv would then emerge successfully, still without opengl support. I can see that myth is not trying to use opengl at the beginning of the emerge: * Running ./configure --prefix=/usr --mandir=/usr/share/man --disable-audio-oss --disable-audio-arts --disable-audio-jack --disable-altivec --disable-lirc --disable-joystick-menu --disable-dbox2 --disable-dvb --disable-dvb-eit --dvb-path=/usr/include --disable-dvd --disable-opengl-vsync --disable-firewire --enable-xrandr --enable-xv --disable-directfb --enable-x11 --enable-proc-opt --enable-mmx --compile-type=release --arch=pentium-m --tune=pentium-m --disable-distcc # Basic Settings Compile type release Compiler cache yes, using ccache symlinked gcc DistCC no Install prefix /usr CPU x86 (pentium-m) Big Endian no MMX enabled yes Vector Builtins yes # Input Support Joystick menu no lirc support no Video4Linux sup. yes ivtv support yes FireWire support no DVB support no [/usr/include] DBox2 support no # Sound Output Support OSS support no ALSA support yes aRts support no JACK support no DTS passthrough no # Video Output Support x11 support yes xrandr support yes xv support yes XvMC support no XvMC VLD support no XvMC pro support no XvMC libs OpenGL vsync no DirectFB no # Misc Features DVD playback no Frontend yes Backend yes Creating libs/libmyth/mythconfig.h and libs/libmyth/mythconfig.mak I had the same problem on my backend/frontend box.
Fixed in CVS.
Correct me if I'm wrong, but there's no anonymous access to Gentoo's CVS, so could you attach the fix to this bug pls.
run "emerge --sync", that'll get you the update you need. Generally it takes less then 30 minutes for these updates to be on all the mirrors from CVS. Considering you posted thise nearly 2 days after the fact, the update should be more then available for you. The fix was only adding the dependancy and requiring you to compile qt with opengl support.