When I attempt to emerge cmake, I get a fatal error during bootstrapping Reproducible: Always Steps to Reproduce: 1. emerge cmake Actual Results: -- Configuring incomplete, errors occurred! --------------------------------------------- Error when bootstrapping CMake: Problem while running initial CMake --------------------------------------------- * ERROR: dev-util/cmake-2.8.1-r2 failed: * ./bootstrap failed * * Call stack: * ebuild.sh, line 54: Called src_configure * environment, line 7413: Called die * The specific snippet of code: * ./bootstrap --system-libs --prefix="${EPREFIX}"/usr --docdir=/share/doc/${PF} --datadir=/share/${PN} --mandir=/share/man "$qt_arg" "$par_arg" || die "./bootstrap failed"; * * If you need support, post the output of 'emerge --info =dev-util/cmake-2.8.1-r2', * the complete build log and the output of 'emerge -pqv =dev-util/cmake-2.8.1-r2'. * The complete build log is located at '/var/tmp/portage/dev-util/cmake-2.8.1-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/cmake-2.8.1-r2/temp/environment'. * S: '/var/tmp/portage/dev-util/cmake-2.8.1-r2/work/cmake-2.8.1' >>> Failed to emerge dev-util/cmake-2.8.1-r2, Log file: >>> '/var/tmp/portage/dev-util/cmake-2.8.1-r2/temp/build.log' * Messages for package dev-util/cmake-2.8.1-r2: * ERROR: dev-util/cmake-2.8.1-r2 failed: * ./bootstrap failed * * Call stack: * ebuild.sh, line 54: Called src_configure * environment, line 7413: Called die * The specific snippet of code: * ./bootstrap --system-libs --prefix="${EPREFIX}"/usr --docdir=/share/doc/${PF} --datadir=/share/${PN} --mandir=/share/man "$qt_arg" "$par_arg" || die "./bootstrap failed"; * * If you need support, post the output of 'emerge --info =dev-util/cmake-2.8.1-r2', * the complete build log and the output of 'emerge -pqv =dev-util/cmake-2.8.1-r2'. * The complete build log is located at '/var/tmp/portage/dev-util/cmake-2.8.1-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/cmake-2.8.1-r2/temp/environment'. * S: '/var/tmp/portage/dev-util/cmake-2.8.1-r2/work/cmake-2.8.1' Expected Results: it should have built and installed cmake li2-125 ~ # emerge --info Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.18.8-linode22 i686) ================================================================= System uname: Linux-2.6.18.8-linode22-i686-Intel-R-_Xeon-R-_CPU_L5420_@_2.50GHz-with-gentoo-1.12.11.1 Timestamp of tree: Mon, 20 Sep 2010 15:30:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.10 dev-lang/python: 2.4.4-r9, 2.5.4-r3, 2.6.2-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.10.2, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.1.2, 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl apache2 bzip2 cli cracklib crypt ctype curl cxx dri fortran gd gdbm gpm iconv imap innodb ipv6 java jpeg libwww maildir modules mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl php png pppd python readline reflection session simplexml sockets ssl sysfs t1lib tcpd tokenizer truetype unicode x86 xml xorg xpm 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="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSY
Created attachment 248191 [details] build.log generated by the ebuild
It appears this failure is because there is no java installed on the system. from build.log: CMake Error at Modules/FindJava.cmake:85 (MESSAGE): Error executing java -version The ebuild doesn't depend on java so this may be a missing dependency. In the meantime as a work around, installing a java distribution may fix this error.
Thanks for the fast response. I installed the JDK and everything went through okay. emerge -D dev-java/sun-jdk
*** This bug has been marked as a duplicate of bug 315229 ***