Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709680 - 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"
Summary: kde-frameworks/networkmanager-qt - CMake Error in kded/CMakeLists.txt: Impo...
Status: RESOLVED DUPLICATE of bug 695788
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-15 02:54 UTC by Jannik Glückert
Modified: 2020-02-15 09:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (infooutput.txt,7.68 KB, text/plain)
2020-02-15 02:54 UTC, Jannik Glückert
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***