Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275562 - kde-base/atlantik-3.5.10 fails to build: libtool: link: cannot find the library `/usr/lib/libkdnssd.la'
Summary: kde-base/atlantik-3.5.10 fails to build: libtool: link: cannot find the libra...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-27 01:07 UTC by Albert Zeyer
Modified: 2009-10-27 18:46 UTC (History)
2 users (show)

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 Albert Zeyer 2009-06-27 01:07:08 UTC
...
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libkdegames -I./../libatlantic -I./../libatlantikclient -I./../libatlantikui -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 -O2 -march=nocona -ggdb -pipe -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 selectconfiguration_widget.o selectconfiguration_widget.cpp
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libkdegames -I./../libatlantic -I./../libatlantikclient -I./../libatlantikui -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 -O2 -march=nocona -ggdb -pipe -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 selectgame_widget.o selectgame_widget.cpp
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libkdegames -I./../libatlantic -I./../libatlantikclient -I./../libatlantikui -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 -O2 -march=nocona -ggdb -pipe -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 selectserver_widget.o selectserver_widget.cpp
selectserver_widget.cpp: In constructor ‘SelectServer::SelectServer(bool, bool, QWidget*, const char*)’:
selectserver_widget.cpp:42: warning: unused variable ‘hostLabel’
selectserver_widget.cpp:47: warning: unused variable ‘portLabel’
/bin/sh ../../libtool --silent --tag=CXX --mode=link i686-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 -O2 -march=nocona -ggdb -pipe -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   -Wl,-O1 -o atlantik -L/usr/kde/3.5/lib -L/usr/qt/3/lib     -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib atlantik.o configdlg.o event.o eventlogwidget.o main.o monopigator.o selectconfiguration_widget.o selectgame_widget.o selectserver_widget.o ../libatlantikui/libatlantikui.la ../libatlantikclient/libatlantikclient.la ../../libkdegames/libkdegames.la -lkio
libtool: link: cannot find the library `/usr/lib/libkdnssd.la'
make[3]: *** [atlantik] Error 1
make[3]: Leaving directory `/var/tmp/portage/kde-base/atlantik-3.5.10/work/atlantik-3.5.10/atlantik/client'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kde-base/atlantik-3.5.10/work/atlantik-3.5.10/atlantik'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-base/atlantik-3.5.10/work/atlantik-3.5.10'
make: *** [all] Error 2
 *
 * ERROR: kde-base/atlantik-3.5.10 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4471:  Called kde-meta_src_compile
 *             environment, line 3076:  Called kde_src_compile
 *             environment, line 3256:  Called kde_src_compile 'all'
 *             environment, line 3271:  Called kde_src_compile 'make'
 *             environment, line 3263:  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/atlantik-3.5.10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/atlantik-3.5.10/temp/environment'.
 *
Comment 1 Albert Zeyer 2009-06-27 01:07:18 UTC
acompneu ~ # emerge --info
Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Core-TM-2_Duo_CPU_E8500_@_3.16GHz-with-glibc2.0
Timestamp of tree: Fri, 26 Jun 2009 12:00:16 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3, 2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -ggdb -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -ggdb -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/mpd /usr/portage/local/layman/gnustep /usr/portage/local/private"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip GAPING_SECURITY_HOLE X X509 a52 aac aalib acl acpi acpi4linux adns agg aiglx aim alsa amarok amd amr amuled ao applet aqua_theme archive ares asf asm async asyncns atm auctex audioscrobbler automount avahi bash-completion berkdb bidi binary binary-drivers bindist bittorrent bl bonjour bookmarks bootsplash branding bzip2 bzlib cairo captury cdda cddb cdio cdparanoia cdr cdrom cgi cli clisp clucene cmake codecs consolekit corba cracklib crypt cups curl custreloc d daap dbus dedicated dga dhcp dirac disk-partition divx4linux djvu dlopen dmi dnd dri dts dv dvd dvdnav dvdr dvdread dvi eds emboss encode esd evo exif faad fam fame ffmpeg firefox flac flash font-server foomaticdb fortran fpx freetype ftp fuse galago gcc-libffi gcj gcl gd gdbm gedit ggi gif gimp gl glib glitz glslideshow glut gnome gnome-keyring gnutls gphoto2 gpm gprof graphite graphviz gs gsm gstreamer gtk gtk2 gzip h323 hal haskell howl howl-compat html httpd hyperestraier icc iconv icq id3 id3tag imagemagick imap imlib imlib2 inotify insecure-drivers ipv6 isdnlog ithreads jack java jbig jikes jit jpeg jpeg2k kde kde4 kerberos kqemu lame latex lcms ldap libcaca libffi libnotify libssh2 libwww linuxthreads-tls live lzma lzo mad matroska mbox mdnsresponder-compat midi mikmod mjpeg mmx mmxext mng mod modplug mozbranding mozcalendar mozilla mp2 mp3 mp4 mp4live mpeg mpeg2 mpeg4 mplayer mppe-mppc mudflap multislot musepack musicbrainz mysql nautilus ncurses nemesi nepomuk net network njb nls nntp nptl nptlonly nsplugin ntfs objc offensive ogg oggvorbis openal opengl openmp oss pam pascal pch pcre pdf perl php plasma png pop posix ppds pppd prebuilt-system pthreads pulseaudio python qt qt3 qt3support qt4 quicktime rar rdesktop readline realmedia reflection rogue rplay rtc rtsp ruby samba sasl schroedinger screen sdl semantic-desktop server session shorten shout silvercity silverxp skins slp sndfile sockets socks5 solver speedo speex spell spl sqlite srt sse sse2 ssh ssl ssse3 startup-notification stream subversion svg sysfs tagwriting tcltk tcpd teamarena teletext tetex tga themes theora threads threadsafe thumbnail tiff transcode truetype type1 unicode unzip urandom usb v4l v4l2 vcd vdr vidix visualization vlm vorbis win32codecs wma wmf wxwindows x264 x86 xanim xatrix xattr xcb xcomposite xext xface xforms xft xim xine xml xorg xosd xpm xprint xrandr xrender xscreensaver xsettings xterm xulrunner xv xvid xvmc zeroconf zip zlib zvbi" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia nv apm"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jonathan Callen (RETIRED) gentoo-dev 2009-06-27 01:22:25 UTC
Try running `lafilefixer --justfixit` (from dev-util/lafilefixer).  If that doesn't fix the problem, please reopen this bug.
Comment 3 Albert Zeyer 2009-06-27 14:01:19 UTC
(In reply to comment #2)
> Try running `lafilefixer --justfixit` (from dev-util/lafilefixer).  If that
> doesn't fix the problem, please reopen this bug.
> 

It didn't worked. Still same error:

selectserver_widget.cpp: In constructor ‘SelectServer::SelectServer(bool, bool, QWidget*, const char*)’:
selectserver_widget.cpp:42: warning: unused variable ‘hostLabel’
selectserver_widget.cpp:47: warning: unused variable ‘portLabel’
/bin/sh ../../libtool --silent --tag=CXX --mode=link i686-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 -O2 -march=nocona -ggdb -pipe -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   -Wl,-O1 -o atlantik -L/usr/kde/3.5/lib -L/usr/qt/3/lib     -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib atlantik.o configdlg.o event.o eventlogwidget.o main.o monopigator.o selectconfiguration_widget.o selectgame_widget.o selectserver_widget.o ../libatlantikui/libatlantikui.la ../libatlantikclient/libatlantikclient.la ../../libkdegames/libkdegames.la -lkio  
libtool: link: cannot find the library `/usr/lib/libkdnssd.la'
make[3]: *** [atlantik] Error 1
make[3]: Leaving directory `/var/tmp/portage/kde-base/atlantik-3.5.10/work/atlantik-3.5.10/atlantik/client'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kde-base/atlantik-3.5.10/work/atlantik-3.5.10/atlantik'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-base/atlantik-3.5.10/work/atlantik-3.5.10'
make: *** [all] Error 2
 * 
 * ERROR: kde-base/atlantik-3.5.10 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4471:  Called kde-meta_src_compile
 *             environment, line 3076:  Called kde_src_compile
 *             environment, line 3256:  Called kde_src_compile 'all'
 *             environment, line 3271:  Called kde_src_compile 'make'
 *             environment, line 3263:  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/atlantik-3.5.10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/atlantik-3.5.10/temp/environment'.
 * 
Comment 4 Albert Zeyer 2009-06-27 14:31:31 UTC
According to this:

acompneu ~ # ls -la /usr/lib/libkdnssd.la
ls: cannot access /usr/lib/libkdnssd.la: No such file or directory
acompneu ~ # equery b /usr/lib/libkdnssd.la
[ Searching for file(s) /usr/lib/libkdnssd.la in *... ]
acompneu ~ # equery b libkdnssd.la
[ Searching for file(s) libkdnssd.la in *... ]
kde-misc/kdnssd-avahi-0.1.2-r1 (/usr/kde/3.5/lib/libkdnssd.la)
acompneu ~ # 

Is atlantik perhaps just searching in the wrong path for the lib?
Comment 5 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2009-06-27 15:11:38 UTC
try to rebuild kdnssd-avahi then. It works here btw
Comment 6 Albert Zeyer 2009-06-27 15:19:04 UTC
(In reply to comment #5)
> try to rebuild kdnssd-avahi then. It works here btw
> 

Why? Seems that everything is correct with kdnssd-avahi. Seems to make sense to me that the file is /usr/kde/3.5/lib/libkdnssd.la and not in /usr/lib/libkdnssd.la.

Anyway, did that:

>>> Installing (1 of 1) kde-misc/kdnssd-avahi-0.1.2-r1
 * checking 6 files for package collisions
 * Checking desktop entry validity

--- /usr/
--- /usr/kde/
--- /usr/kde/3.5/
--- /usr/kde/3.5/lib/
>>> /usr/kde/3.5/lib/libkdnssd.so.1 -> libkdnssd.so.1.0.0
>>> /usr/kde/3.5/lib/libkdnssd.so.1.0.0
>>> /usr/kde/3.5/lib/libkdnssd.la
>>> /usr/kde/3.5/lib/libkdnssd.so -> libkdnssd.so.1.0.0
--- /usr/kde/3.5/share/
--- /usr/kde/3.5/share/doc/
--- /usr/kde/3.5/share/doc/HTML/
--- /usr/kde/3.5/share/doc/HTML/en/
--- /usr/kde/3.5/share/doc/HTML/en/kdnssd-avahi-0.1.2-apidocs/
--- /usr/kde/3.5/share/doc/HTML/en/kdnssd-avahi-0.1.2-apidocs/kdnssd-avahi/
--- /usr/kde/3.5/share/doc/HTML/en/kdnssd-avahi-0.1.2-apidocs/kdnssd-avahi/html/
--- /usr/lib/
--- /usr/lib/debug/
--- /usr/lib/debug/usr/
--- /usr/lib/debug/usr/kde/
--- /usr/lib/debug/usr/kde/3.5/
--- /usr/lib/debug/usr/kde/3.5/lib/
>>> /usr/lib/debug/usr/kde/3.5/lib/libkdnssd.so.1.0.0.debug
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/kdnssd-avahi-0.1.2-r1/
>>> /usr/share/doc/kdnssd-avahi-0.1.2-r1/README.bz2
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.
--- replaced obj /usr/share/doc/kdnssd-avahi-0.1.2-r1/README.bz2
--- replaced dir /usr/share/doc/kdnssd-avahi-0.1.2-r1
--- replaced dir /usr/share/doc
--- replaced dir /usr/share
--- replaced obj /usr/lib/debug/usr/kde/3.5/lib/libkdnssd.so.1.0.0.debug
--- replaced dir /usr/lib/debug/usr/kde/3.5/lib
--- replaced dir /usr/lib/debug/usr/kde/3.5
--- replaced dir /usr/lib/debug/usr/kde
--- replaced dir /usr/lib/debug/usr
--- replaced dir /usr/lib/debug
--- replaced dir /usr/lib
--- replaced dir /usr/kde/3.5/share/doc/HTML/en/kdnssd-avahi-0.1.2-apidocs/kdnssd-avahi/html
--- replaced dir /usr/kde/3.5/share/doc/HTML/en/kdnssd-avahi-0.1.2-apidocs/kdnssd-avahi
--- replaced dir /usr/kde/3.5/share/doc/HTML/en/kdnssd-avahi-0.1.2-apidocs
--- replaced dir /usr/kde/3.5/share/doc/HTML/en
--- replaced dir /usr/kde/3.5/share/doc/HTML
--- replaced dir /usr/kde/3.5/share/doc
--- replaced dir /usr/kde/3.5/share
--- replaced obj /usr/kde/3.5/lib/libkdnssd.so.1.0.0
--- replaced sym /usr/kde/3.5/lib/libkdnssd.so.1
--- replaced sym /usr/kde/3.5/lib/libkdnssd.so
--- replaced obj /usr/kde/3.5/lib/libkdnssd.la
--- replaced dir /usr/kde/3.5/lib
--- replaced dir /usr/kde/3.5
--- replaced dir /usr/kde
--- replaced dir /usr
 * Running kbuildsycoca to build global database ...                                               [ ok ]
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
 * Running kbuildsycoca to build global database ...                                               [ ok ]
>>> Regenerating /etc/ld.so.cache...
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

And of course, atlantik just gives still the same error:

libtool: link: cannot find the library `/usr/lib/libkdnssd.la'
make[3]: *** [atlantik] Error 1
make[3]: Leaving directory `/var/tmp/portage/kde-base/atlantik-3.5.10/work/atlantik-3.5.10/atlantik/client'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kde-base/atlantik-3.5.10/work/atlantik-3.5.10/atlantik'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-base/atlantik-3.5.10/work/atlantik-3.5.10'
make: *** [all] Error 2
 * 
 * ERROR: kde-base/atlantik-3.5.10 failed.
Comment 7 Rafał Mużyło 2009-06-27 16:36:47 UTC
Try something like:
find /usr/lib -name '*.la' -exec grep -H libkdnssd.la' '{}' \;

though it's strange lafilefixer doesn't find that file.
Comment 8 Albert Zeyer 2009-06-27 16:41:40 UTC
(In reply to comment #7)
> Try something like:
> find /usr/lib -name '*.la' -exec grep -H libkdnssd.la' '{}' \;
> 
> though it's strange lafilefixer doesn't find that file.
> 

az@acompneu ~ $ find /usr/lib -name '*.la' -exec grep -H libkdnssd.la '{}' \;
/usr/lib/kde3/libamarok_daap-mediadevice.la:dependency_libs=' -R/usr/lib -R/usr/kde/3.5/lib -R/usr/qt/3/lib -L/usr/kde/3.5/lib -L/usr/qt/3/lib /usr/lib/libamarok.la -L/usr/lib/mysql -L/usr/X11R6/lib -lmysqlclient /usr/lib/libmp4v2.la /usr/kde/3.5/lib/libkhtml.la /usr/kde/3.5/lib/libkjs.la /usr/lib/libpcreposix.la /usr/lib/libpcre.la -lbz2 /usr/kde/3.5/lib/libkdeprint.la /usr/kde/3.5/lib/libkparts.la /usr/kde/3.5/lib/libkutils.la /usr/kde/3.5/lib/libknewstuff.la /usr/lib/libtag.la /usr/lib/libGL.la /usr/lib/libtunepimp.la /usr/lib/libltdl.la /usr/lib/libcurl.la /usr/lib/libssh2.la /usr/lib/libldap.la /usr/lib/liblber.la /usr/lib/libsasl2.la -lrt -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err /usr/lib/libgnutls.la /usr/lib/libtasn1.la /usr/lib/libgcrypt.la /usr/lib/libgpg-error.la /usr/lib/libofa.la /usr/lib/libfftw3.la /usr/lib/libmusicbrainz.la /usr/lib/mysql/libmysqlclient.la -lcrypt -lnsl -lssl -lcrypto /usr/lib/libkdnssd.la /usr/lib/libavahi-qt3.la /usr/lib/libavahi-client.la /usr/lib/libdbus-1.la /usr/lib/libavahi-common.la /usr/kde/3.5/lib/libkio.la /usr/kde/3.5/lib/libkdeui.la /usr/kde/3.5/lib/libkdesu.la /usr/kde/3.5/lib/libkwalletclient.la /usr/kde/3.5/lib/libkdecore.la /usr/kde/3.5/lib/libDCOP.la -lresolv -lutil /usr/lib/libart_lgpl_2.la /usr/lib/libidn.la /usr/kde/3.5/lib/libkdefx.la /usr/qt/3/lib/libqt-mt.la -lmng -ljpeg -lpng -lXi -lXrender -lXrandr -lXcursor -lXft -lfreetype -lfontconfig -lXext -lX11 -lSM -lICE /usr/lib/libmng.la /usr/lib/libjpeg.la /usr/lib/libpng.la /usr/lib/libXi.la /usr/lib/libXrender.la /usr/lib/libXrandr.la /usr/lib/libXcursor.la /usr/lib/libXft.la /usr/lib/libfreetype.la /usr/lib/libfontconfig.la /usr/lib/libXext.la /usr/lib/libX11.la /usr/lib/libSM.la /usr/lib/libICE.la /usr/lib/liblcms.la /usr/lib/libXfixes.la /usr/lib/libxml2.la /usr/lib/libexpat.la /usr/lib/libxcb-xlib.la /usr/lib/libxcb.la /usr/lib/libXau.la /usr/lib/libXdmcp.la -ldl -lz /usr/lib/libfam.la -lpthread /usr/lib/libacl.la /usr/lib/libattr.la'
find: `/usr/lib/mozilla/extensions': Permission denied

