can't paste the log here is too long. Please see the entire log file -> http://maugustyniak.com/git.emerge.log Below just a part: misiek misiek # emerge -pv git These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-vcs/git-1.7.1-r1 USE="bash-completion perl subversion -blksha1 -cgi -curl -cvs -doc -emacs -gtk -iconv (-ppcsha1) -threads -tk -webdav -xinetd" 0 kB Total: 1 package (1 new), Size of downloads: 0 kB misiek misiek # emerge git Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-vcs/git-1.7.1-r1 * git-1.7.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * git-manpages-1.7.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: dev-vcs/git-1.7.1-r1 * REPO: gentoo * USE: bash-completion elibc_glibc kernel_linux perl subversion userland_GNU x86 >>> Unpacking source... >>> Unpacking git-1.7.1.tar.bz2 to /var/tmp/portage/dev-vcs/git-1.7.1-r1/work >>> Unpacking git-manpages-1.7.1.tar.bz2 to /var/tmp/portage/dev-vcs/git-1.7.1-r1/work/git-1.7.1 >>> Source unpacked in /var/tmp/portage/dev-vcs/git-1.7.1-r1/work >>> Preparing source in /var/tmp/portage/dev-vcs/git-1.7.1-r1/work/git-1.7.1 ... * Applying git-1.7.1-always-install-js.patch ... [ ok ] * Applying git-1.7.1-noiconv-segfault-fix.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-vcs/git-1.7.1-r1/work/git-1.7.1 ... * Forcing iconv for 1.7.1-r1 due to bugs #321895, #322205. >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-vcs/git-1.7.1-r1/work/git-1.7.1 ... make -j3 NO_CURL=YesPlease NO_TCLTK=YesPlease INSTALLDIRS=vendor ASCIIDOC_NO_ROFF=YesPlease DESTDIR=/var/tmp/portage/dev-vcs/git-1.7.1-r1/image/ 'OPTCFLAGS=-march=i686 -O2 -pipe -fomit-frame-pointer' OPTLDFLAGS=-Wl,-O1 OPTCC=i686-pc-linux-gnu-gcc OPTAR=i686-pc-linux-gnu-ar prefix=/usr htmldir=/usr/share/doc/git-1.7.1-r1/html Makefile:1496: target `ogg' given more than once in the same rule. Makefile:1507: warning: overriding commands for target `qt' Makefile:1497: warning: ignoring old commands for target `qt' Makefile:1507: warning: overriding commands for target `qt4' Makefile:1497: warning: ignoring old commands for target `qt4' Makefile:1507: warning: overriding commands for target `qt3support' Makefile:1497: warning: ignoring old commands for target `qt3support' Makefile:1507: warning: overriding commands for target `plasma' Makefile:1497: warning: ignoring old commands for target `plasma' Makefile:1507: warning: overriding commands for target `xinerama' Makefile:1497: warning: ignoring old commands for target `xinerama' Makefile:1507: warning: overriding commands for target `dvd' Makefile:1497: warning: ignoring old commands for target `dvd' Makefile:1507: warning: overriding commands for target `usb' Makefile:1497: warning: ignoring old commands for target `usb' Makefile:1507: warning: overriding commands for target `v4l' Makefile:1497: warning: ignoring old commands for target `v4l' Makefile:1507: warning: overriding commands for target `v4l2' . . . . Makefile:1737: target `consolekit' doesn't match the target pattern Makefile:1737: target `consolekit' given more than once in the same rule. Makefile:1737: target `pcf' doesn't match the target pattern Makefile:1737: target `pcf' given more than once in the same rule. Makefile:1737: target `arts' doesn't match the target pattern Makefile:1737: target `arts' given more than once in the same rule. Makefile:1737: target `cairo' doesn't match the target pattern Makefile:1737: target `cairo' given more than once in the same rule. Makefile:1737: target `ogg' doesn't match the target pattern Makefile:1737: target `ogg' given more than once in the same rule. Makefile:1737: target `phonon' doesn't match the target pattern Makefile:1737: target `phonon' given more than once in the same rule. Makefile:1737: target `smartcard' doesn't match the target pattern Makefile:1737: target `smartcard' given more than once in the same rule. Makefile:1737: target `pulseaudio' doesn't match the target pattern Makefile:1737: target `pulseaudio' given more than once in the same rule. Makefile:1737: target `win32codecs' doesn't match the target pattern Makefile:1737: target `win32codecs' given more than once in the same rule. Makefile:1737: target `glib' doesn't match the target pattern Makefile:1737: target `glib' given more than once in the same rule. Makefile:1737: target `cups' doesn't match the target pattern Makefile:1737: target `cups' given more than once in the same rule. Makefile:1737: target `kontact' doesn't match the target pattern Makefile:1737: target `kontact' given more than once in the same rule. Makefile:1800: *** mixed implicit and normal rules. Stop. * ERROR: dev-vcs/git-1.7.1-r1 failed: * emake failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 2911: Called die * The specific snippet of code: * git_emake || die "emake failed"; * * If you need support, post the output of 'emerge --info =dev-vcs/git-1.7.1-r1', * the complete build log and the output of 'emerge -pqv =dev-vcs/git-1.7.1-r1'. * The complete build log is located at '/var/tmp/portage/dev-vcs/git-1.7.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-vcs/git-1.7.1-r1/temp/environment'. * S: '/var/tmp/portage/dev-vcs/git-1.7.1-r1/work/git-1.7.1' >>> Failed to emerge dev-vcs/git-1.7.1-r1, Log file: >>> '/var/tmp/portage/dev-vcs/git-1.7.1-r1/temp/build.log' * Messages for package dev-vcs/git-1.7.1-r1: * ERROR: dev-vcs/git-1.7.1-r1 failed: * emake failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 2911: Called die * The specific snippet of code: * git_emake || die "emake failed"; * * If you need support, post the output of 'emerge --info =dev-vcs/git-1.7.1-r1', * the complete build log and the output of 'emerge -pqv =dev-vcs/git-1.7.1-r1'. * The complete build log is located at '/var/tmp/portage/dev-vcs/git-1.7.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-vcs/git-1.7.1-r1/temp/environment'. * S: '/var/tmp/portage/dev-vcs/git-1.7.1-r1/work/git-1.7.1' Any thoughts ? Reproducible: Always
Please include the output from "emerge --info".
Taking a guess: it seems some (all ?) of your useflags leak into build system. Have a look at your make.conf.
I had no problem with thing like that, still can emerge other packages misiek@misiek ~ $ emerge --info Portage 2.1.8.3 (default/linux/x86/10.0/desktop/kde, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.34-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_T7700_@_2.40GHz-with-gentoo-1.12.13 Timestamp of tree: Fri, 16 Jul 2010 03:00:16 +0000 app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r2, 3.1.2-r3 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer" 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" LINGUAS="en_US" 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/misiek303" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X accessibility acpi alsa amd apache2 apm arts bash-completion berkdb bluetooth bzip2 cairo cdr clamav cli consolekit crypt cups curl dbus dvd dvdr expat fam ffmpeg ftp gd gdbm gif glib gstreamer iconv imap java jpeg kde keyboard kontact libwww mmx mng mouse mozilla mp3 mp4 mplayer mysql ncurses nls nptl odbc ogg opengl pam pcf pcre pdflib perl perlsuid phonon plasma png posix pulseaudio python qt qt3support qt4 readline samba session smartcard snmp spell sql sse sse2 ssl svg svga tcpd threads tiff truetype udev usb v4l v4l2 video webkit wifi win32codecs x86 xcb xinerama xml xmlrpc xpm zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="alias auth_basic authz_host dir log_config mime mime_magic rewrite vhost_alias actions asis auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_owner authz_user autoindex cache cern_meta charset_lite dav dav_fs dav_lock dbd deflate disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_forensic logio mem_cache negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http setenvif speling status unique_id userdir usertrack version" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" NETBEANS_MODULES="*" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
By "have a look at", I meant "attach". Looking at Makefile, I'd suspect you've used 'X' as a storage var.
Attach a compressed file next time. Oh, and yes, check your make.conf.
sorry for delay I just got marriage and came back from Florida's honeymoon ;) Yes and was using X variable in my make.conf, renaming to XFLAGS fixed the issue. Thank you for help guy.
I meant "guys"