In file included from firesaverparticle.cpp:25: firesaver.h:39:30: arts/kplayobject.h: No such file or directory firesaver.h:40:30: arts/kartsserver.h: No such file or directory firesaver.h:41:34: arts/kartsdispatcher.h: No such file or directory In file included from firesaverparticle.cpp:25: firesaver.h:99: error: 'KArtsDispatcher' is used as a type, but is not defined as a type. Maybe there is a missing dependancy for arts-1.3.0_beta2? I only have arts-1.2.3. I will compile the beta arts and try again. firesaver.h:100: error: 'KArtsServer' is used as a type, but is not defined as a type. firesaver.h:101: error: `KPlayObject' was not declared in this scope firesaver.h:101: error: template argument 1 is invalid firesaver.h:101: error: ISO C++ forbids declaration of `playObjectList' with no type Reproducible: Always Steps to Reproduce: 1. emerge kdeartwork (I have ~x86 everything) 2. 3. Actual Results: As above Expected Results: successful compile emerge info Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.7-gentoo-r11) ================================================================= System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.5.1 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -march=i686 -fomit-frame-pointer" 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.3/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://gentoo.ccccom.com http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage_overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa apache2 apm avi berkdb cdr crypt cups dba doc dvdr encode esd foomaticdb gd gdbm gif gnome gpm gtk gtk2 imlib innodb java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png postgres ppds python qt quicktime readline samba scanner sdl session simplexml slang soap sockets spell sqlite ssl svga tcltk tcpd tiff truetype usb x86 xml2 xmms xsl xv zlib"
same error after emerging arts-1.3.0_beta2.
yeah, it seems to be a known problem. you'll need to recompile kdelibs with the arts use flag turned on in order to get this to work.
ok, that works. I'll leave it to you how to sort the dependencies.
Created attachment 37180 [details, diff] Patch for USE="-arts" systems This is caused by the firesaver screensaver module ... and some bad handling of how arts is included. This patch is dirty; It just removes all the arts stuff from the screensaver... I only wanted kdeartwork to compile and this patch lets that happen. ebuild kdeartwork-3.3.0_beta2.ebuild unpack cd /var/tmp/portage/kdeartwork-3.3.0_beta2/work/kdeartwork-3.2.92/kscreensaver/kdesaver patch -Np0 < /path/to/patch ebuild kdeartwork-3.3.0_beta2.ebuild merge I doubt this will go in the tree (i wouldnt put it there), so manually patch if you need to..
Perhaps we can use the DO_NOT_COMPILE variable to turn off this screensaver if arts use flag is off?
Well its on kdes bugs http://bugs.kde.org/show_bug.cgi?id=85307 Obviously some checking in Makefile is what is needed... afterall there is the --without-arts option which doesnt get used...
Created attachment 37216 [details, diff] Proposed optional compilation patch Not sure if it is the correct fix or not, but something like this patch should work.
I've checked in a patch to kde's cvs that fixes this problem, but coolo won't let me check it in the 3.3 branch, so this won't be fixed in 3.3.0, but probably in 3.3.1. I haven't yet been successful in getting the patches to work due in portage to automake/autoconf problems.
Created attachment 37352 [details, diff] Makefile.am patch
Created attachment 37353 [details, diff] configure.in.in patch
I was able to get kdeartwork-3.3.0 to compile using Andrew Bevitt's patch from comment #4-- EXCEPT that I had to remove "#include <arts/kmedia2.h>" from firestarter.cpp manually, because the patch did not (of course, that might be due to a difference between the beta and the final, but it might be worthwhile to update the patch if we're going to be still using it for a bit). Just some additional information for any users who may search this bug.
like you said, it still happens in 3.3.0
identical problem here.
ebuild has been patched - please test and let me know if it doesn't work.
*** Bug 69494 has been marked as a duplicate of this bug. ***