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

5.15 Error build from sources aarch64

    XMLWordPrintable

Details

    • Other

    Description

      LANG=C ./configure  -skip qt3d -no-warnings-are-errors  -release -recheck-all -prefix /home/rgaraev/Qt5132/Static600 -opensource -confirm-license -nomake examples -nomake tests -c++std c++17 -I /usr/include/xcb/ -L /usr/lib/x86_64-linux-gnu/ -xcb-xlib -xcb -feature-thread -feature-xkbcommon -qt-libpng -qt-libjpeg -qt-zlib  -I /usr/include/xcb/ -L /usr/lib/x86_64-linux-gnu/
      + cd qtbase
      + /20/qt5/qtbase/configure -top-level -skip qt3d -no-warnings-are-errors -release -recheck-all -prefix /home/rgaraev/Qt5132/Static600 -opensource -confirm-license -nomake examples -nomake tests -c++std c++17 -I /usr/include/xcb/ -L /usr/lib/x86_64-linux-gnu/ -xcb-xlib -xcb -feature-thread -feature-xkbcommon -qt-libpng -qt-libjpeg -qt-zlib -I /usr/include/xcb/ -L /usr/lib/x86_64-linux-gnu/
      <srcbase> = /20/qt5/qtbase 
      <bldbase> = /20/qt5/qtbase 
      <outbase> = /20/qt5/qtbase 
      Creating qmake...
      .In file included from ../include/QtCore/qmetatype.h:1:0,
                       from ../include/QtCore/../../src/corelib/kernel/qvariant.h:46,
                       from ../include/QtCore/qvariant.h:1,
                       from ../include/QtCore/../../src/corelib/text/qlocale.h:43,
                       from ../include/QtCore/qlocale.h:1,
                       from ../include/QtCore/../../src/corelib/serialization/qtextstream.h:46,
                       from ../include/QtCore/qtextstream.h:1,
                       from ../include/QtCore/../../src/corelib/io/qdebug.h:49,
                       from ../include/QtCore/qdebug.h:1,
                       from /20/qt5/qtbase/qmake/library/proitems.h:34,
                       from /20/qt5/qtbase/qmake/library/qmakeparser.h:34,
                       from /20/qt5/qtbase/qmake/library/qmakeevaluator.h:36,
                       from /20/qt5/qtbase/qmake/project.h:32,
                       from /20/qt5/qtbase/qmake/main.cpp:30:
      ../include/QtCore/../../src/corelib/kernel/qmetatype.h: In instantiation of 'QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl(const T*) [with T = QList<QVariant>]':
      ../include/QtCore/../../src/corelib/kernel/qvariant.h:772:139:   required from here
      ../include/QtCore/../../src/corelib/kernel/qmetatype.h:1160:135: error: ambiguous class template instantiation for 'struct QtMetaTypePrivate::ContainerCapabilitiesImpl<QList<QVariant>, void>'
             , _iteratorCapabilities(ContainerAPI<T>::IteratorCapabilities | (1 << 4) | (ContainerCapabilitiesImpl<T>::ContainerCapabilities << (4+3)))
                                                                                                                                             ^
      In file included from ../include/QtCore/qmetatype.h:1:0,
                       from ../include/QtCore/../../src/corelib/kernel/qvariant.h:46,
                       from ../include/QtCore/qvariant.h:1,
                       from ../include/QtCore/../../src/corelib/text/qlocale.h:43,
                       from ../include/QtCore/qlocale.h:1,
                       from ../include/QtCore/../../src/corelib/serialization/qtextstream.h:46,
                       from ../include/QtCore/qtextstream.h:1,
                       from ../include/QtCore/../../src/corelib/io/qdebug.h:49,
                       from ../include/QtCore/qdebug.h:1,
                       from /20/qt5/qtbase/qmake/library/proitems.h:34,
                       from /20/qt5/qtbase/qmake/library/qmakeparser.h:34,
                       from /20/qt5/qtbase/qmake/library/qmakeevaluator.h:36,
                       from /20/qt5/qtbase/qmake/project.h:32,
                       from /20/qt5/qtbase/qmake/main.cpp:30:
      ../include/QtCore/../../src/corelib/kernel/qmetatype.h:1007:8: error: candidates are: struct QtMetaTypePrivate::ContainerCapabilitiesImpl<Container, decltype (declval<Container>().push_back(declval<typename Container::value_type>()))>
       struct ContainerCapabilitiesImpl<Container, decltype(std::declval<Container>().push_back(std::declval<typename Container::value_type>()))>
              ^
      In file included from ../include/QtCore/qmetatype.h:1:0,
                       from ../include/QtCore/../../src/corelib/kernel/qvariant.h:46,
                       from ../include/QtCore/qvariant.h:1,
                       from ../include/QtCore/../../src/corelib/text/qlocale.h:43,
                       from ../include/QtCore/qlocale.h:1,
                       from ../include/QtCore/../../src/corelib/serialization/qtextstream.h:46,
                       from ../include/QtCore/qtextstream.h:1,
                       from ../include/QtCore/../../src/corelib/io/qdebug.h:49,
                       from ../include/QtCore/qdebug.h:1,
                       from /20/qt5/qtbase/qmake/library/proitems.h:34,
                       from /20/qt5/qtbase/qmake/library/qmakeparser.h:34,
                       from /20/qt5/qtbase/qmake/library/qmakeevaluator.h:36,
                       from /20/qt5/qtbase/qmake/project.h:32,
                       from /20/qt5/qtbase/qmake/main.cpp:30:
      ../include/QtCore/../../src/corelib/kernel/qmetatype.h:1025:8: error:                 struct QtMetaTypePrivate::ContainerCapabilitiesImpl<Container, void>
       struct ContainerCapabilitiesImpl<Container, QtPrivate::ContainerCapabilitiesMetaProgrammingHelper::void_t<decltype(std::declval<Container>().insert(std::declval<typename Container::value_type>())), decltype(std::declval<typename Container::value_type>() == std::declval<typename Container::value_type>())>>
              ^
      In file included from ../include/QtCore/qmetatype.h:1:0,
                       from ../include/QtCore/../../src/corelib/kernel/qvariant.h:46,
                       from ../include/QtCore/qvariant.h:1,
                       from ../include/QtCore/../../src/corelib/text/qlocale.h:43,
                       from ../include/QtCore/qlocale.h:1,
                       from ../include/QtCore/../../src/corelib/serialization/qtextstream.h:46,
                       from ../include/QtCore/qtextstream.h:1,
                       from ../include/QtCore/../../src/corelib/io/qdebug.h:49,
                       from ../include/QtCore/qdebug.h:1,
                       from /20/qt5/qtbase/qmake/library/proitems.h:34,
                       from /20/qt5/qtbase/qmake/library/qmakeparser.h:34,
                       from /20/qt5/qtbase/qmake/library/qmakeevaluator.h:36,
                       from /20/qt5/qtbase/qmake/project.h:32,
                       from /20/qt5/qtbase/qmake/main.cpp:30:
      ../include/QtCore/../../src/corelib/kernel/qmetatype.h:1160:135: error: incomplete type 'QtMetaTypePrivate::ContainerCapabilitiesImpl<QList<QVariant>, void>' used in nested name specifier
             , _iteratorCapabilities(ContainerAPI<T>::IteratorCapabilities | (1 << 4) | (ContainerCapabilitiesImpl<T>::ContainerCapabilities << (4+3)))
                                                                                                                                             ^
      ../include/QtCore/../../src/corelib/kernel/qmetatype.h:1169:68: error: incomplete type 'QtMetaTypePrivate::ContainerCapabilitiesImpl<QList<QVariant>, void>' used in nested name specifier
             , _copyIter(IteratorOwner<typename T::const_iterator>::assign)
                                                                          ^
      ../include/QtCore/../../src/corelib/kernel/qmetatype.h: In instantiation of 'QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl(const T*) [with T = QStringList]':
      ../include/QtCore/../../src/corelib/kernel/qvariant.h:775:138:   required from here
      ../include/QtCore/../../src/corelib/kernel/qmetatype.h:1160:135: error: ambiguous class template instantiation for 'struct QtMetaTypePrivate::ContainerCapabilitiesImpl<QStringList, void>'
             , _iteratorCapabilities(ContainerAPI<T>::IteratorCapabilities | (1 << 4) | (ContainerCapabilitiesImpl<T>::ContainerCapabilities << (4+3)))
                                                                                                                                             ^
      In file included from ../include/QtCore/qmetatype.h:1:0,
                       from ../include/QtCore/../../src/corelib/kernel/qvariant.h:46,
                       from ../include/QtCore/qvariant.h:1,
                       from ../include/QtCore/../../src/corelib/text/qlocale.h:43,
                       from ../include/QtCore/qlocale.h:1,
                       from ../include/QtCore/../../src/corelib/serialization/qtextstream.h:46,
                       from ../include/QtCore/qtextstream.h:1,
                       from ../include/QtCore/../../src/corelib/io/qdebug.h:49,
                       from ../include/QtCore/qdebug.h:1,
                       from /20/qt5/qtbase/qmake/library/proitems.h:34,
                       from /20/qt5/qtbase/qmake/library/qmakeparser.h:34,
                       from /20/qt5/qtbase/qmake/library/qmakeevaluator.h:36,
                       from /20/qt5/qtbase/qmake/project.h:32,
                       from /20/qt5/qtbase/qmake/main.cpp:30:
      ../include/QtCore/../../src/corelib/kernel/qmetatype.h:1007:8: error: candidates are: struct QtMetaTypePrivate::ContainerCapabilitiesImpl<Container, decltype (declval<Container>().push_back(declval<typename Container::value_type>()))>
       struct ContainerCapabilitiesImpl<Container, decltype(std::declval<Container>().push_back(std::declval<typename Container::value_type>()))>
              ^
      In file included from ../include/QtCore/qmetatype.h:1:0,
                       from ../include/QtCore/../../src/corelib/kernel/qvariant.h:46,
                       from ../include/QtCore/qvariant.h:1,
                       from ../include/QtCore/../../src/corelib/text/qlocale.h:43,
                       from ../include/QtCore/qlocale.h:1,
                       from ../include/QtCore/../../src/corelib/serialization/qtextstream.h:46,
                       from ../include/QtCore/qtextstream.h:1,
                       from ../include/QtCore/../../src/corelib/io/qdebug.h:49,
                       from ../include/QtCore/qdebug.h:1,
                       from /20/qt5/qtbase/qmake/library/proitems.h:34,
                       from /20/qt5/qtbase/qmake/library/qmakeparser.h:34,
                       from /20/qt5/qtbase/qmake/library/qmakeevaluator.h:36,
                       from /20/qt5/qtbase/qmake/project.h:32,
                       from /20/qt5/qtbase/qmake/main.cpp:30:
      ../include/QtCore/../../src/corelib/kernel/qmetatype.h:1025:8: error:                 struct QtMetaTypePrivate::ContainerCapabilitiesImpl<Container, void>
       struct ContainerCapabilitiesImpl<Container, QtPrivate::ContainerCapabilitiesMetaProgrammingHelper::void_t<decltype(std::declval<Container>().insert(std::declval<typename Container::value_type>())), decltype(std::declval<typename Container::value_type>() == std::declval<typename Container::value_type>())>>
              ^
      In file included from ../include/QtCore/qmetatype.h:1:0,
                       from ../include/QtCore/../../src/corelib/kernel/qvariant.h:46,
                       from ../include/QtCore/qvariant.h:1,
                       from ../include/QtCore/../../src/corelib/text/qlocale.h:43,
                       from ../include/QtCore/qlocale.h:1,
                       from ../include/QtCore/../../src/corelib/serialization/qtextstream.h:46,
                       from ../include/QtCore/qtextstream.h:1,
                       from ../include/QtCore/../../src/corelib/io/qdebug.h:49,
                       from ../include/QtCore/qdebug.h:1,
                       from /20/qt5/qtbase/qmake/library/proitems.h:34,
                       from /20/qt5/qtbase/qmake/library/qmakeparser.h:34,
                       from /20/qt5/qtbase/qmake/library/qmakeevaluator.h:36,
                       from /20/qt5/qtbase/qmake/project.h:32,
                       from /20/qt5/qtbase/qmake/main.cpp:30:
      ../include/QtCore/../../src/corelib/kernel/qmetatype.h:1160:135: error: incomplete type 'QtMetaTypePrivate::ContainerCapabilitiesImpl<QStringList, void>' used in nested name specifier
             , _iteratorCapabilities(ContainerAPI<T>::IteratorCapabilities | (1 << 4) | (ContainerCapabilitiesImpl<T>::ContainerCapabilities << (4+3)))
                                                                                                                                             ^
      ../include/QtCore/../../src/corelib/kernel/qmetatype.h:1169:68: error: incomplete type 'QtMetaTypePrivate::ContainerCapabilitiesImpl<QStringList, void>' used in nested name specifier
             , _copyIter(IteratorOwner<typename T::const_iterator>::assign)
                                                                          ^
      gmake: *** [main.o] Error 1
      
      

      Step to reproduce:

      KVM-QEMU

      Create new Virtual Machine:

      1. Boot from Network Install (http. https or ftp)

      Architecture aaarch64

      Type machine: virt

       

      2. Provide the opratopn system install URL:

      http://mirror.centos.org/altarch/7/os/aarch64/

       

      next-... -next .. finish

      Start vm. Setup OS system it in text mode.

       

      After install in Centos:

      yum install perl-version git gcc-c++ compat-openssl10-devel harfbuzz-devel double-conversion-devel libzstd-devel at-spi2-atk-devel dbus-devel mesa-libGL-devel
       yum install libxcb libxcb-devel xcb-util xcb-util-devel mesa-libGL-devel libxkbcommon-devel
       yum install git -y
       mkdir /20 && cd /20
      time git clone --recursive --single-branch --branch 5.15 git://github.com/qt/qt5.git

       

      and configure after this and return error

      Attachments

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

        Activity

          People

            fabiankosmale Fabian Kosmale
            homdx Homdx Homdx
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes