Attempting to build ksnapshot and gwenview 4.9.95, I run into the following error with FindKipi.cmake, which equery says belongs to kdelibs-4.9.95. (After finding automoc with ksnapshot, after finding exiv2 with gwenview. CMakeLists.txt:8 with ksnapshot, line 42 with gwenview.) CMake Error at /usr/share/apps/cmake/modules/FindKipi.cmake:24 (IF): if given arguments: "STREQUAL" "" Unknown arguments specified Call Stack (most recent call first): /usr/share/apps/cmake/modules/MacroOptionalFindPackage.cmake:32 (find_package) CMakeLists.txt:8 (macro_optional_find_package) -- Configuring incomplete, errors occurred! I have cmake-2.8.10.2 installed. qt version is 4.8.4. gcc version is 4.7.2, glibc is 2.16.0. gentoo/~amd64 with the kde, x11 and mozilla overlays, upgrading from kde 4.9.90.
I saw the same build failure of ksnapshot and gwenview with cmake 2.8.9 and 2.8.10.2. Portage 2.2.0_alpha149 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.3, glibc-2.15-r3, 3.7.0-gentoo x86_64) ================================================================= System uname: Linux-3.7.0-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_M_520_@_2.40GHz-with-gentoo-2.1 Timestamp of tree: Sun, 23 Dec 2012 16:00:01 +0000 ld GNU ld (GNU Binutils) 2.22 app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.3-r2, 3.2.3 dev-util/cmake: 2.8.10.2 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.6 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo kde java-netbeans java-binary aeoverlay Installed sets: @mykde, @networking, @portageutils, @toolbox ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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 -march=core2 -pipe" DISTDIR="/data/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 protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/data/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="/var/lib/layman/kde /data/portage/java-netbeans /data/portage/java-binary /data/portage/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa alsashared amd64 apng bzip2 cairo cdda cdr cli clucene consolekit cracklib crypt cups cxx dbus declarative device-mapper dri dts dvb dvd dvdr dvdread encode exif firefox flac foomaticdb gif gles gles1 gles2 glut glx gps hou iconv icu inotify ipv6 irda java6 javadoc javasrc jpeg kde kipi kpathsea latex libnotify mmx modules mp3 mp4 mpeg mudflap multilib ncurses nepomuk netbeans-integration netbeans-library networkmanager nls nptl nptlonly ogg opengl openmp opus pam pango pcre pdf phonon plasma png policykit ppds private-headers python3 qt3support quicktime rdp readline sasl scanner semantic-desktop session sou spell sse sse2 ssl startup-notification strigi svg system-sqlite systemjava tcpd theora threads tiff truetype udev udisks udisks2 unicode upower usb userlocales v4l vorbis vpx wayland x264 xcb xcomposite xetex xinerama xml xscreensaver xv xvid zlib" ...
Created attachment 333166 [details, diff] FindKipi.cmake.diff Packages configure successfully after changing one line in there.
Added upstream bug as bug URL.
(In reply to comment #2) > Created attachment 333166 [details, diff] [details, diff] > FindKipi.cmake.diff > > Packages configure successfully after changing one line in there. That seems to be what upstream has done as well. It should be in 4.9.98 (aka 4.10-rc2), due in a few days. Meanwhile, for impatient users, given that we're dealing with EAPI-5 here, dropping that patch into /etc/portage/patches/kde-base/kdelibs-4.9.95/ (and change the extension to .patch from .diff, not sure if it's required but I like to keep my patches labeled as patches, specifically), and remerging kdelibs, should allow both gwenview and ksnapshot to build. No change of ebuild needed. =:^) Duncan
Fixed in the meantime.