When I try to emerge kdemultimedia-3.3.0_beta2, I get the following error messages : g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.3/include/arts -I/usr/include/taglib -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer -mfpmath=sse,387 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o tagguesser.o tagguesser.cpp /usr/qt/3/bin/moc ./tagguesserconfigdlg.h -o tagguesserconfigdlg.moc /usr/qt/3/bin/moc ./trackpickerdialog.h -o trackpickerdialog.moc /usr/qt/3/bin/moc ./treeviewitemplaylist.h -o treeviewitemplaylist.moc /usr/qt/3/bin/moc ./viewmode.h -o viewmode.moc /usr/kde/3.3/bin/dcopidl ./jukIface.h > jukIface.kidl || ( rm -f jukIface.kidl ; false ) /usr/qt/3/bin/moc directorylistbase.h -o directorylistbase.moc /usr/qt/3/bin/moc filerenamerconfigdlgwidget.h -o filerenamerconfigdlgwidget.moc /usr/qt/3/bin/moc tagguesserconfigdlgwidget.h -o tagguesserconfigdlgwidget.moc /usr/qt/3/bin/moc trackpickerdialogbase.h -o trackpickerdialogbase.moc g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.3/include/arts -I/usr/include/taglib -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer -mfpmath=sse,387 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o advancedsearchdialog.o advancedsearchdialog.cpp tag.cpp:30:28: taglib/mpcfile.h : Aucun fichier ou r
When I try to emerge kdemultimedia-3.3.0_beta2, I get the following error messages : g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.3/include/arts -I/usr/include/taglib -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer -mfpmath=sse,387 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o tagguesser.o tagguesser.cpp /usr/qt/3/bin/moc ./tagguesserconfigdlg.h -o tagguesserconfigdlg.moc /usr/qt/3/bin/moc ./trackpickerdialog.h -o trackpickerdialog.moc /usr/qt/3/bin/moc ./treeviewitemplaylist.h -o treeviewitemplaylist.moc /usr/qt/3/bin/moc ./viewmode.h -o viewmode.moc /usr/kde/3.3/bin/dcopidl ./jukIface.h > jukIface.kidl || ( rm -f jukIface.kidl ; false ) /usr/qt/3/bin/moc directorylistbase.h -o directorylistbase.moc /usr/qt/3/bin/moc filerenamerconfigdlgwidget.h -o filerenamerconfigdlgwidget.moc /usr/qt/3/bin/moc tagguesserconfigdlgwidget.h -o tagguesserconfigdlgwidget.moc /usr/qt/3/bin/moc trackpickerdialogbase.h -o trackpickerdialogbase.moc g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.3/include/arts -I/usr/include/taglib -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer -mfpmath=sse,387 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o advancedsearchdialog.o advancedsearchdialog.cpp tag.cpp:30:28: taglib/mpcfile.h : Aucun fichier ou répertoire de ce type tag.cpp: Dans constructor « Tag::Tag(const QString&) »: tag.cpp:67: error: no class template named `MPC' in `TagLib' tag.cpp:67: error: erreur d'analyse syntaxique before `(' token tag.cpp:68: error: `file' undeclared (first use this function) tag.cpp:68: error: (Each undeclared identifier is reported only once for each function it appears in.) tag.cpp: Dans member function « bool Tag::save() »: tag.cpp:103: error: no class template named `MPC' in `TagLib' tag.cpp:103: error: erreur d'analyse syntaxique before `QFile' make[3]: *** [tag.o] Erreur 1 make[3]: *** Attente des tâches non terminées.... make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.0_beta2/work/kdemultimedia-3.2.92/juk' make[2]: *** [all-recursive] Erreur 1 make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.0_beta2/work/kdemultimedia-3.2.92/juk' make[1]: *** [all-recursive] Erreur 1 make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.0_beta2/work/kdemultimedia-3.2.92' make: *** [all] Erreur 2 !!! ERROR: kde-base/kdemultimedia-3.3.0_beta2 failed. !!! Function kde_src_compile, Line 130, Exitcode 2 !!! died running emake, kde_src_compile:make Reproducible: Always Steps to Reproduce: 1. emerge kdemultimedia-3.3.0_beta2 2. 3. Actual Results: kdemultimedia-3.3.0_beta2 fails to compile Expected Results: kdemultimedia-3.3.0_beta2 should compile successfully emerge --info Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.7-ck5) ================================================================= System uname: 2.6.7-ck5 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.5.2 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer -mfpmath=sse,387" 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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer -mfpmath=sse,387" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirror.datapipe.net/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bonobo cdr crypt cups dvd dvdr encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib ipv6 java jpeg kde ldap libg++ libwww linguas_fr mad mikmod mmx motif moznocompose moznoirc mpeg ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl png ppds python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd truetype usb x86 xml2 xv zlib"
What version of taglib do you have? the missing file (taglib/mpcfile.h) should not be included, as it is protected by ifdefs: #if (TAGLIB_MAJOR_VERSION > 1) || \ ((TAGLIB_MAJOR_VERSION == 1) && (TAGLIB_MINOR_VERSION >= 3)) #include <taglib/mpcfile.h> #define TAGLIB_1_3 #endif have you tried reemerging taglib before kdemultimedia?
I have the same problem on amd64, using gcc-3.4.1 and taglib-1.2.
This was caused by a mixup with one of the TagLib contributors; he checked in some things that he assumed would be in TagLib 1.2, but weren't. This has been corrected in CVS and I'm attaching the patch to bring things up to date. (And hopefully make them build against TagLib 1.2.)
Created attachment 36723 [details, diff] patch to work with TagLib 1.2 Patch to make things work with TagLib 1.2. (Which wasn't released yet when KDE 3.3 Beta 2 was released.)
I'm using taglib 1.2, and reemerging it does not solve my problem
Created attachment 36830 [details, diff] 3.3.0_beta2-juk-taglib.patch Thanks for the patch. I'm attaching a version that's easier to apply in an ebuild. If I can get a couple more people to test this, I'll see if Caleb wants to commit it.
Created attachment 36885 [details] Altered 3.3.0_beta2 ebuild The provided patch worked for me (accept_keywords="~x86", taglib 1.2, kdemultimedia 3.3.0_beta2). Here's my ebuild. Just put the patch in the files directory.
Your patched ebuild is working perfectly with me. Thanks for your help :)
Again, thanks to everyone for their help. However, it doesn't look like this needs to be committed, as 3.3.0_rc1 is going to be released tomorrow. See: http://developer.kde.org/development-versions/kde-3.3-release-plan.html I'll close this tomorrow, assuming RC1 is released on schedule and marked as ~arch. Feel free to reopen it if you get the same error with the new version.
_rc1 is in portage, though it won't be un masked as _rc2 is coming out soon to fix some grave _rc1 bugs.
Please try kde-3.3.0 instead.