Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177109 - kde-base/ksysguard-3.5.6-r1 compile fails
Summary: kde-base/ksysguard-3.5.6-r1 compile fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-05 01:16 UTC by Alejandro Wainzinger
Modified: 2007-05-06 11:02 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 Alejandro Wainzinger 2007-05-05 01:16:29 UTC
It appears that kdnssd does not pull in kdnssd-avahi as a build dependency, which leads to libkdnssd.so not being found and the build failing.

Reproducible: Always

Steps to Reproduce:
1.emerge kdnssd w/o kdnssd-avahi
2.
3.

Actual Results:  
-o ksysguard -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64    -R /usr/kde/3.5/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64 SensorBrowser.o WorkSheet.o WorkSheetSettings.o Workspace.o ksysguard.o ksysguard_skel.o ksgrd/libksgrd.la SensorDisplayLib/libsensordisplays.la -lkdeui -lkio -lkdnssd
x86_64-pc-linux-gnu-g++: /usr/lib64/libkdnssd.so: No such file or directory
make[4]: *** [ksysguard] Error 1
make[4]: Leaving directory `/var/tmp/portage/kde-base/ksysguard-3.5.6-r1/work/ksysguard-3.5.6/ksysguard/gui'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kde-base/ksysguard-3.5.6-r1/work/ksysguard-3.5.6/ksysguard/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kde-base/ksysguard-3.5.6-r1/work/ksysguard-3.5.6/ksysguard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-base/ksysguard-3.5.6-r1/work/ksysguard-3.5.6'
make: *** [all] Error 2

!!! ERROR: kde-base/ksysguard-3.5.6-r1 failed.


Portage 2.1.2.5 (default-linux/amd64/2006.1/desktop, gcc-3.4.6, glibc-2.5-r2, 2.6.17-ck1-r2 x86_64)
=================================================================
System uname: 2.6.17-ck1-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Gentoo Base System release 1.12.10
Timestamp of tree: Fri, 04 May 2007 19:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r7
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
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.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /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/env.d/java/ /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.osuosl.org/ ftp://gentoo.ccccom.com http://gentoo.ccccom.com http://mirrors. tds.net/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en ja zh_TW zh_CN ko"
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl alsa amd64 anthy apache2 asf audiofile avahi avi batch berkdb bidi bitmap-fonts cairo cdr cjk cli cracklib crypt cups dbus divx4linux dri dts dvd dvdr dvdread eds emboss encode esd faad fam ffmpeg firefox flac foomaticdb fortran freetype ftp gdbm gif gimpprint gnutls gpm gstreamer gtk gtk2 gtkhtml hal httpd iconv imagemagick immqt-bc ipod ipv6 isdnlog ivman jack java jce jpeg kde kerberos kqemu lame latex lcms ldap libclamav libg++ live mad matroska midi mikmod mime mng mozilla mozsvg mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin oav offensive ogg opengl oss pam pcre pdf perl png ppds pppd python qt qt3 qt4 quicktime readline reflection samba sdl session speex spell spl ssl stream svg tcltk tcpd theora threads truetype truetype-fonts type1-fonts unicode usb utempter v41 vcd videos visualization vlm vorbis wmf wxwindows xchatdccserver xchattext xine xml xorg xosd xprint xv xvid yp zeroconf zlib" ALSA_CARDS="emu10k1x atiixp" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ja zh_TW zh_CN ko" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2007-05-05 10:31:15 UTC
WHIch kdelibs revision do you have installed? Don't tell me you patched out the mDNSResponder dependency in the latest revision.
Comment 2 Alejandro Wainzinger 2007-05-05 18:50:54 UTC
(In reply to comment #1)
> WHIch kdelibs revision do you have installed? Don't tell me you patched out the
> mDNSResponder dependency in the latest revision.
> 

kdelibs-3.5.6-r7.  No patching done.  I got around the problem by emerging kdnssd-avahi manually first, then all was well since the required file was in that package.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2007-05-06 11:02:57 UTC
See, when you installed kdelibs with USE=avahi, kdnssd-avahi is a post dependency of kdelibs. If you didn't, you should have mDNSResponder installed and kdelibs installed libkdnssd.so. The only way I can imagine you bypassed that is using the workaround mentioned by Zac in bug 176765#c4. And building with --nodeps Portage really doesn't care about any dependencies. And as I just see that you've reported this bug as well, I'm asssuming this has been your problem.