Bug#945790: libshiboken2-dev: SHIBOKEN_PYTHON_MODULE_DIR contains wrong path causing a cmake find error
Package: libshiboken2-dev
Version: 5.13.2-2
Severity: normal
Dear Maintainer,
when I try to find Shiboken2 with cmake I get the following error:
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Shiboken2-5.13.2/Shiboken2Config.cpython-37m-x86_64-linux-gnu.cmake:14 (message):
File or directory /usr/lib/lib/python3.7/site-packages/shiboken2 referenced
by variable SHIBOKEN_PYTHON_MODULE_DIR does not exist !
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/Shiboken2-5.13.2/Shiboken2Config.cpython-37m-x86_64-linux-gnu.cmake:62 (set_and_check)
/usr/lib/x86_64-linux-gnu/cmake/Shiboken2-5.13.2/Shiboken2Config.cmake:5 (include)
py/CMakeLists.txt:118 (find_package)
-- Configuring incomplete, errors occurred!
The path for SHIBOKEN_PYTHON_MODULE_DIR is invalid (/usr/lib/lib/python3.7/site-packages/shiboken2).
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.3.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libshiboken2-dev depends on:
ii libshiboken2-py3-5.13 5.13.2-2
ii python3-dev 3.7.5-3
libshiboken2-dev recommends no packages.
libshiboken2-dev suggests no packages.
-- no debconf information
Reply to: