... /usr/bin/moc -DNBREAKPAD -DLINUX -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4 -I../../src -I../../build -I. -I../../build/LastFmTools/release -I../../build Collection.h -o ../../build/LastFmTools/release/moc_Collection.cpp Collection.cpp: In destructor 'virtual Collection::~Collection()': Collection.cpp:45: error: 'QSqlDatabase' has not been declared Collection.cpp:46: error: 'm_db' was not declared in this scope Collection.cpp: In member function 'bool Collection::initDatabase()': Collection.cpp:70: error: 'm_db' was not declared in this scope Collection.cpp:72: error: 'QSqlDatabase' has not been declared Collection.cpp:79: error: 'm_db' was not declared in this scope Collection.cpp: In member function 'int Collection::version() const': Collection.cpp:190: error: 'QSqlQuery' was not declared in this scope Collection.cpp:190: error: expected `;' before 'sql' Collection.cpp:191: error: 'sql' was not declared in this scope Collection.cpp: In member function 'bool Collection::query(const QString&)': Collection.cpp:204: error: 'QSqlQuery' was not declared in this scope Collection.cpp:204: error: expected `;' before 'query' Collection.cpp:205: error: '((Collection*)this)->Collection::query' does not have class type Collection.cpp:207: error: '((Collection*)this)->Collection::query' does not have class type Collection.cpp:209: error: '((Collection*)this)->Collection::query' does not have class type Collection.cpp:210: error: '((Collection*)this)->Collection::query' does not have class type Collection.cpp:211: error: '((Collection*)this)->Collection::query' does not have class type Collection.cpp: In member function 'QString Collection::getFingerprint(const QString&)': Collection.cpp:236: error: 'QSqlQuery' was not declared in this scope Collection.cpp:236: error: expected `;' before 'query' Collection.cpp:237: error: '((Collection*)this)->Collection::query' does not have class type Collection.cpp:238: error: '((Collection*)this)->Collection::query' does not have class type Collection.cpp:240: error: '((Collection*)this)->Collection::query' does not have class type Collection.cpp:241: error: '((Collection*)this)->Collection::query' does not have class type g++ -c -pipe -march=prescott -O2 -pipe -fno-strict-aliasing -w -D_REENTRANT -fPIC -DNBREAKPAD -DLINUX -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4 -I../../src -I../../build -I. -I../../build/LastFmTools/release -I../../build -o ../../build/LastFmTools/release/moc_URLLabel.o ../../build/LastFmTools/release/moc_URLLabel.cpp Collection.cpp:243: error: '((Collection*)this)->Collection::query' does not have class type Collection.cpp:244: error: '((Collection*)this)->Collection::query' does not have class type Collection.cpp:245: error: '((Collection*)this)->Collection::query' does not have class type Collection.cpp:247: error: '((Collection*)this)->Collection::query' does not have class type Collection.cpp:248: error: '((Collection*)this)->Collection::query' does not have class type Collection.cpp: In member function 'bool Collection::setFingerprint(const QString&, QString)': Collection.cpp:261: error: 'QSqlQuery' was not declared in this scope Collection.cpp:261: error: expected `;' before 'query' Collection.cpp:262: error: '((Collection*)this)->Collection::query' does not have class type Collection.cpp:263: error: '((Collection*)this)->Collection::query' does not have class type Collection.cpp:264: error: '((Collection*)this)->Collection::query' does not have class type Collection.cpp:265: error: '((Collection*)this)->Collection::query' does not have class type Collection.cpp:267: error: '((Collection*)this)->Collection::query' does not have class type Collection.cpp:269: error: '((Collection*)this)->Collection::query' does not have class type Collection.cpp:270: error: '((Collection*)this)->Collection::query' does not have class type Collection.cpp:271: error: '((Collection*)this)->Collection::query' does not have class type make[1]: *** [../../build/LastFmTools/release/Collection.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/media-sound/lastfmplayer-1.5.1.31879/work/lastfm-1.5.1.31879.dfsg/src/libUnicorn' make: *** [sub-src-libUnicorn-make_default-ordered] Error 2 * * ERROR: media-sound/lastfmplayer-1.5.1.31879 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2536: Called die * The specific snippet of code: * emake || die "emake failed"; * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-sound/lastfmplayer-1.5.1.31879/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/lastfmplayer-1.5.1.31879/temp/environment'. # emerge --info Portage 2.2_rc1 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r6 i686) ================================================================= System uname: Linux-2.6.25-gentoo-r6-i686-Intel-R-_Pentium-R-_4_CPU_3.40GHz-with-glibc2.0 Timestamp of tree: Mon, 21 Jul 2008 04:00:02 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=prescott -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl ftp://gentoo.po.opole.pl http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.po.opole.pl http://gentoo.zie.pg.gda.pl ftp://mirror.switch.ch/mirror/gentoo/ http://src.gentoo.pl" LDFLAGS="-Wl,-O1" LINGUAS="pl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac accessibility acpi aften aiglx alsa amarok amazon amrnb apache2 archive arts asf bash-completion berkdb branding bzip2 cairo cdaudio cdparanoia cdr chm cli commercial cracklib crypt css ctype cups curl dbus dia divx4linux dri dts dvd dvdr dvdread eds emboss encode esd evo exif extramodules extras fam ffmpeg firefox flac foomaticdb fortran ftp fuse gadu gdbm gif gimpprint glitz gpm graphviz gstreamer gtk hal hddtemp iconv icq imagemagick innodb ipv6 isdnlog java jpeg kde kerberos lame latex libnotify libsamplerate libwww lm_sensors logitech-mouse mad mbox midi mikmod mmx mmxext mng mono mp3 mpeg mpeg4 mudflap musepack musicbrainz mysql ncurses network nls nptl nptlonly nsplugin ntfs ntlm nvidia nxclient ogg opengl openmp openssh openssl opensslcrypt oracle oscar pam pcre pdf perl php pmu png ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection reiser4 reiserfs rss samba sasl sdl semantic-desktopserver session sid slang sms spell spl sqlite sse sse2 ssl startup-notification stream svg tcpd tetex theora tiff truetype unicode usb vcd vidix vim-syntax vim-with-x vnc voice vorbis win32codecs wma wmf wmp x264 x86 xcomposite xine xinerama xml xorg xscreensaver xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi nullplug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxyproxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Do you still encounter this problem with the latest (-r3) ebuild? Can you try to emerge qt-sql and try to rebuild lastfmplayer?
As Comment #1 says. Reopen if it's still a problem.