Status: New Owner: ---- Labels: Type-Defect Priority-Medium Component-ibus-qt
New issue 853 by lidaobing: [ibus-qt] build failed with binutils-gold (with patch)
http://code.google.com/p/ibus/issues/detail?id=853 from: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554862 patch: --- ibus-qt-1.3.0.orig/CMakeLists.txt +++ ibus-qt-1.3.0/CMakeLists.txt @@ -67,7 +67,7 @@ configure_file(docs/Doxyfile.in docs/Dox find_package(X11 REQUIRED) # check qt -find_package(Qt4 4.5 COMPONENTS QtCore QtGui QtDBus REQUIRED) +find_package(Qt4 4.5 COMPONENTS QtCore QtGui QtDBus QtXml REQUIRED) include(${QT_USE_FILE}) # check dbus --- ibus-qt-1.3.0.orig/src/CMakeLists.txt +++ ibus-qt-1.3.0/src/CMakeLists.txt @@ -93,8 +93,10 @@ target_link_libraries( ibus-qt debug ${QT_QTCORE_LIBRARY_DEBUG} debug ${QT_QTDBUS_LIBRARY_DEBUG} + debug ${QT_QTXML_LIBRARY_DEBUG} optimized ${QT_QTCORE_LIBRARY_RELEASE} optimized ${QT_QTDBUS_LIBRARY_RELEASE} + optimized ${QT_QTXML_LIBRARY_RELEASE} ${DBUS_LIBRARIES} ) more info: Tried to build your package and it fails to build with GNU binutils-gold. The important difference is that --no-add-needed is the default behavior of of GNU binutils-gold. Please provide all needed libraries to the linker when building your executables. More informations can be found at http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11- 02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking Linking CXX executable ibus-test cd /home/peter/rebuild/build/ibus-qt/ibus-qt-1.2.0.20091014/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/ibus-test.dir/link.txt -- verbose=1 /usr/bin/c++ -g -O2 CMakeFiles/ibus-test.dir/ibus.o -o ibus-test - rdynamic libibus-qt.so.1.2.0 -lQtCore -lQtDBus -ldbus-1 -lpthread -lrt /usr/bin/ld: libibus-qt.so.1.2.0: error: undefined reference to 'QDomNode::nodeName() const' /usr/bin/ld: libibus-qt.so.1.2.0: error: undefined reference to 'QDomNode::firstChild() const' /usr/bin/ld: libibus-qt.so.1.2.0: error: undefined reference to 'QDomNode::toElement() const' /usr/bin/ld: libibus-qt.so.1.2.0: error: undefined reference to 'QDomElement::text() const' /usr/bin/ld: libibus-qt.so.1.2.0: error: undefined reference to 'QDomNode::~QDomNode()' /usr/bin/ld: libibus-qt.so.1.2.0: error: undefined reference to 'QDomNode::nextSibling() const' /usr/bin/ld: libibus-qt.so.1.2.0: error: undefined reference to 'QDomNode::operator=(QDomNode const&)' /usr/bin/ld: libibus-qt.so.1.2.0: error: undefined reference to 'QDomNode::~QDomNode()' /usr/bin/ld: libibus-qt.so.1.2.0: error: undefined reference to 'QDomNode::isNull() const' /usr/bin/ld: libibus-qt.so.1.2.0: error: undefined reference to 'QDomNode::hasAttributes() const' /usr/bin/ld: libibus-qt.so.1.2.0: error: undefined reference to 'QDomNode::attributes() const' /usr/bin/ld: libibus-qt.so.1.2.0: error: undefined reference to 'QDomNamedNodeMap::length() const' /usr/bin/ld: libibus-qt.so.1.2.0: error: undefined reference to 'QDomNamedNodeMap::item(int) const' /usr/bin/ld: libibus-qt.so.1.2.0: error: undefined reference to 'QDomNamedNodeMap::~QDomNamedNodeMap()' collect2: ld returned 1 exit status make[3]: *** [src/ibus-test] Error 1 ibus-qt 1.3.0 still has this bus. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups "ibus-devel" group. iBus project web page: http://code.google.com/p/ibus/ iBus dev group: http://groups.google.com/group/ibus-devel?hl=en To unsubscribe, reply using "remove me" as the subject.
