Output from emerge: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/qt/3/include -DPKGDATADIR=\"/usr/share/games/cuyo\" -Wall -W -ansi -DQT_NO_DEBUG -DQT_NO_CHECK -march=pentium4 -O3 -pipe -Wno-long-long -march=pentium4 -O3 -pipe -c prefsdaten.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/qt/3/include -DPKGDATADIR=\"/usr/share/games/cuyo\" -Wall -W -ansi -DQT_NO_DEBUG -DQT_NO_CHECK -march=pentium4 -O3 -pipe -Wno-long-long -march=pentium4 -O3 -pipe -c sound.cpp sound.cpp:157: warning: unused parameter 'sp' sound.cpp:157: warning: unused parameter 'nr' sound.cpp:129: warning: unused parameter 'na' sound.cpp:96: warning: unused parameter 'na' moc cuyo.h -o cuyo.moc.cpp moc: invalid option -- o moc 1.1.0 Usage: moc [OPTIONS]... [FILE]... -V --version Show program version and exit. My /usr/bin/moc is from media-sound/moc - curses-based interface for playing audio files. I suppose the cuyo compilation needs a completely different moc? Reproducible: Always Steps to Reproduce: Portage 2.0.51-r2 (default-linux/x86/2004.0, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r4 i686) ================================================================= System uname: 2.6.8-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.50GHz Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /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/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sfperms" GENTOO_MIRRORS=" http://mirror.gentoo.no/ http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d aalib acl acpi acpi4linux adns alsa apache apache2 apm audiofile avi bcmath berkdb bitmap-fonts blender-game calendar caps cdparanoia cdr cdrom cgi chroot cjk crypt curl dba dbm dbx devfs26 dga distcache distribution divx4linux doc droproot dvb dvd dvdread emacs emacs-w3 encode escreen f77 fam fastcgi fbcon flac flash fortran ftp gb gd gd-external gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib innodb ipv6 irda jack java jikes jpeg junit kde ladcca lcms leim libgda libwww lirc mad mbox mcal memlimit motif mozilla mpeg mpi mule mysql nas ncurses nls nocd oggvorbis opengl oss pam pcmcia pdflib perl plotutils png pnp postgres python qt quicktime readline ruby samba scanner slang socks5 speex spell sqlite sse ssl svga sysvipc tcltk tcpd tetex threads tiff truetype trusted unicode usb videos wavelan wmf x86 xface xinerama xml xml2 xmms xosd xv xvid yaz zeo zlib zvbi"
what version of qt do you have installed?
Seems like bugzilla does not record emails sent to it? * x11-libs/qt Latest version available: 3.3.3-r1 Latest version installed: 3.3.3 Size of downloaded files: 14,218 kB Homepage: http://www.trolltech.com/ Description: QT version 3.3.3 License: || ( QPL-1.0 GPL-2 ) * x11-libs/qt-embedded Latest version available: 3.3.2-r1 Latest version installed: [ Not Installed ] Size of downloaded files: 19,159 kB Homepage: http://www.trolltech.com/ Description: QT version 3.3.2 License: || ( QPL-1.0 GPL-2 )
what's the output of "which moc" and "moc --help"
It's installed in /usr/bin/moc and it derives from the package media-sound/moc. It seems like QTs moc is installed as /usr/qt/3/bin/moc $ grep bin/moc /var/db/pkg/*/*/CONTENTS /var/db/pkg/media-sound/moc-1.1.0/CONTENTS:obj /usr/bin/moc f9237080bcde5cd480c01fbedea5f89 1094001089 /var/db/pkg/x11-libs/qt-3.3.3/CONTENTS:obj /usr/qt/3/bin/moc 5bb64ced0d23a2fc319c4c39e0065b8f 1094164050
ugly. Thanks for testing. I've added a fix to CVS. "sleep 30m; emerge --sync" and try it again. Should be fine. Reopen if it's still a problem.
I eventually did an "esync" and "emerge world" some hours later, and got this weirdness: >>> Unpacking cuyo-1.8.5.tar.gz to /var/tmp/portage/cuyo-1.8.5/work >>> Source unpacked. /usr/portage/eclass/kde-functions.eclass: line 223: RDEPEND: readonly variable >>> Test phase [not enabled]: games-puzzle/cuyo-1.8.5 >>> Install cuyo-1.8.5 into /var/tmp/portage/cuyo-1.8.5/image/ category games-puzzle make: *** No rule to make target `install'. Stop. !!! ERROR: games-puzzle/cuyo-1.8.5 failed. !!! Function src_install, Line 43, Exitcode 2 !!! make install failed !!! If you need support, post the topmost build error, NOT this status message.
Doh! I added the wrong function. Should be set-qtdir, not need-qt. Try the same dance again please.