If you have kdelibs with -arts and try to emerge knights it fails with a compilation error. Reproducible: Always Steps to Reproduce: 1. USE=-arts emerge kdelibs 2. emerge knights Actual Results: emerge exited after compilation errors Expected Results: emerge knights without arts support. If that's not possible at least inform that knights needs arts support built in kdelibs to be installed.
I can second that! (knights-0.6) Here is the error message: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.4/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=k8 -O2 -fno-exceptions -fno-check-new -c -o main.o `test -f main.cpp || echo './'`main.cpp cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++ audio.cpp:19:30: arts/soundserver.h: No such file or directory audio.cpp:20:29: arts/dispatcher.h: No such file or directory audio.cpp:21:29: arts/flowsystem.h: No such file or directory audio.cpp:22:26: arts/connect.h: No such file or directory audio.cpp:35: error: `Arts' has not been declared audio.cpp:35: error: ISO C++ forbids declaration of `Dispatcher' with no type audio.cpp:35: error: expected `;' before "dispatcher" audio.cpp:36: error: `Arts' has not been declared audio.cpp:36: error: ISO C++ forbids declaration of `SoundServerV2' with no type audio.cpp:36: error: expected `;' before "server" audio.cpp:37: error: `Arts' has not been declared audio.cpp:37: error: ISO C++ forbids declaration of `PlayObjectFactory' with no type audio.cpp:37: error: expected `;' before "playObjectFactory" audio.cpp:38: error: `Arts' has not been declared audio.cpp:38: error: `PlayObject' was not declared in this scope audio.cpp:38: error: template argument 2 is invalid audio.cpp:38: error: ISO C++ forbids declaration of `audioMap' with no type audio.cpp: In constructor `audio::audio()': audio.cpp:45: error: 'class audioPrivate' has no member named 'server' [... etc.] emerge --info: Portage 2.0.51.22-r3 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14.2 x86_64) ================================================================= System uname: 2.6.14.2 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 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.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.inode.at/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages/amd64/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib acl acpi alsa apache2 atlas audiofile avi bash-completion berkdb bindist bitmap-fonts blas bluetooth bzip2 bzlib calendar cdparanoia cdr crypt cups curl divx4linux doc dts dvb dvd dvdr dvdread eds emacs emboss encode esd exif expat f77 fam fbcon ffmpeg fftw flac foomaticdb fortran ftp gcj gd gdbm gif ginac glut gmp gphoto2 gpm gps gstreamer gtk gtk2 hal icq idn imagemagick imap imlib ipv6 jack java javascript jpeg jpeq junit kde kerberos krb4 lapack lcms ldap libwww lirc lm_sensors lzw lzw-tiff mad maildir matroska mbox mime mmap mng mozilla mozsvg mp3 mpeg mplayer msn mysql mysqli nas ncurses network nls nsplugin obcd objc odbc ogg openal opengl pam pam_timestamp pcre pda pdflib perl pic pie plotutils png postgres python qt quicktime readline ruby samba scanner sdl skey sndfile snmp sox speex spell ssl svg sysfs tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l vcd vorbis wifi wmf xanim xine xinerama xml2 xmms xpm xprint xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
It honestly looks to me that the game requires arts. Can you verify that the game work *without* arts in USE just by installing arts before knights?
http://dev.gentoo.org/~genstef/files/overlay/knights-9999.ebuild http://dev.gentoo.org/~genstef/files/overlay/knights-no-arts.patch The patch should fix the arts-problem :) This is a cvs ebuild so be careful when using it.
I done another kind of patch, before reading this :( See bug 73352
*** Bug 120212 has been marked as a duplicate of this bug. ***
genstef: do you have a patch that works against the current ebuild (not CVS) instead? I haven't checked, yours might work, as is, but I don't have anything Qt/KDE on my system.
That should be fixed now, with ARTS_REQUIRED="yes"