Emerging of media-libs/imlib-1.9.14-r2 fails on Reproducible: Always Steps to Reproduce: 1. CFLAGS="-march=athlon-tbird -O2" emerge media-libs/imlib 2. 3. Expected Results: media-libs/imlib-1.9.14-r2 should have emerged sucessfully. Note agressive CFLAGS shown in Additional Information have been reduced for emerge attempt. asmodean ~ # emerge info Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.9-rc1-mm1) ================================================================= System uname: 2.6.9-rc1-mm1 i686 AMD Athlon(TM)Processor Gentoo Base System version 1.5.3 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /opt/glftpd/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/kde/cvs/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/www/localhost/htdocs//mythweb/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.seren.com/gentoo http://mirror.tucdemonic.org/gentoo/" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/bmg-gnome-current.alternative/ /usr/local/overlays/bmg-main.alternative /usr/local/portage /usr/local/overlays/fluidportage/trunk" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib alsa apm arts avi berkdb bonobo cairo cdr crypt cups dashboard directfb divx dmx doc encode esd evo evolution faad fbcon flac flash foomaticdb gdbm ggi gif gnome gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib java jpeg kde libg++ libwww mad matroska mikmod mono motif mozilla moznoirc moznomail mozsvg mpeg mysql mythtv nas ncurses nls nvidia offensive oggvorbis opengl oss pam pda pdflib perl png postgres python qt quicktime readline ruby samba sdl slang spell ssl svg svga tcpd tiff truetype wxwindows x86 xine xinerama xml xml2 xmms xv xvid zlib"
gcc -DSYSTEM_IMRC=\"/etc/imlib/imrc\" -DIMLIB_LIB=\"/usr/lib\" -DSYSCONFDIR=\"/etc/imlib\" -I. -I. -I.. -I./.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include -I/usr/include -march=athlon-tbird -O2 -c utils.c -fPIC -DPIC -o .libs/utils.lo cc1: warning: utils.c is shorter than expected utils.c:1807:1: warning: no newline at end of file utils.c: In function `gdk_imlib_create_image_from_drawable': utils.c:1806: error: syntax error at end of input utils.c:1759:1: unterminated #ifdef make[2]: *** [utils.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/imlib-1.9.14-r2/work/imlib-1.9.14/gdk_imlib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/imlib-1.9.14-r2/work/imlib-1.9.14' make: *** [all-recursive-am] Error 2
Re-assigning to gnome-team, as I'm not able to maintain this.
come back when using a set of cflags that doesn't take 3 lines + you are using bmg, making this a nosoup bug afaic. Reproduce on a clean & sane sys.