By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 1727 - Build issue: kdebase-3.5.13.2 FTBFS: cannot find -ldbus-tqt-1
Summary: Build issue: kdebase-3.5.13.2 FTBFS: cannot find -ldbus-tqt-1
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdebase (show other bugs)
Version: 3.5.13.2 [Trinity]
Hardware: Other Linux
: P5 normal
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2013-11-22 16:25 CST by Darrell
Modified: 2013-12-08 20:14 CST (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darrell 2013-11-22 16:25:10 CST
I'm trying to build kdebase-3.5.13.2 to support comparative debugging against R14. I tried building kdebase on Slackware 14.0, which does not have HAL. I tried on Slackware 13.1, which does have HAL. I ensured WITH_HAL was correct for each environment and the CMakeCache.txt verifies the correct setting.

Seems this problem has arisen before in bug 1132.

Here is the end of the build log (NUMJOBS=-j1):

[ 60%] Building CXX object kicker/kicker/CMakeFiles/kdeinit_kicker-shared.dir/dummy.cpp.o
cd /dev/shm/kdebase-trinity-3.5.13.2.build/kicker/kicker && /usr/bin/c++   -Dkdeinit_kicker_shared_EXPORTS -DHAVE_CONFIG_H -O2 -march=i486 -mtune=i686 -ggdb  -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -I/opt/trinity/lib/qt3-3.5.13.2/include -I/usr/include/tqt -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/dev/shm/kdebase-trinity-3.5.13.2/libkonq -I/opt/trinity/include -I/opt/trinity/lib/qt3-3.5.13.2/include -I/usr/include/tqt   -o CMakeFiles/kdeinit_kicker-shared.dir/dummy.cpp.o -c /dev/shm/kdebase-trinity-3.5.13.2.build/kicker/kicker/dummy.cpp
Linking CXX shared library libkdeinit_kicker.so
cd /dev/shm/kdebase-trinity-3.5.13.2.build/kicker/kicker && /usr/bin/cmake -E cmake_link_script CMakeFiles/kdeinit_kicker-shared.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC -O2 -march=i486 -mtune=i686 -ggdb  -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -I/opt/trinity/lib/qt3-3.5.13.2/include -I/usr/include/tqt -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -Wl,--no-undefined -shared -Wl,-soname,libkdeinit_kicker.so -o libkdeinit_kicker.so CMakeFiles/kdeinit_kicker-shared.dir/dummy.cpp.o -L/opt/trinity/lib/qt3-3.5.13.2/lib -Wl,-whole-archive core/libkicker_core.a -Wl,-no-whole-archive buttons/libkicker_buttons.a ui/libkicker_ui.a ../libkicker/libkickermain.so.1.0.0 /opt/trinity/lib/libkabc.so.1.2.0 /opt/trinity/lib/libkutils.so.1.2.0 ../../libkonq/libkonq.so.4.2.0 ../../kdmlib/libdmctl.a -lXau interfaces/libkickoffsearch_interfaces.so.0.0.0 -ldbus-tqt-1 -ldbus-1 -lpthread -lrt -lhal /opt/trinity/lib/libvcard.so.0.0.0 /opt/trinity/lib/libkresources.so.1.2.0 /opt/trinity/lib/libkparts.so.2.1.0 /opt/trinity/lib/libkio.so.4.2.0 /opt/trinity/lib/libkdeui.so.4.2.0 -lfreetype -lfontconfig /opt/trinity/lib/libkdesu.so.4.2.0 -lutil /opt/trinity/lib/libkwalletclient.so.1.0.1 /opt/trinity/lib/libkdecore.so.4.2.0 /opt/trinity/lib/libDCOP.so.4.2.0 /opt/trinity/lib/libkdefx.so.4.2.0 -ltqt -lqt-mt -lXrender -lX11 -lz -lidn -lXcomposite -lXfixes -lICE -lSM -lacl -Wl,-rpath,/opt/trinity/lib/qt3-3.5.13.2/lib:/dev/shm/kdebase-trinity-3.5.13.2.build/kicker/libkicker:/opt/trinity/lib:/dev/shm/kdebase-trinity-3.5.13.2.build/libkonq:/dev/shm/kdebase-trinity-3.5.13.2.build/kicker/kicker/interfaces:
/usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld: cannot find -ldbus-tqt-1
collect2: error: ld returned 1 exit status
make[2]: *** [kicker/kicker/libkdeinit_kicker.so] Error 1
make[2]: Leaving directory `/dev/shm/kdebase-trinity-3.5.13.2.build'
make[1]: *** [kicker/kicker/CMakeFiles/kdeinit_kicker-shared.dir/all] Error 2
make: *** [all] Error 2
make[1]: Leaving directory `/dev/shm/kdebase-trinity-3.5.13.2.build'
Comment 1 Darrell 2013-11-22 17:13:01 CST
The following packages are built and installed:

qt3-trinity-3.5.13.2
tqtinterface-trinity-3.5.13.2
dbus-tqt-trinity-3.5.13.2
dbus-1-tqt-trinity-3.5.13.2
arts-trinity-3.5.13.2
kdelibs-trinity-3.5.13.2
Comment 2 Darrell 2013-11-23 08:35:43 CST
The following files are installed:

/opt/trinity/lib/libdbus-tqt-1.so.0
/opt/trinity/lib/libdbus-tqt-1.so
/opt/trinity/lib/libdbus-tqt-1.la
/opt/trinity/lib/libdbus-tqt-1.so.0.0.0
Comment 3 Michele Calgaro 2013-11-26 00:00:58 CST
(In reply to comment #2)
> The following files are installed:
> 
> /opt/trinity/lib/libdbus-tqt-1.so.0
> /opt/trinity/lib/libdbus-tqt-1.so
> /opt/trinity/lib/libdbus-tqt-1.la
> /opt/trinity/lib/libdbus-tqt-1.so.0.0.0

Hi Darrell,
on my system (Debian/Jessie, TDE R14) those files are installed in /usr/lib, not in /opt/trinity/lib.
Try to check either the install location on a live image of 3.5.13.2 or the library path in the building script
Comment 4 Darrell 2013-11-26 01:17:00 CST
You are a genius. That was the problem!

In my old 3.5 build scripts I built dbus-tqt and dbus-1-tqt to install to /usr (and tqtinterface), although other packages were built to install to /opt/trinity. I still had those lines in the old 3.5.x build scripts, but had  commented them out, likely as I transitioned the build scripts to R14. Eventually I abandoned those older 3.5.x build scripts and haven't touched them in a long while.

I rebuilt both dbus-tqt and dbus-1-tqt to install to /usr and kdebase built without failure. :-)