upstream is dead. No one will fix it. please filter-ldflags -Wl,--as-needed thx. Reproducible: Always Steps to Reproduce: 1.Enable as-needed 2.emerge fcitx 3.failed to compile Actual Results: if gcc-4.2.4 -DPKGDATADIR=\"/usr/share/fcitx\" -I. -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -march=native -O2 -pipe -fomit-frame-pointer -I/usr/include/freetype2 -D_USE_XFT -Wall -MT AutoEng.o -MD -MP -MF ".deps/AutoEng.Tpo" -c -o AutoEng.o AutoEng.c; \ then mv -f ".deps/AutoEng.Tpo" ".deps/AutoEng.Po"; else rm -f ".deps/AutoEng.Tpo"; exit 1; fi if gcc-4.2.4 -DPKGDATADIR=\"/usr/share/fcitx\" -I. -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -march=native -O2 -pipe -fomit-frame-pointer -I/usr/include/freetype2 -D_USE_XFT -Wall -MT extra.o -MD -MP -MF ".deps/extra.Tpo" -c -o extra.o extra.c; \ then mv -f ".deps/extra.Tpo" ".deps/extra.Po"; else rm -f ".deps/extra.Tpo"; exit 1; fi if gcc-4.2.4 -DPKGDATADIR=\"/usr/share/fcitx\" -I. -I. -I.. -I. -I../lib -I../xpm -O2 -fno-strength-reduce -march=native -O2 -pipe -fomit-frame-pointer -I/usr/include/freetype2 -D_USE_XFT -Wall -MT internalVersion.o -MD -MP -MF ".deps/internalVersion.Tpo" -c -o internalVersion.o internalVersion.c; \ then mv -f ".deps/internalVersion.Tpo" ".deps/internalVersion.Po"; else rm -f ".deps/internalVersion.Tpo"; exit 1; fi gcc-4.2.4 -O2 -fno-strength-reduce -march=native -O2 -pipe -fomit-frame-pointer -I/usr/include/freetype2 -D_USE_XFT -Wall -Wl,--hash-style=both,-O1 -Wl,--sort-common -s -Wl,--as-needed -o fcitx -lXpm IC.o ime.o InputWindow.o KeyList.o main.o MainWindow.o MyErrorsHandlers.o punc.o py.o PYFA.o pyMapTable.o pyParser.o sp.o tools.o ui.o table.o xim.o qw.o vk.o about.o QuickPhrase.o AutoEng.o extra.o internalVersion.o ../lib/libXimd.a -lXft -lXrender -lfontconfig -lfreetype -lz -lX11 -lX11 InputWindow.o: In function `DrawInputWindow': InputWindow.c:(.text+0x10d2): undefined reference to `XpmCreateImageFromData' InputWindow.c:(.text+0x1137): undefined reference to `XpmCreateImageFromData' MainWindow.o: In function `DrawMainWindow': MainWindow.c:(.text+0xcd0): undefined reference to `XpmCreateImageFromData' MainWindow.c:(.text+0xd38): undefined reference to `XpmCreateImageFromData' MainWindow.c:(.text+0xd77): undefined reference to `XpmCreateImageFromData' MainWindow.o:MainWindow.c:(.text+0xe0f): more undefined references to `XpmCreateImageFromData' follow about.o: In function `setIcon': about.c:(.text+0x75): undefined reference to `XpmCreatePixmapFromData' about.c:(.text+0x11a): undefined reference to `XpmGetErrorString' collect2: ld returned 1 exit status make[2]: *** [fcitx] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-i18n/fcitx-3.5_pre070703/work/fcitx-3.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-i18n/fcitx-3.5_pre070703/work/fcitx-3.5' make: *** [all] Error 2 * * ERROR: app-i18n/fcitx-3.5_pre070703 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 223: Called die * The specific snippet of code: * emake || die "make failed" * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-i18n/fcitx-3.5_pre070703/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-i18n/fcitx-3.5_pre070703/temp/environment'.
Here goes emerge --info --------------8<--------------8<--------------8<--------------8<--------------8< Portage 2.2_pre7-r1 (default/linux/x86/2008.0/desktop, gcc-4.2.4, glibc-2.7-r2, 2.6.25-tuxonice-r4 i686) ================================================================= System uname: 2.6.25-tuxonice-r4 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz Timestamp of tree: Fri, 06 Jun 2008 09:46:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r4 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 9999 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.62 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.25-r3 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" DISTDIR="/var/distfiles" FEATURES="ccache collision-protect confcache distlocks elog metadata-transfer notitles parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://gentoo.anheng.com.cn/gentoo http://mirror.averse.net/pub/gentoo http://mirrors.acm.cs.rpi.edu/gentoo http://distfiles.gentoo.org" INSTALL_MASK="TODO.bz2 INSTALL.bz2" LANG="en_US.utf-8" LDFLAGS="-Wl,--hash-style=both,-O1 -Wl,--sort-common -s -Wl,--as-needed" LINGUAS="en zh_CN zh" MAKEOPTS="-j3" PKGDIR="/home/oahong/binpkgs" 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="/var/portage/gentoo" PORTDIR_OVERLAY="/var/portage/remi /var/portage/enlightenment /var/portage/secondlife /var/portage/kde /var/portage/sunrise /var/portage/x11 /var/portage/misc" SYNC="rsync://61.135.158.199/gentoo-portage rsync://sync.asia.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa apache2 bash-comletion berkdb bluetooth branding bzip2 cairo cdparanoia cdr cjk cli crypt cups dbus dri dvd dvdr dvdread emboss encode exif fam ffmpeg flac foomaticdb fortran gdbm gif glitz gphoto2 gpm gstreamer gtk hal iceweasel iconv ieee1394 imagemagic ipv6 ipw3945 irc isdnlog jabber joystick jpeg kerberos latex ldap libnotify logrotate mad midi mikmod mmx mono mp3 mpeg mplayer msn mudflap mysql ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl php png ppds pppd python qt3support quicktime readline real reflection samba sdl session spell spl sse sse2 ssl startup-notification subversion svg tcpd tiff tokenizer truetype unicode usb vcd vim-syntax vorbis wifi win32codecs x86 xcb xine xinerama xml xorg xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_alias authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon sony_dscf55" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev synaptics" KERNEL="linux" LCD_DEVICES="ncurses text" LINGUAS="en zh_CN zh" USERLAND="GNU" VIDEO_CARDS="vesa radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS --------------8<--------------8<--------------8<--------------8<--------------8<
Thanks for reporting, fixed now.