I have problem with compiling mythvideo and other myth* extensions. The error is same for other extensions that I have tried to install. Here is the error: # emerge -v mythvideo Calculating dependencies ...done! >>> emerge (1 of 1) media-plugins/mythvideo-0.15.1 to / >>> md5 src_uri ;-) mythvideo-0.15.1.tar.bz2 >>> Unpacking source... >>> Unpacking mythvideo-0.15.1.tar.bz2 to /var/tmp/portage/mythvideo-0.15.1/work >>> Source unpacked. Could not find mkspecs for your QMAKESPEC after trying: /usr/qt/3/mkspecs /usr/qt/3/mkspecs /usr/qt/3/mkspecs /usr/qt/3 /usr/qt/3 Error processing project file: /var/tmp/portage/mythvideo-0.15.1/work/mythvideo-0.15.1/mythvideo.pro make: *** No targets specified and no makefile found. Stop. !!! ERROR: media-plugins/mythvideo-0.15.1 failed. !!! Function src_compile, Line 39, Exitcode 2 !!! compile problem # emerge -v mythgallery Calculating dependencies ...done! >>> emerge (1 of 1) media-plugins/mythgallery-0.15 to / >>> md5 src_uri ;-) mythgallery-0.15.tar.bz2 >>> Unpacking source... >>> Unpacking mythgallery-0.15.tar.bz2 to /var/tmp/portage/mythgallery-0.15/work >>> Source unpacked. Could not find mkspecs for your QMAKESPEC after trying: /usr/qt/3/mkspecs /usr/qt/3/mkspecs /usr/qt/3/mkspecs /usr/qt/3 /usr/qt/3 Error processing project file: /var/tmp/portage/mythgallery-0.15/work/mythgallery-0.15/mythgallery.pro Creating config.h, config.pro Configuration settings: OpenGL support will be included make: *** No targets specified and no makefile found. Stop. !!! ERROR: media-plugins/mythgallery-0.15 failed. !!! Function src_compile, Line 41, Exitcode 2 !!! compile problem Qt is x11-libs/qt-3.2.2. Is there any solution to this problem? Reproducible: Always Steps to Reproduce: 1. emerge -v mythvideo Actual Results: Compilation error. See above. Expected Results: Should compile. # emerge info Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.7) ================================================================= System uname: 2.6.7 i686 Pentium III (Coppermine) Gentoo Base System version 1.5.1 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -funroll-loops -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -funroll-loops -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://download.startnet.klamovka.kosire.czf/gentoo-mirror/ http://10.15.6.1/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://128.213.5.34/gentoo/ http://gentoo.mirrors.pair.com/ ftp://mirror.switch.ch/mirror/gentoo/ http://mirror.switch.ch/mirror/gentoo/ ftp://gentoo.mirrors.pair.com/ http://lug.mtu.edu/gentoo/ http://gentoo.seren.com/gentoo http://gentoo.tiscali.nl/gentoo/ http://ftp6.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://10.15.6.17/gentoo-portage" USE="X X509 aalib acpi alsa apm arts avi berkdb bonobo cdr crypt cups curl devmap directfb divx4linux dvd encode esd ethereal fbcon flash foomaticdb freetds gd gdbm gif gimpprint gphoto2 gpm gps gtk gtk2 gtkhtml guile imap imlib irda java javascript jbig jpeg justify kde kerberos lcms leim libg++ libwww linguas_cs lzw-tiff mad mcal mikmod mng motif mozilla mpeg mysql ncurses nls oci8 ofx oggvorbis opengl oss pam pcmcia pdflib perl png pnp ppds python qt quicktime quotes readline samba scanner sdl skey slang slp snmp spell ssl svga tcpd tiff truetype unicode usb video_cards_rage128 wifi wmf wsconvert x86 xml xml2 xmms xv xvid zlib"
i've seen the same problem. the solution is to add export QMAKESPEC="linux-g++" above the qmake line in src_compile() just like is done in the mythtv package itself.
I can confirm that exporting QMAKESPEC when building both mythdvd and mythvideo solves the problem.
I have bought new notebook and had to install all fresh new. The problem didn't appear on fresh installation. According to Scott's comment I will change the status to FIXED.