Skip to content

SuperBuild fails on QT #503

@skinkie

Description

@skinkie
+ cd qtbase
+ /home/skinkie/Sources/TeleSculptor/build/external/fletch-build/build/src/Qt/qtbase/configure -top-level -prefix /home/skinkie/Sources/TeleSculptor/build/external/fletch-build/install -docdir /home/skinkie/Sources/TeleSculptor/build/external/fletch-build/install/share/doc/qt5-5.11.2 -datadir /home/skinkie/Sources/TeleSculptor/build/external/fletch-build/install/lib/qt5 -plugindir /home/skinkie/Sources/TeleSculptor/build/external/fletch-build/install/lib/qt5/plugins -importdir /home/skinkie/Sources/TeleSculptor/build/external/fletch-build/install/lib/qt5/imports -opensource -confirm-license -nomake examples -release -skip qtwebengine -no-qml-debug -system-libjpeg -I /home/skinkie/Sources/TeleSculptor/build/external/fletch-build/install/include -L /home/skinkie/Sources/TeleSculptor/build/external/fletch-build/install/lib -system-zlib -I /home/skinkie/Sources/TeleSculptor/build/external/fletch-build/install/include -L /home/skinkie/Sources/TeleSculptor/build/external/fletch-build/install/lib -system-libpng -I /home/skinkie/Sources/TeleSculptor/build/external/fletch-build/install/include -L /home/skinkie/Sources/TeleSculptor/build/external/fletch-build/install/lib -no-cups -optimized-qmake -skip qtlocation
Creating qmake...
In file included from /mnt/storage/home/skinkie/Sources/TeleSculptor/build/external/fletch-build/build/src/Qt/qtbase/src/corelib/tools/qbytearray.cpp:42:
/mnt/storage/home/skinkie/Sources/TeleSculptor/build/external/fletch-build/build/src/Qt/qtbase/src/corelib/tools/qbytearraymatcher.h: In static member function 'static QStaticByteArrayMatcherBase::Skiptable QStaticByteArrayMatcherBase::generate(const char*, uint)':
/mnt/storage/home/skinkie/Sources/TeleSculptor/build/external/fletch-build/build/src/Qt/qtbase/src/corelib/tools/qbytearraymatcher.h:103:38: error: 'numeric_limits' is not a member of 'std'
  103 |         const auto uchar_max = (std::numeric_limits<uchar>::max)();
      |                                      ^~~~~~~~~~~~~~
/mnt/storage/home/skinkie/Sources/TeleSculptor/build/external/fletch-build/build/src/Qt/qtbase/src/corelib/tools/qbytearraymatcher.h:103:58: error: expected primary-expression before '>' token
  103 |         const auto uchar_max = (std::numeric_limits<uchar>::max)();
      |                                                          ^
/mnt/storage/home/skinkie/Sources/TeleSculptor/build/external/fletch-build/build/src/Qt/qtbase/src/corelib/tools/qbytearraymatcher.h:103:61: error: '::max' has not been declared; did you mean 'std::max'?
  103 |         const auto uchar_max = (std::numeric_limits<uchar>::max)();
      |                                                             ^~~
      |                                                             std::max
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include/g++-v11/algorithm:62,
                 from /mnt/storage/home/skinkie/Sources/TeleSculptor/build/external/fletch-build/build/src/Qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:142,
                 from /mnt/storage/home/skinkie/Sources/TeleSculptor/build/external/fletch-build/build/src/Qt/qtbase/include/QtCore/qglobal.h:1,
                 from /mnt/storage/home/skinkie/Sources/TeleSculptor/build/external/fletch-build/build/src/Qt/qtbase/include/QtCore/../../src/corelib/thread/qatomic.h:41,
                 from /mnt/storage/home/skinkie/Sources/TeleSculptor/build/external/fletch-build/build/src/Qt/qtbase/include/QtCore/qatomic.h:1,
                 from /mnt/storage/home/skinkie/Sources/TeleSculptor/build/external/fletch-build/build/src/Qt/qtbase/include/QtCore/../../src/corelib/tools/qrefcount.h:43,
                 from /mnt/storage/home/skinkie/Sources/TeleSculptor/build/external/fletch-build/build/src/Qt/qtbase/include/QtCore/qrefcount.h:1,
                 from /mnt/storage/home/skinkie/Sources/TeleSculptor/build/external/fletch-build/build/src/Qt/qtbase/src/corelib/tools/qbytearray.h:44,
                 from /mnt/storage/home/skinkie/Sources/TeleSculptor/build/external/fletch-build/build/src/Qt/qtbase/src/corelib/tools/qbytearray.cpp:41:
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include/g++-v11/bits/stl_algo.h:3467:5: note: 'std::max' declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
gmake[6]: *** [Makefile:342: qbytearray.o] Error 1
make[5]: *** [CMakeFiles/Qt.dir/build.make:95: build/src/Qt-stamp/Qt-configure] Error 2
make[4]: *** [CMakeFiles/Makefile2:1766: CMakeFiles/Qt.dir/all] Error 2
make[3]: *** [Makefile:136: all] Error 2
make[2]: *** [CMakeFiles/fletch.dir/build.make:86: external/stamps/fletch-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:140: CMakeFiles/fletch.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions