I tried to install KDE 5 apps, but only the CMakeFiles.txt is extracted into the work/ directory. It applies to at least the konsole and kwrite, but I think it may come from the kde5.eclass or similar because I don't see any src_prepare() section in the konsole ebuild.
Please attach full error message.
Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-4.8.4, glibc-2.20-r2, 3.18.11-gentoo x86_64) ================================================================= System uname: Linux-3.18.11-gentoo-x86_64-Intel-R-_Core-TM-_i7-3520M_CPU_@_2.90GHz-with-gentoo-2.2 KiB Mem: 16127964 total, 250868 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Fri, 19 Jun 2015 02:00:01 +0000 sh bash 4.3_p33-r2 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p33-r2::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.9-r1::gentoo, 3.3.5-r1::gentoo dev-util/cmake: 3.2.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.16.4::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.13.4::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 local-crossdev location: /usr/local/portage-crossdev masters: gentoo priority: 0 local location: /usr/local/portage masters: gentoo priority: 1 steam-overlay location: /var/lib/layman/steam-overlay masters: gentoo priority: 2 kde location: /var/lib/layman/kde masters: gentoo priority: 3 haskell location: /var/lib/layman/haskell masters: gentoo priority: 4 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=corei7" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" 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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=corei7" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=y --jobs=2 --load-average=9 --autounmask-unrestricted-atoms --autounmask-keep-masks --oneshot --nospinner" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" 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 alsa amd64 apng berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam fdk firefox flac fluidsynth fortran gdbm gif glamor gpm gtk gtk2 iconv ipv6 jack jpeg kde kipi lcms ldap libass libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg openal openexr opengl openmp pam pango pcre pdf phonon plasma png policykit ppds python qml qt3support qt4 qt5 readline sdl semantic-desktop session spell sse sse2 ssh ssl startup-notification svg systemd tcpd theora threads tiff truetype udev udisks unicode upower usb vorbis webp widgets wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid 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="krita" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" ENLIGHTENMENT_MODULES="appmenu backlight battery bluez4 clock conf-applications conf-comp conf-dialogs conf-display conf-interaction conf-intl conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-wallpaper2 conf-window-manipulation conf-window-remembers connman contact cpufreq everything fileman fileman-opinfo gadman ibar ibox illume2 mixer msgbus music-control notification pager quickaccess shot start syscon systray tasks teamwork temperature tiling winlist wizard xkbswitch access wl-desktop-shell wl-screenshot" 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" INPUT_DEVICES="mouse keyboard evdev joystick synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="zh zh_CN" 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 modesetting nvidia" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Other possible useful info: # Merging: $ ebuild /var/lib/layman/kde/kde-apps/konsole/konsole-15.04.2.ebuild install * konsole-15.04.2.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] ^[[1;2D>>> Unpacking source... >>> Unpacking konsole-15.04.2.tar.xz to /var/tmp/portage/kde-apps/konsole-15.04.2/work >>> Source unpacked in /var/tmp/portage/kde-apps/konsole-15.04.2/work >>> Preparing source in /var/tmp/portage/kde-apps/konsole-15.04.2/work/konsole-15.04.2 ... /var/tmp/portage/kde-apps/konsole-15.04.2/temp/environment: line 2636: pushd: po: No such file or directory /var/tmp/portage/kde-apps/konsole-15.04.2/temp/environment: line 2648: popd: directory stack empty /var/tmp/portage/kde-apps/konsole-15.04.2/temp/environment: line 2650: pushd: doc: No such file or directory /var/tmp/portage/kde-apps/konsole-15.04.2/temp/environment: line 2657: popd: directory stack empty >>> Source prepared. >>> Configuring source in /var/tmp/portage/kde-apps/konsole-15.04.2/work/konsole-15.04.2 ... >>> Working in BUILD_DIR: "/var/tmp/portage/kde-apps/konsole-15.04.2/work/konsole-15.04.2_build" cmake --no-warn-unused-cli -C /var/tmp/portage/kde-apps/konsole-15.04.2/work/konsole-15.04.2_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DCMAKE_DISABLE_FIND_PACKAGE_X11=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/kde-apps/konsole-15.04.2/work/konsole-15.04.2_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/kde-apps/konsole-15.04.2/work/konsole-15.04.2_build/gentoo_toolchain.cmake /var/tmp/portage/kde-apps/konsole-15.04.2/work/konsole-15.04.2 Not searching for unused variables given on the command line. loading initial cache file /var/tmp/portage/kde-apps/konsole-15.04.2/work/konsole-15.04.2_build/gentoo_common_config.cmake -- The C compiler identification is GNU 4.8.4 -- The CXX compiler identification is GNU 4.8.4 -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for __GLIBC__ -- Looking for __GLIBC__ - found -- Performing Test _OFFT_IS_64BIT -- Performing Test _OFFT_IS_64BIT - Success -- Found KF5Bookmarks: /usr/lib64/cmake/KF5Bookmarks/KF5BookmarksConfig.cmake (found version "5.11.0") -- Found KF5Completion: /usr/lib64/cmake/KF5Completion/KF5CompletionConfig.cmake (found version "5.11.0") -- Found KF5Config: /usr/lib64/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.11.0") -- Found KF5ConfigWidgets: /usr/lib64/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.11.0") -- Found KF5CoreAddons: /usr/lib64/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.11.0") -- Found KF5DocTools: /usr/lib64/cmake/KF5DocTools/KF5DocToolsConfig.cmake (found version "5.11.0") -- Found KF5GuiAddons: /usr/lib64/cmake/KF5GuiAddons/KF5GuiAddonsConfig.cmake (found version "5.11.0") -- Found Gettext: /usr/bin/msgmerge (found version "0.19.3") -- Found PythonInterp: /usr/bin/python (found version "2.7.9") -- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.11.0") -- Found KF5IconThemes: /usr/lib64/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.11.0") -- Found KF5Init: /usr/lib64/cmake/KF5Init/KF5InitConfig.cmake (found version "5.11.0") -- Found KF5KDELibs4Support: /usr/lib64/cmake/KF5KDELibs4Support/KF5KDELibs4SupportConfig.cmake (found version "5.11.0") -- Found KF5KIO: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.11.0") -- Found KF5Notifications: /usr/lib64/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.11.0") -- Found KF5NotifyConfig: /usr/lib64/cmake/KF5NotifyConfig/KF5NotifyConfigConfig.cmake (found version "5.11.0") -- Found KF5Parts: /usr/lib64/cmake/KF5Parts/KF5PartsConfig.cmake (found version "5.11.0") -- Found KF5Pty: /usr/lib64/cmake/KF5Pty/KF5PtyConfig.cmake (found version "5.11.0") -- Found KF5Service: /usr/lib64/cmake/KF5Service/KF5ServiceConfig.cmake (found version "5.11.0") -- Found KF5TextWidgets: /usr/lib64/cmake/KF5TextWidgets/KF5TextWidgetsConfig.cmake (found version "5.11.0") -- Found KF5WidgetsAddons: /usr/lib64/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.11.0") -- Found KF5WindowSystem: /usr/lib64/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.11.0") -- Found KF5XmlGui: /usr/lib64/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.11.0") -- Found KF5: success (found suitable version "5.11.0", minimum required is "5.6.0") found components: Bookmarks Completion Config ConfigWidgets CoreAddons DocTools GuiAddons I18n IconThemes Init KDELibs4Support KIO Notifications NotifyConfig Parts Pty Service TextWidgets WidgetsAddons WindowSystem XmlGui -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib64/libX11.so CMake Error at CMakeLists.txt:64 (add_subdirectory): add_subdirectory given source "doc/manual" which is not an existing directory. -- -- The following OPTIONAL packages have been found: * X11 -- The following REQUIRED packages have been found: * ECM (required version >= 1.2.0) * Qt5Core * Qt5DBus * Qt5Gui (required version >= 5.4.1) * Qt5Widgets * Qt5Script * Qt5 (required version >= 5.2.0) * KF5Bookmarks (required version >= 5.6.0) * KF5Completion (required version >= 5.6.0) * KF5Config (required version >= 5.6.0) * KF5ConfigWidgets (required version >= 5.6.0) * KF5CoreAddons (required version >= 5.6.0) * KF5DocTools (required version >= 5.6.0) * KF5GuiAddons (required version >= 5.6.0) * Gettext * PythonInterp * KF5I18n (required version >= 5.6.0) * KF5IconThemes (required version >= 5.6.0) * KF5Init (required version >= 5.6.0) * KF5KDELibs4Support (required version >= 5.6.0) * KF5KIO (required version >= 5.6.0) * KF5Notifications (required version >= 5.6.0) * KF5NotifyConfig (required version >= 5.6.0) * KF5Parts (required version >= 5.6.0) * KF5Pty (required version >= 5.6.0) * KF5Service (required version >= 5.6.0) * KF5TextWidgets (required version >= 5.6.0) * KF5WidgetsAddons (required version >= 5.6.0) * KF5WindowSystem (required version >= 5.6.0) * KF5XmlGui (required version >= 5.6.0) * KF5 (required version >= 5.6.0) -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -O2 -pipe -march=corei7 -std=iso9899:1990 -fno-common -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wmissing-format-attribute -Wwrite-strings -Werror=implicit-function-declaration C++ -O2 -pipe -march=corei7 -std=c++0x -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type Linker flags: Executable -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed Module -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed Shared -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed -- Configuring incomplete, errors occurred! See also "/var/tmp/portage/kde-apps/konsole-15.04.2/work/konsole-15.04.2_build/CMakeFiles/CMakeOutput.log". * ERROR: kde-apps/konsole-15.04.2::kde failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 3577: Called kde5_src_configure * environment, line 2617: Called cmake-utils_src_configure * environment, line 981: Called _execute_optionally 'src_configure' * environment, line 480: Called enable_cmake-utils_src_configure * environment, line 1313: Called die * The specific snippet of code: * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; * * If you need support, post the output of `emerge --info '=kde-apps/konsole-15.04.2::kde'`, * the complete build log and the output of `emerge -pqv '=kde-apps/konsole-15.04.2::kde'`. * The complete build log is located at '/var/tmp/portage/kde-apps/konsole-15.04.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-apps/konsole-15.04.2/temp/environment'. * Working directory: '/var/tmp/portage/kde-apps/konsole-15.04.2/work/konsole-15.04.2_build' * S: '/var/tmp/portage/kde-apps/konsole-15.04.2/work/konsole-15.04.2' # The working directory: $ ls /var/tmp/portage/kde-apps/konsole-15.04.2/work/konsole-15.04.2 CMakeLists.txt
Thanks, fixed in git. https://gitweb.gentoo.org/proj/kde.git/commit/?id=ce3f3a49f0a2b945e920f17dffb5e040234ad7d6
*** Bug 552538 has been marked as a duplicate of this bug. ***