I'm using paludis as package manager, and the current kde update breaks. Packages: libkgapi akonadi-contacts akonadi-search ktnef Fail at configure phase with CMake Error at /usr/lib64/cmake/KF5Contacts/KF5ContactsTargets.cmake:88 (message): The imported target "KF5::Contacts" references the file "/usr/lib64/libKF5Contacts.so.5.5.40" 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/lib64/cmake/KF5Contacts/KF5ContactsTargets.cmake" but not all the files it references. Call Stack (most recent call first): /usr/lib64/cmake/KF5Contacts/KF5ContactsConfig.cmake:39 (include) CMakeLists.txt:48 (find_package) KContacts is already updated... # equery b /usr/lib/libKF5Contacts.so * Searching for /usr/lib/libKF5Contacts.so ... kde-apps/kcontacts-17.04.0 (/usr/lib64/libKF5Contacts.so.5.5.0)
Missing emerge --info. Did you also update/switch to GCC-5 recently?
Please check versions of these packages: libkgapi akonadi-contacts akonadi-search ktnef Do you use KDE overlay?
Sorry, it wasn't ktnef, but libktnef. gcc version : 4.9.3, no recent switch No overlays used. installed versions: libktnef : 16.12.3 akonadi-contacts : 16.12.3 akonadi-search : 16.12.3 libkgapi : 5.3.1-r1 Thanks Posting cave info (paludis emerge --info equivalent) # cave info =libkgapi-17.04.0 =akonadi-contacts-17.04.0 =akonadi-search-17.04.0 =libktnef-17.04.0 Package Manager Information: Package Name paludis Package Version 2.6.0 Build Date 2017-04-14T21:33:03+0200 Built with CXX x86_64-pc-linux-gnu-g++ 4.9.3 Built with CXXFLAGS -O2 -pipe -march=native Built with LDFLAGS -Wl,-O1 -Wl,--as-needed Environment Information: Format paludis Config dir /etc/paludis Root / System Root / World file /var/lib/portage/world Repository gentoo: format e location /usr/portage builddir /var/tmp/paludis cache /usr/portage/metadata/md5-cache distdir /usr/portage/distfiles eapi_when_unknown 0 eapi_when_unspecified 0 eclassdirs /usr/portage/eclass layout traditional manifest_hashes SHA256 SHA512 WHIRLPOOL names_cache /var/cache/paludis/names newsdir /usr/portage/metadata/news profile_eapi_when_unspecified 0 profile_layout traditional profiles /usr/portage/profiles/hardened/linux/amd64 securitydir /usr/portage/metadata/glsa setsdir /usr/portage/sets sync git+https://github.com/gentoo-mirror/gentoo.git sync_options --branch=stable thin_manifests true use_manifest use write_cache /var/cache/paludis/metadata Package information app-shells/bash:0 4.3_p48-r1 dev-java/java-config (none) dev-lang/perl 5.24.1-r1 dev-lang/python 2.7.12 3.4.5 3.5.2 dev-util/ccache (none) dev-util/cmake 3.7.2 dev-util/pkgconfig 0.28-r2 sys-apps/baselayout 2.3 sys-apps/openrc 0.24.2 sys-apps/sandbox 2.10-r3 sys-devel/autoconf 2.13 2.69 sys-devel/automake 1.11.6-r1 1.12.6 1.14.1 1.15 sys-devel/binutils 2.25.1-r1 2.26.1 sys-devel/gcc 4.8.5 4.9.3 5.4.0-r3 sys-devel/gcc-config 1.7.3 sys-devel/libtool 2.4.6-r3 sys-devel/make 4.2.1 sys-freebsd/freebsd-lib (none) sys-kernel/linux-headers 4.4 sys-libs/glibc 2.23-r3 sys-libs/musl (none) sys-libs/uclibc (none) sys-libs/uclibc-ng (none) Repository installed: format vdb location /var/db/pkg builddir /var/tmp/paludis eapi_when_unknown 0 names_cache /var/cache/paludis/names root / Extra Information for kde-apps/libkgapi-17.04.0:5::gentoo: >>> Running ebuild phase killold as paludisbuild:paludisbuild... >>> Starting builtin_killold >>> Done builtin_killold >>> Completed ebuild phase killold >>> Running ebuild phases initmisc infovars info as paludisbuild:paludisbuild... >>> Starting builtin_initmisc >>> Done builtin_initmisc >>> Starting builtin_infovars ACCEPT_KEYWORDS=amd64 CBUILD=x86_64-pc-linux-gnu CC= CFLAGS=-O2 -pipe -march=native CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT= CONFIG_PROTECT_MASK= CPPFLAGS= CTARGET= CXX= CXXFLAGS=-O2 -pipe -march=native DISTDIR=/usr/portage/distfiles FCFLAGS=-O2 -pipe FEATURES= FFLAGS=-O2 -pipe GENTOO_MIRRORS= INSTALL_MASK= LANG= LC_ALL=C LDFLAGS=-Wl,-O1 -Wl,--as-needed MAKEOPTS=-j4 PORTAGE_COMPRESS= PORTAGE_COMPRESS_FLAGS= PORTAGE_CONFIGROOT= PORTAGE_RSYNC_EXTRA_OPTS= PORTAGE_RSYNC_OPTS= PORTAGE_TMPDIR=/var/tmp/paludis PORTDIR=/usr/portage PORTDIR_OVERLAY= SYNC= USE=amd64 abi_x86_64 elibc_glibc kernel_linux userland_GNU amd64 USE_PYTHON= >>> Done builtin_infovars >>> Starting pkg_info >>> Done pkg_info >>> Completed ebuild phases initmisc infovars info >>> Running ebuild phase tidyup as paludisbuild:paludisbuild... >>> Starting builtin_tidyup rm -fr /var/tmp/paludis/kde-apps-libkgapi-17.04.0-info >>> Done builtin_tidyup >>> Completed ebuild phase tidyup Extra Information for kde-apps/akonadi-contacts-17.04.0:5::gentoo: >>> Running ebuild phase killold as paludisbuild:paludisbuild... >>> Starting builtin_killold >>> Done builtin_killold >>> Completed ebuild phase killold >>> Running ebuild phases initmisc infovars info as paludisbuild:paludisbuild... >>> Starting builtin_initmisc >>> Done builtin_initmisc >>> Starting builtin_infovars ACCEPT_KEYWORDS=amd64 CBUILD=x86_64-pc-linux-gnu CC= CFLAGS=-O2 -pipe -march=native CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT= CONFIG_PROTECT_MASK= CPPFLAGS= CTARGET= CXX= CXXFLAGS=-O2 -pipe -march=native DISTDIR=/usr/portage/distfiles FCFLAGS=-O2 -pipe FEATURES= FFLAGS=-O2 -pipe GENTOO_MIRRORS= INSTALL_MASK= LANG= LC_ALL=C LDFLAGS=-Wl,-O1 -Wl,--as-needed MAKEOPTS=-j4 PORTAGE_COMPRESS= PORTAGE_COMPRESS_FLAGS= PORTAGE_CONFIGROOT= PORTAGE_RSYNC_EXTRA_OPTS= PORTAGE_RSYNC_OPTS= PORTAGE_TMPDIR=/var/tmp/paludis PORTDIR=/usr/portage PORTDIR_OVERLAY= SYNC= USE=amd64 abi_x86_64 elibc_glibc kernel_linux userland_GNU amd64 USE_PYTHON= >>> Done builtin_infovars >>> Starting pkg_info >>> Done pkg_info >>> Completed ebuild phases initmisc infovars info >>> Running ebuild phase tidyup as paludisbuild:paludisbuild... >>> Starting builtin_tidyup rm -fr /var/tmp/paludis/kde-apps-akonadi-contacts-17.04.0-info >>> Done builtin_tidyup >>> Completed ebuild phase tidyup Extra Information for kde-apps/akonadi-search-17.04.0:5::gentoo: >>> Running ebuild phase killold as paludisbuild:paludisbuild... >>> Starting builtin_killold >>> Done builtin_killold >>> Completed ebuild phase killold >>> Running ebuild phases initmisc infovars info as paludisbuild:paludisbuild... >>> Starting builtin_initmisc >>> Done builtin_initmisc >>> Starting builtin_infovars ACCEPT_KEYWORDS=amd64 CBUILD=x86_64-pc-linux-gnu CC= CFLAGS=-O2 -pipe -march=native CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT= CONFIG_PROTECT_MASK= CPPFLAGS= CTARGET= CXX= CXXFLAGS=-O2 -pipe -march=native DISTDIR=/usr/portage/distfiles FCFLAGS=-O2 -pipe FEATURES= FFLAGS=-O2 -pipe GENTOO_MIRRORS= INSTALL_MASK= LANG= LC_ALL=C LDFLAGS=-Wl,-O1 -Wl,--as-needed MAKEOPTS=-j4 PORTAGE_COMPRESS= PORTAGE_COMPRESS_FLAGS= PORTAGE_CONFIGROOT= PORTAGE_RSYNC_EXTRA_OPTS= PORTAGE_RSYNC_OPTS= PORTAGE_TMPDIR=/var/tmp/paludis PORTDIR=/usr/portage PORTDIR_OVERLAY= SYNC= USE=amd64 abi_x86_64 elibc_glibc kernel_linux userland_GNU amd64 USE_PYTHON= >>> Done builtin_infovars >>> Starting pkg_info >>> Done pkg_info >>> Completed ebuild phases initmisc infovars info >>> Running ebuild phase tidyup as paludisbuild:paludisbuild... >>> Starting builtin_tidyup rm -fr /var/tmp/paludis/kde-apps-akonadi-search-17.04.0-info >>> Done builtin_tidyup >>> Completed ebuild phase tidyup Extra Information for kde-apps/libktnef-17.04.0:5::gentoo: >>> Running ebuild phase killold as paludisbuild:paludisbuild... >>> Starting builtin_killold >>> Done builtin_killold >>> Completed ebuild phase killold >>> Running ebuild phases initmisc infovars info as paludisbuild:paludisbuild... >>> Starting builtin_initmisc >>> Done builtin_initmisc >>> Starting builtin_infovars ACCEPT_KEYWORDS=amd64 CBUILD=x86_64-pc-linux-gnu CC= CFLAGS=-O2 -pipe -march=native CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT= CONFIG_PROTECT_MASK= CPPFLAGS= CTARGET= CXX= CXXFLAGS=-O2 -pipe -march=native DISTDIR=/usr/portage/distfiles FCFLAGS=-O2 -pipe FEATURES= FFLAGS=-O2 -pipe GENTOO_MIRRORS= INSTALL_MASK= LANG= LC_ALL=C LDFLAGS=-Wl,-O1 -Wl,--as-needed MAKEOPTS=-j4 PORTAGE_COMPRESS= PORTAGE_COMPRESS_FLAGS= PORTAGE_CONFIGROOT= PORTAGE_RSYNC_EXTRA_OPTS= PORTAGE_RSYNC_OPTS= PORTAGE_TMPDIR=/var/tmp/paludis PORTDIR=/usr/portage PORTDIR_OVERLAY= SYNC= USE=amd64 abi_x86_64 elibc_glibc kernel_linux userland_GNU amd64 USE_PYTHON= >>> Done builtin_infovars >>> Starting pkg_info >>> Done pkg_info >>> Completed ebuild phases initmisc infovars info >>> Running ebuild phase tidyup as paludisbuild:paludisbuild... >>> Starting builtin_tidyup rm -fr /var/tmp/paludis/kde-apps-libktnef-17.04.0-info >>> Done builtin_tidyup >>> Completed ebuild phase tidyup
Both upstream and downstream dependencies for these packages are fine, so your error paste snippet does not make any sense (until maybe you provide the full log, as you always should). You haven't switched to GCC-5.4.0 yet, but you have it installed. That means you *must* switch now or you will have nonsensical error messages for C++ packages all over the tree. Read the related news item, do the revdep-rebuild as shown in there, and then come back here and re-open if any issue related to kcontacts persists.