emerge -pqv =media-gfx/graphviz-2.24.0-r2 [ebuild N ] media-gfx/graphviz-2.24.0-r2 USE="cairo gtk nls python -doc -examples -java -lasi -perl -ruby -tcl" I'll attach the build log, the error is: libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/cdt -g -O2 -pipe -march=core2 -momit-leaf-frame-pointer -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT write.lo -MD -MP -MF .deps/write.Tpo -c write.c -fPIC -DPIC -o .libs/write.o mv -f .deps/utils.Tpo.deps/utils.Plo write.c:50: error: static declaration of ‘strcasecmp’ follows non-static declaration make[3]: *** [write.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... mv -f .deps/scan.Tpo.dep /scan.Plo make[3]: Leaving directory `/home/system/var_tmp_portage/portage/media-gfx/graphviz-2.24.0-r2/work/graphviz-2.24.0/lib/cgraph' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/system/var_tmp_portage/portage/media-gfx/graphviz-2.24.0-r2/work/graphviz-2.24.0/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/system/var_tmp_portage/portage/media-gfx/graphviz-2.24.0-r2/work/graphviz-2.24.0' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. Just try to emerge it. Don't know what makes my install special. 2. 3. emerge --info =media-gfx/graphviz-2.24.0-r2 Portage 2.1.7.3 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.10.1-r0, 2.6.32-rc6 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.32-rc6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-2.0.1 Timestamp of tree: Wed, 04 Nov 2009 18:15:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.4, 3.1.1-r1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.2-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-g -O2 -pipe -march=core2 -momit-leaf-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-g -O2 -pipe -march=core2 -momit-leaf-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages installsources news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ " LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="/home/system/var_tmp_portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/gcc-porting /usr/local/portage/layman/mozilla /usr/local/portage/layman/java-overlay /usr/local/portage" SYNC="rsync://mirror.hamakor.org.il/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 bash-completion bidi bluetooth branding bzip2 cairo cdr cli cracklib crypt dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac gif gpm gstreamer gtk hal iconv ipv6 jpeg kde libnotify lzma mad mikmod mmx modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pch pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl sqlite3 sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis x264 xcb xcomposite xml xorg xulrunner xv xvid 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 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" CAMERAS="stv0680" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" QEMU_SOFTMMU_TARGETS="arm i386 ppc ppc64 sparc x86_64" QEMU_USER_TARGETS="i386 x86_64" SANE_BACKENDS="niash stv680" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 209302 [details] build log
Hmm... glibc-2.10.1-r0 checking for strcasecmp... no checking for strncasecmp... no Makes no sense. Attach config.log.
Created attachment 209348 [details] config.log
Looking at the config log myself (why didn't I do that before? Why didn't I bzip2 it before uploading?), I see this looks to be caused by bug #288977. That was reported upstream (https://bugzilla.redhat.com/show_bug.cgi?id=530704) and has patch (https://bugzilla.redhat.com/attachment.cgi?id=365932). I am testing that now, and if it applies and works, I'll rebuild the toolchain and see if it solves the problem.
*** This bug has been marked as a duplicate of bug 288977 ***