Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268439 - dev-util/cmake-2.6.4 fails to build without existing cmake
Summary: dev-util/cmake-2.6.4 fails to build without existing cmake
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-03 14:05 UTC by juergen.bre
Modified: 2009-05-03 14:12 UTC (History)
0 users

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 juergen.bre 2009-05-03 14:05:43 UTC
The first time dev-util/cmake was pulled in as dependency it fails to emerge.

Reproducible: Always

Steps to Reproduce:
1. emerge cmake
2.
3.

Actual Results:  
└─(102:15:54:#)── emerge -pv cmake                                                                                                                                                                                           ──(Sun,May03)─┘

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-util/cmake-2.6.4  USE="qt4 -emacs -vim-syntax" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB
┌─(ROOT@user:pts/1)────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(~)─┐
└─(15:54:#)── emerge -v cmake                                                                                                                                                                                                ──(Sun,May03)─┘

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-util/cmake-2.6.4  USE="qt4 -emacs -vim-syntax" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB


>>> Emerging (1 of 1) dev-util/cmake-2.6.4
 * cmake-2.6.4.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking cmake-2.6.4.tar.gz to /var/tmp/portage/dev-util/cmake-2.6.4/work
>>> Source unpacked in /var/tmp/portage/dev-util/cmake-2.6.4/work
>>> Preparing source in /var/tmp/portage/dev-util/cmake-2.6.4/work/cmake-2.6.4 ...
 * Applying cmake-FindJNI.patch ...                                                                                                                                                                                                    [ ok ]
 * Applying cmake-FindPythonLibs.patch ...                                                                                                                                                                                             [ ok ]
 * Applying cmake-FindPythonInterp.patch ...                                                                                                                                                                                           [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-util/cmake-2.6.4/work/cmake-2.6.4 ...
/var/tmp/portage/dev-util/cmake-2.6.4/temp/environment: line 3286: [[1]]: command not found
>>> Working in BUILD_DIR: "/var/tmp/portage/dev-util/cmake-2.6.4/work/cmake-2.6.4"
/var/tmp/portage/dev-util/cmake-2.6.4/temp/environment: line 937: cmake: command not found
 * 
 * ERROR: dev-util/cmake-2.6.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 3309:  Called cmake-utils_src_configure
 *             environment, line  937:  Called die
 * The specific snippet of code:
 *       cmake ${cmakeargs} "${S}" || die "cmake failed";
 *  The die message:
 *   cmake failed
 * 



EMERGE_DEFAULT_OPTS="" emerge --info                                                                                                                                                                           ──(Sun,May03)─┘
Portage 2.2_rc32 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-hh2 x86_64)
=================================================================
System uname: Linux-2.6.29-hh2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.0
Timestamp of tree: Sun, 03 May 2009 12:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.6.2
dev-util/ccache:     2.4-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-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/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/berkano /usr/local/portage/layman/jokey"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 avahi bash-completion berkdb branding bzip2 cairo cdr cli cracklib crypt curl dbus dri dvd dvdr dvdread eds emboss encode esd evo exif expat fam fbcon ffmpeg firefox flac fuse gdbm gif gnome gpm gstreamer gtk hal iconv isdnlog jack java javascript jpeg ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection ruby sdl session spell spl sse sse2 ssl startup-notification svg sysfs taglib tcl tcpd threads tiff truetype unicode usb vorbis wmf wxwidgets x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="asym shm rate dmix empty iec958 ioplug plug 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 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" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 juergen.bre 2009-05-03 14:09:22 UTC
Emerging the prior version and then build 2.6.4 works 

emerge "=cmake-2.6.3-r1" && emerge -u cmake
Comment 2 Marcus D. Hanwell (RETIRED) gentoo-dev 2009-05-03 14:12:23 UTC
Changes committed to fix the logic now - this should be fixed if you sync in an hour or so... Please reopen if not.