/bin/sh ../../libtool --silent --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=nocona -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o configdialog.lo configdialog.cpp /bin/sh ../../libtool --silent --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=nocona -O2 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o kcm_kdnssd.la -rpath /usr/kde/3.5/lib64/kde3 -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64 kcmdnssd.lo configdialog.lo -lkdnssd -lkdeui /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lkdnssd collect2: ld returned 1 exit status make[3]: *** [kcm_kdnssd.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/kde-base/kcontrol-3.5.8-r2/work/kcontrol-3.5.8/kcontrol/dnssd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kde-base/kcontrol-3.5.8-r2/work/kcontrol-3.5.8/kcontrol' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kde-base/kcontrol-3.5.8-r2/work/kcontrol-3.5.8' make: *** [all] Error 2 * * ERROR: kde-base/kcontrol-3.5.8-r2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4407: Called kde-meta_src_compile * environment, line 2943: Called kde_src_compile * environment, line 3108: Called kde_src_compile 'src_compile' * environment, line 3228: Called kde_src_compile 'src_compile' 'all' 'myconf' * environment, line 3224: Called die * The specific snippet of code: * emake || die "died running emake, $FUNCNAME:make" * The die message: * died running emake, kde_src_compile:make * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/kde-base/kcontrol-3.5.8-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/kcontrol-3.5.8-r2/temp/environment'. * * Messages for package kde-base/kcontrol-3.5.8-r2: * * ERROR: kde-base/kcontrol-3.5.8-r2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4407: Called kde-meta_src_compile * environment, line 2943: Called kde_src_compile * environment, line 3108: Called kde_src_compile 'src_compile' * environment, line 3228: Called kde_src_compile 'src_compile' 'all' 'myconf' * environment, line 3224: Called die * The specific snippet of code: * emake || die "died running emake, $FUNCNAME:make" * The die message: * died running emake, kde_src_compile:make
Try to reemerge kdelibs and/or run revdep-rebuild.
I'm sorry for the late answer. As I felt convinced that the issue was merely caused by a missing dependency in the ebuild I didn't check back earlier. I solved the problem shortly after I reported it by installing kde-misc/kdnssd-avahi to satisfy the linker. Therefore I unfortunately can't check any more if your solution might have worked out too.
(In reply to comment #1) > Try to reemerge kdelibs and/or run revdep-rebuild. > I was having trouble compiling kcontrol-3.5.8 and your recommendation worked for me. Thanks.
I just ran into this problem as well as kcontrol was being compiled as a dependency of konqueror (without already having anything kde-related on my system when I ran 'emerge konqueror'). Strangely enough when I tried to re-emerge kdelibs as suggested here it suddenly brought in kdnssd-avahi. It seems odd that it didn't do this initially, I didn't touch my USE flags or anything (avahi was already enabled).
*** Bug 228989 has been marked as a duplicate of this bug. ***
Created attachment 161850 [details] Amended kcontrol-3.5.9.ebuild Amended kcontrol-3.5.9.ebuild to install kde-misc/kdnssd-avahi if USE flag "avahi" is set.
(In reply to comment #6) > Created an attachment (id=161850) [edit] > Amended kcontrol-3.5.9.ebuild > > Amended kcontrol-3.5.9.ebuild to install kde-misc/kdnssd-avahi if USE flag > "avahi" is set. > This is a patch file instead. Both the previous ebuild and this patch don't really fix the fact the kcontrol is using auto magic to determine if it needs kdnssd for avahi. I will continue looking into it and see if I can produce a patch it fix the source's makefile as well.
Created attachment 161903 [details, diff] Patch for original ebuild.
*** Bug 234247 has been marked as a duplicate of this bug. ***
If you look at kdelibs-3.5.9*, you'll see the following: PDEPEND="avahi? ( kde-misc/kdnssd-avahi ) bindist? ( kde-misc/kdnssd-avahi )" Did you have the avahi or the bindist use flags enabled? If so, unless you've emerged kdelibs with --no-deps, this shouldn't have happened.
good ol' Portage bug
Ow - dupe it, actually. *** This bug has been marked as a duplicate of bug 199856 ***