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

Qt5.3.0-alpha build fails in QtDeclarative

    XMLWordPrintable

Details

    • 8c1864296e1254d61c8c8e761ad94529ef368ec6 (qtdeclarative)

    Description

      What I do:

      git clone git://gitorious.org/qt/qt5.git && cd qt5
      ./init-repository
      export qt_install_dir=/usr/local/lib/qt5.3
      ./configure -no-c++11 -prefix $qt_install_dir -debug -opensource -confirm-license -nomake examples -nomake tests &> configure.log
      make -j4 &> make.log
      

      Main complaints are:

      compiler/qqmltypecompiler.cpp: In member function ‘bool QQmlPropertyValidator::validateObject(int, const QV4::CompiledData::Binding*, bool)’:
      compiler/qqmltypecompiler.cpp:1675:175: error: no matching function for call to ‘lower_bound(QVarLengthArray<const QV4::CompiledData::Binding*, 8>::const_iterator, QVarLengthArra
      y<const QV4::CompiledData::Binding*, 8>::const_iterator, const quint32&, QQmlPropertyValidator::validateObject(int, const QV4::CompiledData::Binding*, bool)::GroupPropertyFinder)
      ’
      compiler/qqmltypecompiler.cpp:1675:175: note: candidates are:
      In file included from /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/algorithm:62:0,
                       from /aux/dev/qt/qt5_test/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:82,
                       from /aux/dev/qt/qt5_test/qtbase/include/QtCore/qglobal.h:1,
                       from compiler/qqmltypecompiler_p.h:44,
                       from compiler/qqmltypecompiler.cpp:42:
      /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_algobase.h:937:5: note: template<class _ForwardIterator, class _Tp> _ForwardIterator std:
      :lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&)
      /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_algobase.h:937:5: note:   template argument deduction/substitution failed:
      compiler/qqmltypecompiler.cpp:1675:175: note:   candidate expects 3 arguments, 4 provided
      In file included from /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/algorithm:63:0,
                       from /aux/dev/qt/qt5_test/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:82,
                       from /aux/dev/qt/qt5_test/qtbase/include/QtCore/qglobal.h:1,
                       from compiler/qqmltypecompiler_p.h:44,
                       from compiler/qqmltypecompiler.cpp:42:
      /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_algo.h:2450:5: note: template<class _FIter, class _Tp, class _Compare> _FIter std::lower_bound(_FIter, _FIter, const _Tp&, _Compare)
      compiler/qqmltypecompiler.cpp:1675:175: error: template argument for ‘template<class _FIter, class _Tp, class _Compare> _FIter std::lower_bound(_FIter, _FIter, const _Tp&, _Compare)’ uses local type ‘QQmlPropertyValidator::validateObject(int, const QV4::CompiledData::Binding*, bool)::GroupPropertyFinder’
      compiler/qqmltypecompiler.cpp:1675:175: error:   trying to instantiate ‘template<class _FIter, class _Tp, class _Compare> _FIter std::lower_bound(_FIter, _FIter, const _Tp&, _Compare)’
      compiler/qqmltypecompiler.cpp:1775:197: error: no matching function for call to ‘lower_bound(QVarLengthArray<const QV4::CompiledData::Binding*, 8>::const_iterator, QVarLengthArray<const QV4::CompiledData::Binding*, 8>::const_iterator, const quint32&, QQmlPropertyValidator::validateObject(int, const QV4::CompiledData::Binding*, bool)::GroupPropertyFinder)’
      compiler/qqmltypecompiler.cpp:1775:197: note: candidates are:
      In file included from /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/algorithm:62:0,
                       from /aux/dev/qt/qt5_test/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:82,
                       from /aux/dev/qt/qt5_test/qtbase/include/QtCore/qglobal.h:1,
                       from compiler/qqmltypecompiler_p.h:44,
                       from compiler/qqmltypecompiler.cpp:42:
      /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_algobase.h:937:5: note: template<class _ForwardIterator, class _Tp> _ForwardIterator std::lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&)
      /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_algobase.h:937:5: note:   template argument deduction/substitution failed:
      compiler/qqmltypecompiler.cpp:1775:197: note:   candidate expects 3 arguments, 4 provided
      In file included from /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/algorithm:63:0,
                       from /aux/dev/qt/qt5_test/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:82,
                       from /aux/dev/qt/qt5_test/qtbase/include/QtCore/qglobal.h:1,
                       from compiler/qqmltypecompiler_p.h:44,
                       from compiler/qqmltypecompiler.cpp:42:
      /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_algo.h:2450:5: note: template<class _FIter, class _Tp, class _Compare> _FIter std::lower_bound(_FIter, _FIter, const _Tp&, _Compare)
      compiler/qqmltypecompiler.cpp:1775:197: error: template argument for ‘template<class _FIter, class _Tp, class _Compare> _FIter std::lower_bound(_FIter, _FIter, const _Tp&, _Compare)’ uses local type ‘QQmlPropertyValidator::validateObject(int, const QV4::CompiledData::Binding*, bool)::GroupPropertyFinder’
      compiler/qqmltypecompiler.cpp:1775:197: error:   trying to instantiate ‘template<class _FIter, class _Tp, class _Compare> _FIter std::lower_bound(_FIter, _FIter, const _Tp&, _Compare)’
      

      See attachment for full configure.log and make.log.

      Attachments

        1. configure.log
          104 kB
        2. make.log
          2.59 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            shausman Simon Hausmann
            dvolosnykh Dmitry Volosnykh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes