Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
I tried to emerge =media-libs/imlib-1.9.15-r2 but it failed. Reproducible: Always Steps to Reproduce: 1. add --as-needed to your LDFLAGS 2. emerge =media-libs/imlib-1.9.15-r2 Actual Results: /bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -fomit-frame-pointer -pipe -m3dnow -msse -mmmx -fprefetch-loop-arrays -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed -o imlib_config imlib_config.o icons.o testimg.o ../gdk_imlib/libgdk_imlib.la -L/usr/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -lXi -lXext -lXext -lX11 -lm -ljpeg -ltiff -lgif -lpng -lz -lm mkdir .libs i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -fomit-frame-pointer -pipe -m3dnow -msse -mmmx -fprefetch-loop-arrays -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed -o .libs/imlib_config imlib_config.o icons.o testimg.o -rdynamic ../gdk_imlib/.libs/libgdk_imlib.so -L/usr/lib /usr/lib/libgtk.so /usr/lib/libgdk.so /usr/lib/libgmodule.so /usr/lib/libglib.so /usr/lib/libXi.so /usr/lib/libXext.so /usr/lib/libX11.so /usr/lib/libjpeg.so /usr/lib/libtiff.so /usr/lib/libgif.so /usr/lib/libpng12.so -lz -lm ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `TIFFWriteScanline' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_create_read_struct' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_write_scanlines' Expected Results: I'd expect it to compile fine $ emerge --info Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686) ================================================================= System uname: 2.6.23-gentoo-r3 i686 AMD Athlon(tm) XP 2400+ Timestamp of tree: Fri, 25 Jan 2008 19:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe -m3dnow -msse -mmmx -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/rc.d /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d /etc/wget" CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe -m3dnow -msse -mmmx -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache confcache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed" LINGUAS="de en_GB eo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/mnt/ramdisk" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/muelli" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X X509 a52 aac accessibility acl acpi ada adns aiglx alsa amarok amr amuled async auctex audacious audiofile authfile avahi bash-completion bindist bitmap-fonts bittorrent bl blender-game bluetooth bonjour branding browserplugin buttons bzip2 cairo ccache cdb cdda cddb cdinstall cdio cdparanoia cdr cli cracklib crypt css csv curl cyrus d dbase dbus devhelp disk-partition divx divx4linux djvu drac dri dts dvb dvd dvdnav dvdr dvdread dvi dynagraph eds effects emboss emerald encode enscript escreen ethereal evo exif extrafilters extras fasttrack ffmpeg firefox flac fuse gajim galago garmin gd gdbm gedit geldkarte ggi gif gkrellm glade glitz glsa glut gmedia gmp gnokii gnome gnuplot gnustep gnutella gnutls gpg gpgme gpm graphviz gs gsm gstreamer gtalk gtk gtk2 gtkhtml hal hbci hddtemp html http iconv id3 idn imagemagick imlib inherit-graph ipv6 irc irda isdnlog jabber javascript jingle joystick jpeg jpeg2k junit justify keyring lame latex libcaca libnotify libsexy libwww logrotate logwatch lzo mad madwifi matroska midi mikmod mmx mmxext mng mod mod_muc mod_pubsub moneyplex mono mozdevelop mozilla moznoirc moznomail mozsvg mp3 mp4 mp4live mpe mpeg mpeg2 mpeg4 mplayer mudflap multiuser musepack musicbrainz mythtv nautilus ncurses net nls nntp nogg nptl nptlonly nvidia nvtv offensive ofx ogg ole on-the-fly-crypt opengl openmp openssl oss pam pcre pdf perl plugin plugins png postscript pppd pulseaudio python pyx qt3 qt3support qt4 quicktime rar readline real realmedia recode reflection reiser4 reiserfs remote replytolist restrict-javascript rss rtsp ruby sasl screen sdl sendfile sensord session sftp shaper shorten shout skins slang sms socks5 softquota sourceview speech speedo speex spell spl sqlite sqlite3 srv sse sse2 ssl stream stroke subversion svg svga symlink tcl tcpd tetex tga theora thesaurus thumbnail thumbnailing thunderbird tiff tk tordns tos tracker trayicon truetype truetype-fonts type1-fonts unicode upnp usb utf8 uuencode v4l v4l2 valgrind vcd videos vidix visual visualization vnc vorbis win32codecs wma wmf wmp x264 x86 xanim xchat xcomposite xemacs xforms xine xml xorg xulrunner xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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 joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en_GB eo" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created an attachment (id=141865) [edit] build log media-libs/imlib
Compiles perfectly fine here w/ --as-needed
Now it compiles fine w/o --as-needed. Please see the build.log attached. I just removed " -Wl,--as-needed" from my make.conf.
Created an attachment (id=141867) [edit] build log of fine compiling media-libs/imlib
Created an attachment (id=151623) [edit] paludis environment I'm having the same problem building with Wl,--as-needed flags as well. I even rebuilt giflib, libpng, tiff and jpeg and it still errors out in the same place. Since I'm using paludis on this machine, I'm not sure what files to attach; it also seems that paludis doesn't keep build logs of the stuff it makes. And yes, I've searched the forums for guidance on posting bugs while using paludis instead of portage but there doesn't seem to be any--at least none that I could find. :-P
Thank you for report. This problem should be fixed in CVS now. If not, please, reopen bug.
-r2 breaks build with --as-needed, despite what the patch is supposed to do. -r1 was installed fine, and -r2 will only install if I do a 'LDFLAGS="" emerge imlib'...build log, then emerge --info below mv -f .deps/imlib_config.Tpo .deps/imlib_config.Po mv -f .deps/testimg.Tpo .deps/testimg.Po /bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -Wl,--as-needed -o imlib_config imlib_config.o icons.o testimg.o ../gdk_i mlib/libgdk_imlib.la -L/usr/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -lXi -lXext -lXext -lX11 -lm -ljpeg -ltiff -lgif -lpng -lz -lm mkdir .libs i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -Wl,--as-needed -o .libs/imlib_config imlib_config.o icons.o testimg.o -rdynamic ../gdk_imlib/.libs/libgdk_imlib.so -L/usr/lib /usr/lib/libgtk.so /usr/lib/libgdk.so /usr/lib/libgmodule.so /usr/lib/libglib.so /usr/lib/libXi.so /usr/lib/libXext.so /usr/lib/libtiff.so -ljbig /usr/lib/ libjpeg.so -lc /usr/lib/libgif.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl /usr/lib/libpng12.so -lz -lm ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `TIFFWriteScanline' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_create_read_struct' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_write_scanlines' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_set_expand' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_stdio_src' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `TIFFDefaultStripSize' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_get_valid' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `_TIFFmalloc' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `TIFFReadRGBAImage' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_init_io' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `DGifOpenFileHandle' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_CreateDecompress' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_destroy_decompress' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_set_filler' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_finish_decompress' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_set_defaults' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_set_quality' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_set_read_fn' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_set_sBIT' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `DGifGetExtensionNext' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_create_info_struct' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `TIFFScanlineSize' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_read_header' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_set_packing' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `TIFFClose' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_write_rows' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_start_compress' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_set_strip_16' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_start_decompress' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `DGifGetImageDesc' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `TIFFGetField' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `TIFFOpen' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `_TIFFfree' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `DGifGetRecordType' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `DGifGetLine' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_set_shift' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_read_image' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_write_info' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_create_write_struct' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `DGifCloseFile' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `TIFFSetField' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_CreateCompress' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_set_IHDR' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_stdio_dest' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_write_end' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_read_info' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_std_error' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `DGifGetExtension' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `PrintGifError' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_destroy_read_struct' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_finish_compress' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `TIFFFdOpen' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_get_IHDR' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `jpeg_read_scanlines' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_destroy_write_struct' ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_get_io_ptr' collect2: ld returned 1 exit status make[2]: *** [imlib_config] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/imlib-1.9.15-r2/work/imlib-1.9.15/utils' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/imlib-1.9.15-r2/work/imlib-1.9.15' make: *** [all] Error 2 Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.21-suspend2-r7 i686) ================================================================= System uname: 2.6.21-suspend2-r7 i686 Intel(R) Pentium(R) M processor 2.00GHz Timestamp of tree: Wed, 26 Nov 2008 21:00:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r5, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ex t-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=pentium-m -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo" LDFLAGS="-Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j2" 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="7zip X Xaw3d a52 aac acl acpi addbookmarks aim alias alsa apache2 arts audiofile autoipd au toreplace avahi bash-completion bcmath berkdb bidi bluetooth bonjour bookmarks branding bzip2 ca iro calendar cardbus ccache cdda cddb cdio cdparanoia cdr cdrom cgi chm clearcase cli codecs com mercial connectionstatus contactnotes corba cpudetection cracklib crypt css ctype cups curl curl wrappers cvs daap dbus divx dmi dnd dri dts dvb dvd dvdr dvdread eds effects elf emacs enca esd exif expat exscalibar extensions extrafilters fam fame fastcgi fat ffmpeg fftw firefox flac fltk font-server fontconfig force-cgi-redirect fortran fpx freetype ftp fuse galago gd gdbm gg ggi g if gimpprint glib glitz glut gmail gmedia gmp gnome gnome-print gphoto2 gpm graphviz groupwise g s gsm gstreamer gtk gtkhtml h323 hal hash haskell hbci highlight history howl-compat httpd iconv icq id3 idn ieee1394 imagemagick imap inkjar ipod ipv6 irc isdnlog jabber jack jack-tmpfs java javascript jbig jce jikes jit joystick jpeg jpeg2k kde kdeenablefinal lame largeterminal latex l cms ldap leim lesstif libcaca libsamplerate live lm_sensors logitech-mouse logrotate lua lzo lzw maildir matroska mbox mdnsresponder-compat memlimit mhash midi mime mjpeg mmap mng mod mono mot if mozbranding mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg2 mpi mplayer msn mudfla p multiuser musepack musicbrainz mysql mysqli nas ncurses nethack network new-login nls nntp now listening nptl nptlonly nsplugin ntlm numeric nxclient offensive ofx ole on-the-fly-crypt openal opengl openmp oscar oss pam pam_timestamp pascal paste64 pcntl pcre pda pdf perforce perl php p hysfs player plotutils plugin png pnp portaudio posix postfix postgres povray pppd pulseaudio py thon qemu-fast qt3 qt4 quotes rar rdesktop readline reflection reiserfs remote resolvconf rpm rr dtool rss rtsp ruby samba sametime sasl scanner screen screenshot sdl sensord server session sha redext shorten shout silc simplexml skins slp smime sms smux sndfile snmp soap sockets socks5 sp eedo speex spell spl sql sqlite sqlite3 ssl startup-notification statistics stencil-buffer strea m subversion svg sysfs sysvipc tcl tcltk tcpd tetex texteffect theora threads tiff tk tokenizer toolbar transcode translator truetype type1 unicode usb utf8 v4l v4l2 vcd vidix vim vim-pager vi m-with-x visualization vlm vnc vorbis webpresence wifi winpopup wmf wmp wxgtk1 wxwindows x264 x8 6 xanim xchatnogtk xchattext xcomposite xface xforms xine xinerama xml xmlreader xmlrpc xmlwrite r xorg xosd xpm xprint xscreensaver xsl xvid xvmc yahoo yv12 zeroconf zip zlib" ALSA_CARDS="inte l8x0" 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_f ile authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache da v dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers includ e info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status un ique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev joystic k" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="i810 fbdev vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMP RESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Jeff, what USE flags you used to build imlib? And, please, attach full build log.