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

Qt3D doesn't build on OSX 10.8

    XMLWordPrintable

Details

    • macOS
    • 4a73720990ecf1b499df2f8a16fe0b70d7ccea6d

    Description

      This is currently circumvented by forcing success in the CI system for the following build configs:

      macx-clang_developer-build_OSX_10.8
      macx-clang_no-framework_OSX_10.8

      This has follow on effect as QtLocation cannot build either in those configurations

      The build error:

      make[3]: *** [.obj/release-shared/Importer.o] Error 1
      make[3]: *** Waiting for unfinished jobs....
      In file included from ../../3rdparty/assimp/code/LWSLoader.cpp:46:
      In file included from ../../3rdparty/assimp/code/AssimpPCH.h:106:
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/list:212:9: error: field has incomplete type 'Assimp::LWS::Element'
      Tp __value;
      ^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/type_traits:1889:54: note: in instantiation of template class 'std::_1::_list_node<Assimp::LWS::Element, void *>' requested here
      decltype(_VSTD::move(_Tp(_VSTD::declval<_Args>()...)), true_type())
      ^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/type_traits:1890:1: note: while substituting deduced template arguments into function template '__is_constructible_test' [with _Tp = std::__1::allocator<std::__1::__list_node<Assimp::LWS::Element, void *>>, _Args = <no value>]
      __is_constructible_test(_Tp&&, _Args&& ...);
      ^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/type_traits:1949:14: note: in instantiation of template class 'std::_1::is_constructible<false, std::1::allocator<std::1::list_node<Assimp::LWS::Element, void *>>, std::1::allocator<std::1::_list_node<Assimp::LWS::Element, void *>> &&>' requested here
      : public __is_constructible<is_scalar<_Tp>::value || is_reference<_Tp>::value,
      ^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/type_traits:1975:14: note: in instantiation of template class 'std::_1::is_constructible_void_check<false, std::1::allocator<std::1::list_node<Assimp::LWS::Element, void *>>, std::1::allocator<std::1::_list_node<Assimp::LWS::Element, void *>> &&>' requested here
      : public _is_constructible_void_check<_contains_void<_Tp, _Args...>::value
      ^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/type_traits:2455:34: note: in instantiation of template class 'std::_1::is_constructible<std::1::allocator<std::1::list_node<Assimp::LWS::Element, void *>>, std::1::allocator<std::1::_list_node<Assimp::LWS::Element, void *>> &&>' requested here
      : __is_nothrow_constructible<is_constructible<_Tp, _Args...>::value, _Tp, _Args...>
      ^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/type_traits:2590:14: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
      : public is_nothrow_constructible<_Tp, typename add_rvalue_reference<_Tp>::type>
      ^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2219:20: note: in instantiation of template class 'std::_1::is_nothrow_move_constructible<std::1::allocator<std::1::_list_node<Assimp::LWS::Element, void *>>>' requested here
      is_nothrow_move_constructible<_T2>::value)
      ^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/_config:253:34: note: expanded from macro '_NOEXCEPT'

      1. define NOEXCEPT noexcept
        ^
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2386:15: note: in instantiation of template class 'std::_1::libcpp_compressed_pair_imp<unsigned long, std::1::allocator<std::1::_list_node<Assimp::LWS::Element, void *>>, 2>' requested here
        : private __libcpp_compressed_pair_imp<_T1, _T2>
        ^
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/list:513:52: note: in instantiation of template class 'std::_1::compressed_pair<unsigned long, std::1::allocator<std::1::_list_node<Assimp::LWS::Element, void *>>>' requested here
        _compressed_pair<size_type, __node_allocator> __size_alloc;
        ^
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/list:770:15: note: in instantiation of template class 'std::_1::list_imp<Assimp::LWS::Element, std::_1::allocator<Assimp::LWS::Element>>' requested here
        : private __list_imp<_Tp, _Alloc>
        ^
        ../../3rdparty/assimp/code/LWSLoader.h:67:24: note: in instantiation of template class 'std::_1::list<Assimp::LWS::Element, std::_1::allocator<Assimp::LWS::Element>>' requested here
        std::list<Element> children;
        ^
        ../../3rdparty/assimp/code/LWSLoader.h:59:7: note: definition of 'Assimp::LWS::Element' is not complete until the closing '}'
        class Element
        ^
        In file included from ../../3rdparty/assimp/code/LWSLoader.cpp:46:
        In file included from ../../3rdparty/assimp/code/AssimpPCH.h:106:
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/list:203:19: error: static_cast from 'std::_1::list_node_base<Assimp::LWS::Element, void *> *' to 'pointer' (aka 'std::1::_list_node<Assimp::LWS::Element, void *> *') is not allowed
        : _prev(static_cast<pointer>(this)),
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/list:529:5: note: in instantiation of member function 'std::_1::list_node_base<Assimp::LWS::Element, void *>::_list_node_base' requested here
        __list_imp()
        ^
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/list:795:5: note: in instantiation of member function 'std::_1::list_imp<Assimp::LWS::Element, std::1::allocator<Assimp::LWS::Element> >::_list_imp' requested here
        list()
        ^
        ../../3rdparty/assimp/code/LWSLoader.h:62:5: note: in instantiation of member function 'std::_1::list<Assimp::LWS::Element, std::_1::allocator<Assimp::LWS::Element> >::list' requested here
        Element()
        ^
        In file included from ../../3rdparty/assimp/code/LWSLoader.cpp:46:
        In file included from ../../3rdparty/assimp/code/AssimpPCH.h:106:
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/list:204:19: error: static_cast from 'std::_1::list_node_base<Assimp::LWS::Element, void *> *' to 'pointer' (aka 'std::1::_list_node<Assimp::LWS::Element, void *> *') is not allowed
        _next(static_cast<pointer>(this))
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/list:678:30: error: static_cast from '_node_base *' (aka 'list_node_base<value_type, __void_pointer> *') to 'node_pointer' (aka 'std::1::_list_node<Assimp::LWS::Element, void *> *') is not allowed
        _node_pointer __l = static_cast<node_pointer>(&end);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/list:664:5: note: in instantiation of member function 'std::_1::list_imp<Assimp::LWS::Element, std::_1::allocator<Assimp::LWS::Element> >::clear' requested here
        clear();
        ^
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/list:769:23: note: in instantiation of member function 'std::_1::list_imp<Assimp::LWS::Element, std::1::allocator<Assimp::LWS::Element> >::~_list_imp' requested here
        class _LIBCPP_VISIBLE list
        ^
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/list:1480:18: error: non-const lvalue reference to type '_node' (aka 'list_node<value_type, __void_pointer>') cannot bind to a value of unrelated type 'node_base' (aka '_list_node_base<value_type, __void_pointer>')
        _link_nodes(static_cast<node&>(base::end), *_hold, *_hold);
        ^ ~~~~~~~~~~~~
        ../../3rdparty/assimp/code/LWSLoader.cpp:79:18: note: in instantiation of member function 'std::_1::list<Assimp::LWS::Element, std::_1::allocator<Assimp::LWS::Element> >::push_back' requested here
        children.push_back(Element());
        ^
        In file included from ../../3rdparty/assimp/code/LWSLoader.cpp:46:
        In file included from ../../3rdparty/assimp/code/AssimpPCH.h:106:
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/list:570:31: error: static_cast from 'const _node_base *' (aka 'const __list_node_base<value_type, __void_pointer> *') to 'node_const_pointer' (aka 'const std::1::_list_node<Assimp::LWS::Element, void *> *') is not allowed
        return const_iterator(static_cast<_node_const_pointer>(&end));
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/list:868:59: note: in instantiation of member function 'std::_1::list_imp<Assimp::LWS::Element, std::_1::allocator<Assimp::LWS::Element> >::end' requested here
        const_iterator end() const _NOEXCEPT {return base::end();}

        ^
        ../../3rdparty/assimp/code/LWSLoader.cpp:186:35: note: in instantiation of member function 'std::_1::list<Assimp::LWS::Element, std::_1::allocator<Assimp::LWS::Element> >::end' requested here
        for (++it; it != dad.children.end(); ++it) {
        ^
        In file included from ../../3rdparty/assimp/code/LWSLoader.cpp:46:
        In file included from ../../3rdparty/assimp/code/AssimpPCH.h:106:
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/list:561:25: error: static_cast from '_node_base *' (aka 'list_node_base<value_type, __void_pointer> *') to 'node_pointer' (aka 'std::1::_list_node<Assimp::LWS::Element, void *> *') is not allowed
        return iterator(static_cast<_node_pointer>(&end));
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/list:866:59: note: in instantiation of member function 'std::_1::list_imp<Assimp::LWS::Element, std::_1::allocator<Assimp::LWS::Element> >::end' requested here
        iterator end() _NOEXCEPT

        {return base::end();}

        ^
        ../../3rdparty/assimp/code/LWSLoader.cpp:518:32: note: in instantiation of member function 'std::_1::list<Assimp::LWS::Element, std::_1::allocator<Assimp::LWS::Element> >::end' requested here
        for (; it != root.children.end(); ++it) {
        ^
        7 errors generated.
        make[3]: *** [.obj/release-shared/LWSLoader.o] Error 1
        make[2]: *** [sub-threed-make_first-ordered] Error 2
        make[1]: *** [sub-src-make_first] Error 2
        make: *** [module-qt3d] Error 2

      Attachments

        For Gerrit Dashboard: QTBUG-32312
        # Subject Branch Project Status CR V

        Activity

          People

            seanharmer Sean Harmer
            ablasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes