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 1181 - Build issue: tdebase FTBFS with BUILD_TSAK=on on RHEL6
Summary: Build issue: tdebase FTBFS with BUILD_TSAK=on on RHEL6
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdebase (show other bugs)
Version: 3.5.13 [Trinity]
Hardware: All Linux
: P5 major
Assignee: Francois Andriot
URL:
Depends on:
Blocks:
 
Reported: 2012-08-20 13:13 CDT by Francois Andriot
Modified: 2012-10-19 15:56 CDT (History)
3 users (show)

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


Attachments
Fix tsak FTBFS on RHEL6 (315 bytes, patch)
2012-08-20 17:17 CDT, Francois Andriot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Andriot 2012-08-20 13:13:21 CDT
The following FTBFS happens in RHEL6 only, when building tdebase 3.5.13 (stock or -sru):
(Does not happen on Fedora, not on MGA/MDV)

$ /usr/lib/ccache/c++   -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables   -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h   CMakeFiles/tsak.dir/main.cpp.o  -o tsak -rdynamic -L/opt/trinity/lib -L/usr/lib/qt-3.3/lib -ludev -Wl,-rpath,/opt/trinity/lib:/usr/lib/qt-3.3/lib:        
CMakeFiles/tsak.dir/main.cpp.o: In function `main':
/home/albator/rpmbuild/BUILD/BUILD.el6.i386/kdebase/tsak/main.cpp:647: undefined reference to `udev_new()'
/home/albator/rpmbuild/BUILD/BUILD.el6.i386/kdebase/tsak/main.cpp:654: undefined reference to `udev_monitor_new_from_netlink(udev*, char const*)'
/home/albator/rpmbuild/BUILD/BUILD.el6.i386/kdebase/tsak/main.cpp:655: undefined reference to `udev_monitor_filter_add_match_subsystem_devtype(udev_monitor*, char const*, char const*)'
/home/albator/rpmbuild/BUILD/BUILD.el6.i386/kdebase/tsak/main.cpp:656: undefined reference to `udev_monitor_enable_receiving(udev_monitor*)'
/home/albator/rpmbuild/BUILD/BUILD.el6.i386/kdebase/tsak/main.cpp:660: undefined reference to `udev_monitor_receive_device(udev_monitor*)'
/home/albator/rpmbuild/BUILD/BUILD.el6.i386/kdebase/tsak/main.cpp:663: undefined reference to `udev_device_get_action(udev_device*)'
/home/albator/rpmbuild/BUILD/BUILD.el6.i386/kdebase/tsak/main.cpp:664: undefined reference to `udev_device_unref(udev_device*)'
/home/albator/rpmbuild/BUILD/BUILD.el6.i386/kdebase/tsak/main.cpp:665: undefined reference to `udev_unref(udev*)'
/home/albator/rpmbuild/BUILD/BUILD.el6.i386/kdebase/tsak/main.cpp:670: undefined reference to `udev_device_get_devnode(udev_device*)'
/home/albator/rpmbuild/BUILD/BUILD.el6.i386/kdebase/tsak/main.cpp:671: undefined reference to `udev_device_unref(udev_device*)'
/home/albator/rpmbuild/BUILD/BUILD.el6.i386/kdebase/tsak/main.cpp:695: undefined reference to `udev_unref(udev*)'
collect2: ld returned 1 exit status

Udev development files are present (/usr/include/libudev.h , /usr/lib/libudev.so)

Adding "-shared" to the command line allow to build.
Comment 1 Francois Andriot 2012-08-20 17:17:54 CDT
Created attachment 793 [details]
Fix tsak FTBFS on RHEL6
Comment 2 Slávek Banko 2012-08-22 15:14:49 CDT
Fixed in GIT hash 1b022527