Hi, everyone. I'd like to ask about the build issue on Ubuntu 21.10. When I try to build agl-demo-platform with master branch, the error messages are shown as: In file included from ../include/QtCore/qfloat16.h:1, from ../include/QtCore/../../../git/src/corelib/global/qendian.h:44, from ../include/QtCore/qendian.h:1, from /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/codecs/qutfcodec.cpp:43: ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:295:7: error: ‘numeric_limits’ is not a class template 295 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:295:77: error: expected template-name before ‘<’ token 295 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float> | ^ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:295:77: error: expected ‘{’ before ‘<’ token ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:333:18: error: ‘numeric_limits’ is not a class template 333 | template<> class numeric_limits<const QT_PREPEND_NAMESPACE(qfloat16)> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:333:69: error: ‘std::numeric_limits’ is not a template 333 | template<> class numeric_limits<const QT_PREPEND_NAMESPACE(qfloat16)> It seems that there are other dependencies, which are not described in https://docs.automotivelinux.org/en/master/#0_Getting_Started/2_Building_AGL_Image/1_Preparing_Your_Build_Host/. Can anyone help me to solve this problem? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9632): https://lists.automotivelinux.org/g/agl-dev-community/message/9632 Mute This Topic: https://lists.automotivelinux.org/mt/88622338/2167316 Group Owner: agl-dev-community+owner@xxxxxxxxxxxxxxxxxxxxxxxxx Unsubscribe: https://lists.automotivelinux.org/g/agl-dev-community/leave/4543822/2167316/883735764/xyzzy [list-automotive-discussions82@xxxxxxxxxxx] -=-=-=-=-=-=-=-=-=-=-=-
DEBUG: Executing shell function qmake5_base_preconfigure DEBUG: Shell function qmake5_base_preconfigure finished DEBUG: Executing shell function do_configure Performing shadow build... Preparing build tree... <srcbase> = /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/git <bldbase> = /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/build <outbase> = /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/build Creating qmake... In file included from ../include/QtCore/qfloat16.h:1, from ../include/QtCore/../../../git/src/corelib/global/qendian.h:44, from ../include/QtCore/qendian.h:1, from /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/codecs/qutfcodec.cpp:43: ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:295:7: error: ‘numeric_limits’ is not a class template 295 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:295:77: error: expected template-name before ‘<’ token 295 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float> | ^ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:295:77: error: expected ‘{’ before ‘<’ token ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:333:18: error: ‘numeric_limits’ is not a class template 333 | template<> class numeric_limits<const QT_PREPEND_NAMESPACE(qfloat16)> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:333:69: error: ‘std::numeric_limits’ is not a template 333 | template<> class numeric_limits<const QT_PREPEND_NAMESPACE(qfloat16)> | ^ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:295:7: note: previous declaration here 295 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:334:28: error: expected template-name before ‘<’ token 334 | : public numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> {}; | ^ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:335:18: error: ‘numeric_limits’ is not a class template 335 | template<> class numeric_limits<volatile QT_PREPEND_NAMESPACE(qfloat16)> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:335:72: error: ‘std::numeric_limits’ is not a template 335 | template<> class numeric_limits<volatile QT_PREPEND_NAMESPACE(qfloat16)> | ^ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:295:7: note: previous declaration here 295 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:336:28: error: expected template-name before ‘<’ token 336 | : public numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> {}; | ^ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:337:18: error: ‘numeric_limits’ is not a class template 337 | template<> class numeric_limits<const volatile QT_PREPEND_NAMESPACE(qfloat16)> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:337:78: error: ‘std::numeric_limits’ is not a template 337 | template<> class numeric_limits<const volatile QT_PREPEND_NAMESPACE(qfloat16)> | ^ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:295:7: note: previous declaration here 295 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:338:28: error: expected template-name before ‘<’ token 338 | : public numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> {}; | ^ In file included from ../include/QtCore/qendian.h:1, from /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/codecs/qutfcodec.cpp:43: ../include/QtCore/../../../git/src/corelib/global/qendian.h: In static member function ‘static constexpr QSpecialInteger<S> QSpecialInteger<S>::max()’: ../include/QtCore/../../../git/src/corelib/global/qendian.h:331:30: error: ‘std::numeric_limits’ is not a template 331 | { return QSpecialInteger(std::numeric_limits<T>::max()); } | ^~~ ../include/QtCore/../../../git/src/corelib/global/qendian.h:331:54: error: incomplete type ‘std::numeric_limits’ used in nested name specifier 331 | { return QSpecialInteger(std::numeric_limits<T>::max()); } | ^~~ ../include/QtCore/../../../git/src/corelib/global/qendian.h: In static member function ‘static constexpr QSpecialInteger<S> QSpecialInteger<S>::min()’: ../include/QtCore/../../../git/src/corelib/global/qendian.h:333:30: error: ‘std::numeric_limits’ is not a template 333 | { return QSpecialInteger(std::numeric_limits<T>::min()); } | ^~~ ../include/QtCore/../../../git/src/corelib/global/qendian.h:333:54: error: incomplete type ‘std::numeric_limits’ used in nested name specifier 333 | { return QSpecialInteger(std::numeric_limits<T>::min()); } | ^~~ In file included from ../include/QtCore/qfloat16.h:1, from /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/global/qendian.h:44, from /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/global/qendian.cpp:41: ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:295:7: error: ‘numeric_limits’ is not a class template 295 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:295:77: error: expected template-name before ‘<’ token 295 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float> | ^ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:295:77: error: expected ‘{’ before ‘<’ token ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:333:18: error: ‘numeric_limits’ is not a class template 333 | template<> class numeric_limits<const QT_PREPEND_NAMESPACE(qfloat16)> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:333:69: error: ‘std::numeric_limits’ is not a template 333 | template<> class numeric_limits<const QT_PREPEND_NAMESPACE(qfloat16)> | ^ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:295:7: note: previous declaration here 295 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:334:28: error: expected template-name before ‘<’ token 334 | : public numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> {}; | ^ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:335:18: error: ‘numeric_limits’ is not a class template 335 | template<> class numeric_limits<volatile QT_PREPEND_NAMESPACE(qfloat16)> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:335:72: error: ‘std::numeric_limits’ is not a template 335 | template<> class numeric_limits<volatile QT_PREPEND_NAMESPACE(qfloat16)> | ^ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:295:7: note: previous declaration here 295 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:336:28: error: expected template-name before ‘<’ token 336 | : public numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> {}; | ^ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:337:18: error: ‘numeric_limits’ is not a class template 337 | template<> class numeric_limits<const volatile QT_PREPEND_NAMESPACE(qfloat16)> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:337:78: error: ‘std::numeric_limits’ is not a template 337 | template<> class numeric_limits<const volatile QT_PREPEND_NAMESPACE(qfloat16)> | ^ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:295:7: note: previous declaration here 295 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:338:28: error: expected template-name before ‘<’ token 338 | : public numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> {}; | ^ In file included from /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/global/qendian.cpp:41: /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/global/qendian.h: In static member function ‘static constexpr QSpecialInteger<S> QSpecialInteger<S>::max()’: /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/global/qendian.h:331:30: error: ‘std::numeric_limits’ is not a template 331 | { return QSpecialInteger(std::numeric_limits<T>::max()); } | ^~~ /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/global/qendian.h:331:54: error: incomplete type ‘std::numeric_limits’ used in nested name specifier 331 | { return QSpecialInteger(std::numeric_limits<T>::max()); } | ^~~ /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/global/qendian.h: In static member function ‘static constexpr QSpecialInteger<S> QSpecialInteger<S>::min()’: /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/global/qendian.h:333:30: error: ‘std::numeric_limits’ is not a template 333 | { return QSpecialInteger(std::numeric_limits<T>::min()); } | ^~~ /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/global/qendian.h:333:54: error: incomplete type ‘std::numeric_limits’ used in nested name specifier 333 | { return QSpecialInteger(std::numeric_limits<T>::min()); } | ^~~ make: *** [Makefile:384: qutfcodec.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [Makefile:339: qendian.o] Error 1 In file included from ../include/QtCore/qfloat16.h:1, from /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/serialization/qdatastream.cpp:45: ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:295:7: error: ‘numeric_limits’ is not a class template 295 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:295:77: error: expected template-name before ‘<’ token 295 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float> | ^ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:295:77: error: expected ‘{’ before ‘<’ token ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:333:18: error: ‘numeric_limits’ is not a class template 333 | template<> class numeric_limits<const QT_PREPEND_NAMESPACE(qfloat16)> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:333:69: error: ‘std::numeric_limits’ is not a template 333 | template<> class numeric_limits<const QT_PREPEND_NAMESPACE(qfloat16)> | ^ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:295:7: note: previous declaration here 295 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:334:28: error: expected template-name before ‘<’ token 334 | : public numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> {}; | ^ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:335:18: error: ‘numeric_limits’ is not a class template 335 | template<> class numeric_limits<volatile QT_PREPEND_NAMESPACE(qfloat16)> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:335:72: error: ‘std::numeric_limits’ is not a template 335 | template<> class numeric_limits<volatile QT_PREPEND_NAMESPACE(qfloat16)> | ^ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:295:7: note: previous declaration here 295 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:336:28: error: expected template-name before ‘<’ token 336 | : public numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> {}; | ^ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:337:18: error: ‘numeric_limits’ is not a class template 337 | template<> class numeric_limits<const volatile QT_PREPEND_NAMESPACE(qfloat16)> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:337:78: error: ‘std::numeric_limits’ is not a template 337 | template<> class numeric_limits<const volatile QT_PREPEND_NAMESPACE(qfloat16)> | ^ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:295:7: note: previous declaration here 295 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float> | ^~~~~~~~~~~~~~ ../include/QtCore/../../../git/src/corelib/global/qfloat16.h:338:28: error: expected template-name before ‘<’ token 338 | : public numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> {}; | ^ In file included from ../include/QtCore/qendian.h:1, from /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/git/src/corelib/serialization/qdatastream.cpp:50: ../include/QtCore/../../../git/src/corelib/global/qendian.h: In static member function ‘static constexpr QSpecialInteger<S> QSpecialInteger<S>::max()’: ../include/QtCore/../../../git/src/corelib/global/qendian.h:331:30: error: ‘std::numeric_limits’ is not a template 331 | { return QSpecialInteger(std::numeric_limits<T>::max()); } | ^~~ ../include/QtCore/../../../git/src/corelib/global/qendian.h:331:54: error: incomplete type ‘std::numeric_limits’ used in nested name specifier 331 | { return QSpecialInteger(std::numeric_limits<T>::max()); } | ^~~ ../include/QtCore/../../../git/src/corelib/global/qendian.h: In static member function ‘static constexpr QSpecialInteger<S> QSpecialInteger<S>::min()’: ../include/QtCore/../../../git/src/corelib/global/qendian.h:333:30: error: ‘std::numeric_limits’ is not a template 333 | { return QSpecialInteger(std::numeric_limits<T>::min()); } | ^~~ ../include/QtCore/../../../git/src/corelib/global/qendian.h:333:54: error: incomplete type ‘std::numeric_limits’ used in nested name specifier 333 | { return QSpecialInteger(std::numeric_limits<T>::min()); } | ^~~ make: *** [Makefile:504: qdatastream.o] Error 1 ERROR: Configuring qt failed. QT_CONFIG_FLAGS was -sysroot /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native -L/home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr/lib -no-gcc-sysroot -system-zlib -qt-pcre -qt-doubleconversion -no-accessibility -no-cups -no-sql-mysql -no-sql-sqlite -no-sql-psql -no-opengl -no-vulkan -no-xcb -no-icu -verbose -release -prefix /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr -hostprefix /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr -bindir /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr/bin -hostbindir /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr/bin -libdir /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr/lib -hostlibdir /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr/lib -headerdir /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr/include -archdatadir /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr/lib -datadir /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr/share -hostdatadir /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr/lib -docdir /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/usr/share/doc -sysconfdir /home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/recipe-sysroot-native/etc -no-glib -no-iconv -silent -nomake examples -nomake tests -no-rpath -no-feature-linkat -platform linux-oe-g++ -no-gui -no-libpng -no-libjpeg -no-ico -no-gif -no-openssl WARNING: exit code 1 from a shell command. ERROR: Execution of '/home/sukbeom/Workspace/AGL/build/tmp/work/x86_64-linux/qtbase-native/5.14.2+gitAUTOINC+3a6d8df521-r0/temp/run.do_configure.1626523' failed with exit code 1