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)

Dependencies (43)

Sources (2)

Latest Comments

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

Salamandar commented on 2021-10-09 17:02 (UTC)

@juliang did you find a workaround ? I have the same issue.

juliang commented on 2021-07-18 15:45 (UTC)

Hi, I'm having some trouble installing this package (Arch 2021-07-18). I don't know what exactly it is, but the error appears to come from pywrap.

Full log on pastebin: https://pastebin.com/VaHruAPb

Log in the comment (340 lines)

username@a15 ~ > yay -Sy python-cq-editor                                     
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: There are 2 providers available for python-cq-editor:
:: Repository AUR
    1) python-cq-editor 2) python-cq-editor-git

Enter a number (default=1):
:: There are 2 providers available for python-cadquery:
:: Repository AUR
    1) python-cadquery 2) python-cadquery-git

Enter a number (default=1):
:: There are 2 providers available for python-ocp:
:: Repository AUR
    1) python-ocp 2) python-ocp-git

Enter a number (default=1):
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:4]  python-ocp-7.5.RC1-2  python-ezdxf-0.15b2-1  python-cadquery-2.1-1  python-cq-editor-0.2-1
[Aur Make:1]  python-nurbs-5.2.10-1

==> Remove make dependencies after install? [y/N]
  5 python-ocp                       (Build Files Exist)
  4 python-nurbs                     (Build Files Exist)
  3 python-ezdxf                     (Build Files Exist)
  2 python-cadquery                  (Build Files Exist)
  1 python-cq-editor                 (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: PKGBUILD up to date, Skipping (1/5): python-cq-editor
:: PKGBUILD up to date, Skipping (2/5): python-ocp
:: PKGBUILD up to date, Skipping (3/5): python-nurbs
:: PKGBUILD up to date, Skipping (4/5): python-ezdxf
:: PKGBUILD up to date, Skipping (5/5): python-cadquery
  5 python-ocp                       (Build Files Exist)
  4 python-nurbs                     (Build Files Exist)
  3 python-ezdxf                     (Build Files Exist)
  2 python-cadquery                  (Build Files Exist)
  1 python-cq-editor                 (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: (1/5) Parsing SRCINFO: python-ocp
:: (2/5) Parsing SRCINFO: python-nurbs
:: (3/5) Parsing SRCINFO: python-ezdxf
:: (4/5) Parsing SRCINFO: python-cadquery
:: (5/5) Parsing SRCINFO: python-cq-editor
==> Making package: python-ocp 7.5.RC1-2 (So 18 Jul 2021 17:08:41 CEST)
==> 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
==> Making package: python-nurbs 5.2.10-1 (So 18 Jul 2021 17:08:42 CEST)
==> Retrieving sources...
  -> Found python-nurbs-5.2.10.tar.gz
==> Validating source files with sha256sums...
    python-nurbs-5.2.10.tar.gz ... Passed
==> Making package: python-ezdxf 0.15b2-1 (So 18 Jul 2021 17:08:44 CEST)
==> Retrieving sources...
  -> Found python-ezdxf-0.15b2.tar.gz
==> Validating source files with sha256sums...
    python-ezdxf-0.15b2.tar.gz ... Passed
==> Making package: python-cadquery 2.1-1 (So 18 Jul 2021 17:08:45 CEST)
==> Retrieving sources...
  -> Found 2.1.tar.gz
==> Validating source files with sha256sums...
    2.1.tar.gz ... Passed
==> Making package: python-cq-editor 0.2-1 (So 18 Jul 2021 17:08:46 CEST)
==> Retrieving sources...
  -> Found python-cq-editor-0.2.tar.gz
==> Validating source files with sha256sums...
    python-cq-editor-0.2.tar.gz ... Passed
==> Making package: python-ocp 7.5.RC1-2 (So 18 Jul 2021 17:08:48 CEST)
==> 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()...
==> Sources are ready.
==> Making package: python-ocp 7.5.RC1-2 (So 18 Jul 2021 17:08:52 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
  0%|                                                   | 0/309 [00:00<?, ?it/s][W 210718 17:09:43 translation_unit:46] ./opencascade/BVH_Ray.hxx
[W 210718 17:09:43 translation_unit:47] dummy.cxx:30:20: error: use of undeclared identifier 'BVH'
[W 210718 17:09:43 translation_unit:47] dummy.cxx:30:35: error: expected member name or ';' after declaration specifiers
[W 210718 17:09:43 translation_unit:47] dummy.cxx:34:3: error: unknown type name 'BVH_VecNt'
[W 210718 17:09:43 translation_unit:47] dummy.cxx:35:3: error: unknown type name 'BVH_VecNt'
[W 210718 17:09:43 translation_unit:47] dummy.cxx:39:18: error: unknown type name 'BVH_VecNt'
[W 210718 17:09:43 translation_unit:47] dummy.cxx:40:18: error: unknown type name 'BVH_VecNt'
[W 210718 17:09:54 translation_unit:46] ./opencascade/NCollection_CellFilter.hxx
[W 210718 17:09:54 translation_unit:47] dummy.cxx:510:74: error: member access into incomplete type 'const NCollection_CellFilter_InspectorXYZ::Point' (aka 'const gp_XYZ')
[W 210718 17:09:54 translation_unit:47] dummy.cxx:514:9: error: incomplete result type 'NCollection_CellFilter_InspectorXYZ::Point' (aka 'gp_XYZ') in function definition
[W 210718 17:09:54 translation_unit:47] dummy.cxx:515:25: error: member access into incomplete type 'const NCollection_CellFilter_InspectorXYZ::Point' (aka 'const gp_XYZ')
[W 210718 17:09:54 translation_unit:47] dummy.cxx:515:46: error: member access into incomplete type 'const NCollection_CellFilter_InspectorXYZ::Point' (aka 'const gp_XYZ')
[W 210718 17:09:54 translation_unit:47] dummy.cxx:515:67: error: member access into incomplete type 'const NCollection_CellFilter_InspectorXYZ::Point' (aka 'const gp_XYZ')
[W 210718 17:09:54 translation_unit:47] dummy.cxx:533:74: error: member access into incomplete type 'const NCollection_CellFilter_InspectorXY::Point' (aka 'const gp_XY')
[W 210718 17:09:54 translation_unit:47] dummy.cxx:537:9: error: incomplete result type 'NCollection_CellFilter_InspectorXY::Point' (aka 'gp_XY') in function definition
[W 210718 17:09:54 translation_unit:47] dummy.cxx:538:25: error: member access into incomplete type 'const NCollection_CellFilter_InspectorXY::Point' (aka 'const gp_XY')
[W 210718 17:09:54 translation_unit:47] dummy.cxx:538:46: error: member access into incomplete type 'const NCollection_CellFilter_InspectorXY::Point' (aka 'const gp_XY')
  5%|██▏                                       | 16/309 [00:27<08:20,  1.71s/it][W 210718 17:10:02 translation_unit:46] ./opencascade/Standard_WarningsRestore.hxx
[W 210718 17:10:02 translation_unit:47] dummy.cxx:36:28: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
 26%|██████████▊                               | 80/309 [01:44<04:26,  1.17s/it][W 210718 17:11:19 translation_unit:46] ./opencascade/IntAna_Quadric.hxx
[W 210718 17:11:19 translation_unit:47] dummy.cxx:41:40: error: unknown type name 'gp_Pln'
[W 210718 17:11:19 translation_unit:47] dummy.cxx:44:40: error: unknown type name 'gp_Sphere'
[W 210718 17:11:19 translation_unit:47] dummy.cxx:47:40: error: unknown type name 'gp_Cylinder'
[W 210718 17:11:19 translation_unit:47] dummy.cxx:50:40: error: unknown type name 'gp_Cone'
[W 210718 17:11:19 translation_unit:47] dummy.cxx:53:42: error: unknown type name 'gp_Pln'
[W 210718 17:11:19 translation_unit:47] dummy.cxx:56:42: error: unknown type name 'gp_Sphere'
[W 210718 17:11:19 translation_unit:47] dummy.cxx:59:42: error: unknown type name 'gp_Cone'
[W 210718 17:11:19 translation_unit:47] dummy.cxx:62:42: error: unknown type name 'gp_Cylinder'
[W 210718 17:11:19 translation_unit:47] dummy.cxx:75:255: error: unknown type name 'gp_Ax3'
[W 210718 17:11:19 translation_unit:47] dummy.cxx:78:26: error: use of undeclared identifier 'gp_Pnt'
[W 210718 17:11:19 translation_unit:47] dummy.cxx:104:20: error: use of undeclared identifier 'gp_Pnt'
 36%|██████████████▊                          | 112/309 [02:32<04:32,  1.38s/it][W 210718 17:12:06 translation_unit:46] ./opencascade/IntPatch_PolyhedronTool.hxx
[W 210718 17:12:06 translation_unit:47] ./opencascade/IntPatch_PolyhedronTool.lxx:19:18: error: member access into incomplete type 'const IntPatch_Polyhedron'
[W 210718 17:12:06 translation_unit:47] ./opencascade/IntPatch_PolyhedronTool.lxx:24:18: error: member access into incomplete type 'const IntPatch_Polyhedron'
[W 210718 17:12:06 translation_unit:47] ./opencascade/IntPatch_PolyhedronTool.lxx:29:18: error: member access into incomplete type 'const IntPatch_Polyhedron'
[W 210718 17:12:06 translation_unit:47] ./opencascade/IntPatch_PolyhedronTool.lxx:34:18: error: member access into incomplete type 'const IntPatch_Polyhedron'
[W 210718 17:12:06 translation_unit:47] ./opencascade/IntPatch_PolyhedronTool.lxx:43:11: error: member access into incomplete type 'const IntPatch_Polyhedron'
[W 210718 17:12:06 translation_unit:47] ./opencascade/IntPatch_PolyhedronTool.lxx:49:18: error: member access into incomplete type 'const IntPatch_Polyhedron'
[W 210718 17:12:06 translation_unit:47] ./opencascade/IntPatch_PolyhedronTool.lxx:60:18: error: member access into incomplete type 'const IntPatch_Polyhedron'
 39%|███████████████▉                         | 120/309 [02:43<04:20,  1.38s/it][W 210718 17:12:16 translation_unit:46] ./opencascade/BRepApprox_SurfaceTool.hxx
[W 210718 17:12:16 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:31:108: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 210718 17:12:16 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:32:108: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 210718 17:12:16 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:33:107: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 210718 17:12:16 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:34:107: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 210718 17:12:16 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:38:14: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 210718 17:12:16 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:43:14: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 210718 17:12:16 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:49:7: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 210718 17:12:16 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:55:7: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 210718 17:12:16 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:63:14: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 210718 17:12:16 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:70:14: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 210718 17:12:16 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:78:11: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 210718 17:12:16 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:83:11: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 210718 17:12:16 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:88:11: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 210718 17:12:16 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:93:11: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 210718 17:12:16 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:98:11: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 210718 17:12:16 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:103:11: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 210718 17:12:16 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:110:11: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 210718 17:12:16 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:118:4: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 210718 17:12:16 translation_unit:47] ./opencascade/BRepApprox_SurfaceTool.lxx:128:4: error: member access into incomplete type 'const BRepAdaptor_Surface'
[W 210718 17:12:16 translation_unit:47] fatal error: too many errors emitted, stopping now [-ferror-limit=]
 47%|███████████████████                      | 144/309 [03:12<03:18,  1.20s/it][W 210718 17:12:43 translation_unit:46] ./opencascade/ShapeConstruct_ProjectCurveOnSurface.hxx
[W 210718 17:12:43 translation_unit:47] dummy.cxx:210:66: error: use of undeclared identifier 'TColStd_HArray1OfReal'
[W 210718 17:12:43 translation_unit:47] dummy.cxx:213:138: error: use of undeclared identifier 'TColStd_HArray1OfReal'
[W 210718 17:12:43 translation_unit:47] dummy.cxx:215:133: error: use of undeclared identifier 'TColStd_HArray1OfReal'
[W 210718 17:12:43 translation_unit:47] dummy.cxx:217:81: error: use of undeclared identifier 'TColStd_HArray1OfReal'
[W 210718 17:12:43 translation_unit:47] dummy.cxx:219:85: error: use of undeclared identifier 'TColStd_HArray1OfReal'
[W 210718 17:12:50 translation_unit:46] ./opencascade/HLRAlgo_PolyShellData.hxx
[W 210718 17:12:50 translation_unit:47] dummy.cxx:52:44: error: use of undeclared identifier 'HLRAlgo_PolyData'
 49%|████████████████████▏                    | 152/309 [03:20<03:01,  1.16s/it][W 210718 17:12:52 translation_unit:46] ./opencascade/HLRAlgo_PolyHidingData.hxx
[W 210718 17:12:52 translation_unit:47] dummy.cxx:47:5: error: unknown type name 'gp_XYZ'
[W 210718 17:12:52 translation_unit:47] dummy.cxx:67:22: error: use of undeclared identifier 'gp_XYZ'
[W 210718 17:12:53 translation_unit:46] ./opencascade/HLRAlgo_Array1OfPHDat.hxx
[W 210718 17:12:53 translation_unit:47] ./opencascade/HLRAlgo_PolyHidingData.hxx:42:5: error: unknown type name 'gp_XYZ'
[W 210718 17:12:53 translation_unit:47] ./opencascade/HLRAlgo_PolyHidingData.hxx:62:22: error: use of undeclared identifier 'gp_XYZ'
[W 210718 17:12:56 translation_unit:46] ./opencascade/ShapeFix_Solid.hxx
[W 210718 17:12:56 translation_unit:47] dummy.cxx:70:96: error: invalid use of incomplete type 'Message_ProgressRange'
 52%|█████████████████████▏                   | 160/309 [03:29<02:50,  1.15s/it][W 210718 17:13:02 translation_unit:46] ./opencascade/HLRAlgo_HArray1OfPHDat.hxx
[W 210718 17:13:02 translation_unit:47] ./opencascade/HLRAlgo_PolyHidingData.hxx:42:5: error: unknown type name 'gp_XYZ'
[W 210718 17:13:02 translation_unit:47] ./opencascade/HLRAlgo_PolyHidingData.hxx:62:22: error: use of undeclared identifier 'gp_XYZ'
[W 210718 17:13:04 translation_unit:46] ./opencascade/BOPDS_DataMapOfPaveBlockListOfInteger.hxx
[W 210718 17:13:04 translation_unit:47] dummy.cxx:27:36: error: use of undeclared identifier 'BOPDS_PaveBlock'
[W 210718 17:13:04 translation_unit:47] dummy.cxx:28:9: error: 'BOPDS_DataMapOfPaveBlockListOfInteger' (aka 'int') is not a class, namespace, or enumeration
[W 210718 17:13:05 translation_unit:46] ./opencascade/HLRBRep_CLPropsATool.hxx
[W 210718 17:13:05 translation_unit:47] dummy.cxx:45:30: error: unknown type name 'HLRBRep_Curve'
[W 210718 17:13:05 translation_unit:47] dummy.cxx:49:27: error: unknown type name 'HLRBRep_Curve'
[W 210718 17:13:05 translation_unit:47] dummy.cxx:54:27: error: unknown type name 'HLRBRep_Curve'
[W 210718 17:13:05 translation_unit:47] dummy.cxx:59:27: error: unknown type name 'HLRBRep_Curve'
[W 210718 17:13:05 translation_unit:47] dummy.cxx:66:47: error: unknown type name 'HLRBRep_Curve'
[W 210718 17:13:05 translation_unit:47] dummy.cxx:69:48: error: unknown type name 'HLRBRep_Curve'
[W 210718 17:13:05 translation_unit:47] dummy.cxx:73:47: error: unknown type name 'HLRBRep_Curve'
[W 210718 17:13:05 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 210718 17:13:05 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 210718 17:13:05 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 210718 17:13:05 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 210718 17:13:05 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 210718 17:13:05 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 210718 17:13:05 translation_unit:47] ./opencascade/HLRBRep_CLPropsATool.lxx:94:45: error: out-of-line definition of 'LastParameter' does not match any declaration in 'HLRBRep_CLPropsATool'
[W 210718 17:13:13 translation_unit:46] ./opencascade/IntTools_EdgeFace.hxx
[W 210718 17:13:13 translation_unit:47] dummy.cxx:124:33: error: use of undeclared identifier 'Precision'
[W 210718 17:13:15 translation_unit:46] ./opencascade/IntTools_SurfaceRangeSampleMapHasher.hxx
[W 210718 17:13:15 translation_unit:47] ./opencascade/IntTools_SurfaceRangeSampleMapHasher.lxx:24:28: error: member access into incomplete type 'const IntTools_SurfaceRangeSample'
[W 210718 17:13:15 translation_unit:47] ./opencascade/IntTools_SurfaceRangeSampleMapHasher.lxx:29:12: error: member access into incomplete type 'const IntTools_SurfaceRangeSample'
[W 210718 17:13:19 translation_unit:46] ./opencascade/BOPTools_SetMapHasher.hxx
[W 210718 17:13:19 translation_unit:47] ./opencascade/BOPTools_SetMapHasher.lxx:24:16: error: member access into incomplete type 'const BOPTools_Set'
[W 210718 17:13:19 translation_unit:47] ./opencascade/BOPTools_SetMapHasher.lxx:34:16: error: member access into incomplete type 'const BOPTools_Set'
 54%|██████████████████████▎                  | 168/309 [03:50<03:45,  1.60s/it][W 210718 17:13:29 translation_unit:46] ./opencascade/IntTools_CurveRangeSampleMapHasher.hxx
[W 210718 17:13:29 translation_unit:47] ./opencascade/IntTools_CurveRangeSampleMapHasher.lxx:23:27: error: member access into incomplete type 'const IntTools_CurveRangeSample'
[W 210718 17:13:29 translation_unit:47] ./opencascade/IntTools_CurveRangeSampleMapHasher.lxx:28:12: error: member access into incomplete type 'const IntTools_CurveRangeSample'
[W 210718 17:13:41 translation_unit:46] ./opencascade/BOPDS_DataMapOfIntegerListOfPaveBlock.hxx
[W 210718 17:13:41 translation_unit:47] dummy.cxx:27:70: error: use of undeclared identifier 'TColStd_MapIntegerHasher'
[W 210718 17:13:47 translation_unit:46] ./opencascade/BRepFill_TrimShellCorner.hxx
[W 210718 17:13:47 translation_unit:47] dummy.cxx:98:40: error: unknown type name 'TopoDS_Vertex'
[W 210718 17:13:47 translation_unit:47] dummy.cxx:99:40: error: unknown type name 'TopoDS_Vertex'
 57%|███████████████████████▎                 | 176/309 [04:32<05:57,  2.69s/it][W 210718 17:14:03 translation_unit:46] ./opencascade/BRepFill_Sweep.hxx
[W 210718 17:14:03 translation_unit:47] dummy.cxx:171:10: error: use of undeclared identifier 'TopTools_HArray1OfShape'
 60%|████████████████████████▍                | 184/309 [04:49<05:15,  2.52s/it][W 210718 17:14:20 translation_unit:46] ./opencascade/BRepOffset_Inter2d.hxx
[W 210718 17:14:20 translation_unit:47] dummy.cxx:98:61: error: unknown type name 'TopoDS_Edge'
[W 210718 17:14:20 translation_unit:47] dummy.cxx:99:55: error: unknown type name 'TopoDS_Edge'
[W 210718 17:14:24 translation_unit:46] ./opencascade/BRepBlend_HCurveTool.hxx
[W 210718 17:14:24 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:35:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 210718 17:14:24 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:39:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 210718 17:14:24 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:43:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 210718 17:14:24 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:47:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 210718 17:14:24 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:53:4: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 210718 17:14:24 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:57:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 210718 17:14:24 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:61:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 210718 17:14:24 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:65:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 210718 17:14:24 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:70:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 210718 17:14:24 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:76:4: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 210718 17:14:24 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:83:4: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 210718 17:14:24 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:92:4: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 210718 17:14:24 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:102:4: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 210718 17:14:24 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:109:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 210718 17:14:24 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:114:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 210718 17:14:24 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:118:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 210718 17:14:24 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:122:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 210718 17:14:24 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:126:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 210718 17:14:24 translation_unit:47] ./opencascade/BRepBlend_HCurveTool.lxx:130:11: error: member access into incomplete type 'Adaptor3d_HCurve'
[W 210718 17:14:24 translation_unit:47] fatal error: too many errors emitted, stopping now [-ferror-limit=]
[W 210718 17:14:38 translation_unit:46] ./opencascade/BRepBlend_HCurve2dTool.hxx
[W 210718 17:14:38 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:35:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 210718 17:14:38 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:39:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 210718 17:14:38 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:43:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 210718 17:14:38 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:47:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 210718 17:14:38 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:53:4: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 210718 17:14:38 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:57:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 210718 17:14:38 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:61:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 210718 17:14:38 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:65:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 210718 17:14:38 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:70:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 210718 17:14:38 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:76:4: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 210718 17:14:38 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:83:4: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 210718 17:14:38 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:92:4: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 210718 17:14:38 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:102:4: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 210718 17:14:38 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:109:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 210718 17:14:38 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:114:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 210718 17:14:38 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:118:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 210718 17:14:38 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:122:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 210718 17:14:38 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:126:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 210718 17:14:38 translation_unit:47] ./opencascade/BRepBlend_HCurve2dTool.lxx:130:11: error: member access into incomplete type 'Adaptor2d_HCurve2d'
[W 210718 17:14:38 translation_unit:47] fatal error: too many errors emitted, stopping now [-ferror-limit=]
 62%|█████████████████████████▍               | 192/309 [05:08<04:50,  2.48s/it][W 210718 17:15:01 translation_unit:46] ./opencascade/StdPrs_Vertex.hxx
[W 210718 17:15:01 translation_unit:47] ./opencascade/Prs3d_Point.hxx:43:33: error: use of undeclared identifier 'Prs3d_Presentation'
[W 210718 17:15:05 translation_unit:46] ./opencascade/Prs3d_Point.hxx
[W 210718 17:15:05 translation_unit:47] dummy.cxx:48:33: error: use of undeclared identifier 'Prs3d_Presentation'
[W 210718 17:15:11 translation_unit:46] ./opencascade/StdPrs_Point.hxx
[W 210718 17:15:11 translation_unit:47] ./opencascade/Prs3d_Point.hxx:43:33: error: use of undeclared identifier 'Prs3d_Presentation'
 67%|███████████████████████████▌             | 208/309 [05:58<04:33,  2.71s/it][W 210718 17:15:32 translation_unit:46] ./opencascade/PCDM_ReadWriter_1.hxx
[W 210718 17:15:32 translation_unit:47] ./opencascade/PCDM_ReadWriter.hxx:84:65: error: unknown type name 'Standard_IStream'
[W 210718 17:15:40 translation_unit:46] ./opencascade/PCDM_ReadWriter.hxx
[W 210718 17:15:40 translation_unit:47] dummy.cxx:89:65: error: unknown type name 'Standard_IStream'
[W 210718 17:15:45 translation_unit:46] ./opencascade/Graphic3d_WorldViewProjState.hxx
[W 210718 17:15:45 translation_unit:47] dummy.cxx:152:5: error: use of undeclared identifier 'OCCT_DUMP_FIELD_VALUE_NUMERICAL'
[W 210718 17:15:45 translation_unit:47] dummy.cxx:152:60: error: expected ';' after expression
[W 210718 17:15:45 translation_unit:47] dummy.cxx:153:5: error: use of undeclared identifier 'OCCT_DUMP_FIELD_VALUE_POINTER'
[W 210718 17:15:45 translation_unit:47] dummy.cxx:153:57: error: expected ';' after expression
[W 210718 17:15:45 translation_unit:47] dummy.cxx:154:5: error: use of undeclared identifier 'OCCT_DUMP_FIELD_VALUE_NUMERICAL'
[W 210718 17:15:45 translation_unit:47] dummy.cxx:154:68: error: expected ';' after expression
[W 210718 17:15:45 translation_unit:47] dummy.cxx:155:5: error: use of undeclared identifier 'OCCT_DUMP_FIELD_VALUE_NUMERICAL'
[W 210718 17:15:45 translation_unit:47] dummy.cxx:155:67: error: expected ';' after expression
 72%|█████████████████████████████▋           | 224/309 [06:42<03:49,  2.70s/it][W 210718 17:16:23 translation_unit:46] ./opencascade/OpenGl_ShaderObject.hxx
[W 210718 17:16:23 translation_unit:47] dummy.cxx:56:11: error: no template named 'NCollection_Sequence'
[W 210718 17:16:23 translation_unit:46] ./opencascade/TNaming_NCollections.hxx
[W 210718 17:16:23 translation_unit:47] dummy.cxx:25:25: error: use of undeclared identifier 'TopoDS_Shape'
[W 210718 17:16:23 translation_unit:47] dummy.cxx:26:9: error: 'TNaming_MapOfShape' (aka 'int') is not a class, namespace, or enumeration
[W 210718 17:16:23 translation_unit:47] dummy.cxx:27:29: error: use of undeclared identifier 'TopoDS_Shape'
[W 210718 17:16:23 translation_unit:47] dummy.cxx:28:9: error: 'TNaming_DataMapOfShapeMapOfShape' (aka 'int') is not a class, namespace, or enumeration
 88%|████████████████████████████████████     | 272/309 [09:01<02:17,  3.72s/it][W 210718 17:18:33 translation_unit:46] ./opencascade/STEPConstruct_PointHasher.hxx
[W 210718 17:18:33 translation_unit:47] ./opencascade/STEPConstruct_PointHasher.lxx:27:11: error: member access into incomplete type 'const gp_Pnt'
100%|█████████████████████████████████████████| 309/309 [10:20<00:00,  2.01s/it]
[W 210718 17:20:03 translation_unit:46] ./opencascade/Interface_ValueInterpret.hxx
[W 210718 17:20:03 translation_unit:47] dummy.cxx:24:85: error: use of undeclared identifier 'Interface_TypedValue'
100%|█████████████████████████████████████████| 309/309 [03:21<00:00,  1.53it/s]
[I 210718 17:24:25 __init__:267] sorting
[I 210718 17:24:25 __init__:285] removing duplicate typedefs
Processing module Standard
Processing module gp
Processing module math
Processing module BVH
  1%|▍                                          | 3/309 [00:00<00:13, 22.78it/s]
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 "/home/username/.cache/yay/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 1137, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.9/site-packages/click/core.py", line 1668, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3.9/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/click/decorators.py", line 38, in new_func
    return f(get_current_context().obj, *args, **kwargs)
  File "/home/username/.cache/yay/python-ocp/src/OCP-7.5-RC1/pywrap/bindgen/__main__.py", line 68, in generate
    render(settings,module_settings,modules,class_dict)
  File "/home/username/.cache/yay/python-ocp/src/OCP-7.5-RC1/pywrap/bindgen/__init__.py", line 436, in render
    f.write(template_tmpl.render({'module' : m }))
  File "/usr/lib/python3.9/site-packages/jinja2/environment.py", line 1304, in render
    self.environment.handle_exception()
  File "/usr/lib/python3.9/site-packages/jinja2/environment.py", line 925, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "/home/username/.cache/yay/python-ocp/src/OCP-7.5-RC1/pywrap/bindgen/template_templates.j2", line 35, in top-level template code
    py::class_<{{t.name}}{{template_args(t)}} {{template_pointer(t)}} {{super(t,all_classes)}}>(m,name,R"#({{t.comment}})#");
  File "/usr/lib/python3.9/site-packages/jinja2/runtime.py", line 828, in _invoke
    rv = self._func(*arguments)
  File "/home/username/.cache/yay/python-ocp/src/OCP-7.5-RC1/pywrap/bindgen/macros.j2", line 16, in template
    {% for super in cls.superclass if super in classes or super in typedefs %}, {{super}} {% endfor %}
  File "/home/username/.cache/yay/python-ocp/src/OCP-7.5-RC1/pywrap/bindgen/macros.j2", line 16, in template
    {% for super in cls.superclass if super in classes or super in typedefs %}, {{super}} {% endfor %}
jinja2.exceptions.UndefinedError: parameter 'typedefs' was not provided
==> ERROR: A failure occurred in build().
    Aborting...
error making: python-ocp

captain_tycho commented on 2021-04-15 16:50 (UTC)

Hey, just figured I'd drop a note that when I compiled this package I had a minor problem that the output file was called OCP.cpython-39-x86_64-linux-gnu.so, instead of OCP.so, which was what Python expected. Don't know if that was intentional, but it caused import issues until it was easily fixed by renaming it.

rbgo commented on 2021-02-02 06:56 (UTC)

@greyltc Everything is working now up to CQ-editor. Thank you very much! :D

dack commented on 2021-02-01 23:49 (UTC)

FYI - the combination of python-ocp and python-cadquery-git works fine for me (no need for python-ocp-git).

greyltc commented on 2021-01-26 15:02 (UTC)

@rbgo I think python-cadquery being broken is an upstream problem. They don't support opencascade 7.5, only 7.4. I've put some workarounds for that problem into python-cadquery-git, so you might give that a shot (maybe paired with python-ocp-git. that's the combo I'm using).

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.