kde applications fail to build due to cmake unable to find module FindKDE4Internal.cmake Reproducible: Always Steps to Reproduce: 1. have kdelibs-4.8.4 2. have cmake-2.8.8-r3 (mine is built +qt if it matters) 3. emerge =konsole-4.8.4 (or othe kde apps/pieces: e.g. kate, kopete, krunner, kdm ...) Actual Results: CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:98 (MESSAGE): ERROR: cmake/modules/FindKDE4Internal.cmake not found in Call Stack (most recent call first): CMakeLists.txt:3 (find_package) Expected Results: successful build It appears that cmake is looking in /usr/share/cmake/Modules for FindKDE4Internal.cmake and failing. kdelibs-4.8.4 provides FindKDE4Internal.cmake, but in /usr/share/apps/cmake/Modules. Copying the module over to /usr/share/cmake/Modules does not resolve the problem ... not sure if the is a cmake command to add a cmake modules to any db/list cmake uses. Also not sure which is the "correct" location, but it appears most cmake modules are found in /usr/share/cmake/Modules. All kde applications fail with the same message. kdelibs builds, but binaries don't.
system if ~amd64 if that matters. emerge --info output: Timestamp of tree: Mon, 02 Jul 2012 07:00:01 +0000 app-shells/bash: 4.2_p29 dev-java/java-config: 2.1.12 dev-lang/python: 2.7.3-r2, 3.2.3-r1 dev-util/cmake: 2.8.8-r3 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.10.3 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3::funtoo, 1.10.3::funtoo, 1.11.5, 1.12.1 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.3-r2, 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.4 (virtual/os-headers) sys-libs/glibc: 2.15-r2 Repositories: gentoo local enlightenment ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -fomit-frame-pointer -pipe -mssse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -fomit-frame-pointer -pipe -mssse3" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/enlightenment" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 bash-completion branding bzip bzip2 cairo cdda cleartype cli cracklib cups custom-cflags custom-cxxflags custom-optimization cxx dbus dri dvd dvdr dvdread encode expat fam fame ffmpeg flac fontconfig g3dvl gdbm gif glitz google-gadgets gpm hal hfs iconv ieee1394 imagemagick inotify ithreads java jpeg kde kerberos lame lzma mad mdnsresponder-compat mmx modules mp3 mpeg mudflap multilib musicbrainz ncurses network nis nptl nsplugin ogg openexr opengl openmp optimized-qmake pam pcre png ppds pppd qt qt3support qt4 quicktime readline samba session smp snmp source speex spell sse sse2 sse3 ssh ssl ssse3 svg system-sqlite tcpd templates theora threads tiff truetype twolame udev unicode v4l v4l2 vaapi vim-syntax vlc vorbis wav wmf x264 xattr xcb xcomposite xinerama xml xorg xscreensaver xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="auth_basic authz_host dav dir env filter include mime status userdir php" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="mdraid nfs syslog" 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 ubx" INPUT_DEVICES="keyboard mouse joystick evdev synaptic" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64 arm ppc64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel v4l" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Please emerge -1 kdelibs cmake, then see if the problem persists.
(In reply to comment #2) > Please emerge -1 kdelibs cmake, then see if the problem persists. I had rebuild cmake and kdelibs both twice before filing a bug. In the middle of things, I re-emerged a number of other things, too. My kde apps will now build, but none of them will launch, so I'm rebuilding a lot more things (kde and qt related). Bug can be closed.