Cannot wrapping module for python

Hi all,
as I early mentioned on title, I’m trouble with the wrapping of custom classes to python. I had search for long time but i didnt found nothing to solve my case.
Below all steps to reproduce the error:

git clone --depth 1 --branch v9.4.1 https://gitlab.kitware.com/vtk/vtk.git

cd vtk/Examples/Modules/Wrapping

python -m venv venv

source venv/bin/activate

pip install vtk

mkdir build && cd build

cmake .. \
    -DVTK_DIR=../venv/lib/python3.12/site-packages/vtkmodules/cmake \
    -DCMAKE_BUILD_TYPE=Release \
    -DVTK_WRAP_PYTHON=ON

cmake --build .

then I’ve copied “wrapping” folder from build/lib/python3/dist-packages/wrapping to venv/lib/python3.12/site-packages/
and copied “libvtkWrappable.so” from build/lib/ to venv/lib

after that

python
Python 3.12.7 (main, Feb 12 2025, 12:16:38) [GCC 13.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import wrapping.vtkWrappable
Errore di segmentazione (core dump creato)

I can’t say what goes wrong and I dont have found a solid guide to build correctly this wrapper.
The main goal is to subclass the vtkLegendScaleActor (in c++) in order to import on a python script beacuse I need to modify the logic on BuildRepresentation method, but for now I’m focusing to get a example build.
Can you help me to solve this? Thanks in advance

(post deleted by author)