after adding the perl USE flag in /etc/portage/package.use, emerge x11-terms/rxvt-unicode fails to build... I'm not sure what more to say, except to add the log. Reproducible: Always Portage 2.2_rc17 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.28-tuxonice-r1 x86_64) ================================================================= System uname: Linux-2.6.28-tuxonice-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-glibc2.2.5 Timestamp of tree: Fri, 30 Jan 2009 17:05:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p48 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.5.4-r2 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.2 sys-apps/sandbox: 1.3.3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19 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="-O3 -fomit-frame-pointer -march=native -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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O3 -fomit-frame-pointer -march=native -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="rsync://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/ " LC_ALL="C" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi aim alsa amd64 ao bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cli cracklib crypt css cups curl dbus dri dvd dvdr dvdread emacs emboss encode evo exif fam fbcon ffmpeg fftw firefox flac fortran ftp fuse gdbm gif gmp gnutls gpm gstreamer gtk hal hardened iconv imap imlib ipv6 isdnlog jabber jpeg kerberos latex ldap libcaca libedit libnotify logrotate mad matroska midi mikmod mime mmap mmx mp3 mpeg mplayer mudflap mule multilib musepack ncurses nls nntp nptl nptlonly nsplugin objc objc-gc ogg opengl openmp pam pcmcia pcre pdf png ppds pppd python qt3support quicktime readline reflection sasl sdl session sharedmem smp sockets spell spl sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs tcpd tetex theora threads tidy tiff truetype unicode usb vorbis wifi x264 xattr xcb xft xml xorg xpm xulrunner xv xvid zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 180355 [details] ebuild log
The same error message occurs when building irssi with the perl USE flag. I don't know whether that should be a separate bug or not, so I'm just filing it alongside this one.
Created attachment 182441 [details] irssi build log
I had the same problem when emerging net-analyzer/net-snmp-5.4.2.1 The workaround that fixed it for me was re-emerging emerge -avN perl libperl I found the workaround at a Romanian gentoo discussion forum; I don't speak Romanian, but I got the gist. Thank you, international gentoo community :) http://www.gentoo.ro/forum_viewtopic.php?19.4726
What is the output of $ perl -MExtUtils::Embed -e ldopts Does the file /usr/lib/perl5/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a exist? I guess your perl installation is somewhat broken and as said in comment #4 you should re-emerge perl and libperl