Package: libshiboken2-dev Version: 5.13.2-2 Severity: important Since PySide 5.13, the CMake files shipped in libshiboken2-dev have a dependency on the /usr/bin/shiboken2 executable. If the shiboken2 package is not installed, find_package(Shiboken2) fails in CMake.
Installing shiboken2 fixes the issue. This breaks the build of packages which build-depend on libshiboken2-dev. For example: https://buildd.debian.org/status/fetch.php?pkg=freecad&arch=amd64&ver=0.18.4%2Bdfsg1-1%2Bb1&stamp=1574113872&raw=0 How to reproduce: $ cat > CMakeFiles.txt find_package(Shiboken2) ^D $ cmake -Wno-dev . -- The C compiler identification is GNU 9.2.1 -- The CXX compiler identification is GNU 9.2.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Shiboken2Config: Using default python: .cpython-38-x86_64-linux-gnu CMake Error at /usr/lib/x86_64-linux- gnu/cmake/Shiboken2-5.13.2/Shiboken2Targets.cmake:75 (message): The imported target "Shiboken2::shiboken2" references the file "/usr/bin/shiboken2" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/x86_64-linux-gnu/cmake/Shiboken2-5.13.2/Shiboken2Targets.cmake" but not all the files it references. Call Stack (most recent call first): /usr/lib/x86_64-linux- gnu/cmake/Shiboken2-5.13.2/Shiboken2Config.cpython-38-x86_64-linux-gnu.cmake:40 (include) /usr/lib/x86_64-linux-gnu/cmake/Shiboken2-5.13.2/Shiboken2Config.cmake:5 (include) CMakeLists.txt:1 (find_package) -- Configuring incomplete, errors occurred! See also "/tmp/shiboken2/CMakeFiles/CMakeOutput.log". -- System Information: Debian Release: bullseye/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.3.0-2-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_USER, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (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

