Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73352 - games-board/knights won't compile without arts being installed
Summary: games-board/knights won't compile without arts being installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 134992
  Show dependency tree
 
Reported: 2004-12-04 09:12 UTC by Martin Bürger
Modified: 2006-01-22 23:42 UTC (History)
1 user (show)

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


Attachments
knights-0.6.ebuild.patch (knights-0.6.ebuild.patch,471 bytes, patch)
2006-01-22 23:42 UTC, Tupone Alfredo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Bürger 2004-12-04 09:12:29 UTC
Well, even if I set the use flag to USE="-arts", knights' ./configure searches for arts components mcopidl and the ./configure fails due to missing components/programs.

Reproducible: Always
Steps to Reproduce:
1. arts not being installed execute: USE="-arts" emerge games-board/knights


Actual Results:  
./configure fails with:
checking for mcopidl... not found
configure: error: The important program mcopidl was not found!
Please check whether you installed aRts correctly.


Expected Results:  
it should have installed games-board/knights

Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.8-nitro6 i686)
=================================================================
System uname: 2.6.8-nitro6 i686 AMD-K7(tm) Processor
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -ffast-math -funroll-loops
-fforce-addr -falign-functions=4 -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/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=athlon -O3 -pipe -fomit-frame-pointer -ffast-math
-funroll-loops -fforce-addr -falign-functions=4 -fprefetch-loop-arrays"
DISTDIR="/mnt/hde1/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/hde1/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync16.de.gentoo.org/gentoo-merged"
USE="3dnow 3dnowex X aalib alsa apache2 audiofile avi ba-completion berkdb
bitmap-fonts bzlib cdparanoia cdr codecs crypt cups divx4linux dv dvb dvd dvdr
dvdread encode faac faad fam flac foomaticdb gdbm gif gimp gimpprint gphoto2 gpm
gtk gtk2 icq ieee1394 imagemagick imlib java jpeg junit kde libg++ libwww lzo
mad maildir mikmod mime mmx motif mozilla moznocompose moznoirc moznomail mp3
mpeg mpeg4 mplayer mysql ncurses nls nvidia odbc oggvorbis opengl pam pdflib
perl plotutils png python qt quicktime readline real rtc samba sdl slang slp
smime speex spell ssl svga tcltk tcpd tetex tiff transcode truetype
truetype-fonts type1-fonts unicode usb v4l2 vcdimager x86 xine xml2 xmms xprint
xv xvid zlib linguas_de"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-12-04 15:26:46 UTC
Fixed in CVS.  Thanks for the bug report.
Comment 2 Martin Bürger 2004-12-05 07:18:26 UTC
Well, I tried installing arts and knights, but it seems that some more kde
packages need to get recompiled with arts enabled before knights can pass the ./configure:

/bin/sh ../libtool --silent --mode=link --tag=CXX g++  -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 -O2 -march=athlon -O3 -pipe -fomit-frame-pointer -ffast-math
-funroll-loops -fforce-addr -falign-functions=4 -fprefetch-loop-arrays
-fno-exceptions -fno-check-new    -o knights -L/usr/X11R6/lib -L/usr/qt/3/lib
-L/usr/kde/3.3/lib  -R /usr/kde/3.3/lib -R /usr/qt/3/lib -R /usr/X11R6/lib
board_2d.o board_base.o setpagedisplay.o proto_xboard.o dlg_selectengine.o
thinbuttons.o pgn.o io_engine.o dlg_challenge.o idmanager.o challenge_graph.o
dlg_login.o tabgrip.o tabpage.o tab_seeklist.o dlg_engine.o setpageaudio.o
proto_base.o dlg_server.o core.o match_param.o knightspixcache.o dlg_settings.o
console.o match.o setpagegeneral.o splash.o audio.o main.o logic.o list_pgn.o
challenge_graph_view.o accel.o dlg_selectemail.o challenge_rectangle.o
knightstextview.o tabmanager.o command.o dlg_newmatch.o chessclock.o
dlg_promote.o resource.o tabbox.o io_internet.o challenge_game.o knights.o
tab_pgnview.o io_base.o wiz_setup.o setpageservers.o proto_uci.o
setpageengines.o -lqt-mt -lartskde -lkio -lkdeprint -lkdeui -lkdecore -lresolv 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lartskde
collect2: ld returned 1 exit status
make[2]: *** [knights] Fehler 1
make[2]: Leaving directory
`/mnt/hde1/var/tmp/portage/knights-0.6/work/knights-0.6/knights'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory
`/mnt/hde1/var/tmp/portage/knights-0.6/work/knights-0.6'
make: *** [all] Fehler 2
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-12-05 09:22:10 UTC
looks like you'll need kde-base/kdelibs as well.  See if merging that first gets you going please.
Comment 4 Martin Bürger 2004-12-05 23:56:12 UTC
Yes, that did it. Rebuilding kde/kdelibs with the use flag arts set, built the required libraries. games-board/knights build without any problems.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2004-12-06 00:36:05 UTC
ok, this needs use-based deps which isn't available yet.  Since you've got it working I'll go ahead and mark this fixed for now.  Thanks for testing.
Comment 6 Markus Rittenbruch 2005-09-10 01:15:28 UTC
I don't think this should be marked fixed yet. Knights still can't be compiled
without arts (USE="-arts"). Installing it with arts is not an alternative on
some systems.

/bin/sh ../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ 
-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 -O2 -march=athlon-xp -pipe
-fomit-frame-pointer -fno-exceptions -fno-check-new    -o knights -L/usr/lib
-L/usr/qt/3/lib -L/usr/kde/3.4/lib  -R /usr/kde/3.4/lib -R /usr/qt/3/lib -R
/usr/lib board_2d.o board_base.o setpagedisplay.o proto_xboard.o
dlg_selectengine.o thinbuttons.o pgn.o io_engine.o dlg_challenge.o idmanager.o
challenge_graph.o dlg_login.o tabgrip.o tabpage.o tab_seeklist.o dlg_engine.o
setpageaudio.o proto_base.o dlg_server.o core.o match_param.o knightspixcache.o
dlg_settings.o console.o match.o setpagegeneral.o splash.o audio.o main.o
logic.o list_pgn.o challenge_graph_view.o accel.o dlg_selectemail.o
challenge_rectangle.o knightstextview.o tabmanager.o command.o dlg_newmatch.o
chessclock.o dlg_promote.o resource.o tabbox.o io_internet.o challenge_game.o
knights.o tab_pgnview.o io_base.o wiz_setup.o setpageservers.o proto_uci.o
setpageengines.o -lqt-mt -lartskde -lkio -lkdeprint -lkdeui -lkdecore -lresolv
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lartskde
collect2: ld returned 1 exit status
make[2]: *** [knights] Error 1
make[2]: Leaving directory `/var/tmp/portage/knights-0.6/work/knights-0.6/knights'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/knights-0.6/work/knights-0.6'
make: *** [all] Error 2
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2005-11-02 14:20:54 UTC
No.

Knights has a hard dependency on arts.  The USE="arts" crap comes from the KDE
eclass, and isn't a part of the ebuild.  At any rate, the eclass handles it now.
 I'm not sure when this was fixed but to make this abundantly clear, it is
impossible to compile knights without arts.
Comment 8 Tupone Alfredo gentoo-dev 2006-01-22 23:42:12 UTC
Created attachment 77885 [details, diff]
knights-0.6.ebuild.patch

I added an informational message about arts not being set. I cannot abort as I know how to check for a global flag, not for a local one. I 'd check for kdelibs arts use flags.