Package Details: python-ocp 7.7.2.1+r4.g544d7fd5-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-2.0
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-12-28 06:29 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

rbgo commented on 2021-01-26 00:29 (UTC) (edited on 2021-01-26 00:31 (UTC) by rbgo)

I got two Manjaro systems on my LAN. Tryed to install this package and also the git version separately as a dependency of python-cq-editor. In both cases and on both PCs the install will not complete. Next to GUI install with pamac I also tryed install with pacman, makepkg and yay, all having same results.

Install starts normal like this...

Preparing...
Cloning python-ocp build files...
Checking python-ocp dependencies...
Resolving dependencies...
Checking inter-conflicts...
Building python-ocp...
==> Making package: python-ocp 7.5.RC1-1 (Tue 26 Jan 2021 01:12:00 AM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found python-ocp-7.5.RC1.tar.gz
-> Found pywrap-7.5.RC1.tar.gz
==> Validating source files with sha256sums...
    python-ocp-7.5.RC1.tar.gz ... Passed
    pywrap-7.5.RC1.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting python-ocp-7.5.RC1.tar.gz with bsdtar
-> Extracting pywrap-7.5.RC1.tar.gz with bsdtar
==> Starting prepare()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...

And then the following output is dumped starting with "LokyProcess-xx failed..." headers of which I copy the last one...

--------------------------------------------------------------------------------
LokyProcess-22 failed with traceback: 
--------------------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/joblib/externals/loky/backend/popen_loky_posix.py", line 199, in <module>
    process_obj = pickle.load(from_parent)
File "/usr/lib/python3.9/site-packages/joblib/externals/loky/backend/queues.py", line 75, in __setstate__
    self._after_fork()
File "/usr/lib/python3.9/multiprocessing/queues.py", line 69, in _after_fork
    self._reset(after_fork=True)
File "/usr/lib/python3.9/multiprocessing/queues.py", line 73, in _reset
    self._notempty._at_fork_reinit()
AttributeError: '_SafeQueue' object has no attribute '_notempty'
--------------------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
File "/var/tmp/pamac-build-rbgo/python-ocp/src/OCP-7.5-RC1/pywrap/bindgen/__main__.py", line 96, in <module>
    main()
File "/usr/lib/python3.9/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
File "/usr/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3.9/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/click/decorators.py", line 33, in new_func
    return f(get_current_context().obj, *args, **kwargs)
File "/var/tmp/pamac-build-rbgo/python-ocp/src/OCP-7.5-RC1/pywrap/bindgen/__main__.py", line 31, in parse
    result = parse_modules(obj.verbose,obj.njobs,settings,module_mapping,module_settings,platform)
File "/var/tmp/pamac-build-rbgo/python-ocp/src/OCP-7.5-RC1/pywrap/bindgen/__init__.py", line 235, in parse_modules
    modules = Parallel(prefer='processes',n_jobs=n_jobs)\
File "/usr/lib/python3.9/site-packages/joblib/parallel.py", line 1042, in __call__
    self.retrieve()
File "/usr/lib/python3.9/site-packages/joblib/parallel.py", line 921, in retrieve
    self._output.extend(job.get(timeout=self.timeout))
File "/usr/lib/python3.9/site-packages/joblib/_parallel_backends.py", line 542, in wrap_future_result
    return future.result(timeout=timeout)
File "/usr/lib/python3.9/concurrent/futures/_base.py", line 440, in result
    return self.__get_result()
File "/usr/lib/python3.9/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
File "/usr/lib/python3.9/site-packages/joblib/externals/loky/_base.py", line 625, in _invoke_callbacks
    callback(self)
File "/usr/lib/python3.9/site-packages/joblib/parallel.py", line 347, in __call__
    self.parallel.dispatch_next()
File "/usr/lib/python3.9/site-packages/joblib/parallel.py", line 780, in dispatch_next
    if not self.dispatch_one_batch(self._original_iterator):
File "/usr/lib/python3.9/site-packages/joblib/parallel.py", line 847, in dispatch_one_batch
    self._dispatch(tasks)
File "/usr/lib/python3.9/site-packages/joblib/parallel.py", line 765, in _dispatch
    job = self._backend.apply_async(batch, callback=cb)
File "/usr/lib/python3.9/site-packages/joblib/_parallel_backends.py", line 531, in apply_async
    future = self._workers.submit(SafeFunction(func))
File "/usr/lib/python3.9/site-packages/joblib/externals/loky/reusable_executor.py", line 177, in submit
    return super(_ReusablePoolExecutor, self).submit(
File "/usr/lib/python3.9/site-packages/joblib/externals/loky/process_executor.py", line 1102, in submit
    raise self._flags.broken
joblib.externals.loky.process_executor.TerminatedWorkerError: A worker process managed by the executor was unexpectedly terminated. This could be caused by a segmentation fault while calling the function or by an excessive memory usage causing the Operating System to kill the worker.

The exit codes of the workers are {EXIT(1)}
62%|██████▏   | 191/309 [00:00<00:00, 481.43it/s]
==> ERROR: A failure occurred in build().
    Aborting...

greyltc commented on 2020-11-22 13:56 (UTC)

@Knusperkeks It seems to me that those "errors" are actually warnings.

You wrote "I tried building it inside a clean chroot and it does not succeed." I don't see anything indicating failure in what you pasted.

Thanks for the new deps, I've added them.

Knusperkeks commented on 2020-11-22 13:36 (UTC)

I tried building it inside a clean chroot and it does not succeed. As the bindgen phase already produces errors, any complaints by gcc are to be expected I guess. Any idea what i do wrong? Btw, python-jinja and python-toml seem to be missing as makedeps.

==> Extracting sources...
  -> Extracting python-ocp-7.5.RC1.tar.gz with bsdtar
  -> Extracting pywrap-7.5.RC1.tar.gz with bsdtar
==> Starting prepare()...
==> Starting build()...
  0%|          | 0/309 [00:00<?, ?it/s][W 201122 11:19:52 translation_unit:46] ./opencascade/Standard_WarningsRestore.hxx
[W 201122 11:19:52 translation_unit:47] dummy.cxx:36:28: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
[W 201122 11:20:01 translation_unit:46] ./opencascade/BVH_Ray.hxx
[W 201122 11:20:01 translation_unit:47] dummy.cxx:30:20: error: use of undeclared identifier 'BVH'
[W 201122 11:20:01 translation_unit:47] dummy.cxx:30:35: error: expected member name or ';' after declaration specifiers
[W 201122 11:20:01 translation_unit:47] dummy.cxx:34:3: error: unknown type name 'BVH_VecNt'
[W 201122 11:20:01 translation_unit:47] dummy.cxx:35:3: error: unknown type name 'BVH_VecNt'
[W 201122 11:20:01 translation_unit:47] dummy.cxx:39:18: error: unknown type name 'BVH_VecNt'
[W 201122 11:20:01 translation_unit:47] dummy.cxx:40:18: error: unknown type name 'BVH_VecNt'
  3%|▎         | 8/309 [01:16<47:50,  9.54s/it][W 201122 11:21:54 translation_unit:46] ./opencascade/NCollection_CellFilter.hxx
[W 201122 11:21:54 translation_unit:47] dummy.cxx:510:74: error: member access into incomplete type 'const NCollection_CellFilter_InspectorXYZ::Point' (aka 'const gp_XYZ')
[W 201122 11:21:54 translation_unit:47] dummy.cxx:514:9: error: incomplete result type 'NCollection_CellFilter_InspectorXYZ::Point' (aka 'gp_XYZ') in function definition
[W 201122 11:21:54 translation_unit:47] dummy.cxx:515:25: error: member access into incomplete type 'const NCollection_CellFilter_InspectorXYZ::Point' (aka 'const gp_XYZ')
[W 201122 11:21:54 translation_unit:47] dummy.cxx:515:46: error: member access into incomplete type 'const NCollection_CellFilter_InspectorXYZ::Point' (aka 'const gp_XYZ')
[W 201122 11:21:54 translation_unit:47] dummy.cxx:515:67: error: member access into incomplete type 'const NCollection_CellFilter_InspectorXYZ::Point' (aka 'const gp_XYZ')
[W 201122 11:21:54 translation_unit:47] dummy.cxx:533:74: error: member access into incomplete type 'const NCollection_CellFilter_InspectorXY::Point' (aka 'const gp_XY')
[W 201122 11:21:54 translation_unit:47] dummy.cxx:537:9: error: incomplete result type 'NCollection_CellFilter_InspectorXY::Point' (aka 'gp_XY') in function definition
[W 201122 11:21:54 translation_unit:47] dummy.cxx:538:25: error: member access into incomplete type 'const NCollection_CellFilter_InspectorXY::Point' (aka 'const gp_XY')
[W 201122 11:21:54 translation_unit:47] dummy.cxx:538:46: error: member access into incomplete type 'const NCollection_CellFilter_InspectorXY::Point' (aka 'const gp_XY')
 23%|██▎       | 72/309 [09:28<26:14,  6.64s/it][W 201122 11:28:56 translation_unit:46] ./opencascade/IntAna_Quadric.hxx
[W 201122 11:28:56 translation_unit:47] dummy.cxx:41:40: error: unknown type name 'gp_Pln'
[W 201122 11:28:56 translation_unit:47] dummy.cxx:44:40: error: unknown type name 'gp_Sphere'
[W 201122 11:28:56 translation_unit:47] dummy.cxx:47:40: error: unknown type name 'gp_Cylinder'
[W 201122 11:28:56 translation_unit:47] dummy.cxx:50:40: error: unknown type name 'gp_Cone'
[W 201122 11:28:56 translation_unit:47] dummy.cxx:53:42: error: unknown type name 'gp_Pln'
[W 201122 11:28:56 translation_unit:47] dummy.cxx:56:42: error: unknown type name 'gp_Sphere'
[W 201122 11:28:56 translation_unit:47] dummy.cxx:59:42: error: unknown type name 'gp_Cone'
[W 201122 11:28:56 translation_unit:47] dummy.cxx:62:42: error: unknown type name 'gp_Cylinder'
[W 201122 11:28:56 translation_unit:47] dummy.cxx:75:255: error: unknown type name 'gp_Ax3'
[W 201122 11:28:56 translation_unit:47] dummy.cxx:78:26: error: use of undeclared identifier 'gp_Pnt'
[W 201122 11:28:56 translation_unit:47] dummy.cxx:104:20: error: use of undeclared identifier 'gp_Pnt'
 38%|███▊      | 116/309 [15:22<23:30,  7.31s/it][W 201122 11:34:49 translation_unit:46] ./opencascade/IntPatch_PolyhedronTool.hxx
[W 201122 11:34:49 translation_unit:47] ./opencascade/IntPatch_PolyhedronTool.lxx:19:18: error: member access into incomplete type 'const IntPatch_Polyhedron'
[W 201122 11:34:49 translation_unit:47] ./opencascade/IntPatch_PolyhedronTool.lxx:24:18: error: member access into incomplete type 'const IntPatch_Polyhedron'
[W 201122 11:34:49 translation_unit:47] ./opencascade/IntPatch_PolyhedronTool.lxx:29:18: error: member access into incomplete type 'const IntPatch_Polyhedron'
[W 201122 11:34:49 translation_unit:47] ./opencascade/IntPatch_PolyhedronTool.lxx:34:18: error: member access into incomplete type 'const IntPatch_Polyhedron'
[W 201122 11:34:49 translation_unit:47] ./opencascade/IntPatch_PolyhedronTool.lxx:43:11: error: member access into incomplete type 'const IntPatch_Polyhedron'
[W 201122 11:34:49 translation_unit:47] ./opencascade/IntPatch_PolyhedronTool.lxx:49:18: error: member access into incomplete type 'const IntPatch_Polyhedron'
[W 201122 11:34:49 translation_unit:47] ./opencascade/IntPatch_PolyhedronTool.lxx:60:18: error: member access into incomplete type 'const IntPatch_Polyhedron'
 39%|███▉      | 120/309 [15:44<21:20,  6.78s/it][W 201122 11:35:29 translation_unit:46] ./opencascade/BRepApprox_SurfaceTool.hxx
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:31:108: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:32:108: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:33:107: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:34:107: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:38:14: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:43:14: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:49:7: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:55:7: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:63:14: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:70:14: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:78:11: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:83:11: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:88:11: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:93:11: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:98:11: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:103:11: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:110:11: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:118:4: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:128:4: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 201122 11:35:29 translation_unit:47] fatal error: too many errors emitted, stopping now [-ferror-limit=]
 45%|████▌     | 140/309 [17:53<16:39,  5.91s/it][W 201122 11:37:11 translation_unit:46] ./opencascade/ShapeConstruct_ProjectCurveOnSurface.hxx
[W 201122 11:37:11 translation_unit:47] dummy.cxx:210:66: error: use of undeclared identifier 'TColStd_HArray1OfReal'
[W 201122 11:37:11 translation_unit:47] dummy.cxx:213:138: error: use of undeclared identifier 'TColStd_HArray1OfReal'
[W 201122 11:37:11 translation_unit:47] dummy.cxx:215:133: error: use of undeclared identifier 'TColStd_HArray1OfReal'
[W 201122 11:37:11 translation_unit:47] dummy.cxx:217:81: error: use of undeclared identifier 'TColStd_HArray1OfReal'
[W 201122 11:37:11 translation_unit:47] dummy.cxx:219:85: error: use of undeclared identifier 'TColStd_HArray1OfReal'
[W 201122 11:37:25 translation_unit:46] ./opencascade/ShapeFix_Solid.hxx
[W 201122 11:37:25 translation_unit:47] dummy.cxx:70:96: error: invalid use of incomplete type 'Message_ProgressRange'
 47%|████▋     | 144/309 [18:20<16:53,  6.14s/it][W 201122 11:37:55 translation_unit:46] ./opencascade/HLRAlgo_Array1OfPHDat.hxx
[W 201122 11:37:55 translation_unit:47] ./opencascade/HLRAlgo_PolyHidingData.hxx:42:5: error: unknown type name 'gp_XYZ'
[W 201122 11:37:55 translation_unit:47] ./opencascade/HLRAlgo_PolyHidingData.hxx:62:22: error: use of undeclared identifier 'gp_XYZ'
[W 201122 11:38:03 translation_unit:46] ./opencascade/HLRAlgo_HArray1OfPHDat.hxx
[W 201122 11:38:03 translation_unit:47] ./opencascade/HLRAlgo_PolyHidingData.hxx:42:5: error: unknown type name 'gp_XYZ'
[W 201122 11:38:03 translation_unit:47] ./opencascade/HLRAlgo_PolyHidingData.hxx:62:22: error: use of undeclared identifier 'gp_XYZ'
[W 201122 11:38:06 translation_unit:46] ./opencascade/HLRAlgo_PolyShellData.hxx
[W 201122 11:38:06 translation_unit:47] dummy.cxx:52:44: error: use of undeclared identifier 'HLRAlgo_PolyData'
 48%|████▊     | 148/309 [18:56<18:52,  7.03s/it][W 201122 11:38:34 translation_unit:46] ./opencascade/HLRAlgo_PolyHidingData.hxx
[W 201122 11:38:34 translation_unit:47] dummy.cxx:47:5: error: unknown type name 'gp_XYZ'
[W 201122 11:38:34 translation_unit:47] dummy.cxx:67:22: error: use of undeclared identifier 'gp_XYZ'
 50%|█████     | 156/309 [19:37<14:39,  5.75s/it][W 201122 11:38:59 translation_unit:46] ./opencascade/BOPDS_DataMapOfIntegerListOfPaveBlock.hxx
[W 201122 11:38:59 translation_unit:47] dummy.cxx:27:70: error: use of undeclared identifier 'TColStd_MapIntegerHasher'
[W 201122 11:40:03 translation_unit:46] ./opencascade/BOPDS_DataMapOfPaveBlockListOfInteger.hxx
[W 201122 11:40:03 translation_unit:47] dummy.cxx:27:36: error: use of undeclared identifier 'BOPDS_PaveBlock'
[W 201122 11:40:03 translation_unit:47] dummy.cxx:28:9: error: 'BOPDS_DataMapOfPaveBlockListOfInteger' (aka 'int') is not a class, namespace, or enumeration
[W 201122 11:40:16 translation_unit:46] ./opencascade/BOPTools_SetMapHasher.hxx
[W 201122 11:40:16 translation_unit:47] ./opencascade/BOPTools_SetMapHasher.lxx:24:16: error: member access into incomplete type 'const BOPTools_Set'
[W 201122 11:40:16 translation_unit:47] ./opencascade/BOPTools_SetMapHasher.lxx:34:16: error: member access into incomplete type 'const BOPTools_Set'
[W 201122 11:40:22 translation_unit:46] ./opencascade/HLRBRep_CLPropsATool.hxx
[W 201122 11:40:22 translation_unit:47] dummy.cxx:45:30: error: unknown type name 'HLRBRep_Curve'
[W 201122 11:40:22 translation_unit:47] dummy.cxx:49:27: error: unknown type name 'HLRBRep_Curve'
[W 201122 11:40:22 translation_unit:47] dummy.cxx:54:27: error: unknown type name 'HLRBRep_Curve'
[W 201122 11:40:22 translation_unit:47] dummy.cxx:59:27: error: unknown type name 'HLRBRep_Curve'
[W 201122 11:40:22 translation_unit:47] dummy.cxx:66:47: error: unknown type name 'HLRBRep_Curve'
[W 201122 11:40:22 translation_unit:47] dummy.cxx:69:48: error: unknown type name 'HLRBRep_Curve'
[W 201122 11:40:22 translation_unit:47] dummy.cxx:73:47: error: unknown type name 'HLRBRep_Curve'
[W 201122 11:40:22 translation_unit:47] ./opencascade/HLRBRep_CLPropsATool.lxx:26:36: error: out-of-line definition of 'Value' does not match any declaration in 'HLRBRep_CLPropsATool'
[W 201122 11:40:22 translation_unit:47] ./opencascade/HLRBRep_CLPropsATool.lxx:37:36: error: out-of-line definition of 'D1' does not match any declaration in 'HLRBRep_CLPropsATool'
[W 201122 11:40:22 translation_unit:47] ./opencascade/HLRBRep_CLPropsATool.lxx:49:36: error: out-of-line definition of 'D2' does not match any declaration in 'HLRBRep_CLPropsATool'
[W 201122 11:40:22 translation_unit:47] ./opencascade/HLRBRep_CLPropsATool.lxx:62:36: error: out-of-line definition of 'D3' does not match any declaration in 'HLRBRep_CLPropsATool'
[W 201122 11:40:22 translation_unit:47] ./opencascade/HLRBRep_CLPropsATool.lxx:76:48: error: out-of-line definition of 'Continuity' does not match any declaration in 'HLRBRep_CLPropsATool'
[W 201122 11:40:22 translation_unit:47] ./opencascade/HLRBRep_CLPropsATool.lxx:85:45: error: out-of-line definition of 'FirstParameter' does not match any declaration in 'HLRBRep_CLPropsATool'
[W 201122 11:40:22 translation_unit:47] ./opencascade/HLRBRep_CLPropsATool.lxx:94:45: error: out-of-line definition of 'LastParameter' does not match any declaration in 'HLRBRep_CLPropsATool'
 53%|█████▎    | 164/309 [21:53<25:18, 10.47s/it][W 201122 11:41:39 translation_unit:46] ./opencascade/IntTools_EdgeFace.hxx
[W 201122 11:41:39 translation_unit:47] dummy.cxx:124:33: error: use of undeclared identifier 'Precision'
[W 201122 11:41:54 translation_unit:46] ./opencascade/BRepFill_Sweep.hxx
[W 201122 11:41:54 translation_unit:47] dummy.cxx:171:10: error: use of undeclared identifier 'TopTools_HArray1OfShape'
[W 201122 11:41:56 translation_unit:46] ./opencascade/IntTools_SurfaceRangeSampleMapHasher.hxx
[W 201122 11:41:56 translation_unit:47] ./opencascade/IntTools_SurfaceRangeSampleMapHasher.lxx:24:28: error: member access into incomplete type 'const IntTools_SurfaceRangeSample'
[W 201122 11:41:56 translation_unit:47] ./opencascade/IntTools_SurfaceRangeSampleMapHasher.lxx:29:12: error: member access into incomplete type 'const IntTools_SurfaceRangeSample'
[W 201122 11:41:57 translation_unit:46] ./opencascade/IntTools_CurveRangeSampleMapHasher.hxx
[W 201122 11:41:57 translation_unit:47] ./opencascade/IntTools_CurveRangeSampleMapHasher.lxx:23:27: error: member access into incomplete type 'const IntTools_CurveRangeSample'
[W 201122 11:41:57 translation_unit:47] ./opencascade/IntTools_CurveRangeSampleMapHasher.lxx:28:12: error: member access into incomplete type 'const IntTools_CurveRangeSample'
[W 201122 11:42:19 translation_unit:46] ./opencascade/BRepFill_TrimShellCorner.hxx
[W 201122 11:42:19 translation_unit:47] dummy.cxx:98:40: error: unknown type name 'TopoDS_Vertex'
[W 201122 11:42:19 translation_unit:47] dummy.cxx:99:40: error: unknown type name 'TopoDS_Vertex'
 54%|█████▍    | 168/309 [23:37<35:39, 15.18s/it][W 201122 11:44:04 translation_unit:46] ./opencascade/BRepBlend_HCurveTool.hxx
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:35:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:39:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:43:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:47:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:53:4: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:57:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:61:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:65:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:70:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:76:4: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:83:4: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:92:4: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:102:4: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:109:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:114:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:118:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:122:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:126:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:130:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 201122 11:44:04 translation_unit:47] fatal error: too many errors emitted, stopping now [-ferror-limit=]
 56%|█████▌    | 172/309 [25:08<39:44, 17.41s/it][W 201122 11:44:44 translation_unit:46] ./opencascade/BRepBlend_HCurve2dTool.hxx
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:35:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:39:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:43:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:47:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:53:4: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:57:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:61:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:65:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:70:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:76:4: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:83:4: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:92:4: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:102:4: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:109:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:114:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:118:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:122:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:126:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:130:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 201122 11:44:44 translation_unit:47] fatal error: too many errors emitted, stopping now [-ferror-limit=]
 58%|█████▊    | 180/309 [26:16<26:48, 12.47s/it][W 201122 11:45:46 translation_unit:46] ./opencascade/BRepOffset_Inter2d.hxx
[W 201122 11:45:46 translation_unit:47] dummy.cxx:98:61: error: unknown type name 'TopoDS_Edge'
[W 201122 11:45:46 translation_unit:47] dummy.cxx:99:55: error: unknown type name 'TopoDS_Edge'
 61%|██████    | 188/309 [27:16<19:44,  9.79s/it][W 201122 11:47:26 translation_unit:46] ./opencascade/Prs3d_Point.hxx
[W 201122 11:47:26 translation_unit:47] dummy.cxx:48:33: error: use of undeclared identifier 'Prs3d_Presentation'
 62%|██████▏   | 192/309 [28:45<26:21, 13.52s/it][W 201122 11:48:17 translation_unit:46] ./opencascade/Graphic3d_WorldViewProjState.hxx
[W 201122 11:48:17 translation_unit:47] dummy.cxx:152:5: error: use of undeclared identifier 'OCCT_DUMP_FIELD_VALUE_NUMERICAL'
[W 201122 11:48:17 translation_unit:47] dummy.cxx:152:60: error: expected ';' after expression
[W 201122 11:48:17 translation_unit:47] dummy.cxx:153:5: error: use of undeclared identifier 'OCCT_DUMP_FIELD_VALUE_POINTER'
[W 201122 11:48:17 translation_unit:47] dummy.cxx:153:57: error: expected ';' after expression
[W 201122 11:48:17 translation_unit:47] dummy.cxx:154:5: error: use of undeclared identifier 'OCCT_DUMP_FIELD_VALUE_NUMERICAL'
[W 201122 11:48:17 translation_unit:47] dummy.cxx:154:68: error: expected ';' after expression
[W 201122 11:48:17 translation_unit:47] dummy.cxx:155:5: error: use of undeclared identifier 'OCCT_DUMP_FIELD_VALUE_NUMERICAL'
[W 201122 11:48:17 translation_unit:47] dummy.cxx:155:67: error: expected ';' after expression
[W 201122 11:50:06 translation_unit:46] ./opencascade/StdPrs_Point.hxx
[W 201122 11:50:06 translation_unit:47] ./opencascade/Prs3d_Point.hxx:43:33: error: use of undeclared identifier 'Prs3d_Presentation'
 63%|██████▎   | 196/309 [31:09<38:10, 20.27s/it][W 201122 11:50:41 translation_unit:46] ./opencascade/StdPrs_Vertex.hxx
[W 201122 11:50:41 translation_unit:47] ./opencascade/Prs3d_Point.hxx:43:33: error: use of undeclared identifier 'Prs3d_Presentation'
 65%|██████▍   | 200/309 [32:16<34:54, 19.21s/it][W 201122 11:52:10 translation_unit:46] ./opencascade/OpenGl_ShaderObject.hxx
[W 201122 11:52:10 translation_unit:47] dummy.cxx:56:11: error: no template named 'NCollection_Sequence'
 66%|██████▌   | 204/309 [33:29<33:05, 18.91s/it][W 201122 11:52:48 translation_unit:46] ./opencascade/PCDM_ReadWriter.hxx
[W 201122 11:52:48 translation_unit:47] dummy.cxx:89:65: error: unknown type name 'Standard_IStream'
[W 201122 11:53:07 translation_unit:46] ./opencascade/PCDM_ReadWriter_1.hxx
[W 201122 11:53:07 translation_unit:47] ./opencascade/PCDM_ReadWriter.hxx:84:65: error: unknown type name 'Standard_IStream'
 71%|███████   | 220/309 [35:55<14:59, 10.11s/it][W 201122 11:55:24 translation_unit:46] ./opencascade/TNaming_NCollections.hxx
[W 201122 11:55:24 translation_unit:47] dummy.cxx:25:25: error: use of undeclared identifier 'TopoDS_Shape'
[W 201122 11:55:24 translation_unit:47] dummy.cxx:26:9: error: 'TNaming_MapOfShape' (aka 'int') is not a class, namespace, or enumeration
[W 201122 11:55:24 translation_unit:47] dummy.cxx:27:29: error: use of undeclared identifier 'TopoDS_Shape'
[W 201122 11:55:24 translation_unit:47] dummy.cxx:28:9: error: 'TNaming_DataMapOfShapeMapOfShape' (aka 'int') is not a class, namespace, or enumeration
 85%|████████▌ | 264/309 [47:19<18:19, 24.43s/it][W 201122 12:06:39 translation_unit:46] ./opencascade/STEPConstruct_PointHasher.hxx
[W 201122 12:06:39 translation_unit:47] ./opencascade/STEPConstruct_PointHasher.lxx:27:11: error: member access into incomplete type 'const gp_Pnt'
 96%|█████████▌| 296/309 [53:05<02:56, 13.55s/it][W 201122 12:12:58 translation_unit:46] ./opencascade/Interface_ValueInterpret.hxx
[W 201122 12:12:58 translation_unit:47] dummy.cxx:24:85: error: use of undeclared identifier 'Interface_TypedValue'
100%|██████████| 309/309 [55:26<00:00, 10.77s/it]
100%|██████████| 309/309 [14:53<00:00,  2.89s/it]

s-ol commented on 2020-11-17 21:44 (UTC)

can confirm it now builds cleanly, although cadquery and cq-editor crash. I assume they are not yet ready for the 4.5 release:

Traceback (most recent call last):
  File "case.py", line 3, in <module>
    import cadquery as cq
  File "/usr/lib/python3.8/site-packages/cadquery/__init__.py", line 3, in <module>
    from .occ_impl.shapes import (
  File "/usr/lib/python3.8/site-packages/cadquery/occ_impl/shapes.py", line 137, in <module>
    from OCP.Font import (
ImportError: cannot import name 'Font_BRepTextBuilder' from 'OCP.Font' (unknown location)

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.