Package Details: python-ocp 7.7.2.0-4

Git Clone URL: https://aur.archlinux.org/python-ocp.git (read-only, click to copy)
Package Base: python-ocp
Description: Python wrapper for OCCT generated using pywrap
Upstream URL: https://github.com/CadQuery/OCP
Licenses: Apache
Conflicts: python-ocp-git
Submitter: greyltc
Maintainer: greyltc
Last Packager: greyltc
Votes: 1
Popularity: 0.000000
First Submitted: 2020-08-22 14:36 (UTC)
Last Updated: 2024-03-24 20:13 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4

greyltc commented on 2020-11-16 15:46 (UTC)

I seem to have fixed the build. Somehow upstream has modified the opencascade headers and the build works with those modified ones. I've submitted an issue to try to learn why that is: https://github.com/CadQuery/OCP/issues/31

greyltc commented on 2020-11-16 14:47 (UTC)

Looks like they actually released a new version for 7.5. I've updated this package to that, but the build is still failing for me.

s-ol commented on 2020-11-16 14:40 (UTC)

@greyltc good catch, I'll try to downgrade and rebuild in the meantime.

greyltc commented on 2020-11-16 14:24 (UTC)

I imagine the opencascade package in community being updated to ver 7.5 https://www.archlinux.org/packages/community/x86_64/opencascade/ is what broke this then.

Sounds like a bug that should be reported upstream.

s-ol commented on 2020-11-16 14:21 (UTC) (edited on 2020-11-16 14:21 (UTC) by s-ol)

I'm having trouble building this now, after my last build on the 22nd of october succeeded.

It ends like this:

FAILED: CMakeFiles/OCP.dir/XCAFPrs.cpp.o
/usr/bin/g++-8 -DOCP_EXPORTS -I/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP -I/usr/include/opencascade -isystem /usr/include/python3.8 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -O3 -DNDEBUG -fPIC -fpermissive -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++17 -MD -MT CMakeFiles/OCP.dir/XCAFPrs.cpp.o -MF CMakeFiles/OCP.dir/XCAFPrs.cpp.o.d -o CMakeFiles/OCP.dir/XCAFPrs.cpp.o -c /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/bits/move.h:55,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/bits/stl_pair.h:59,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/utility:70,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/tuple:38,
                 from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:3:
/usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/type_traits: In instantiation of ‘struct std::is_base_of<pybind11::detail::pyobject_tag, Image_SupportedFormats>’:
/usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/type_traits:1295:12:   recursively required by substitution of ‘template<class T> class pybind11::detail::type_caster<T, typename std::enable_if<std::is_base_of<pybind11::detail::pyobject_tag, typename std::remove_reference<_Tp>::type>::value, void>::type> [with T = Image_SupportedFormats]’
/usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/type_traits:1295:12:   required from ‘struct std::is_base_of<pybind11::detail::type_caster_base<Image_SupportedFormats>, pybind11::detail::type_caster<Image_SupportedFormats, void> >’
/usr/include/pybind11/cast.h:1498:40:   required from ‘struct pybind11::detail::copyable_holder_caster<Image_SupportedFormats, opencascade::handle<Image_SupportedFormats> >’
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/OCP_specific.inc:8:1:   required from ‘class pybind11::detail::type_caster<opencascade::handle<Image_SupportedFormats>, void>’
/usr/include/pybind11/cast.h:1974:56:   required from ‘constexpr const auto pybind11::detail::argument_loader<XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&>::arg_names’
/usr/include/pybind11/cast.h:1974:27:   required from ‘class pybind11::detail::argument_loader<XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&>’
/usr/include/pybind11/pybind11.h:157:50:   required from ‘void pybind11::cpp_function::initialize(Func&&, Return (*)(Args ...), const Extra& ...) [with Func = pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_CompressedPixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]::<lambda(XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&)>; Return = opencascade::handle<Image_CompressedPixMap>; Args = {XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’
/usr/include/pybind11/pybind11.h:84:9:   required from ‘pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_CompressedPixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’
/usr/include/pybind11/pybind11.h:1266:22:   required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const char*, Func&&, const Extra& ...) [with Func = opencascade::handle<Image_CompressedPixMap> (XCAFPrs_Texture::*)(const opencascade::handle<Image_SupportedFormats>&); Extra = {char [14], pybind11::arg}; type_ = XCAFPrs_Texture; options = {opencascade::handle<XCAFPrs_Texture>, Graphic3d_Texture2Dmanual}]’
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:433:11:   required from here
/usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/type_traits:1295:12: error: invalid use of incomplete type ‘class Image_SupportedFormats’
     struct is_base_of
            ^~~~~~~~~~
