Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179473 - kde split ebuilds: ksysguard should dep on kdnssd
Summary: kde split ebuilds: ksysguard should dep on kdnssd
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-23 00:39 UTC by Hanno Böck
Modified: 2009-05-16 18:46 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 Hanno Böck gentoo-dev 2007-05-23 00:39:39 UTC
Compile error:

/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 -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium-m -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION   -Wl,-O1 -Wl,--as-needed -o ksysguard -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib    -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib ksysguard.all_cc.o  ksgrd/libksgrd.la SensorDisplayLib/libsensordisplays.la -lkdeui -lkio -lkdnssd
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lkdnssd

Seems that ksysguard needs kdnssd as a dep.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2007-05-23 11:27:11 UTC
The kdnssd lib is part of kdelibs, when you build without avahi and otherwise kde-misc/kdnssd-avahi is a PDEPEND of kdelibs. Such a problem e.g. can show up, when you build with --nodeps.
Comment 2 Ihar Hrachyshka 2009-05-16 18:45:22 UTC
I get the same error for ksysguard-3.5.9:

/bin/sh ../../libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2  -O2 -march=native -pipe -Wformat-security -Wmissing-format-attribute  -Wl,-O1 -o kpm  kpm.o  
/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 -O2 -march=native -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 sysguard_panelapplet.la -rpath /usr/kde/3.5/lib64/kde3 -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.5/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64  -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64    KSysGuardApplet.lo KSGAppletSettings.lo ksgrd/libksgrd.la SensorDisplayLib/libsensordisplays.la -lkdeui -lkio 
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./ksgrd -I./SensorDisplayLib -I../../ksysguard/gui/SensorDisplayLib -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=native -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 ksysguard_skel.o ksysguard_skel.cc
In file included from ./ksysguard.h:33,
                 from ksysguard_skel.cc:9:
/usr/kde/3.5/include/dnssd/servicebrowser.h:172: warning: type qualifiers ignored on function return type
/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 -O2 -march=native -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 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 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lkdnssd
collect2: ld returned 1 exit status
make[4]: *** [ksysguard] Error 1

Seems that kdelibs hasn't fetched kdnssd-avahi through deps though if I rebuild it then it's fetched. I didn't use '--deps' when building kdelibs (it was built as a dependency for kdebase-meta). So I request reopening of the bug.
Comment 3 Ihar Hrachyshka 2009-05-16 18:46:38 UTC
Of course I meant I haven't used '--nodeps' not '--deps'.