Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 709680

Summary: kde-frameworks/networkmanager-qt - CMake Error in kded/CMakeLists.txt: Imported target "KF5::NetworkManagerQt" includes non-existent path "/usr/lib64/libffi-3.3_rc0/include"
Product: Gentoo Linux Reporter: Jannik Glückert <jannik.glueckert>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Jannik Glückert 2020-02-15 02:54:35 UTC
Created attachment 613896 [details]
emerge --info

I get the following error when emerging any of plasma-vault-5.18.0 , powerdevil-5.18.0 or plasma-nm-5.18.0 :

-- Configuring done
CMake Error in kded/CMakeLists.txt:
  Imported target "KF5::NetworkManagerQt" includes non-existent path

    "/usr/lib64/libffi-3.3_rc0/include"

  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.



CMake Error in kded/CMakeLists.txt:
  Imported target "KF5::NetworkManagerQt" includes non-existent path

    "/usr/lib64/libffi-3.3_rc0/include"

  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.


This is with kde-frameworks/networkmanager-qt-5.67.0
I have dev-libs/libffi-3.3-r1 installed, which does NOT create a folder /usr/lib64/libffi-3.3-r1 , but rather /usr/lib64/libffi . Creating a symlink did not fix this, so it seems like NetworkManager-Qt looks for 3.3_rc0 specifically. Note that virtual/libffi is still at version 3.3_rc0

Installing dev-libs/libffi-3.3_rc0 instead of libffi-3.3-r1 fixes this.

In summary, there's two issues:

First, the versions of virtual/libffi and dev-libs/libffi do not match, and kde-frameworks/networkmanager-qt looks for the version of the virtual package

Second, dev-libs/libffi-3.3-r1 installs incorrectly, since the folder in /usr/lib64 does not include the package version, which networkmanager-qt would be looking for

Attached is the output of emerge --info
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-02-15 09:02:53 UTC

*** This bug has been marked as a duplicate of bug 695788 ***