In file included from /usr/include/opencascade/Graphic3d_TextureMap.hxx:20,
                 from /usr/include/opencascade/Graphic3d_Aspects.hxx:31,
                 from /usr/include/opencascade/Graphic3d_AspectFillArea3d.hxx:20,
                 from /usr/include/opencascade/Graphic3d_ClipPlane.hxx:21,
                 from /usr/include/opencascade/PrsMgr_PresentableObject.hxx:22,
                 from /usr/include/opencascade/SelectMgr_SelectableObject.hxx:20,
                 from /usr/include/opencascade/AIS_InteractiveObject.hxx:22,
                 from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:17:
/usr/include/opencascade/Graphic3d_TextureRoot.hxx:29:7: note: forward declaration of ‘class Image_SupportedFormats’
 class Image_SupportedFormats;
       ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/bits/move.h:55,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/bits/stl_pair.h:59,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/utility:70,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/tuple:38,
                 from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:3:
/usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/type_traits: In instantiation of ‘struct std::is_base_of<pybind11::detail::pyobject_tag, Image_CompressedPixMap>’:
/usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/type_traits:1295:12:   recursively required by substitution of ‘template<class T> class pybind11::detail::type_caster<T, typename std::enable_if<std::is_base_of<pybind11::detail::pyobject_tag, typename std::remove_reference<_Tp>::type>::value, void>::type> [with T = Image_CompressedPixMap]’
/usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/type_traits:1295:12:   required from ‘struct std::is_base_of<pybind11::detail::type_caster_base<Image_CompressedPixMap>, pybind11::detail::type_caster<Image_CompressedPixMap, void> >’
/usr/include/pybind11/cast.h:1498:40:   required from ‘struct pybind11::detail::copyable_holder_caster<Image_CompressedPixMap, opencascade::handle<Image_CompressedPixMap> >’
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/OCP_specific.inc:8:1:   required from ‘class pybind11::detail::type_caster<opencascade::handle<Image_CompressedPixMap>, void>’
/usr/include/pybind11/pybind11.h:177:86:   recursively required by substitution of ‘template<class Return> struct pybind11::detail::return_value_policy_override<Return, typename std::enable_if<std::is_base_of<pybind11::detail::type_caster_generic, pybind11::detail::type_caster<typename pybind11::detail::intrinsic_type<T>::type> >::value, void>::type> [with Return = opencascade::handle<Image_CompressedPixMap>]’
/usr/include/pybind11/pybind11.h:177:86:   required from ‘void pybind11::cpp_function::initialize(Func&&, Return (*)(Args ...), const Extra& ...) [with Func = pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_CompressedPixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]::<lambda(XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&)>; Return = opencascade::handle<Image_CompressedPixMap>; Args = {XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’
/usr/include/pybind11/pybind11.h:84:9:   required from ‘pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_CompressedPixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’
/usr/include/pybind11/pybind11.h:1266:22:   required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const char*, Func&&, const Extra& ...) [with Func = opencascade::handle<Image_CompressedPixMap> (XCAFPrs_Texture::*)(const opencascade::handle<Image_SupportedFormats>&); Extra = {char [14], pybind11::arg}; type_ = XCAFPrs_Texture; options = {opencascade::handle<XCAFPrs_Texture>, Graphic3d_Texture2Dmanual}]’
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:433:11:   required from here
/usr/lib/gcc/x86_64-pc-linux-gnu/8.4.0/include/c++/type_traits:1295:12: error: invalid use of incomplete type ‘class Image_CompressedPixMap’
     struct is_base_of
            ^~~~~~~~~~
In file included from /usr/include/opencascade/Graphic3d_TextureMap.hxx:20,
                 from /usr/include/opencascade/Graphic3d_Aspects.hxx:31,
                 from /usr/include/opencascade/Graphic3d_AspectFillArea3d.hxx:20,
                 from /usr/include/opencascade/Graphic3d_ClipPlane.hxx:21,
                 from /usr/include/opencascade/PrsMgr_PresentableObject.hxx:22,
                 from /usr/include/opencascade/SelectMgr_SelectableObject.hxx:20,
                 from /usr/include/opencascade/AIS_InteractiveObject.hxx:22,
                 from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:17:
/usr/include/opencascade/Graphic3d_TextureRoot.hxx:28:7: note: forward declaration of ‘class Image_CompressedPixMap’
 class Image_CompressedPixMap;
       ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/pybind11/cast.h:15,
                 from /usr/include/pybind11/attr.h:13,
                 from /usr/include/pybind11/pybind11.h:45,
                 from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:6:
/usr/include/pybind11/detail/descr.h: In instantiation of ‘static constexpr std::array<const std::type_info*, (sizeof... (Ts) + 1)> pybind11::detail::descr<N, Ts>::types() [with long unsigned int N = 15; Ts = {XCAFPrs_Texture, Image_SupportedFormats, Image_CompressedPixMap}]’:
/usr/include/pybind11/pybind11.h:207:73:   required from ‘void pybind11::cpp_function::initialize(Func&&, Return (*)(Args ...), const Extra& ...) [with Func = pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_CompressedPixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]::<lambda(XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&)>; Return = opencascade::handle<Image_CompressedPixMap>; Args = {XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’
/usr/include/pybind11/pybind11.h:84:9:   required from ‘pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_CompressedPixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’
/usr/include/pybind11/pybind11.h:1266:22:   required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const char*, Func&&, const Extra& ...) [with Func = opencascade::handle<Image_CompressedPixMap> (XCAFPrs_Texture::*)(const opencascade::handle<Image_SupportedFormats>&); Extra = {char [14], pybind11::arg}; type_ = XCAFPrs_Texture; options = {opencascade::handle<XCAFPrs_Texture>, Graphic3d_Texture2Dmanual}]’
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:433:11:   required from here
/usr/include/pybind11/detail/descr.h:38:19: error: invalid use of incomplete type ‘class Image_SupportedFormats’
         return {{&typeid(Ts)..., nullptr}};
                   ^~~~~~~~~~
In file included from /usr/include/opencascade/Graphic3d_TextureMap.hxx:20,
                 from /usr/include/opencascade/Graphic3d_Aspects.hxx:31,
                 from /usr/include/opencascade/Graphic3d_AspectFillArea3d.hxx:20,
                 from /usr/include/opencascade/Graphic3d_ClipPlane.hxx:21,
                 from /usr/include/opencascade/PrsMgr_PresentableObject.hxx:22,
                 from /usr/include/opencascade/SelectMgr_SelectableObject.hxx:20,
                 from /usr/include/opencascade/AIS_InteractiveObject.hxx:22,
                 from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:17:
/usr/include/opencascade/Graphic3d_TextureRoot.hxx:29:7: note: forward declaration of ‘class Image_SupportedFormats’
 class Image_SupportedFormats;
       ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/pybind11/cast.h:15,
                 from /usr/include/pybind11/attr.h:13,
                 from /usr/include/pybind11/pybind11.h:45,
                 from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:6:
/usr/include/pybind11/detail/descr.h:38:42: error: could not convert ‘{{<expression error>, nullptr}}’ from ‘<brace-enclosed initializer list>’ to ‘std::array<const std::type_info*, 4>’
         return {{&typeid(Ts)..., nullptr}};
                                          ^
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:6:
/usr/include/pybind11/pybind11.h: In instantiation of ‘void pybind11::cpp_function::initialize(Func&&, Return (*)(Args ...), const Extra& ...) [with Func = pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_CompressedPixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]::<lambda(XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&)>; Return = opencascade::handle<Image_CompressedPixMap>; Args = {XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’:
/usr/include/pybind11/pybind11.h:84:9:   required from ‘pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_CompressedPixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’
/usr/include/pybind11/pybind11.h:1266:22:   required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const char*, Func&&, const Extra& ...) [with Func = opencascade::handle<Image_CompressedPixMap> (XCAFPrs_Texture::*)(const opencascade::handle<Image_SupportedFormats>&); Extra = {char [14], pybind11::arg}; type_ = XCAFPrs_Texture; options = {opencascade::handle<XCAFPrs_Texture>, Graphic3d_Texture2Dmanual}]’
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:433:11:   required from here
/usr/include/pybind11/pybind11.h:207:73:   in ‘constexpr’ expansion of ‘pybind11::detail::descr<15, XCAFPrs_Texture, Image_SupportedFormats, Image_CompressedPixMap>::types()’
/usr/include/pybind11/pybind11.h:207:39: error: ‘constexpr’ call flows off the end of the function
         PYBIND11_DESCR_CONSTEXPR auto types = decltype(signature)::types();
                                       ^~~~~
