Bug#964201: libshiboken2-dev: Wrong include path for CMake in INTERFACE_INCLUDE_DIRECTORIES
Package: libshiboken2-dev
Version: 5.15.0-2
Severity: important
Dear Maintainer!
Similar to bug #949846, the include path in libshiboken is wrong.
Using the same script as in the other bugreport, you can see the following
output:
-- Shiboken2Config: Using default python: .cpython-38-x86_64-linux-gnu
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.3",
minimum required is "3")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found suitable
version "3.8.3", minimum required is "3")
-- SHIBOKEN_PYTHON_INCLUDE_DIRS computed to value: '/usr/include/python3.8'
-- SHIBOKEN_PYTHON_LIBRARIES computed to value: ''
-- libshiboken built for RelWithDebInfo
CMake Error at CMakeLists.txt:6 (get_property):
get_property could not find TARGET Shiboken2:libshiboken. Perhaps it has
not yet been created.
Shiboken2::libshiboken AUTOGEN_ORIGIN_DEPENDS = ON
Shiboken2::libshiboken AUTOMOC_COMPILER_PREDEFINES = ON
Shiboken2::libshiboken AUTOMOC_MACRO_NAMES = Q_OBJECT;Q_GADGET;Q_NAMESPACE
Shiboken2::libshiboken AUTOMOC_PATH_PREFIX = ON
Shiboken2::libshiboken BINARY_DIR = /home/reox/tmp/dfsdf
Shiboken2::libshiboken BINARY_DIR = /home/reox/tmp/dfsdf
Shiboken2::libshiboken BUILD_WITH_INSTALL_RPATH = OFF
Shiboken2::libshiboken IMPORTED = TRUE
Shiboken2::libshiboken IMPORTED_CONFIGURATIONS = RELWITHDEBINFO
Shiboken2::libshiboken IMPORTED_GLOBAL = FALSE
Shiboken2::libshiboken INSTALL_RPATH =
Shiboken2::libshiboken INSTALL_RPATH_USE_LINK_PATH = OFF
Shiboken2::libshiboken INTERFACE_INCLUDE_DIRECTORIES =
/usr/lib/include/shiboken2;/usr/include/python3.8
Shiboken2::libshiboken NAME = Shiboken2::libshiboken
Shiboken2::libshiboken POSITION_INDEPENDENT_CODE = True
Shiboken2::libshiboken SKIP_BUILD_RPATH = OFF
Shiboken2::libshiboken SOURCE_DIR = /home/reox/tmp/dfsdf
Shiboken2::libshiboken SOURCE_DIR = /home/reox/tmp/dfsdf
Shiboken2::libshiboken TYPE = SHARED_LIBRARY
Shiboken2::libshiboken TYPE = SHARED_LIBRARY
Shiboken2::libshiboken UNITY_BUILD_BATCH_SIZE = 8
-- Configuring incomplete, errors occurred!
The include path should be /usr/include/shiboken2 instead of
/usr/lib/include/shiboken2
Thank you!
Best regards
Sebastian
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.7.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8), LANGUAGE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libshiboken2-dev depends on:
ii libshiboken2-py3-5.15 5.15.0-2
ii python3-dev 3.8.2-3
ii shiboken2 5.15.0-2
libshiboken2-dev recommends no packages.
libshiboken2-dev suggests no packages.
-- no debconf information
Reply to: