Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166550 - kde-base/{krdc,krfb} need kdelibs built with zeroconf support
Summary: kde-base/{krdc,krfb} need kdelibs built with zeroconf support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 175984
  Show dependency tree
 
Reported: 2007-02-12 19:32 UTC by Gustavo Zacarias (RETIRED)
Modified: 2007-04-27 21:11 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 Gustavo Zacarias (RETIRED) gentoo-dev 2007-02-12 19:32:21 UTC
Seems krfb needs kdnssd as a dep, when emerging kde-meta-3.5.6 and reaching krfb-3.5.6 (new install) i get:

/usr/kde/3.5/bin/dcopidl2cpp --c++-suffix cpp --no-signals --no-stub kinetd.kidl
/bin/sh ../../libtool --silent --tag=CXX --mode=compile sparc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../krfb/srvloc -I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -mcpu=ultrasparc3 -mtune=ultrasparc3 -mvis -Wa,-Av8plusa -O2 -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 kinetd_skel.lo kinetd_skel.cpp
kinetd.cpp: In member function 'void PortListener::accepted(KSocket*)':
kinetd.cpp:206: warning: 'peerAddress' is deprecated (declared at /usr/kde/3.5/include/kextsock.h:986)
kinetd.cpp:211: warning: 'resolve' is deprecated (declared at /usr/kde/3.5/include/kextsock.h:947) 
kinetd.cpp:213: warning: 'event' is deprecated (declared at /usr/kde/3.5/include/knotifyclient.h:188)
kinetd.cpp:231: warning: 'event' is deprecated (declared at /usr/kde/3.5/include/knotifyclient.h:188)
/bin/sh ../../libtool --silent --tag=CXX --mode=link sparc-unknown-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -mcpu=ultrasparc3 -mtune=ultrasparc3 -mvis -Wa,-Av8plusa -O2 -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    -o kded_kinetd.la -rpath /usr/kde/3.5/lib/kde3 -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib    -module -avoid-version kinetd.lo kinetd_skel.lo ../srvloc/libsrvloc.la -lkio -lkdnssd
/usr/lib/gcc/sparc-unknown-linux-gnu/4.1.1/../../../../sparc-unknown-linux-gnu/bin/ld: cannot find -lkdnssd
collect2: ld returned 1 exit status
make[3]: *** [kded_kinetd.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kde-base/krfb-3.5.6/work/krfb-3.5.6/krfb/kinetd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kde-base/krfb-3.5.6/work/krfb-3.5.6/krfb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-base/krfb-3.5.6/work/krfb-3.5.6'
make: *** [all] Error 2
!!! ERROR: kde-base/krfb-3.5.6 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4892:   Called src_compile
  krfb-3.5.6.ebuild, line 20:   Called kde-meta_src_compile
  kde-meta.eclass, line 379:   Called kde_src_compile
  kde.eclass, line 170:   Called kde_src_compile 'all'
  kde.eclass, line 340:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 336:   Called die

!!! 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/krfb-3.5.6/temp/build.log'.

Also trying to build kdnssd seems it wants kdnssd too...

/bin/sh ../../libtool --silent --tag=CXX --mode=compile sparc-unknown-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 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -mcpu=ultrasparc3 -mtune=ultrasparc3 -mvis -Wa,-Av8plusa -O2 -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 dnssd.lo dnssd.cpp
/usr/kde/3.5/include/ksocketaddress.h: In member function 'KNetwork::KInetSocketAddress::operator const sockaddr_in*() const':
/usr/kde/3.5/include/ksocketaddress.h:716: warning: cast from 'const sockaddr*' to 'const sockaddr_in*' increases required alignment of target type
/usr/kde/3.5/include/ksocketaddress.h: In member function 'KNetwork::KInetSocketAddress::operator const sockaddr_in6*() const':
/usr/kde/3.5/include/ksocketaddress.h:722: warning: cast from 'const sockaddr*' to 'const sockaddr_in6*' increases required alignment of target type
/bin/sh ../../libtool --silent --tag=CXX --mode=link sparc-unknown-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -mcpu=ultrasparc3 -mtune=ultrasparc3 -mvis -Wa,-Av8plusa -O2 -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    -o kio_zeroconf.la -rpath /usr/kde/3.5/lib/kde3 -avoid-version -module -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib    -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib  dnssd.lo -lkdnssd -lkio
/usr/lib/gcc/sparc-unknown-linux-gnu/4.1.1/../../../../sparc-unknown-linux-gnu/bin/ld: cannot find -lkdnssd
collect2: ld returned 1 exit status
make[3]: *** [kio_zeroconf.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kde-base/kdnssd-3.5.6/work/kdnssd-3.5.6/kdnssd/ioslave'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kde-base/kdnssd-3.5.6/work/kdnssd-3.5.6/kdnssd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-base/kdnssd-3.5.6/work/kdnssd-3.5.6'
make: *** [all] Error 2
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-02-12 19:38:13 UTC
kdnssd library should be installed directly by kdelibs unless you enable the avahi useflag, in which case it is provided by kdnssd-avahi that is a PDEPEND of kdelibs itself.

Can you please provide your emerge --info ?
Comment 2 Gustavo Zacarias (RETIRED) gentoo-dev 2007-02-12 19:40:08 UTC
Didn't want to fill this up much, but hey, you want it, you have it ;-)

Portage 2.1.2-r9 (default-linux/sparc/sparc64/dev/gcc-4.1.1, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo sparc64)
=================================================================
System uname: 2.6.20-gentoo sparc64 sun4u
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 12 Feb 2007 11:29:01 +0000
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-mcpu=ultrasparc3 -mtune=ultrasparc3 -mvis -Wa,-Av8plusa -O2 -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-mcpu=ultrasparc3 -mtune=ultrasparc3 -mvis -Wa,-Av8plusa -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://int.gentoolabs.com.ar/ http://distfiles.gentoo.org/"
LC_ALL="en_US.utf8"
LINGUAS="en es es_AR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://int.gentoolabs.com.ar/gentoo-portage"
USE="7zip X X509 Xaw3d a52 aac aalib abook accessibility acl activefilter adns aim akode alsa amazon amr ansi ao apache2 ares arj arts artworkextra asf async athena atm audacious audiofile authlib autoipd avahi background bash-completion bcp berkdb bidi big-tables binfilter bitmap-fonts bittorrent bjam bl blas blender-game bluetooth bogofilter bonjour bonobo bookmarks boost branding buffysize buttons bzip2 bzlib cairo calendar canna canvas caps catalogs cdda cddb cdparanoia cdr cgi chardet chasen chipcard cjk clamav clearpasswd cli cluster contentcache contrarius corba cpudetection cracklib crypt cscope css cups curl cursors cvsgraph daap dba dbi dbus dga dhcp dillo disassembler divx djvu dlloader dnd dnsdb doc dri dtaus dts dv dvd dvdr dvdread dvi dxr3 eap-tls ecc editor edl eds effects emacs emboss enca encode enscript eolconv escreen esd etwin evo evolution examples exif exiscan exiscan-acl expat exscalibar extensions extraengine faad fam fame fastcgi fbcon ffmpeg fftw finger firefox fits flac flash fltk fontconfig foomaticdb fortran fping fpx freewnn ftp gadu gaim gajim gcc64 gcj gd gdbm gdm geldkarte geoip geometry geos ggi gif gimp gimpprint glade glep glib glsa glut gmail gmedia gml gmp gnokii gnome gnomecanvas gnomedb gnustep gnutls gopher gpgme gphoto2 gpm grammar graphviz groupwise gs gsl gssapi gstreamer gtk gtk2 gtkhtml gtkspell guile h323 hal hbci hesiod high-ints howl hpn httpd hub ical icecast icons iconv icq icu ide idea idl idle idn ieee1394 imagemagick imap imlib immqt inkjar innodb ipod iproute2 ipv6 irc irda irman irmc irssi isdn isdnlog jabber jack jack-tmpfs javamail javascript jbig jikes jms joystick jpeg jpeg2k jython kakasi kde kdm kerberos keyring kig-scripting kipi krb4 ladcca ladspa lame lapack largenet lash latex lcms ldap leim lesstif lha libcaca libg++ libgda libnotify libsamplerate libvisual libwww lingerd live lj lmtp lua lynxkeymap lzo m17n-lib mad maildir mailwrapper math matroska matrox mbox mbrola mbx md5sum meanwhile mecab memcache memlimit mhash midi migemo mikmod milter mime ming mjpeg mmap mng modperl motif mozbranding mozcalendar mozdevelop mozilla mozsvg mp3 mpeg mpeg4 mpi mplayer mpm-worker mppe-mppc msn mule multicall musepack musicbrainz mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nas nautilus ncurses neXt net netcdf netjack netpbm network new-login nextaw nfs nis nls nntp nptl nptlonly nsplugin numeric objc octave odbc odk ofa offensive ofx ogdi ogg oggvorbis openal openexr opengl oss overlays pam pango pccts pch pcre pda pdf perl php plotutils plugin plugins png pnp pop pop3d portaudio postgres povray ppds pppd prelude preview-latex pri print profile pulseaudio python qa qdbm qq qt qt3 qt4 quicktime quotes radius raptor rc5 rdesktop readline realmedia reflection restrict-javascript rhino rle rplay rrdcgi rrdtool rsh rss rtc rtsp ruby samba sametime sasl scanner screen sdl seamless-hbars search serial server session sftplogging sharedmem shout sid silc silverxp skey skins slang slp smartcard smime sms sndfile snmp socks5 sound source sox spamassassin sparc speex spell spf spl sqlite sqlite3 srs srv ssl startup-notification stream stroke subtitles subversion svg sylpheed syslog szip t1lib tabs tagwriting tao tcl tcltk tcpd test tetex tga theora thesaurus threads thunar-vfs thunderbird tidy tiff timidity tk tokenizer toolbar tools translator trayicon truetype truetype-fonts twolame type1-fonts ucs4 udev uim unicode upnp ups usb utempter utf8 uudeview v12 v4l vcd vdr vidix vim-pager vis visualization vlm vorbis vpopmail wavpack webdav wma wmf wmp wordperfect wxwindows x264 xanim xattr xchat xcomposite xface xhtml xine xinerama xml xmpi xorg xosd xpm xprint xrandr xscreensaver xsl xtended xv xvid yahoo yaz yp zeroconf zip zlib" ALSA_CARDS="ens1370 ens1371 sun-cs4231" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es es_AR" USERLAND="GNU" VIDEO_CARDS="dummy fbdev glint mach64 mga r128 radeon sunffb tdfx voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Gustavo Zacarias (RETIRED) gentoo-dev 2007-02-12 19:44:59 UTC
If i try re-emerge kdelibs it will try to emerge kde-misc/kdnssd-avahi, either a previous portage-2.1.2-r? had a bug or 2.1.2-r9 still has one.
Comment 4 Ramon Klass 2007-03-01 17:37:03 UTC
I encountered this bug aswell, it happens when you do a fresh install with avahi useflag set from the beginning. And it's not krfb specific, lots of packages break with the same -lkdnssd message.

I haven't resolved the dependencies fully, but I can say for sure that nothing depends on kdnssd-avahi (masked it and emerge -pv kde-meta doesn't complain about missing dependencies) and as soon as I emerge -1 ed kdnssd-avahi, all the -lknssd not found errors vanished. So, probably the avahi useflag doesn't pull in the deps properly
Comment 5 Ramon Klass 2007-03-01 17:39:27 UTC
(In reply to comment #4)
> [...]-lknssd not found errors vanished.[...]
of course this is a typo and should be -lkdnssd
Comment 6 Raphael Borg Ellul Vincenti 2007-04-03 07:28:18 UTC
I experienced the same problem Ramon had.

I also had the avahi useflag set and was doing a fresh emerge. After emerging kdnssd-avahi everything worked fine.
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-25 15:57:56 UTC
Also includes matter, did not look if avahi provides the necessary ones, yet. Ugly.
Comment 8 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-27 21:11:07 UTC
Fixed with kdelibs-3.5.6-r7.