It looks like graphviz needs to depend on x11-libs/libXaw. I uncovered the bug while configuring a lean image processing server, that does not have X server installed, but does use X libraries. Relevant part of log: ----- ----- ----- if /bin/sh ../../../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -pipe -Os -march=pentium2 -Wall -MT Draw.lo -MD -MP -MF ".deps/Draw.Tpo" -c -o Draw.lo Draw.c; \ then mv -f ".deps/Draw.Tpo" ".deps/Draw.Plo"; else rm -f ".deps/Draw.Tpo"; exit 1; fi mkdir .libs i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -pipe -Os -march=pentium2 -Wall -MT Draw.lo -MD -MP -MF .deps/Draw.Tpo -c Draw.c -fPIC -DPIC -o .libs/Draw.o i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -pipe -Os -march=pentium2 -Wall -MT Dir.lo -MD -MP -MF .deps/Dir.Tpo -c Dir.c -fPIC -DPIC -o .libs/Dir.o In file included from Draw.c:31: SFinternal.h:34:26: X11/Xaw/Text.h: No such file or directory SFinternal.h:35:31: X11/Xaw/AsciiText.h: No such file or directory In file included from Draw.c:31: SFinternal.h:95: error: syntax error before "SFtextPos" SFinternal.h:95: warning: type defaults to `int' in declaration of `SFtextPos' SFinternal.h:95: warning: data definition has no type or storage class Draw.c:34:31: X11/Xaw/Scrollbar.h: No such file or directory Draw.c:35:31: X11/Xaw/Cardinals.h: No such file or directory Draw.c: In function `SFinitFont': Draw.c:74: error: `ZERO' undeclared (first use in this function) Draw.c:74: error: (Each undeclared identifier is reported only once Draw.c:74: error: for each function it appears in.) Draw.c: In function `SFclearList': Draw.c:176: warning: implicit declaration of function `XawScrollbarSetThumb' In file included from Dir.c:40: SFinternal.h:34:26: X11/Xaw/Text.h: No such file or directory SFinternal.h:35:31: X11/Xaw/AsciiText.h: No such file or directory In file included from Dir.c:40: SFinternal.h:95: error: syntax error before "SFtextPos" SFinternal.h:95: warning: type defaults to `int' in declaration of `SFtextPos' SFinternal.h:95: warning: data definition has no type or storage class make[5]: *** [Dir.lo] Error 1 make[5]: *** Waiting for unfinished jobs.... Draw.c: In function `SFpathSliderMovedCallback': Draw.c:837: error: `XawTextPosition' undeclared (first use in this function) Draw.c:837: error: syntax error before "pos" Draw.c:855: error: `pos' undeclared (first use in this function) Draw.c:864: warning: implicit declaration of function `XawTextSetInsertionPoint' make[5]: *** [Draw.lo] Error 1 make[5]: Leaving directory `/var/tmp/portage/graphviz-1.16-r1/work/graphviz-1.16/lefty/ws/x11/libfilereq' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/graphviz-1.16-r1/work/graphviz-1.16/lefty/ws/x11' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/graphviz-1.16-r1/work/graphviz-1.16/lefty/ws' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/graphviz-1.16-r1/work/graphviz-1.16/lefty' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/graphviz-1.16-r1/work/graphviz-1.16' make: *** [all] Error 2 !!! ERROR: media-gfx/graphviz-1.16-r1 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile graphviz-1.16-r1.ebuild, line 61: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. ----- ----- ----- Emerge info ----- ----- ----- Gentoo Base System version 1.12.4 Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 Celeron-A app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1, 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-pipe -Os -march=pentium2" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-pipe -Os -march=pentium2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ " 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 a52 acl alsa apache2 apm avi bash-completion berkdb bitmap-fonts bzip2 caps cli crypt cups dlloader dri dv eds emboss encode foomaticdb fortran gd gdbm gif gpm gstreamer gtk2 imlib ipv6 isdnlog jbig jpeg jpeg2k libg++ libwww mad mikmod mmx mp3 mpeg multislot ncurses nptl ogg opengl oss pam pcre pdflib png pppd qt3 qt4 quicktime readline reflection ruby sdl session spell spl sse sse2 ssl tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vorbis xml xmms xorg xpm zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_none" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY ----- ----- ----- Temporary workaround: `emerge -1 libXaw`
*** This bug has been marked as a duplicate of 139608 ***