Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58822 - kdeartwork-3.3.0 fails to compile (arts/kartsdispatcher.h missing)
Summary: kdeartwork-3.3.0 fails to compile (arts/kartsdispatcher.h missing)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 69494 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-29 13:18 UTC by Collins Richey
Modified: 2004-12-02 04:12 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for USE="-arts" systems (kdeartwork.patch,2.63 KB, patch)
2004-08-10 16:24 UTC, Andrew Bevitt
Details | Diff
Proposed optional compilation patch (Makefile.am.patch,1.18 KB, patch)
2004-08-11 06:23 UTC, Caleb Tennis (RETIRED)
Details | Diff
Makefile.am patch (Makefile.am.patch,1.00 KB, patch)
2004-08-13 06:24 UTC, Caleb Tennis (RETIRED)
Details | Diff
configure.in.in patch (configure.in.in.patch,499 bytes, patch)
2004-08-13 06:24 UTC, Caleb Tennis (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Collins Richey 2004-07-29 13:18:19 UTC
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"
Comment 1 Collins Richey 2004-07-29 14:06:46 UTC
same error after emerging arts-1.3.0_beta2.
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2004-07-29 14:45:36 UTC
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.
Comment 3 Collins Richey 2004-07-29 17:50:42 UTC
ok, that works. I'll leave it to you how to sort the dependencies.
Comment 4 Andrew Bevitt 2004-08-10 16:24:49 UTC
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..
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2004-08-10 16:54:14 UTC
Perhaps we can use the DO_NOT_COMPILE variable to turn off this screensaver if arts use flag is off?
Comment 6 Andrew Bevitt 2004-08-11 05:14:53 UTC
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... 
Comment 7 Caleb Tennis (RETIRED) gentoo-dev 2004-08-11 06:23:39 UTC
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.
Comment 8 Caleb Tennis (RETIRED) gentoo-dev 2004-08-13 06:22:46 UTC
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.
Comment 9 Caleb Tennis (RETIRED) gentoo-dev 2004-08-13 06:24:01 UTC
Created attachment 37352 [details, diff]
Makefile.am patch
Comment 10 Caleb Tennis (RETIRED) gentoo-dev 2004-08-13 06:24:31 UTC
Created attachment 37353 [details, diff]
configure.in.in patch
Comment 11 Holly Bostick 2004-08-23 07:45:11 UTC
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.
Comment 12 SpanKY gentoo-dev 2004-08-24 16:30:35 UTC
like you said, it still happens in 3.3.0
Comment 13 crusaderky 2004-08-25 14:37:52 UTC
identical problem here.
Comment 14 Caleb Tennis (RETIRED) gentoo-dev 2004-08-26 08:29:25 UTC
ebuild has been patched - please test and let me know if it doesn't work.
Comment 15 Caleb Tennis (RETIRED) gentoo-dev 2004-12-02 04:12:28 UTC
*** Bug 69494 has been marked as a duplicate of this bug. ***