As described in the subject, I'm unable to build apollo, if qt4 is installed, and of course with USE="qt" # emerge apollo -pv These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-sound/apollo-1.4.2 USE="qt" 0 kB # emerge apollo Calculating dependencies ...done! >>> emerge (1 of 1) media-sound/apollo-1.4.2 to / >>> checksums files ;-) apollo-1.4.2.ebuild >>> checksums files ;-) apollo-1.4.1.ebuild >>> checksums files ;-) files/apollo-1.4.1.patch.bz2 >>> checksums files ;-) files/digest-apollo-1.4.1 >>> checksums files ;-) files/digest-apollo-1.4.2 >>> checksums files ;-) files/apollo-1.4.2-gentoo.diff >>> checksums src_uri ;-) apollo-src-1.4.2-1.tar.bz2 >>> Unpacking source... >>> Unpacking apollo-src-1.4.2-1.tar.bz2 to /var/tmp/portage/apollo-1.4.2/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/apollo-1.4.2/work/apollo-1.4.2-1 ... * Applying apollo-1.4.2-gentoo.diff ... [ ok ] TMake not found, switching to QMake Configuring Apollo: Building for release Checking whether STL can be used... STL support added Checking for Qt... yes, in /usr/qt/3 (Building for Qt 3.x) KDE support disabled Checking for id3lib... yes Creating Makefile Apollo is now configured for building. Just run gmake. g++ -c -pipe -march=athlon-xp -O2 -pipe -w -Wno-ctor-dtor-privacy -D_REENTRANT -DENABLE_MPG123 -DOS_UNIX -DAPOLLO_USE_STL -DUSING_QT3 -DENABLE_MAD -DENABLE_ID3 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/doc/qt-4.1.0-r2/mkspecs/linux-g++ -I. -I/usr/include/qt4 -I/usr/lib/include -Imoc -I. -o obj/main.o main.cpp In file included from qmapplication.h:34, from main.cpp:27: qt/qmapplication_qt.h:31:26: qapplication.h: No such file or directory In file included from qmapplication.h:34, from main.cpp:27: qt/qmapplication_qt.h:40: error: expected class-name before '{' token qt/qmapplication_qt.h:43: error: ISO C++ forbids declaration of `Q_OBJECT' with no type qt/qmapplication_qt.h:43: error: expected `;' before "public" qt/qmapplication_qt.h:61: error: `QWidget' has not been declared qt/qmapplication_qt.h:61: error: ISO C++ forbids declaration of `filter' with no type qt/qmapplication_qt.h:67: error: `XEvent' has not been declared qt/qmapplication_qt.h:67: error: ISO C++ forbids declaration of `parameter' with no type qt/qmapplication_qt.h:69: error: expected `:' before "slots" qt/qmapplication_qt.h:70: error: expected primary-expression before "void" qt/qmapplication_qt.h:70: error: ISO C++ forbids declaration of `slots' with no type qt/qmapplication_qt.h:70: error: expected `;' before "void" main.cpp:29:20: qaccel.h: No such file or directory main.cpp:30:52: qglobal.h: No such file or directory main.cpp:31:22: qkeycode.h: No such file or directory main.cpp:32:25: qmessagebox.h: No such file or directory In file included from main.cpp:48: globalaccel.h:39:21: qobject.h: No such file or directory globalaccel.h:40:19: qdict.h: No such file or directory globalaccel.h:41:18: qmap.h: No such file or directory In file included from main.cpp:48: globalaccel.h:55: error: ISO C++ forbids declaration of `QObject' with no type globalaccel.h:55: error: expected `;' before '*' token globalaccel.h:57: error: `QString' does not name a type globalaccel.h:66: error: expected initializer before '<' token globalaccel.h:123: error: expected class-name before '{' token globalaccel.h:126: error: ISO C++ forbids declaration of `Q_OBJECT' with no type globalaccel.h:126: error: expected `;' before "public" globalaccel.h:138: error: expected `)' before '*' token globalaccel.h:147: error: `QWidget' has not been declared globalaccel.h:147: error: ISO C++ forbids declaration of `mainwin' with no type globalaccel.h:163: error: expected `,' or `...' before '&' token globalaccel.h:165: error: ISO C++ forbids declaration of `QString' with no type globalaccel.h:177: error: expected `,' or `...' before '&' token globalaccel.h:177: error: ISO C++ forbids declaration of `QString' with no type globalaccel.h:183: error: expected `,' or `...' before '&' token globalaccel.h:183: error: ISO C++ forbids declaration of `QString' with no type globalaccel.h:186: error: expected `,' or `...' before '&' token globalaccel.h:187: error: ISO C++ forbids declaration of `QString' with no type globalaccel.h:193: error: `QString' does not name a type globalaccel.h:220: error: expected `,' or `...' before '&' token globalaccel.h:222: error: ISO C++ forbids declaration of `QString' with no type globalaccel.h:243: error: expected `,' or `...' before '&' token globalaccel.h:245: error: ISO C++ forbids declaration of `QString' with no type globalaccel.h:245: error: `bool GlobalAccel::insertItem(int)' and `bool GlobalAccel::insertItem(int)' cannot be overloaded globalaccel.h:248: error: expected `,' or `...' before '&' token globalaccel.h:248: error: ISO C++ forbids declaration of `QString' with no type globalaccel.h:255: error: `KeyEntryMap' does not name a type globalaccel.h:266: error: expected `,' or `...' before '&' token globalaccel.h:266: error: ISO C++ forbids declaration of `QString' with no type globalaccel.h:268: error: expected `,' or `...' before '&' token globalaccel.h:268: error: ISO C++ forbids declaration of `QString' with no type globalaccel.h:270: error: `QString' does not name a type globalaccel.h:289: error: expected `,' or `...' before '&' token globalaccel.h:289: error: ISO C++ forbids declaration of `QString' with no type globalaccel.h:296: error: expected `,' or `...' before '&' token globalaccel.h:296: error: ISO C++ forbids declaration of `KeyEntryMap' with no type globalaccel.h:321: error: expected `,' or `...' before '*' token globalaccel.h:321: error: ISO C++ forbids declaration of `XEvent' with no type globalaccel.h:323: error: expected `,' or `...' before '&' token globalaccel.h:323: error: ISO C++ forbids declaration of `QString' with no type globalaccel.h:324: error: `QString' does not name a type globalaccel.h:327: error: expected primary-expression before "void" globalaccel.h:327: error: ISO C++ forbids declaration of `signals' with no type globalaccel.h:327: error: expected `;' before "void" globalaccel.h:331: error: `KeyEntryMap' does not name a type globalaccel.h:333: error: `QString' does not name a type In file included from main.cpp:49: qmmainwindow.h:32:25: qmainwindow.h: No such file or directory qmmainwindow.h:35:24: qstatusbar.h: No such file or directory In file included from main.cpp:49: qmmainwindow.h:66: error: expected class-name before '{' token qmmainwindow.h:68: error: ISO C++ forbids declaration of `Q_OBJECT' with no type qmmainwindow.h:68: error: expected `;' before "public" qmmainwindow.h:88: error: expected `,' or `...' before '&' token qmmainwindow.h:88: error: ISO C++ forbids declaration of `QString' with no type qmmainwindow.h:89: error: expected `,' or `...' before '&' token qmmainwindow.h:89: error: ISO C++ forbids declaration of `QString' with no type qmmainwindow.h:90: error: expected `,' or `...' before '&' token qmmainwindow.h:90: error: ISO C++ forbids declaration of `QString' with no type qmmainwindow.h:91: error: expected `,' or `...' before '&' token qmmainwindow.h:91: error: ISO C++ forbids declaration of `QString' with no type qmmainwindow.h:92: error: expected `,' or `...' before '&' token qmmainwindow.h:92: error: ISO C++ forbids declaration of `QString' with no type qmmainwindow.h:94: error: expected `,' or `...' before '&' token qmmainwindow.h:94: error: ISO C++ forbids declaration of `QString' with no type qmmainwindow.h:95: error: expected `,' or `...' before '&' token qmmainwindow.h:95: error: ISO C++ forbids declaration of `QString' with no type qmmainwindow.h:113: error: ISO C++ forbids declaration of `QString' with no type qmmainwindow.h:113: error: expected `;' before '&' token qmmainwindow.h:156: error: expected `:' before "slots" qmmainwindow.h:157: error: expected primary-expression before "void" qmmainwindow.h:157: error: ISO C++ forbids declaration of `slots' with no type qmmainwindow.h:157: error: expected `;' before "void" qmmainwindow.h:184: error: expected `,' or `...' before '&' token qmmainwindow.h:184: error: ISO C++ forbids declaration of `QString' with no type qmmainwindow.h:185: error: expected `,' or `...' before '&' token qmmainwindow.h:185: error: ISO C++ forbids declaration of `QString' with no type qmmainwindow.h:201: error: `QString' does not name a type qmmainwindow.h:202: error: `QString' does not name a type qmmainwindow.h:207: error: expected `:' before "slots" qmmainwindow.h:208: error: expected primary-expression before "void" qmmainwindow.h:208: error: ISO C++ forbids declaration of `slots' with no type qmmainwindow.h:208: error: expected `;' before "void" qmmainwindow.h:213: error: expected `,' or `...' before '&' token qmmainwindow.h:213: error: ISO C++ forbids declaration of `QString' with no type qmmainwindow.h:227: error: ISO C++ forbids declaration of `QWidget' with no type qmmainwindow.h:227: error: expected `;' before '*' token qmmainwindow.h:228: error: ISO C++ forbids declaration of `QWidget' with no type qmmainwindow.h:228: error: expected `;' before '*' token qmmainwindow.h:233: error: `QString' does not name a type qmmainwindow.h:234: error: `QString' does not name a type qmmainwindow.h:244: error: `QString' does not name a type In file included from qmmpg123player.h:31, from main.cpp:50: qmplayer.h:58: error: expected class-name before '{' token qmplayer.h:60: error: ISO C++ forbids declaration of `Q_OBJECT' with no type qmplayer.h:60: error: expected `;' before "public" qmplayer.h:83: error: expected primary-expression before "void" qmplayer.h:83: error: ISO C++ forbids declaration of `signals' with no type qmplayer.h:83: error: expected `;' before "void" qmplayer.h:133: error: expected `:' before "slots" qmplayer.h:138: error: expected primary-expression before "virtual" qmplayer.h:138: error: ISO C++ forbids declaration of `slots' with no type qmplayer.h:138: error: expected `;' before "virtual" In file included from main.cpp:50: qmmpg123player.h:45: error: ISO C++ forbids declaration of `Q_OBJECT' with no type qmmpg123player.h:45: error: expected `;' before "public" qmmpg123player.h:55: error: expected `:' before "slots" qmmpg123player.h:56: error: expected primary-expression before "virtual" qmmpg123player.h:56: error: ISO C++ forbids declaration of `slots' with no type qmmpg123player.h:56: error: expected `;' before "virtual" qmmpg123player.h:63: error: expected `:' before "slots" qmmpg123player.h:64: error: expected primary-expression before "void" qmmpg123player.h:64: error: ISO C++ forbids declaration of `slots' with no type qmmpg123player.h:64: error: expected `;' before "void" qmmpg123player.h:102: error: field `m_ID3Format' has incomplete type qmmpg123player.h:103: error: field `m_Filename' has incomplete type qmmpg123player.h:104: error: field `m_FilePath' has incomplete type qmmpg123player.h:105: error: field `m_FileExtension' has incomplete type qmmpg123player.h:106: error: field `m_Artist' has incomplete type qmmpg123player.h:107: error: field `m_Album' has incomplete type qmmpg123player.h:108: error: field `m_Title' has incomplete type qmmpg123player.h:109: error: field `m_Year' has incomplete type qmmpg123player.h:110: error: field `m_Comment' has incomplete type qmmpg123player.h:111: error: field `m_Genre' has incomplete type qmmpg123player.h:112: error: field `m_Message' has incomplete type In file included from qmrecoverymanager.h:33, from main.cpp:51: qmconfig.h:31:19: qrect.h: No such file or directory qmconfig.h:32:21: qstring.h: No such file or directory In file included from qmrecoverymanager.h:33, from main.cpp:51: qmconfig.h:69: error: expected `,' or `...' before '&' token qmconfig.h:69: error: ISO C++ forbids declaration of `QRect' with no type qmconfig.h:73: error: `void QmConfig::set(const QString&, const QString&, int)' and `void QmConfig::set(const QString&, const QString&, int)' cannot be overloaded qmconfig.h:78: error: `QRect' has not been declared qmconfig.h:78: error: ISO C++ forbids declaration of `rect' with no type qmconfig.h:81: error: `void QmConfig::get(const QString&, const QString&, int&) const' and `void QmConfig::get(const QString&, const QString&, int&) const' cannot be overloaded qmconfig.h:84: error: `QRect' does not name a type qmconfig.h:66: error: incomplete type `QString' used in nested name specifier main.cpp: In function `int main(int, char**)': qt/qmapplication_qt.h:50: error: `static void QmApplication::init(int, char**)' is private main.cpp:161: error: within this context main.cpp:162: error: no matching function for call to `QmApplication::QmApplication(int&, char**&)' qt/qmapplication_qt.h:40: note: candidates are: QmApplication::QmApplication() qt/qmapplication_qt.h:40: note: QmApplication::QmApplication(const QmApplication&) qmmainwindow.h:77: error: `QmMainWindow*QmMainWindow::mainwin' is private main.cpp:169: error: within this context main.cpp:169: error: `QObject' has not been declared main.cpp:169: error: `tr' was not declared in this scope main.cpp:170: error: 'class QmApplication' has no member named 'setMainWidget' qmmainwindow.h:77: error: `QmMainWindow*QmMainWindow::mainwin' is private main.cpp:170: error: within this context qmmainwindow.h:77: error: `QmMainWindow*QmMainWindow::mainwin' is private main.cpp:172: error: within this context main.cpp:172: error: 'class QmMainWindow' has no member named 'show' main.cpp:178: error: incomplete type `QString' used in nested name specifier qmmainwindow.h:77: error: `QmMainWindow*QmMainWindow::mainwin' is private main.cpp:186: error: within this context qmmainwindow.h:73: error: `void QmMainWindow::restoreState()' is private main.cpp:186: error: within this context qmmainwindow.h:77: error: `QmMainWindow*QmMainWindow::mainwin' is private main.cpp:188: error: within this context main.cpp:188: error: no matching function for call to `GlobalAccel::GlobalAccel(QmMainWindow*&)' globalaccel.h:123: note: candidates are: GlobalAccel::GlobalAccel() globalaccel.h:123: note: GlobalAccel::GlobalAccel(const GlobalAccel&) qmmainwindow.h:77: error: `QmMainWindow*QmMainWindow::mainwin' is private main.cpp:189: error: within this context main.cpp:189: error: no matching function for call to `GlobalAccel::setKeys(QmMainWindow*&)' globalaccel.h:147: note: candidates are: void GlobalAccel::setKeys(int*) main.cpp:191: error: `QObject' has not been declared main.cpp:191: error: `qApp' was not declared in this scope main.cpp:191: error: `lastWindowClosed' was not declared in this scope main.cpp:191: error: `SIGNAL' was not declared in this scope main.cpp:192: error: `quit' was not declared in this scope main.cpp:192: error: `SLOT' was not declared in this scope main.cpp:192: error: `connect' was not declared in this scope main.cpp:194: error: 'class QmApplication' has no member named 'exec' qmmainwindow.h:77: error: `QmMainWindow*QmMainWindow::mainwin' is private main.cpp:196: error: within this context qmmainwindow.h:70: error: `virtual QmMainWindow::~QmMainWindow()' is private main.cpp:196: error: within this context make: *** [obj/main.o] Error 1 !!! ERROR: media-sound/apollo-1.4.2 failed. !!! Function src_compile, Line 31, Exitcode 2 !!! Make failed !!! If you need support, post the topmost build error, NOT this status message. # emerge info Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo i686) ================================================================= System uname: 2.6.15-gentoo i686 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.12.0_pre14 dev-lang/python: 2.3.5-r2, 2.4.2 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-r1 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="-march=athlon-xp -O2 -fomit-frame-pointer -pipe -ffast-math -msse -msse2" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/cursors/xorg-x11/default/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe -ffast-math -msse -msse2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.server4you.net http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="en_US.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 7zip X a52 aac acl acpi alsa ao apm arts artworkextra asf audiofile avi bash-completion bashlogger berkdb bitmap-fonts bmp bonobo browserplugin bzip2 cairo canna canvas cdda cddb cdparanoia cdr cid cjk corba crypt css cups curl daap dashboard dbus dmx dvb dvd dvdr dvdread eds emboss encode epiphany evo exif expat fbcon ffmpeg firefox flac foomaticdb freetype gaim gamin gcj gdbm geoip gif gimp gimpprint glitz glut gmp gnutls gphoto2 gpm gstreamer gtk2 gtkhtml hal howl httpd icu id3 idn ieee1394 imagemagick imlib immqt-bc insecure-savers ipod ithreads java javascript joystick jpeg jpeg2k kad kde kdeenablefinal kqemu lame lcms libg++ libwww live logitech-mouse mad matroska mikmod mmap mmx mng mono moznocompose moznoirc moznomail mozsvg mp3 mpeg mpeg2 mpi musepack musicbrainz mysql nas nautilus ncurses network new-login nfs nls nntp no-old-linux nomotif nowin nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openexr opengl optimize pam pam_console parse-clocks pccts pcre pdf pdflib perl pic png ppds python qt quicktime rdesktop readline real remote remote-gui rtc samba sametime sblive scanner screen sdl silc slang slp sndfile speedo speex spell sqlite sse sse2 ssl startup-notification stream subp svg swat tag tagwriting tcpd theora tidy tiff transcode truetype truetype-fonts type1-fonts udev unicode usb utf8 v4l v4l2 vcd vidix visualization vlm vorbis vv win32codecs wmf wxwindows xcomposite xine xinerama xml xml2 xprint xrandr xscreensaver xv xvid zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS
I don't use apollo and the ebuild looks unmaintained. Can anyone propose a patch?
I removed apollo from portage as it's unmaintained, dead upstream for a few years, and doesn't build anymore in portage.