Btw., why not just fixing atlantik that it uses the correct /usr/kde/3.5 prefix?

Perhaps I also want to install KDE 4.* at the same time. It really should use the prefix.
Comment 9 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2009-06-27 16:46:53 UTC
atlantik is prefixed in /usr/kde/3.5, as all kde-base/*3.5* ebuilds are. You were right about kdnssd-avahi, i forgot that i changed its prefix as well. I really don't know why atlantik is searching in wrong prefix. Maybe another KDE person has a better idea
Comment 10 Albert Zeyer 2009-06-27 16:49:41 UTC
Perhaps this helps somehow: I am not doing the compiling within KDE. I am doing it via SSH from somewhere else. So I don't have any KDE env (whereby the ebuild should also not rely on that).
Comment 11 Jonathan Callen (RETIRED) gentoo-dev 2009-06-27 22:06:58 UTC
As lafilefixer didn't work, try first `lafilefixer /usr/kde/3.5/lib`, and, if that doesn't work, try re-emerging libkdegames
Comment 12 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-06-29 17:39:51 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > try to rebuild kdnssd-avahi then. It works here btw
> 
> Why? Seems that everything is correct with kdnssd-avahi. Seems to make sense to
> me that the file is /usr/kde/3.5/lib/libkdnssd.la and not in
> /usr/lib/libkdnssd.la.
...
> And of course, atlantik just gives still the same error:
> 
> libtool: link: cannot find the library `/usr/lib/libkdnssd.la'
> make[3]: *** [atlantik] Error 1

The problem is not with atlantik itself, but with one of the la files that it's linking with. You'll want to grep your lib dirs for a file la file having "/usr/kde/3.5/lib/libkdnssd.la". Try something like:

$ find /usr/lib/ -name *.la -exec grep -H /usr/lib/libkdnssd.la "{}" \;
Comment 13 Mike Nerone 2009-10-02 04:20:00 UTC
I had the same error emerging kpat. Found the offending la entry in /usr/kde/3.5/lib/libkdegames.la. Remerging libkdegames corrected the issue. This was during an emerge -e world on a machine that hadn't been updated (or even turn on) in eight months. libkdegames had actually been recompiled seven hours earlier in the process, but *before* kde-misc/kdnssd-avahi. My guess is that at the time kdnssd was indeed in /usr/lib. Perhaps libekdegames should dep on kdnssd-avahi so they're built in the right order? I dunno. :|
Comment 14 Samuli Suominen (RETIRED) gentoo-dev 2009-10-20 19:16:05 UTC
(In reply to comment #11)
> As lafilefixer didn't work, try first `lafilefixer /usr/kde/3.5/lib`, and, if
> that doesn't work, try re-emerging libkdegames
> 

As said.