In file included from /usr/include/pybind11/cast.h:15,
                 from /usr/include/pybind11/attr.h:13,
                 from /usr/include/pybind11/pybind11.h:45,
                 from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:6:
/usr/include/pybind11/detail/descr.h: In instantiation of ‘static constexpr std::array<const std::type_info*, (sizeof... (Ts) + 1)> pybind11::detail::descr<N, Ts>::types() [with long unsigned int N = 15; Ts = {XCAFPrs_Texture, Image_SupportedFormats, Image_PixMap}]’:
/usr/include/pybind11/pybind11.h:207:73:   required from ‘void pybind11::cpp_function::initialize(Func&&, Return (*)(Args ...), const Extra& ...) [with Func = pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_PixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]::<lambda(XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&)>; Return = opencascade::handle<Image_PixMap>; Args = {XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’
/usr/include/pybind11/pybind11.h:84:9:   required from ‘pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_PixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’
/usr/include/pybind11/pybind11.h:1266:22:   required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const char*, Func&&, const Extra& ...) [with Func = opencascade::handle<Image_PixMap> (XCAFPrs_Texture::*)(const opencascade::handle<Image_SupportedFormats>&); Extra = {char [14], pybind11::arg}; type_ = XCAFPrs_Texture; options = {opencascade::handle<XCAFPrs_Texture>, Graphic3d_Texture2Dmanual}]’
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:437:11:   required from here
/usr/include/pybind11/detail/descr.h:38:19: error: invalid use of incomplete type ‘class Image_SupportedFormats’
         return {{&typeid(Ts)..., nullptr}};
                   ^~~~~~~~~~
In file included from /usr/include/opencascade/Graphic3d_TextureMap.hxx:20,
                 from /usr/include/opencascade/Graphic3d_Aspects.hxx:31,
                 from /usr/include/opencascade/Graphic3d_AspectFillArea3d.hxx:20,
                 from /usr/include/opencascade/Graphic3d_ClipPlane.hxx:21,
                 from /usr/include/opencascade/PrsMgr_PresentableObject.hxx:22,
                 from /usr/include/opencascade/SelectMgr_SelectableObject.hxx:20,
                 from /usr/include/opencascade/AIS_InteractiveObject.hxx:22,
                 from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:17:
/usr/include/opencascade/Graphic3d_TextureRoot.hxx:29:7: note: forward declaration of ‘class Image_SupportedFormats’
 class Image_SupportedFormats;
       ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/pybind11/cast.h:15,
                 from /usr/include/pybind11/attr.h:13,
                 from /usr/include/pybind11/pybind11.h:45,
                 from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:6:
/usr/include/pybind11/detail/descr.h:38:42: error: could not convert ‘{{<expression error>, nullptr}}’ from ‘<brace-enclosed initializer list>’ to ‘std::array<const std::type_info*, 4>’
         return {{&typeid(Ts)..., nullptr}};
                                          ^
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:6:
/usr/include/pybind11/pybind11.h: In instantiation of ‘void pybind11::cpp_function::initialize(Func&&, Return (*)(Args ...), const Extra& ...) [with Func = pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_PixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]::<lambda(XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&)>; Return = opencascade::handle<Image_PixMap>; Args = {XCAFPrs_Texture*, const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’:
/usr/include/pybind11/pybind11.h:84:9:   required from ‘pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = opencascade::handle<Image_PixMap>; Class = XCAFPrs_Texture; Arg = {const opencascade::handle<Image_SupportedFormats>&}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling, char [14], pybind11::arg}]’
/usr/include/pybind11/pybind11.h:1266:22:   required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const char*, Func&&, const Extra& ...) [with Func = opencascade::handle<Image_PixMap> (XCAFPrs_Texture::*)(const opencascade::handle<Image_SupportedFormats>&); Extra = {char [14], pybind11::arg}; type_ = XCAFPrs_Texture; options = {opencascade::handle<XCAFPrs_Texture>, Graphic3d_Texture2Dmanual}]’
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/XCAFPrs.cpp:437:11:   required from here
/usr/include/pybind11/pybind11.h:207:73:   in ‘constexpr’ expansion of ‘pybind11::detail::descr<15, XCAFPrs_Texture, Image_SupportedFormats, Image_PixMap>::types()’
/usr/include/pybind11/pybind11.h:207:39: error: ‘constexpr’ call flows off the end of the function
         PYBIND11_DESCR_CONSTEXPR auto types = decltype(signature)::types();
                                       ^~~~~
[575/610] Building CXX object CMakeFiles/OCP.dir/V3d.cpp.o
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp: In function ‘void register_V3d(pybind11::module&)’:
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:967:179: warning: ‘void V3d_View::SetClipPlanes(const Graphic3d_SequenceOfHClipPlane&)’ is deprecated: This method is deprecated - overload taking Handle should be used instead [-Wdeprecated-declarations]
              (void (V3d_View::*)( const Graphic3d_SequenceOfHClipPlane &  ) ) static_cast<void (V3d_View::*)( const Graphic3d_SequenceOfHClipPlane &  ) >(&V3d_View::SetClipPlanes),
                                                                                                                                                                                   ^
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:17:
/usr/include/opencascade/V3d_View.hxx:903:8: note: declared here
   void SetClipPlanes (const Graphic3d_SequenceOfHClipPlane& thePlanes)
        ^~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:967:179: warning: ‘void V3d_View::SetClipPlanes(const Graphic3d_SequenceOfHClipPlane&)’ is deprecated: This method is deprecated - overload taking Handle should be used instead [-Wdeprecated-declarations]
              (void (V3d_View::*)( const Graphic3d_SequenceOfHClipPlane &  ) ) static_cast<void (V3d_View::*)( const Graphic3d_SequenceOfHClipPlane &  ) >(&V3d_View::SetClipPlanes),
                                                                                                                                                                                   ^
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:17:
/usr/include/opencascade/V3d_View.hxx:903:8: note: declared here
   void SetClipPlanes (const Graphic3d_SequenceOfHClipPlane& thePlanes)
        ^~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1003:118: warning: ‘Standard_Boolean V3d_View::IfMoreLights() const’ is deprecated: Deprecated method - ActiveLights() should be used instead [-Wdeprecated-declarations]
              (Standard_Boolean (V3d_View::*)() const) static_cast<Standard_Boolean (V3d_View::*)() const>(&V3d_View::IfMoreLights),
                                                                                                                      ^~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:17:
/usr/include/opencascade/V3d_View.hxx:973:36: note: declared here
   Standard_EXPORT Standard_Boolean IfMoreLights() const;
                                    ^~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1007:84: warning: ‘void V3d_View::InitActiveLights()’ is deprecated: Deprecated method - ActiveLights() should be used instead [-Wdeprecated-declarations]
              (void (V3d_View::*)() ) static_cast<void (V3d_View::*)() >(&V3d_View::InitActiveLights),
                                                                                    ^~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:17:
/usr/include/opencascade/V3d_View.hxx:977:8: note: declared here
   void InitActiveLights() { myActiveLightsIterator.Initialize (myActiveLights); }
        ^~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1011:118: warning: ‘Standard_Boolean V3d_View::MoreActiveLights() const’ is deprecated: Deprecated method - ActiveLights() should be used instead [-Wdeprecated-declarations]
              (Standard_Boolean (V3d_View::*)() const) static_cast<Standard_Boolean (V3d_View::*)() const>(&V3d_View::MoreActiveLights),
                                                                                                                      ^~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:17:
/usr/include/opencascade/V3d_View.hxx:981:20: note: declared here
   Standard_Boolean MoreActiveLights() const { return myActiveLightsIterator.More(); }
                    ^~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1015:84: warning: ‘void V3d_View::NextActiveLights()’ is deprecated: Deprecated method - ActiveLights() should be used instead [-Wdeprecated-declarations]
              (void (V3d_View::*)() ) static_cast<void (V3d_View::*)() >(&V3d_View::NextActiveLights),
                                                                                    ^~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:17:
/usr/include/opencascade/V3d_View.hxx:985:8: note: declared here
   void NextActiveLights() { myActiveLightsIterator.Next(); }
        ^~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1283:162: warning: ‘const opencascade::handle<Graphic3d_CLight>& V3d_View::ActiveLight() const’ is deprecated: Deprecated method - ActiveLights() should be used instead [-Wdeprecated-declarations]
              (const opencascade::handle<V3d_Light> & (V3d_View::*)() const) static_cast<const opencascade::handle<V3d_Light> & (V3d_View::*)() const>(&V3d_View::ActiveLight),
                                                                                                                                                                  ^~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:17:
/usr/include/opencascade/V3d_View.hxx:988:28: note: declared here
   const Handle(V3d_Light)& ActiveLight() const { return myActiveLightsIterator.Value(); }
                            ^~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1581:311: warning: ‘void V3d_Viewer::SetDefaultBackgroundColor(Quantity_TypeOfColor, Standard_Real, Standard_Real, Standard_Real)’ is deprecated: This method is deprecated - SetDefaultBackgroundColor() taking Quantity_Color should be used instead [-Wdeprecated-declarations]
              (void (V3d_Viewer::*)( const Quantity_TypeOfColor ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real  ) ) static_cast<void (V3d_Viewer::*)( const Quantity_TypeOfColor ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real  ) >(&V3d_Viewer::SetDefaultBackgroundColor),
                                                                                                                                                                                                                                                                                                                       ^
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:430:8: note: declared here
   void SetDefaultBackgroundColor (const Quantity_TypeOfColor theType,
        ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1581:311: warning: ‘void V3d_Viewer::SetDefaultBackgroundColor(Quantity_TypeOfColor, Standard_Real, Standard_Real, Standard_Real)’ is deprecated: This method is deprecated - SetDefaultBackgroundColor() taking Quantity_Color should be used instead [-Wdeprecated-declarations]
              (void (V3d_Viewer::*)( const Quantity_TypeOfColor ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real  ) ) static_cast<void (V3d_Viewer::*)( const Quantity_TypeOfColor ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real  ) >(&V3d_Viewer::SetDefaultBackgroundColor),
                                                                                                                                                                                                                                                                                                                       ^
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:430:8: note: declared here
   void SetDefaultBackgroundColor (const Quantity_TypeOfColor theType,
        ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1585:90: warning: ‘void V3d_Viewer::InitActiveViews()’ is deprecated: Deprecated method - ActiveViews() should be used instead [-Wdeprecated-declarations]
              (void (V3d_Viewer::*)() ) static_cast<void (V3d_Viewer::*)() >(&V3d_Viewer::InitActiveViews),
                                                                                          ^~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:453:8: note: declared here
   void InitActiveViews() { myActiveViewsIterator.Initialize (myActiveViews); }
        ^~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1589:124: warning: ‘Standard_Boolean V3d_Viewer::MoreActiveViews() const’ is deprecated: Deprecated method - ActiveViews() should be used instead [-Wdeprecated-declarations]
              (Standard_Boolean (V3d_Viewer::*)() const) static_cast<Standard_Boolean (V3d_Viewer::*)() const>(&V3d_Viewer::MoreActiveViews),
                                                                                                                            ^~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:457:20: note: declared here
   Standard_Boolean MoreActiveViews() const { return myActiveViewsIterator.More(); }
                    ^~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1593:90: warning: ‘void V3d_Viewer::NextActiveViews()’ is deprecated: Deprecated method - ActiveViews() should be used instead [-Wdeprecated-declarations]
              (void (V3d_Viewer::*)() ) static_cast<void (V3d_Viewer::*)() >(&V3d_Viewer::NextActiveViews),
                                                                                          ^~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:461:8: note: declared here
   void NextActiveViews() { if (!myActiveViews.IsEmpty()) myActiveViewsIterator.Next(); }
        ^~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1597:90: warning: ‘void V3d_Viewer::InitDefinedViews()’ is deprecated: Deprecated method - DefinedViews() should be used instead [-Wdeprecated-declarations]
              (void (V3d_Viewer::*)() ) static_cast<void (V3d_Viewer::*)() >(&V3d_Viewer::InitDefinedViews),
                                                                                          ^~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:468:8: note: declared here
   void InitDefinedViews() { myDefinedViewsIterator.Initialize (myDefinedViews); }
        ^~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1601:124: warning: ‘Standard_Boolean V3d_Viewer::MoreDefinedViews() const’ is deprecated: Deprecated method - DefinedViews() should be used instead [-Wdeprecated-declarations]
              (Standard_Boolean (V3d_Viewer::*)() const) static_cast<Standard_Boolean (V3d_Viewer::*)() const>(&V3d_Viewer::MoreDefinedViews),
                                                                                                                            ^~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:472:20: note: declared here
   Standard_Boolean MoreDefinedViews() const { return myDefinedViewsIterator.More(); }
                    ^~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1605:90: warning: ‘void V3d_Viewer::NextDefinedViews()’ is deprecated: Deprecated method - DefinedViews() should be used instead [-Wdeprecated-declarations]
              (void (V3d_Viewer::*)() ) static_cast<void (V3d_Viewer::*)() >(&V3d_Viewer::NextDefinedViews),
                                                                                          ^~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:476:8: note: declared here
   void NextDefinedViews() { if (!myDefinedViews.IsEmpty()) myDefinedViewsIterator.Next(); }
        ^~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1609:90: warning: ‘void V3d_Viewer::InitActiveLights()’ is deprecated: Deprecated method - ActiveLights() should be used instead [-Wdeprecated-declarations]
              (void (V3d_Viewer::*)() ) static_cast<void (V3d_Viewer::*)() >(&V3d_Viewer::InitActiveLights),
                                                                                          ^~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:483:8: note: declared here
   void InitActiveLights() { myActiveLightsIterator.Initialize (myActiveLights); }
        ^~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1613:124: warning: ‘Standard_Boolean V3d_Viewer::MoreActiveLights() const’ is deprecated: Deprecated method - ActiveLights() should be used instead [-Wdeprecated-declarations]
              (Standard_Boolean (V3d_Viewer::*)() const) static_cast<Standard_Boolean (V3d_Viewer::*)() const>(&V3d_Viewer::MoreActiveLights),
                                                                                                                            ^~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:487:20: note: declared here
   Standard_Boolean MoreActiveLights() const { return myActiveLightsIterator.More(); }
                    ^~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1617:90: warning: ‘void V3d_Viewer::NextActiveLights()’ is deprecated: Deprecated method - ActiveLights() should be used instead [-Wdeprecated-declarations]
              (void (V3d_Viewer::*)() ) static_cast<void (V3d_Viewer::*)() >(&V3d_Viewer::NextActiveLights),
                                                                                          ^~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:491:8: note: declared here
   void NextActiveLights() { myActiveLightsIterator.Next(); }
        ^~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1621:90: warning: ‘void V3d_Viewer::InitDefinedLights()’ is deprecated: Deprecated method - DefinedLights() should be used instead [-Wdeprecated-declarations]
              (void (V3d_Viewer::*)() ) static_cast<void (V3d_Viewer::*)() >(&V3d_Viewer::InitDefinedLights),
                                                                                          ^~~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:498:8: note: declared here
   void InitDefinedLights() { myDefinedLightsIterator.Initialize (myDefinedLights); }
        ^~~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1625:124: warning: ‘Standard_Boolean V3d_Viewer::MoreDefinedLights() const’ is deprecated: Deprecated method - DefinedLights() should be used instead [-Wdeprecated-declarations]
              (Standard_Boolean (V3d_Viewer::*)() const) static_cast<Standard_Boolean (V3d_Viewer::*)() const>(&V3d_Viewer::MoreDefinedLights),
                                                                                                                            ^~~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:502:20: note: declared here
   Standard_Boolean MoreDefinedLights() const { return myDefinedLightsIterator.More(); }
                    ^~~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1629:90: warning: ‘void V3d_Viewer::NextDefinedLights()’ is deprecated: Deprecated method - DefinedLights() should be used instead [-Wdeprecated-declarations]
              (void (V3d_Viewer::*)() ) static_cast<void (V3d_Viewer::*)() >(&V3d_Viewer::NextDefinedLights),
                                                                                          ^~~~~~~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:506:8: note: declared here
   void NextDefinedLights() { if (!myDefinedLights.IsEmpty()) myDefinedLightsIterator.Next(); }
        ^~~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp: In lambda function:
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1686:71: warning: ‘void V3d_Viewer::DefaultBackgroundColor(Quantity_TypeOfColor, Standard_Real&, Standard_Real&, Standard_Real&) const’ is deprecated: This method is deprecated - DefaultBackgroundColor() without arguments should be used instead [-Wdeprecated-declarations]
                  self.DefaultBackgroundColor(theType,theV1,theV2,theV3);
                                                                       ^
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:445:8: note: declared here
   void DefaultBackgroundColor (const Quantity_TypeOfColor theType, Standard_Real& theV1, Standard_Real& theV2, Standard_Real& theV3) const
        ^~~~~~~~~~~~~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp: In function ‘void register_V3d(pybind11::module&)’:
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1751:166: warning: ‘const opencascade::handle<V3d_View>& V3d_Viewer::ActiveView() const’ is deprecated: Deprecated method - ActiveViews() should be used instead [-Wdeprecated-declarations]
              (const opencascade::handle<V3d_View> & (V3d_Viewer::*)() const) static_cast<const opencascade::handle<V3d_View> & (V3d_Viewer::*)() const>(&V3d_Viewer::ActiveView),
                                                                                                                                                                      ^~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:464:27: note: declared here
   const Handle(V3d_View)& ActiveView() const { return myActiveViewsIterator.Value(); }
                           ^~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1756:166: warning: ‘const opencascade::handle<V3d_View>& V3d_Viewer::DefinedView() const’ is deprecated: Deprecated method - DefinedViews() should be used instead [-Wdeprecated-declarations]
              (const opencascade::handle<V3d_View> & (V3d_Viewer::*)() const) static_cast<const opencascade::handle<V3d_View> & (V3d_Viewer::*)() const>(&V3d_Viewer::DefinedView),
                                                                                                                                                                      ^~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:479:27: note: declared here
   const Handle(V3d_View)& DefinedView() const { return myDefinedViewsIterator.Value(); }
                           ^~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1761:168: warning: ‘const opencascade::handle<Graphic3d_CLight>& V3d_Viewer::ActiveLight() const’ is deprecated: Deprecated method - ActiveLights() should be used instead [-Wdeprecated-declarations]
              (const opencascade::handle<V3d_Light> & (V3d_Viewer::*)() const) static_cast<const opencascade::handle<V3d_Light> & (V3d_Viewer::*)() const>(&V3d_Viewer::ActiveLight),
                                                                                                                                                                        ^~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:494:28: note: declared here
   const Handle(V3d_Light)& ActiveLight() const { return myActiveLightsIterator.Value(); }
                            ^~~~~~~~~~~
/home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:1766:168: warning: ‘const opencascade::handle<Graphic3d_CLight>& V3d_Viewer::DefinedLight() const’ is deprecated: Deprecated method - DefinedLights() should be used instead [-Wdeprecated-declarations]
              (const opencascade::handle<V3d_Light> & (V3d_Viewer::*)() const) static_cast<const opencascade::handle<V3d_Light> & (V3d_Viewer::*)() const>(&V3d_Viewer::DefinedLight),
                                                                                                                                                                        ^~~~~~~~~~~~
In file included from /home/s-ol/.trizen/python-ocp/src/OCP-7.4-RC2/OCP/V3d.cpp:16:
/usr/include/opencascade/V3d_Viewer.hxx:509:28: note: declared here
   const Handle(V3d_Light)& DefinedLight() const { return myDefinedLightsIterator.Value(); }
                            ^~~~~~~~~~~~
[609/610] Building CXX object CMakeFiles/OCP.dir/gp.cpp.o
ninja: build stopped: cannot make progress due to previous errors.
==> ERROR: A failure occurred in build().
    Aborting...
:: Unable to build python-ocp - makepkg exited with code: 4

Z2h-A6n commented on 2020-09-25 18:50 (UTC) (edited on 2020-09-25 18:51 (UTC) by Z2h-A6n)

I can confirm the missing clang dependency (presumably to be put in makedepends) dack mentioned. I didn't have a problem with python-joblib, which is in the current version of makedepends.

dack commented on 2020-08-24 22:44 (UTC)

Build fails due to missing dependencies - clang and python-joblib