Git 1.7.3.4-r1 won't compile on my uclibc/ppc/hardened box. Reproducible: Always Steps to Reproduce: emerge =dev-vcs/git-1.7.3.4-r1 Actual Results: In file included from builtin/annotate.c:6: ./git-compat-util.h:156:19: iconv.h: No such file or directory In file included from ./cache.h:4, from builtin/add.c:6: ./git-compat-util.h:156:19: iconv.h: No such file or directory In file included from In file included from builtin/annotate.c:6: ./git-compat-util.h:156:19: iconv.h: No such file or directory ./cache.h:4, from builtin/add.c:6: ./git-compat-util.h:156:19: iconv.h: No such file or directory distcc[17450] ERROR: compile builtin/annotate.c on localhost failed make: *** [builtin/annotate.o] Error 1 make: *** Waiting for unfinished jobs.... distcc[17445] ERROR: compile builtin/add.c on localhost failed make: *** [builtin/add.o] Error 1 Portage 2.1.9.25 (uclibc/ppc/hardened, gcc-3.4.6, uclibc-0.9.30.1-r1, 2.6.28-hardened-r9-muttley-3-wifi ppc) ================================================================= System uname: Linux-2.6.28-hardened-r9-muttley-3-wifi-ppc-G2_LE-with-gentoo-1.12.14 Timestamp of tree: Wed, 16 Feb 2011 21:45:01 +0000 distcc 3.1 powerpc-gentoo-linux-uclibc [enabled] ccache version 2.4 [enabled] app-shells/bash: 4.1_p9 dev-lang/python: 2.4.6, 2.5.4-r3, 2.6.6-r1, 3.1.2-r4 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 3.4.6-r2, 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="ppc" ACCEPT_LICENSE="* -@EULA" CBUILD="powerpc-gentoo-linux-uclibc" CFLAGS="-O2 -mcpu=603e -pipe" CHOST="powerpc-gentoo-linux-uclibc" CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -mcpu=603e -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distcc distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-z,relro" MAKEOPTS="-j2" 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="/mnt/spare" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman" SYNC="rsync://splig/gentoo-portage" USE="alsa apache2 bzip2 cgi cli cracklib crypt cxx dri embedded fastcgi hardened ipv6 modules mudflap mysql ncurses offensive openmp pcre perl php pic ppc python quotas readline samba session sni sqlite ssl ssp suhosin syslog tcpd uclibc uclibc-compat unicode xorg zlib" 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="alias auth_basic authn_alias authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache 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 proxy proxy_http dav dav_fs auth_digest" APACHE2_MPMS="prefork" CAMERAS="sq905" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="uclibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 262933 [details] Full build log
from the log: * Forcing iconv for 1.7.3.4-r1 due to bugs #321895, #322205.
Bug 321895 says that ebuilds should depend on iconv in uclibc because it's a separate package. However, dev-libs/libiconv is hardmasked for by the uclibc profile because it 'breaks gcc and such'. Stalemate?
can we revisit this ? USE=-iconv and git-1.7.8.5 seem to work fine. looking at upstream git tree, looks like this was fixed a while ago (before 1.7.4 actually): commit 43acff34b902c38808ac0f326090f2516250e1f0 Author: Jonathan Nieder <jrnieder@gmail.com> Date: Sat May 8 18:17:29 2010 -0500 cherry-pick: do not dump core when iconv fails
I agree with above comments. It should be fine now with USE=-iconv Is there any reason why it's still enforcing iconv? I need it for my uclibc x86 server
should be all set now in the tree; thanks for the report! Commit message: Re-enable USE=-iconv support now that the bug originally disabling it was fixed in upstream, and make sure we default to USE=iconv so that unicode/etc... messages "just work" out of the box http://sources.gentoo.org/dev-vcs/git/git-1.7.8.ebuild?r1=1.1&r2=1.2 http://sources.gentoo.org/dev-vcs/git/git-1.7.8.1.ebuild?r1=1.1&r2=1.2 http://sources.gentoo.org/dev-vcs/git/git-1.7.8.2.ebuild?r1=1.1&r2=1.2 http://sources.gentoo.org/dev-vcs/git/git-1.7.8.3.ebuild?r1=1.1&r2=1.2 http://sources.gentoo.org/dev-vcs/git/git-1.7.8.4.ebuild?r1=1.1&r2=1.2 http://sources.gentoo.org/dev-vcs/git/git-1.7.8.5.ebuild?r1=1.1&r2=1.2 http://sources.gentoo.org/dev-vcs/git/git-1.7.8.6.ebuild?r1=1.2&r2=1.3 http://sources.gentoo.org/dev-vcs/git/git-1.7.9.ebuild?r1=1.2&r2=1.3 http://sources.gentoo.org/dev-vcs/git/git-1.7.9_rc2.ebuild?r1=1.4&r2=1.5 http://sources.gentoo.org/dev-vcs/git/git-1.7.9.1.ebuild?r1=1.2&r2=1.3 http://sources.gentoo.org/dev-vcs/git/git-1.7.9.2.ebuild?r1=1.2&r2=1.3 http://sources.gentoo.org/dev-vcs/git/git-1.7.9.3.ebuild?r1=1.2&r2=1.3 http://sources.gentoo.org/dev-vcs/git/git-1.7.9.4.ebuild?r1=1.2&r2=1.3 http://sources.gentoo.org/dev-vcs/git/git-1.7.9.7.ebuild?r1=1.1&r2=1.2 http://sources.gentoo.org/dev-vcs/git/git-1.7.10.ebuild?r1=1.2&r2=1.3 http://sources.gentoo.org/dev-vcs/git/git-1.7.10.2.ebuild?r1=1.1&r2=1.2 http://sources.gentoo.org/dev-vcs/git/git-9999.ebuild?r1=1.31&r2=1.32
*** Bug 373667 has been marked as a duplicate of this bug. ***