Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233300 - kde-misc/kgtk-0.10.0: cmake configuraition fails
Summary: kde-misc/kgtk-0.10.0: cmake configuraition fails
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:
 
Reported: 2008-07-29 18:01 UTC by Lukas Turek
Modified: 2008-08-23 12:14 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Turek 2008-07-29 18:01:38 UTC
Emerge of kde-misc/kgtk-0.10.0 fails with:

CMake Error: Error in cmake code at
/var/tmp/portage/kde-misc/kgtk-0.10.0/work/KGtk-0.10.0/gtk2/CMakeLists.txt:1:
INCLUDE Could not find include file: FindPkgConfig
Current CMake stack: /var/tmp/portage/kde-misc/kgtk-0.10.0/work/KGtk-0.10.0/gtk2/CMakeLists.txt;/var/tmp/portage/kde-misc/kgtk-0.10.0/work/KGtk-0.10.0/gtk2/FindPkgConfig
CMake Error: Error in cmake code at
/var/tmp/portage/kde-misc/kgtk-0.10.0/work/KGtk-0.10.0/gtk2/CMakeLists.txt:3:
Unknown CMake command "pkg_check_modules".

It seems that it requires cmake-2.6.0, which is currently hard-masked, but I haven't tried it yet.

Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-tuxonice-r4 i686)
=================================================================
System uname: 2.6.25-tuxonice-r4 i686 Intel(R) Pentium(R) M processor 1.73GHz
Timestamp of tree: Tue, 29 Jul 2008 17:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r5
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.linux.cz/pub/linux/gentoo ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo ftp://fi.muni.cz/pub/linux/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en cs"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac alsa audiofile bash-completion bluetooth bzip2 cdr crypt cups curl dri dvd dvdread encode exif ffmpeg flac gif gpm iconv idn imagemagick imlib jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility lcms mad mmx mp3 mpeg ncurses nls nodrm nptl nsplugin ogg opengl pam pic png qt3 readline samba sdl slang speex sse sse2 ssl svg symlink tcpd tiff truetype udev unicode vorbis wmf x86 xml xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="asym dmix empty iec958 ioplug plug softvol rate meter route dsnoop alaw mulaw adpcm" APACHE2_MODULES="alias auth_basic authz_host deflate dir filter log_config mime rewrite" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gabor Drasny 2008-07-31 18:16:24 UTC
I had the same problem, but could solve it by emerging cmake-2.4.8 (which is ~x86, but not masked). 

The kgtk-0.10.0 ebuild should indicate that kgtk depends on cmake version 2.4.8 or later:

DEPEND="${RDEPEND}
	>=dev-util/cmake-2.4.8"
Comment 2 Gokdeniz Karadag 2008-08-08 11:12:53 UTC
(In reply to comment #1)

I can confirm that using =dev-util/cmake-2.4.8 solves the issue.

As both kgtk and cmake-2.4.8 are in ~arch, adding the dependency would not cause any trouble.

Comment 3 Alan Haggai Alavi 2008-08-22 00:39:45 UTC
After installing cmake-2.4.8, kgtk was built without errors.
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2008-08-23 12:14:32 UTC
Thanks guys, dependency is corrected.