Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-28909

Cross build fails to build qttools even with -nomake tools given in configure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.0.0
    • Fix Version/s: 5.1.0 Beta 1
    • Component/s: Build System
    • Labels:
      None
    • Environment:
      Linux ubuntu 3.2.0-23-generic-pae #36-Ubuntu SMP Tue Apr 10 22:19:09 UTC 2012 i686 i686 i386 GNU/Linux
    • Commits:
      base:fda41c185779dc22a8841509806707776231b6af,tools:a6c401987d01a44ab9a5507f177d756fefaa58d4

      Description

      Cross build for Beagleboard-xM on Ubuntu 12.04 LTS host fails with the following output:

      [...]
      make[5]: Entering directory `/home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools/src/designer/src/lib'
      /home/user/qt-everywhere-opensource-src-5.0.0/qtbase/bin/qmake -o Makefile lib.pro
      Project MESSAGE: /home/user/qt-everywhere-opensource-src-5.0.0/qtbase/bin/syncqt -module QtDesigner -mkspecsdir /home/user/qt-everywhere-opensource-src-5.0.0/qtbase/mkspecs -outdir /home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools /home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools
      <srcbase> = /home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools
      <outbase> = /home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools
      make[5]: Leaving directory `/home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools/src/designer/src/lib'
      make[5]: Entering directory `/home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools/src/designer/src/lib'
      make[5]: Nothing to be done for `first'.
      make[5]: Leaving directory `/home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools/src/designer/src/lib'
      cd components/ && ( test -f Makefile || /home/user/qt-everywhere-opensource-src-5.0.0/qtbase/bin/qmake /home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools/src/designer/src/components/components.pro -o Makefile ) && make -f Makefile
      make[5]: Entering directory `/home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools/src/designer/src/components'
      cd lib/ && ( test -f Makefile || /home/user/qt-everywhere-opensource-src-5.0.0/qtbase/bin/qmake /home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools/src/designer/src/components/lib/lib.pro -o Makefile ) && make -f Makefile
      make[6]: Entering directory `/home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools/src/designer/src/components/lib'
      /home/user/qt-everywhere-opensource-src-5.0.0/qtbase/bin/qmake -o Makefile lib.pro
      Project MESSAGE: /home/user/qt-everywhere-opensource-src-5.0.0/qtbase/bin/syncqt -module QtDesignerComponents -mkspecsdir /home/user/qt-everywhere-opensource-src-5.0.0/qtbase/mkspecs -outdir /home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools /home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools
      <srcbase> = /home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools
      <outbase> = /home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools
      make[6]: Leaving directory `/home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools/src/designer/src/components/lib'
      make[6]: Entering directory `/home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools/src/designer/src/components/lib'
      rm -f libQt5DesignerComponents.so.5.0.0 libQt5DesignerComponents.so libQt5DesignerComponents.so.5 libQt5DesignerComponents.so.5.0
      arm-linux-gnueabihf-g++ -sysroot=/home/user/target_root -Wl,-no-undefined -Wl,-rpath,/usr/local/Qt-5.0.0/lib -shared -Wl,-Bsymbolic-functions -Wl,-soname,libQt5DesignerComponents.so.5 -o libQt5DesignerComponents.so.5.0.0 .obj/debug-shared/qdesigner_components.o .obj/debug-shared/qtpropertybrowser.o .obj/debug-shared/qtpropertymanager.o .obj/debug-shared/qteditorfactory.o .obj/debug-shared/qtvariantproperty.o .obj/debug-shared/qttreepropertybrowser.o .obj/debug-shared/qtbuttonpropertybrowser.o .obj/debug-shared/qtgroupboxpropertybrowser.o .obj/debug-shared/qtpropertybrowserutils.o .obj/debug-shared/qtcolorbutton.o .obj/debug-shared/propertyeditor.o .obj/debug-shared/designerpropertymanager.o .obj/debug-shared/paletteeditor.o .obj/debug-shared/paletteeditorbutton.o .obj/debug-shared/stringlisteditor.o .obj/debug-shared/stringlisteditorbutton.o .obj/debug-shared/previewwidget.o .obj/debug-shared/previewframe.o .obj/debug-shared/newdynamicpropertydialog.o .obj/debug-shared/brushpropertymanager.o .obj/debug-shared/fontpropertymanager.o .obj/debug-shared/qlonglongvalidator.o .obj/debug-shared/abstractfindwidget.o .obj/debug-shared/texteditfindwidget.o .obj/debug-shared/itemviewfindwidget.o .obj/debug-shared/objectinspector.o .obj/debug-shared/objectinspectormodel.o .obj/debug-shared/signalslot_utils.o .obj/debug-shared/connectdialog.o .obj/debug-shared/signalsloteditor.o .obj/debug-shared/signalsloteditor_tool.o .obj/debug-shared/signalsloteditor_plugin.o .obj/debug-shared/signalsloteditorwindow.o .obj/debug-shared/qdesigner_resource.o .obj/debug-shared/qdesignerundostack.o .obj/debug-shared/formwindow.o .obj/debug-shared/formwindow_widgetstack.o .obj/debug-shared/formwindow_dnditem.o .obj/debug-shared/formwindowcursor.o .obj/debug-shared/widgetselection.o .obj/debug-shared/formwindowmanager.o .obj/debug-shared/formeditor.o .obj/debug-shared/qlayoutwidget_propertysheet.o .obj/debug-shared/layout_propertysheet.o .obj/debug-shared/spacer_propertysheet.o .obj/debug-shared/line_propertysheet.o .obj/debug-shared/qmainwindow_container.o .obj/debug-shared/qmdiarea_container.o .obj/debug-shared/qwizard_container.o .obj/debug-shared/default_container.o .obj/debug-shared/default_layoutdecoration.o .obj/debug-shared/default_actionprovider.o .obj/debug-shared/tool_widgeteditor.o .obj/debug-shared/formeditor_optionspage.o .obj/debug-shared/embeddedoptionspage.o .obj/debug-shared/formwindowsettings.o .obj/debug-shared/deviceprofiledialog.o .obj/debug-shared/dpi_chooser.o .obj/debug-shared/previewactiongroup.o .obj/debug-shared/itemview_propertysheet.o .obj/debug-shared/templateoptionspage.o .obj/debug-shared/widgetboxcategorylistview.o .obj/debug-shared/widgetboxtreewidget.o .obj/debug-shared/widgetbox.o .obj/debug-shared/widgetbox_dnditem.o .obj/debug-shared/buddyeditor.o .obj/debug-shared/buddyeditor_tool.o .obj/debug-shared/buddyeditor_plugin.o .obj/debug-shared/button_taskmenu.o .obj/debug-shared/groupbox_taskmenu.o .obj/debug-shared/label_taskmenu.o .obj/debug-shared/lineedit_taskmenu.o .obj/debug-shared/listwidget_taskmenu.o .obj/debug-shared/treewidget_taskmenu.o .obj/debug-shared/tablewidget_taskmenu.o .obj/debug-shared/combobox_taskmenu.o .obj/debug-shared/textedit_taskmenu.o .obj/debug-shared/toolbar_taskmenu.o .obj/debug-shared/containerwidget_taskmenu.o .obj/debug-shared/inplace_editor.o .obj/debug-shared/taskmenu_component.o .obj/debug-shared/itemlisteditor.o .obj/debug-shared/listwidgeteditor.o .obj/debug-shared/treewidgeteditor.o .obj/debug-shared/tablewidgeteditor.o .obj/debug-shared/inplace_widget_helper.o .obj/debug-shared/menutaskmenu.o .obj/debug-shared/layouttaskmenu.o .obj/debug-shared/tabordereditor.o .obj/debug-shared/tabordereditor_tool.o .obj/debug-shared/tabordereditor_plugin.o .obj/debug-shared/qrc_qtpropertybrowser.o .obj/debug-shared/qrc_propertyeditor.o .obj/debug-shared/qrc_findwidget.o .obj/debug-shared/qrc_formeditor.o .obj/debug-shared/qrc_widgetbox.o .obj/debug-shared/moc_qtpropertybrowserutils_p.o .obj/debug-shared/moc_propertyeditor.o .obj/debug-shared/moc_designerpropertymanager.o .obj/debug-shared/moc_paletteeditor.o .obj/debug-shared/moc_paletteeditorbutton.o .obj/debug-shared/moc_stringlisteditor.o .obj/debug-shared/moc_stringlisteditorbutton.o .obj/debug-shared/moc_previewwidget.o .obj/debug-shared/moc_previewframe.o .obj/debug-shared/moc_newdynamicpropertydialog.o .obj/debug-shared/moc_qlonglongvalidator.o .obj/debug-shared/moc_abstractfindwidget.o .obj/debug-shared/moc_texteditfindwidget.o .obj/debug-shared/moc_itemviewfindwidget.o .obj/debug-shared/moc_objectinspector.o .obj/debug-shared/moc_connectdialog_p.o .obj/debug-shared/moc_signalsloteditor.o .obj/debug-shared/moc_signalsloteditor_tool.o .obj/debug-shared/moc_signalsloteditor_plugin.o .obj/debug-shared/moc_signalsloteditor_p.o .obj/debug-shared/moc_signalsloteditorwindow.o .obj/debug-shared/moc_qdesignerundostack.o .obj/debug-shared/moc_formwindow.o .obj/debug-shared/moc_formwindow_widgetstack.o .obj/debug-shared/moc_formwindowcursor.o .obj/debug-shared/moc_widgetselection.o .obj/debug-shared/moc_formwindowmanager.o .obj/debug-shared/moc_formeditor.o .obj/debug-shared/moc_qlayoutwidget_propertysheet.o .obj/debug-shared/moc_layout_propertysheet.o .obj/debug-shared/moc_spacer_propertysheet.o .obj/debug-shared/moc_line_propertysheet.o .obj/debug-shared/moc_default_container.o .obj/debug-shared/moc_default_actionprovider.o .obj/debug-shared/moc_qmainwindow_container.o .obj/debug-shared/moc_qmdiarea_container.o .obj/debug-shared/moc_qwizard_container.o .obj/debug-shared/moc_default_layoutdecoration.o .obj/debug-shared/moc_tool_widgeteditor.o .obj/debug-shared/moc_embeddedoptionspage.o .obj/debug-shared/moc_formwindowsettings.o .obj/debug-shared/moc_deviceprofiledialog.o .obj/debug-shared/moc_dpi_chooser.o .obj/debug-shared/moc_previewactiongroup.o .obj/debug-shared/moc_itemview_propertysheet.o .obj/debug-shared/moc_templateoptionspage.o .obj/debug-shared/moc_widgetboxcategorylistview.o .obj/debug-shared/moc_widgetboxtreewidget.o .obj/debug-shared/moc_widgetbox.o .obj/debug-shared/moc_buddyeditor.o .obj/debug-shared/moc_buddyeditor_plugin.o .obj/debug-shared/moc_buddyeditor_tool.o .obj/debug-shared/moc_button_taskmenu.o .obj/debug-shared/moc_groupbox_taskmenu.o .obj/debug-shared/moc_label_taskmenu.o .obj/debug-shared/moc_lineedit_taskmenu.o .obj/debug-shared/moc_listwidget_taskmenu.o .obj/debug-shared/moc_treewidget_taskmenu.o .obj/debug-shared/moc_tablewidget_taskmenu.o .obj/debug-shared/moc_combobox_taskmenu.o .obj/debug-shared/moc_textedit_taskmenu.o .obj/debug-shared/moc_toolbar_taskmenu.o .obj/debug-shared/moc_containerwidget_taskmenu.o .obj/debug-shared/moc_inplace_editor.o .obj/debug-shared/moc_taskmenu_component.o .obj/debug-shared/moc_itemlisteditor.o .obj/debug-shared/moc_listwidgeteditor.o .obj/debug-shared/moc_treewidgeteditor.o .obj/debug-shared/moc_tablewidgeteditor.o .obj/debug-shared/moc_inplace_widget_helper.o .obj/debug-shared/moc_menutaskmenu.o .obj/debug-shared/moc_layouttaskmenu.o .obj/debug-shared/moc_tabordereditor.o .obj/debug-shared/moc_tabordereditor_plugin.o .obj/debug-shared/moc_tabordereditor_tool.o -L/home/user/target_root/usr/lib -L/home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools/lib -lQt5Designer -L/home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qtbase/lib -lQt5Widgets -lQt5Xml -lQt5Gui -lQt5Core -lrt -ldl -lpthread -lQt5Xml -L/home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qtbase/lib -lQt5Core -lrt -ldl -lpthread -lGLESv2 -lEGL -lIMGegl -lsrv_um
      `.LTHUNK0' referenced in section `.text._ZN18qdesigner_internal16ListWidgetEditorD1Ev[qdesigner_internal::ListWidgetEditor::~ListWidgetEditor()]' of .obj/debug-shared/moc_listwidgeteditor.o: defined in discarded section `.text._ZN18qdesigner_internal16ListWidgetEditorD2Ev[_ZN18qdesigner_internal16ListWidgetEditorD5Ev]' of .obj/debug-shared/moc_listwidgeteditor.o
      `.LTHUNK2' referenced in section `.text._ZN18qdesigner_internal22TreeWidgetEditorDialogD1Ev[qdesigner_internal::TreeWidgetEditorDialog::~TreeWidgetEditorDialog()]' of .obj/debug-shared/moc_treewidgeteditor.o: defined in discarded section `.text._ZN18qdesigner_internal22TreeWidgetEditorDialogD2Ev[_ZN18qdesigner_internal22TreeWidgetEditorDialogD5Ev]' of .obj/debug-shared/moc_treewidgeteditor.o
      `.LTHUNK2' referenced in section `.text._ZN18qdesigner_internal23TableWidgetEditorDialogD1Ev[qdesigner_internal::TableWidgetEditorDialog::~TableWidgetEditorDialog()]' of .obj/debug-shared/moc_tablewidgeteditor.o: defined in discarded section `.text._ZN18qdesigner_internal23TableWidgetEditorDialogD2Ev[_ZN18qdesigner_internal23TableWidgetEditorDialogD5Ev]' of .obj/debug-shared/moc_tablewidgeteditor.o
      collect2: ld returned 1 exit status
      make[6]: *** [../../../../../lib/libQt5DesignerComponents.so.5.0.0] Error 1
      make[6]: Leaving directory `/home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools/src/designer/src/components/lib'
      make[5]: *** [sub-lib-make_first-ordered] Error 2
      make[5]: Leaving directory `/home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools/src/designer/src/components'
      make[4]: *** [sub-components-make_first-ordered] Error 2
      make[4]: Leaving directory `/home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools/src/designer/src'
      make[3]: *** [sub-src-make_first] Error 2
      make[3]: Leaving directory `/home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools/src/designer'
      make[2]: *** [sub-designer-make_first-ordered] Error 2
      make[2]: Leaving directory `/home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools/src'
      make[1]: *** [sub-src-make_first] Error 2
      make[1]: Leaving directory `/home/user/qt-everywhere-opensource-src-5.0.0-beagleboard/qttools'
      make: *** [module-qttools-make_first] Error 2

      Configure was run with the following arguments:
      ./configure v -confirm-license -sysroot ~/target_root -device linux-beagleboard-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf -debug -opensource -nomake tests -nomake tools -opengl es2 -no-openssl -no-iconv -no-xcb -no-sql-sqlite -no-pkg-config -no-pch -no-nis

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              buddenha Oswald Buddenhagen
              Reporter:
              flobe Florian Behrens
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes