Package Details: python-ocp 7.8.1.2-1

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: 2025-05-07 23:03 (UTC)

Dependencies (43)

Sources (3)

Latest Comments

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

greyltc commented on 2021-01-26 14:11 (UTC)

Yeah, sorry about that. I made a mistake in the joblib version spec that I just added to the PKGBUILD. I've fixed it now, so try your build again please. My experience has been that python 3.9 causes your original build error with joblib version 0.16 but not with version 1.0.

rbgo commented on 2021-01-26 11:33 (UTC) (edited on 2021-01-26 11:34 (UTC) by rbgo)

@greyltc I had "python-joblib 0.16.0-3" installed from Manjaro's Offical Repositories and removed it, because I saw an AUR available "python-joblib 1.0.0-1". I installed it. Then I tryed install AURs (1)"python-ocp-git 7.5.RC1.r4.g6b105a3-1" and (2)"python-ocp 7.5.RC1-2", both failed on not having "python-joblib => 1.0"; strange. I edit the build file of (2) removing the joblib version requirement. The build came far but tripped over missing opencascade files and cmake could not continue. Did the same with (1) and the build completed! So that helped. Thank you! :-)

But now it is "python-cadquery 2.0.1-1" that fails to install...

----------- coverage: platform linux, python 3.9.1-final-0 -----------
Name                            Stmts   Miss Branch BrPart  Cover
-----------------------------------------------------------------
cadquery/__init__.py                9      7      0      0    22%
cadquery/occ_impl/__init__.py       0      0      0      0   100%
cadquery/occ_impl/geom.py         448    270     92      1    33%
cadquery/occ_impl/shapes.py       816    779    206      0     4%
tests/__init__.py                  32     31      6      0     3%
-----------------------------------------------------------------
TOTAL                            1305   1087    304      1    14%

=========================== short test summary info ============================
ERROR tests/test_cad_objects.py
ERROR tests/test_cadquery.py
ERROR tests/test_cqgi.py
ERROR tests/test_exporters.py
ERROR tests/test_importers.py
ERROR tests/test_jupyter.py
ERROR tests/test_selectors.py
ERROR tests/test_workplanes.py
!!!!!!!!!!!!!!!!!!! Interrupted: 8 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 8 errors in 0.89s ===============================
==> ERROR: A failure occurred in check().
    Aborting...

I checked all the dependencies for "python-cadquery" and they're all installed.

@s-ol Thank for your thoughts on this.

[12:17 rbgo]~> free
        total        used        free      shared  buff/cache   available
Mem:            64310        5123       54786         347        4400       58208
Swap:               0           0           0

s-ol commented on 2021-01-26 09:23 (UTC)

@rbgo The error message seems to suggest you may be running out of RAM? How much RAM and swap space do you have available? (e.g. output of free)

greyltc commented on 2021-01-26 09:06 (UTC) (edited on 2021-01-26 09:09 (UTC) by greyltc)

@rbgo I've never used Manjaro, so I'm not really sure what goes on there. What version of python-joblib does Manjaro give you? Seems to me you're running an out of date version of that package with bugs that break this build.

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.