Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256907 - games-mud/kmuddy-0.8 does not compile on kde-3.5.9
Summary: games-mud/kmuddy-0.8 does not compile on kde-3.5.9
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:
 
Reported: 2009-01-30 11:01 UTC by Jyrki Launonen
Modified: 2009-01-30 13:17 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jyrki Launonen 2009-01-30 11:01:51 UTC
kmuddy-0.8 fails to compile with gcc-4.1.2, kdelibs-3.5.9-r4, qt-3.3.8b-r1, portage-2.1.6.7. Failed command on build is:

i686-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../
../../crti.o /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/crtbeginS.o  .libs/scriptingpl
ugin.o .libs/cnotifymanager.o .libs/crunninglist.o .libs/crunningscript.o .libs/
cscript.o .libs/cscriptlist.o .libs/cunixsocket.o .libs/dlgeditscript.o .libs/dl
grunninglist.o .libs/dlgscripts.o .libs/crunninglist.moc.o .libs/dlgeditscript.m
oc.o .libs/cscriptlist.moc.o .libs/dlgscripts.moc.o .libs/crunningscript.moc.o .
libs/cscript.moc.o .libs/dlgrunninglist.moc.o .libs/cunixsocket.moc.o  -Wl,--rpa
th -Wl,/var/tmp/portage/games-mud/kmuddy-0.8/work/kmuddy-0.8/lib/.libs -Wl,--rpa
th -Wl,/usr/lib -Wl,--rpath -Wl,/usr/kde/3.5/lib -Wl,--rpath -Wl,/usr/qt/3/lib -
L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib /usr/kde/3.5/lib/libkparts.so -L/us
r/lib/mysql -L/usr/X11R6/lib /usr/kde/3.5/lib/libkdeui.so /usr/kde/3.5/lib/libkd
ecore.so /usr/qt/3/lib/libqt-mt.so /usr/lib/libpng12.so -lz /usr/lib/libXext.so
/usr/lib/libX11.so /usr/lib/libSM.so /usr/lib/libICE.so -lpthread ../../lib/.lib
s/libkmuddy.so -L/usr/lib/gcc/i686-pc-linux-gnu/4.1.2 -L/usr/lib/gcc/i686-pc-lin
ux-gnu/4.1.2/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/
4.1.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/crt
endS.o /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../crtn.o  -march=i686 -Wl,--n
o-undefined -Wl,--allow-shlib-undefined -Wl,-O1 -Wl,-soname -Wl,kmuddyscriptingp
lugin.so -o .libs/kmuddyscriptingplugin.so
.libs/dlgeditscript.o: In function `dlgEditScript::browse2()':
dlgeditscript.cpp:(.text+0x550): undefined reference to `KFileDialog::getExistingDirectory(QString const&, QWidget*, QString const&)'
.libs/dlgeditscript.o: In function `dlgEditScript::browse1()':
dlgeditscript.cpp:(.text+0x6dd): undefined reference to `KFileDialog::getOpenFileName(QString const&, QString const&, QWidget*, QString const&)'
collect2: ld returned 1 exit status
make[3]: *** [kmuddyscriptingplugin.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/games-mud/kmuddy-0.8/work/kmuddy-0.8/plugins/scripting'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/games-mud/kmuddy-0.8/work/kmuddy-0.8/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/games-mud/kmuddy-0.8/work/kmuddy-0.
8'
make: *** [all] Error 2


It seems, that KFileDialog has probably moved to libkio on some kde release and because that is not included in mentioned command, link fails. I've solved this issue, with a short (and crude) patch to kmuddy-0.8/plugins/scripting/Makefile.am that adds -lkio to kmuddyscriptingplugin_la_LDFLAGS. But is this the right problem or am I barking to wrong tree?
(Additionally, kmuddy build seems not to honor CFLAGS/CXXFLAGS-variables on make.conf, if that has any informative value at all...)
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2009-01-30 13:17:55 UTC
ugly in there.  should be working now.