Even if net-libs/libkgapi is an optional dependency, it is required to compile knode correctly.
Please rebuild kdepim-common-libs and try again (it looks like an automagic dependency there).
i'm not confident using bugzilla, i don't know if there is any code brackets or so, sorry. emerge -C libkgapi -a * This action can remove important packages! In order to be safer, use * `emerge -pv --depclean <atom>` to check for reverse dependencies before * removing packages. >>> These are the packages that would be unmerged: net-libs/libkgapi selected: 2.2.0 protected: none omitted: none All selected packages: =net-libs/libkgapi-2.2.0 >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. Would you like to unmerge these packages? [Yes/No] y >>> Waiting 5 seconds before starting... >>> (Control-C to abort)... >>> Unmerging in: 5 4 3 2 1 >>> Unmerging (1 of 1) net-libs/libkgapi-2.2.0... >>> needed sym /usr/lib64/libkgapi2.so.2 >>> needed obj /usr/lib64/libkgapi2.so.2.2.0 * Updating desktop mime database ... * Updating shared mime info database ... * GNU info directory index is up-to-date. !!! existing preserved libs: >>> package: net-libs/libkgapi-2.2.0 * - /usr/lib64/libkgapi2.so.2 * - /usr/lib64/libkgapi2.so.2.2.0 * used by /usr/bin/akonadi_googlecalendar_resource (kde-base/kdepim-runtime-4.14.8) * used by /usr/bin/akonadi_googlecontacts_resource (kde-base/kdepim-runtime-4.14.8) * used by /usr/bin/blogilo (kde-base/blogilo-4.14.8) * used by /usr/lib64/libpimcommon.so.4.14.8 (kde-base/kdepim-common-libs-4.14.8) Use emerge @preserved-rebuild to rebuild packages using these libraries * IMPORTANT: 5 config files in '/etc' need updating. * See the CONFIGURATION FILES section of the emerge * man page to learn how to update config files. thingol / # emerge -av --tree knode These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild R ~] kde-base/knode-4.14.8:4/4.14::gentoo USE="handbook kontact (-aqua) -debug" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] ---- i'm running a chroot from solydk, so forgive info about kernel version ---- emerge --info '=kde-base/knode-4.14.8::gentoo' Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.8.4, glibc-2.20-r2, 4.0-4.dmz.2-liquorix-amd64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.0-4.dmz.2-liquorix-amd64-x86_64-Intel-R-_Core-TM-_i7-2630QM_CPU_@_2.00GHz-with-gentoo-2.2 KiB Mem: 8088332 total, 3358608 free KiB Swap: 4170748 total, 4170748 free Timestamp of repository gentoo: Sat, 06 Jun 2015 15:00:01 +0000 sh bash 4.3_p33-r2 ld ld di GNU (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p33-r2::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.9-r1::gentoo, 3.3.5-r1::gentoo dev-util/cmake: 2.8.12.2-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.13.11::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo sys-devel/binutils: 2.24-r3::gentoo sys-devel/gcc: 4.8.4::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 adobe-brakets location: /usr/local/portage masters: gentoo gamerlay location: /var/lib/layman/gamerlay sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/gamerlay.git masters: gentoo priority: 50 kde location: /var/lib/layman/kde sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/kde.git masters: gentoo priority: 50 Installed sets: @kde-frameworks-5.10, @kde-plasma-5.3, @steam ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.mirrors.ovh.net/gentoo-distfiles/ ftp://gentoo.mirrors.ovh.net/gentoo-distfiles/ ftp://de-mirror.org/gentoo/ http://de-mirror.org/gentoo/ rsync://de-mirror.org/gentoo/ http://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/" LANG="it_IT.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi admin alsa amd64 avahi berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gudev iconv ipv6 jpeg kde kipi lcms ldap libkms libnotify lm_sensors mad mmx mmxext mng modemmanager modules mp3 mp4 mpeg mtp multilib ncurses networkmanager nfs nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit powermanagement ppds pulseaudio qml qt3support qt4 qt5 readline samba screensaver sdl semantic-desktop sensors session spell sse sse2 ssl startup-notification svg symlink systemd tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xa xcb xcomposite xinerama xkb xml xscreensaver xv xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard synaptics mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it_IT it" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel nvidia modesetting" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= kde-base/knode-4.14.8::gentoo was built with the following: USE="handbook kontact (-aqua) -debug" ABI_X86="64" emerge failed with: /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lkgapi2 collect2: error: ld returned 1 exit status knode/CMakeFiles/knodecommon.dir/build.make:1795: recipe for target 'lib/libknodecommon.so.4.14.8' failed make[2]: *** [lib/libknodecommon.so.4.14.8] Error 1 make[2]: Leaving directory '/var/tmp/portage/kde-base/knode-4.14.8/work/knode-4.14.8_build' CMakeFiles/Makefile2:562: recipe for target 'knode/CMakeFiles/knodecommon.dir/all' failed make[1]: *** [knode/CMakeFiles/knodecommon.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/kde-base/knode-4.14.8/work/knode-4.14.8_build' Makefile:126: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: kde-base/knode-4.14.8::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=kde-base/knode-4.14.8::gentoo'`, * the complete build log and the output of `emerge -pqv '=kde-base/knode-4.14.8::gentoo'`. * The complete build log is located at '/var/tmp/portage/kde-base/knode-4.14.8/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/knode-4.14.8/temp/environment'. * Working directory: '/var/tmp/portage/kde-base/knode-4.14.8/work/knode-4.14.8_build' * S: '/var/tmp/portage/kde-base/knode-4.14.8/work/knode-4.14.8' If i want to rebuild kdepim-common-libs, as suggested, i get: emerge -av kdepim-common-libs These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ~] kde-base/kdepim-common-libs-4.14.8:4/4.14::gentoo USE="(-aqua) -debug" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] and no action for libkgapi. So, libkgapi is needed for knode 4.14.8 (at least) to compile. Hope i was helpful.
This should be fixed in 4.14.10.