Summary: | games-board/knights won't compile without arts being installed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Bürger <buerger_martin> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | tupone |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 134992 | ||
Attachments: | knights-0.6.ebuild.patch |
Description
Martin Bürger
2004-12-04 09:12:29 UTC
Fixed in CVS. Thanks for the bug report. 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 looks like you'll need kde-base/kdelibs as well. See if merging that first gets you going please. Yes, that did it. Rebuilding kde/kdelibs with the use flag arts set, built the required libraries. games-board/knights build without any problems. 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. 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 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. 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.
|