Bug 296137 - ktp-text-ui fails build with boost-1.48
Summary: ktp-text-ui fails build with boost-1.48
Status: RESOLVED UPSTREAM
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: text-ui (show other bugs)
Version: git-latest
Platform: unspecified Linux
: NOR normal
Target Milestone: Future
Assignee: Telepathy Bugs
URL: https://bugs.gentoo.org/show_bug.cgi?...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-16 10:56 UTC by Johannes Huber
Modified: 2012-07-17 08:31 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Huber 2012-03-16 10:56:17 UTC
Reported downstream. Build log is:

Generating moc_log-viewer.cpp
Generating moc_chat-search-bar.cpp                                                                                          
Generating moc_adium-theme-view.cpp                                                                                         
Generating moc_telepathy-text-observer.cpp                                                                                  
[  0%] Built target ktpchat_automoc                                                                                         
[  1%] Generating ui_chat-widget.h
Generating moc_entity-model.cpp                                                                                             
Scanning dependencies of target ktpchat                                                                                     
Generating moc_conversation-que-manager.cpp                                                                                 
[  1%] Built target ktpchatqmlplugin_automoc                                                                                
usr/include/boost-1_48/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN"
automoc4: process for /chroot/local/portage/net-im/ktp-text-ui-9999/work/ktp-text-ui-9999_build/logviewer/moc_entity-model.cpp failed: Unknown error
pid to wait for: 0
returning failed..
make[2]: *** [logviewer/CMakeFiles/ktp-log-viewer_automoc] Error 1
make[1]: *** [logviewer/CMakeFiles/ktp-log-viewer_automoc.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  3%] [  5%] [  7%] [  9%] Building CXX object lib/CMakeFiles/ktpchat.dir/ktpchat_automoc.o
Building CXX object lib/CMakeFiles/ktpchat.dir/chat-widget.o                                                                
Building CXX object lib/CMakeFiles/ktpchat.dir/chat-window-style.o                                                          
Building CXX object lib/CMakeFiles/ktpchat.dir/chat-window-style-manager.o                                                  
[ 11%] Building CXX object lib/CMakeFiles/ktpchat.dir/adium-theme-view.o                                                    
[ 13%] Building CXX object lib/CMakeFiles/ktpchat.dir/adium-theme-header-info.o                                             
[ 15%] Building CXX object lib/CMakeFiles/ktpchat.dir/adium-theme-message-info.o                                            
[ 17%] Building CXX object lib/CMakeFiles/ktpchat.dir/adium-theme-content-info.o                                            
[ 19%] [ 21%] Building CXX object lib/CMakeFiles/ktpchat.dir/adium-theme-status-info.o                                      
Building CXX object lib/CMakeFiles/ktpchat.dir/channel-contact-model.o                                                      
[ 23%] Building CXX object lib/CMakeFiles/ktpchat.dir/chat-style-plist-file-reader.o                                        
[ 25%] Building CXX object lib/CMakeFiles/ktpchat.dir/chat-text-edit.o                                                      
[ 26%] Building CXX object lib/CMakeFiles/ktpchat.dir/chat-search-bar.o                                                     
[ 28%] Building CXX object lib/CMakeFiles/ktpchat.dir/logmanager.o                                                          
[ 30%] Building CXX object lib/CMakeFiles/ktpchat.dir/message.o                                                             
[ 32%] Building CXX object lib/CMakeFiles/ktpchat.dir/message-processor.o                                                   
[ 34%] Building CXX object lib/CMakeFiles/ktpchat.dir/url-filter.o                                                          
[ 36%] Building CXX object lib/CMakeFiles/ktpchat.dir/emoticon-filter.o                                                     
[ 38%] Building CXX object lib/CMakeFiles/ktpchat.dir/escape-filter.o                                                       
Linking CXX shared library libktpchat.so                                                                                    
[ 38%] Built target ktpchat                                                                                                 
make: *** [all] Error 2
 * ERROR: net-im/ktp-text-ui-9999 failed (compile phase):
Comment 1 George Kiagiadakis 2012-03-24 19:08:22 UTC
This is a known Qt (moc) bug [1] that is triggered in the text-ui because some weird boost headers that moc can't understand are included through tp-logger-qt -> qt-glib. There is a workaround in qt-gstreamer master [2]. A release is pending (bug me if I don't release it soon!).

PS: another solution would be to also apply this hack to the text-ui or tp-logger-qt sources....

[1]. https://bugreports.qt-project.org/browse/QTBUG-22829
[2]. http://cgit.freedesktop.org/gstreamer/qt-gstreamer/commit/?id=2cc5399d70d4d6caf8d05df9ca51f5448d545b67