Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274522 - kde-base/kde-l10n-4.2.4-r1: Compile fails: Could not find module FindKDE4Internal.cmake
Summary: kde-base/kde-l10n-4.2.4-r1: Compile fails: Could not find module FindKDE4Inte...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 277868
  Show dependency tree
 
Reported: 2009-06-17 15:41 UTC by Allen Brooker (AllenJB)
Modified: 2009-08-06 14:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build environment (environment,129.63 KB, text/plain)
2009-06-17 15:42 UTC, Allen Brooker (AllenJB)
Details
build log (kde-base:kde-l10n-4.2.4-r1:20090617-145927.log,2.86 KB, text/plain)
2009-06-17 15:42 UTC, Allen Brooker (AllenJB)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Allen Brooker (AllenJB) 2009-06-17 15:41:46 UTC
Compile fails with:
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/kde-l10n-4.2.4-r1/work_build"
loading initial cache file /var/tmp/portage/kde-base/kde-l10n-4.2.4-r1/temp/gentoo_common_config.cmake
CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:81 (FIND_PACKAGE):
  Could not find module FindKDE4Internal.cmake or a configuration file for
  package KDE4Internal.

Use flags:
[ebuild   R   ] kde-base/kde-l10n-4.2.4-r1  USE="-handbook* -kdeprefix*" LINGUAS="-ar -bg -bn_IN -ca -cs -csb -da -de -el en_GB -es -et -eu -fi -fr -ga -gl -gu -he -hi -hu -is -it -ja -kk -km -kn -ko -ku -lt -lv -mai -mk -ml -mr -nb -nds -nl -nn -pa -pl -pt -pt_BR -ro -ru -sk -sl -sr -sv -tg -th -tr -uk -wa -zh_CN -zh_TW" 0 kB

Related ticket: #272949
Comment 1 Allen Brooker (AllenJB) 2009-06-17 15:42:19 UTC
Created attachment 195005 [details]
build environment
Comment 2 Allen Brooker (AllenJB) 2009-06-17 15:42:42 UTC
Created attachment 195006 [details]
build log
Comment 3 Allen Brooker (AllenJB) 2009-06-17 15:43:35 UTC
emerge --info:
Portage 2.2_rc33 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.18-xen-r12 x86_64)
=================================================================
System uname: Linux-2.6.18-xen-r12-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-glibc2.2.5
Timestamp of tree: Wed, 17 Jun 2009 13:15:03 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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 /etc/udev/rules.d /usr/share/X11/xkb"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --alphabetical --verbose --tree"
FEATURES="buildpkg collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="        http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo       http://mirror.switch.ch/mirror/gentoo/          http://pandemonium.tiscali.de/pub/gentoo/  "
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/armagetron /usr/portage/local/layman/allenjb /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl acpi alsa amd64 amr aoss apache2 apm asf bash-completion branding bzip2 cairo caps cdr cli cracklib crypt cups curl dbus dedicated dga dri dts dvd dvdr dvdread emboss enca encode evo exif expat fastcgi fbcon ffmpeg firefox flac ftp gif gnutls hal iconv idn ipod ipv6 isdnlog ithreads java javascript jpeg jpeg2k junit kde lcms libnotify lirc lzo mad matroska midi mikmod mjpeg mmx mmxext mng mozsvg mp3 mp4 mpeg msn mudflap multilib musepack mysql mysqli ncurses newspr nls nocd nptl nptlonly nvidia ogg oggvorbis opengl openmp pam pcre pdf perl php png ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection rrdtool rss samba sdl session speex spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs tcpd tetex theora threads tidy tiff truetype unicode usb vcd vhosts videos vorbis webdav wmf x264 xcomposite xine xinerama xml xorg xpm xulrunner xv xvid yv12 zlib" ALSA_CARDS="emu10k1" 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="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm         authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner    authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires   ext_filter file_cache filter headers ident include info log_config logio mem_cache mime    mime_magic negotiation rewrite setenvif so speling status unique_id userdir usertrack   vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" LIRC_DEVICES="livedrive_midi" USERLAND="GNU" VIDEO_CARDS="vesa nv"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 4 Allen Brooker (AllenJB) 2009-06-17 16:50:58 UTC
(Hacky) solution:
1. locate the file "FindKDE4.cmake" (/usr/share/cmake/Modules) and open in $EDITOR
2. Find the following line (62):
        FIND_PATH(KDE4_DATA_DIR cmake/modules/FindKDE4Internal.cmake ${_data_DIR})
3. Change it to:
        FIND_PATH(KDE4_DATA_DIR cmake/modules/FindKDE4Internal.cmake ${_data_DIR} /usr/share/apps)
4. Emerge kde4-l10n
5. Undo the edit to FindKDE4.cmake

(I tested re-emerging kde-l10n again after step 5 and it completed successfully)

Don't know if the devs want to do anything in the kde-l10n package to perhaps try this automatically, as while I don't have the entire kde4 suite installed, this was the only problem I encountered switching from +kdeprefix to -kdeprefix.

Special thanks to scarabeus for his help
Comment 5 Maciej Mrozowski gentoo-dev 2009-08-05 16:42:04 UTC
I suppose it is fixed? At least cannot reproduce with 4.2.4-r1 (-kdeprefix), and since kdeprefix is not supported anymore (well, for now)..
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2009-08-06 14:33:13 UTC
Yep this is fixed. I left it open just because few pple hit it so they wont open more dupes.