Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Failed buliding on Fedora

Open
#136 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp, fedora, python

Research direction

Start with the Fedora 38 build instructions in README.md and reproduce the pywrap -i /usr/include/clang -l /usr/lib64/libclang.so all ocp.toml command using the reported pywrap and OCP commits. Investigate the clang_CXXMethod_isExplicit symbol error and confirm that the OCP compilation completes successfully on Fedora 38.

Written by the indexing model from the issue text.

Description

I tried following the instructions in the README.md to compile OCP Fedora 38 but it failed as follows:

pywrap -i /usr/include/clang -l /usr/lib64/libclang.so all ocp.toml
  0%|                                                   | 0/314 [00:00<?, ?it/s]joblib.externals.loky.process_executor._RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/clang/cindex.py", line 3832, in register_function
    func = getattr(lib, item[0])
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/ctypes/__init__.py", line 389, in __getattr__
    func = self.__getitem__(name)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/ctypes/__init__.py", line 394, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: /usr/lib64/libclang.so: undefined symbol: clang_CXXMethod_isExplicit

pywrap was installed from git with commitid = f3bcde7

ocp was cloned from git and compilation was tried with commit id = 4b98a5dc

Dominant language
C++
Stars
200
Forks
48
Avg merge
1d 13h
Merged PRs (30d)
4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CadQuery/OCP

All issues in CadQuery/OCP

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.