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)

Latest Comments

1 2 3 4 5 Next › Last »

greyltc commented on 2025-07-15 15:21 (UTC)

CMake Error at /usr/lib/cmake/vtk/VTK-targets.cmake:1897 (set_target_properties):

My builds are failing like this too.

greyltc commented on 2025-07-15 03:50 (UTC)

Yeah, it takes forever to build. You can speed up the build by increasing _n_parallel_build_jobs but beware doing that might cause the build to fail while linking (at the end) when it runs out of RAM quite late in the job which is really frustrating. I recommend leaving _n_parallel_build_jobs = 1 and starting the build before you go to sleep.

I recall patching out the progress bars because they were making the build logs difficult for me to read.

rmsc commented on 2025-07-14 18:48 (UTC)

Sadly not building... :('

CMake Error at /usr/lib/cmake/vtk/VTK-targets.cmake:1897 (set_target_properties):
  The link interface of target "VTK::mpi" contains:

    MPI::MPI_C

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  /usr/lib/cmake/vtk/vtk-config.cmake:147 (include)
  CMakeLists.txt:8 (find_package)

rmsc commented on 2025-07-14 15:44 (UTC)

@greyltc is there a reason for disabling the progress bars?

This thing takes HOURS to build, and at least they give an indication of progress. I only now realized the PKGBUILD was applying a patch to disable them.. wtf?

Auerhuhn commented on 2025-01-02 15:54 (UTC)

@greyltc Would you mind adding the fmt package to depends?
Without fmt, it builds cleanly but fails at runtime.

Auerhuhn commented on 2025-01-02 15:52 (UTC)

@s-ol I got the same error.

Rebuilding the clang15 package with these patches applied fixed it for me.

s-ol commented on 2024-12-27 23:09 (UTC)

Having problems building because of some clang version mismatch:

clang.cindex.LibclangError: /usr/lib/llvm15/lib/libclang.so.15.0.7: undefined symbol: clang_CXXMethod_isDeleted. Please ensure that your python bindings are compatible with your libclang.so version.

greyltc commented on 2024-06-07 16:51 (UTC)

It's probably not stuck, just takes forever to build. Leave it overnight if you think it might be stuck.

chilichiller commented on 2024-05-04 21:18 (UTC) (edited on 2024-05-04 21:32 (UTC) by chilichiller)

I am getting the same problem as Jikstra, the build process is stuck at "Running pywrap", exact same log as Jikstra had (just using Python 3.12). However, there was no issue with the latest fast_float version (6.1.0-2). Can anyone help to fix that?

Jikstra commented on 2024-03-05 16:55 (UTC)

I had to downgrad fast_float to 5.3.0 (sudo paru -U https://archive.archlinux.org/packages/f/fast_float/fast_float-5.3.0-1-any.pkg.tar.zst)

However, it's now stuck at "Running pywrap"

-- Running pywrap
'/usr/bin/python3.11' '-m' 'bindgen' '--njobs' '1' '-l' '/usr/lib/llvm15/lib/libclang.so.15.0.7' '-i' '/usr/lib/llvm15/include/' '-i' '/usr/include/vtk/' '-i' '/usr/lib/clang/16/include' 'all' 'ocp.toml' 'Linux'
^[[A
[W 240305 17:47:53 translation_unit:47] ./opencascade/Standard_WarningsRestore.hxx
[W 240305 17:47:53 translation_unit:48] dummy.cxx:42:28: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]