Bug#949846: libpyside2-dev: Wrong include path for CMake in INTERFACE_INCLUDE_DIRECTORIES
control: fixed -1 5.14.0-1~exp1
control: close -1
Hello,
its fixed in experimental and the fix will go in sid once the transition starts!
(please reopen if this isn't the case)
G.
On Sat, 25 Jan 2020 20:55:25 +0100 Sebastian Bachmann <me@free-minds.net> wrote:
> Package: libpyside2-dev
> Version: 5.13.2-2.2+b1
> Severity: normal
>
> Dear Maintainer!
>
> I noticed that my build fails because of this error:
>
> CMake Error in src/Gui/CMakeLists.txt:
> Imported target "PySide2::pyside2" includes non-existent path
>
> "/usr/lib/include/PySide2"
>
> in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
>
> * The path was deleted, renamed, or moved to another location.
>
> * An install or uninstall procedure did not complete successfully.
>
> * The installation package was faulty and references files it does not
> provide.
>
>
> The correct path should be /usr/include/PySide2 and a quick check using the
> attached CMake script shows that indeed the wrong path is set:
> cmake ..
> -- PySide2Config: Using default python: .cpython-38-x86_64-linux-gnu
> [...]
> PySide2::pyside2 INTERFACE_INCLUDE_DIRECTORIES = /usr/lib/include/PySide2
> [...]
>
>
> Best regards
> Sebastian
>
>
>
> -- System Information:
> Debian Release: bullseye/sid
> APT prefers testing
> APT policy: (990, 'testing'), (500, 'unstable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 5.4.0-3-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 /bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages libpyside2-dev depends on:
> ii libpyside2-py3-5.13 5.13.2-2.2+b1
>
> libpyside2-dev recommends no packages.
>
> libpyside2-dev suggests no packages.
>
> -- no debconf information
Reply to: