Not sure what the problem is here since at first it looks like a reemerge of readline and ncurses should fix the issue but it doesn't. This is on an all ~arch system with current readline/ncurses. Reproducible: Always Steps to Reproduce: 1. emerge =sys-fs/xfsprogs-3.1.7 Actual Results: /bin/sh ../libtool --quiet --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed,--sort-common -Wl,--warn-once,--hash-style=gnu -Wl,-O1 -Wl,--as-needed,--sort-common -Wl,--warn-once,--hash-style=gnu -rpath /lib64 -version-info 0:0:0 -o libxfs.la cache.lo init.lo kmem.lo logitem.lo radix-tree.lo rdwr.lo trans.lo util.lo xfs_alloc.lo xfs_ialloc.lo xfs_inode.lo xfs_btree.lo xfs_alloc_btree.lo xfs_ialloc_btree.lo xfs_bmap_btree.lo xfs_da_btree.lo xfs_dir2.lo xfs_dir2_leaf.lo xfs_attr_leaf.lo xfs_dir2_block.lo xfs_dir2_node.lo xfs_dir2_data.lo xfs_dir2_sf.lo xfs_bmap.lo xfs_mount.lo xfs_rtalloc.lo xfs_trans.lo xfs_attr.lo linux.lo -lpthread -lrt make: *** [default] Error 2 emake failed Portage 2.2.0_alpha90 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r2, 3.2.5-gentoo x86_64) ================================================================= System uname: Linux-3.2.5-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_@_2.66GHz-with-gentoo-2.1 Timestamp of tree: Fri, 30 Mar 2012 15:15:01 +0000 app-shells/bash: 4.2_p24 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.7-r2, 2.7.2-r3, 3.1.4-r3, 3.2.2 dev-util/cmake: 2.8.7-r5 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.9.3 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.11.3 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.2, 4.5.3-r2 sys-devel/gcc-config: 1.5.1-r1 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers) sys-libs/glibc: 2.14.1-r2 Repositories: gentoo mozilla mysql local Installed sets: ACCEPT_KEYWORDS="amd64 ~amd64 ~x86" ACCEPT_LICENSE="* -@EULA PUEL AdobeFlash-10.3 dlj-1.1 sun-bcla-java-vm skype-eula google-talkplugin RTCW-ETEULA Oracle-BCLA-JavaSE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -pipe -ftracer -frename-registers -ftree-vectorize" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-O2 -march=core2 -pipe -ftracer -frename-registers -ftree-vectorize" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs candy distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed,--sort-common -Wl,--warn-once,--hash-style=gnu" LINGUAS="en" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/mozilla /var/lib/layman/mysql /usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 bash-completion bzip2 cairo cjk cli consolekit cracklib crypt custom-cflags cxx dbus dri encode examples firefox fontconfig fortran gdbm gif gimp gpm graphviz gtk gtstreamer iconv jpeg jpeg2k lcms libnotify libssh2 logrotate mmx modules mono mudflap multilib ncurses nls nptl nptlonly octave opengl openmp openntpd pam pcre pda pdf png pppd qt4 readline ruby scanner session spell sse sse2 sse3 ssl startup-notification static-ppds suid sysfs threads tiff truetype unicode usb userlocales vhosts webdav xcomposite xforms xml xorg xpm xprint xscreensaver zlib" ALSA_CARDS="intel8x0" 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 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="evdev mouse keyboard wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" NGINX_MODULES_HTTP="empty_gif stub_status mp4 gzip_static userid flv geoip image_filter push random_index secure_link access addition auth_basic autoindex browser charset fastcgi geo gzip limit_req limit_zone map memcached referer rewrite ssi" NGINX_MODULES_MAIL="imap" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="arm i386 ppc ppc64 x86_64" QEMU_USER_TARGETS="arm i386 ppc ppc64 x86_64" RUBY_TARGETS="ruby18" SANE_BACKENDS="hp" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 307195 [details] build log
Created attachment 307197 [details] build log this with sane CFLAGS/LDFLAGS. P.S this is the only packages that doesn't compile on this system.
Created attachment 307207 [details] build log with USE=-static so it seems it's a USE=static issue.
Fixed in tree.
that change isn't entirely correct. but i've just fixed it in 3.1.7-r1 myself.