Your message dated Thu, 19 Nov 2026 12:50:23 +0000
with message-id <[email protected]>
and subject line Bug#1149391: fixed in python-opencascade-pywrap 
0.0~git20251205135501.e4d7570-4
has caused the Debian Bug report #1149391,
regarding python-opencascade-pywrap: uses hardcoded llvm with no runtime 
dependency on it
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1149391: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1149391
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-opencascade-pywrap
Version: 0.0~git20251205135501.e4d7570-3
Severity: serious

Hello, the Config.set_library_file('/usr/lib/llvm-21/lib/libclang.so')
in patch debian/patches/0003-Use-system-clang.patch works until llvm-default 
switches to new release (e.g. experimental).


This is an example of python-ocp failure with default clang to 22

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/clang/cindex.py", line 4474, in 
get_cindex_library
library = cdll.LoadLibrary(self.get_filename())
File "/usr/lib/python3.14/ctypes/__init__.py", line 554, in LoadLibrary
return self._dlltype(name)
~~~~~~~~~~~~~^^^^^^
File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__
self._handle = self._load_library(name, mode, handle, winmode)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library
return _dlopen(name, mode)
OSError: /usr/lib/llvm-21/lib/libclang.so: cannot open shared object file: No 
such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File 
"/usr/lib/python3/dist-packages/joblib/externals/loky/process_executor.py", 
line 490, in _process_worker
r = call_item()
File 
"/usr/lib/python3/dist-packages/joblib/externals/loky/process_executor.py", 
line 291, in __call__
return self.fn(*self.args, **self.kwargs)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/joblib/parallel.py", line 607, in __call__
return [func(*args, **kwargs) for func, args, kwargs in self.items]
~~~~^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/bindgen/__init__.py", line 346, in 
_process_module
return ModuleInfo(name, path, files, module_names, settings, target_platform)
File "/usr/lib/python3/dist-packages/bindgen/module.py", line 56, in __init__
self.headers.append(process_header(
~~~~~~~~~~~~~~^
p, prefix, settings, name, target_platform))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/bindgen/header.py", line 1054, in 
process_header
hi.parse(path, input_folder, settings, module_name, target_platform)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/bindgen/header.py", line 987, in parse
tr_unit = parse_tu(
path,
...<7 lines>...
target_platform=target_platform,
)
File "/usr/lib/python3/dist-packages/bindgen/translation_unit.py", line 46, in 
parse_tu
ix = get_index()
File "/usr/lib/python3/dist-packages/bindgen/utils.py", line 90, in get_index
init_clang()
~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/bindgen/utils.py", line 63, in init_clang
monkeypatch_cursor("is_virtual", "clang_isVirtualBase", [Cursor], c_uint)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/bindgen/cymbal.py", line 57, in 
monkeypatch_cursor
monkeypatch_helper(clang.cindex.Cursor, method_name, library_function, args, 
result)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/bindgen/cymbal.py", line 42, in 
monkeypatch_helper
f = find_libclang_function(library_function)
File "/usr/lib/python3/dist-packages/bindgen/cymbal.py", line 31, in 
find_libclang_function
return getattr(clang.cindex.conf.lib, function)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/clang/cindex.py", line 251, in __get__
value = self.wrapped(instance)
File "/usr/lib/python3/dist-packages/clang/cindex.py", line 4446, in lib
lib = self.get_cindex_library()
File "/usr/lib/python3/dist-packages/clang/cindex.py", line 4482, in 
get_cindex_library
raise LibclangError(msg)
clang.cindex.LibclangError: /usr/lib/llvm-21/lib/libclang.so: cannot open 
shared object file: No such file or directoryTo provide the path to the 
directory containing libclang, you can use the environment variable 
LIBCLANG_LIBRARY_PATH or call Config.set_library_path(). Alternatively, you can 
specify the path of the library file using LIBCLANG_LIBRARY_FILE or 
Config.set_library_file().
"""



G.

--- End Message ---
--- Begin Message ---
Source: python-opencascade-pywrap
Source-Version: 0.0~git20251205135501.e4d7570-4
Done: Nico Della Torre <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-opencascade-pywrap, which is due to be installed in the Debian FTP 
archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nico Della Torre <[email protected]> (supplier of updated 
python-opencascade-pywrap package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 18 Nov 2026 23:09:33 +0100
Source: python-opencascade-pywrap
Built-For-Profiles: nocheck nocheck nocheck
Architecture: source
Version: 0.0~git20251205135501.e4d7570-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Nico Della Torre <[email protected]>
Closes: 1149391
Changes:
 python-opencascade-pywrap (0.0~git20251205135501.e4d7570-4) unstable; 
urgency=medium
 .
   * Team upload.
   * d/patches/0003: Let python3-clang load its own libclang instead of
     hardcoding llvm-21, and depend on python3-clang (Closes: #1149391)
   * d/watch: Convert to version 5
   * Bump Standards-Version to 4.7.4 (no changes needed)
   * Add debian/upstream/metadata
Checksums-Sha1:
 660545070f1d865093cbcefb4e849fd7252972b2 2842 
python-opencascade-pywrap_0.0~git20251205135501.e4d7570-4.dsc
 072b47821b29b4d4aea4d663cd76c9e9cdf77f07 4620 
python-opencascade-pywrap_0.0~git20251205135501.e4d7570-4.debian.tar.xz
 d014b39d1e367fe55d24ffbf2334f6f75a8f898a 26083 
python-opencascade-pywrap_0.0~git20251205135501.e4d7570-4_amd64.buildinfo
Checksums-Sha256:
 8219f688a174a5bc5367dcdced422fb926a85912bf3d791dac3ebb9749de5877 2842 
python-opencascade-pywrap_0.0~git20251205135501.e4d7570-4.dsc
 5a7169d064fe98dab51c71fcaa8de02d0f162e24437abbfea91d56b2518c938d 4620 
python-opencascade-pywrap_0.0~git20251205135501.e4d7570-4.debian.tar.xz
 96e3bda2a1ca466329f778eb5a9389de7f3bdd3448bfab5114a18454b37c286d 26083 
python-opencascade-pywrap_0.0~git20251205135501.e4d7570-4_amd64.buildinfo
Files:
 34dd59e6d956f2442c20a0870bbdd8a5 2842 python optional 
python-opencascade-pywrap_0.0~git20251205135501.e4d7570-4.dsc
 ca81e23afc6bbc86382ce329779733e5 4620 python optional 
python-opencascade-pywrap_0.0~git20251205135501.e4d7570-4.debian.tar.xz
 8c8f5a3d69d2cb5290b903b57e3a9973 26083 python optional 
python-opencascade-pywrap_0.0~git20251205135501.e4d7570-4_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEtBU2D1kett1zr/uD0w3s0lmTIvwFAmr+68UACgkQ0w3s0lmT
Ivzkfw//chksyEdMCkN9Dr2lXWINrMeaJDos6MxbErQggv1h0cl/QROUIayoooOB
v+1Mazee1twWwutfZh50UV+guXT8XKxCN8iwjW8gX0n9ko0EU2vmFCc7zsZ8O0Ud
oxroFjz4PfRsqbIBg50tERzb2fmAQhftOJmQ88T8xPcenDSxpe83gPsjYuSjlxKR
qoJIIMl5r5otYABQ5h8P++K6mYbQg3sP7YtouSGzdd2utLyLFbG0+IYkQC6oTHo+
+9V+hCa7j5Ig/ceuZZGYJiCBXhKyKJ3i1tVHI+rtbyh/N4ubB9I0uO3diI04GEw1
sri/e+Wyjcl9hqmZUqp71xWEK76MwJWp2wIv75R/EUyCT8DXK/6lOk0uMdVgKXwC
iQ9hYJpDuslBHTz/FzEULgtSQ9sDFu6SAZm2RWb00cE9LePISS0TUHlZvY9znJPb
bciM/r3xdSMIyB3cTM7vQn4wIXrtCq+ZADkuWp6vACnKL2GucNeVDq1zpYFGyf/2
oDorreT+wN/smbEuMfKVFf8Id163HsQ3hna1//Imd7hHidw58+XFoWYy7XIO3cKy
b3MFvUYNEuOq0cXePl+JshWY0Jhnqukh+YP6AUs55repq5CWjI861zWg23icPq7C
Jt4WKhkBpbu0NGAfzIzeGPY9XhLI7zvM4AfXOzmOLZiQyUlKnIo=
=JzYz
-----END PGP SIGNATURE-----

Attachment: pgp8ytYLLHtqu.pgp
Description: PGP signature


--- End Message ---

Reply via email to