It failed to build until I upgraded libxml2. So this is a bug in the ebuild - it needs to depend on a newer version of libxml2; I'm not sure how new it must be, though. Reproducible: Always Steps to Reproduce: emerge inkscape Actual Results: io/simple-sax.cpp:180: error: `XML_DTD_XMLID_VALUE' was not declared in this scope io/simple-sax.cpp:181: error: `XML_DTD_XMLID_TYPE' was not declared in this scope io/simple-sax.cpp:491: error: `XML_SCHEMAP_UNKNOWN_MEMBER_TYPE' was not declared in this scope io/simple-sax.cpp:492: error: `XML_SCHEMAP_INVALID_ATTR_USE' was not declared in this scope io/simple-sax.cpp:493: error: `XML_SCHEMAP_RECURSIVE' was not declared in this scope io/simple-sax.cpp:494: error: `XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE' was not declared in this scope io/simple-sax.cpp:495: error: `XML_SCHEMAP_INVALID_ATTR_COMBINATION' was not declared in this scope io/simple-sax.cpp:496: error: `XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION' was not declared in this scope io/simple-sax.cpp:497: error: `XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD' was not declared in this scope io/simple-sax.cpp:498: error: `XML_SCHEMAP_INVALID_ATTR_NAME' was not declared in this scope io/simple-sax.cpp:499: error: `XML_SCHEMAP_REF_AND_CONTENT' was not declared in this scope io/simple-sax.cpp:500: error: `XML_SCHEMAP_CT_PROPS_CORRECT_1' was not declared in this scope io/simple-sax.cpp:501: error: `XML_SCHEMAP_CT_PROPS_CORRECT_2' was not declared in this scope io/simple-sax.cpp:502: error: `XML_SCHEMAP_CT_PROPS_CORRECT_3' was not declared in this scope io/simple-sax.cpp:503: error: `XML_SCHEMAP_CT_PROPS_CORRECT_4' was not declared in this scope io/simple-sax.cpp:504: error: `XML_SCHEMAP_CT_PROPS_CORRECT_5' was not declared in this scope io/simple-sax.cpp:505: error: `XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1' was not declared in this scope io/simple-sax.cpp:506: error: `XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1' was not declared in this scope io/simple-sax.cpp:507: error: `XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2' was not declared in this scope io/simple-sax.cpp:508: error: `XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2' was not declared in this scope io/simple-sax.cpp:509: error: `XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3' was not declared in this scope io/simple-sax.cpp:510: error: `XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER' was not declared in this scope io/simple-sax.cpp:511: error: `XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE' was not declared in this scope io/simple-sax.cpp:512: error: `XML_SCHEMAP_UNION_NOT_EXPRESSIBLE' was not declared in this scope io/simple-sax.cpp:513: error: `XML_SCHEMAP_SRC_IMPORT_3_1' was not declared in this scope io/simple-sax.cpp:514: error: `XML_SCHEMAP_SRC_IMPORT_3_2' was not declared in this scope io/simple-sax.cpp:515: error: `XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1' was not declared in this scope io/simple-sax.cpp:516: error: `XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2' was not declared in this scope io/simple-sax.cpp:517: error: `XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3' was not declared in this scope io/simple-sax.cpp:518: error: `XML_SCHEMAP_COS_CT_EXTENDS_1_3' was not declared in this scope io/simple-sax.cpp:542: error: `XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1' was not declared in this scope io/simple-sax.cpp:543: error: `XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2' was not declared in this scope io/simple-sax.cpp:544: error: `XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3' was not declared in this scope io/simple-sax.cpp:545: error: `XML_SCHEMAV_CVC_TYPE_3_1_1' was not declared in this scope io/simple-sax.cpp:546: error: `XML_SCHEMAV_CVC_TYPE_3_1_2' was not declared in this scope io/simple-sax.cpp:547: error: `XML_SCHEMAV_CVC_FACET_VALID' was not declared in this scope io/simple-sax.cpp:548: error: `XML_SCHEMAV_CVC_LENGTH_VALID' was not declared in this scope io/simple-sax.cpp:549: error: `XML_SCHEMAV_CVC_MINLENGTH_VALID' was not declared in this scope io/simple-sax.cpp:550: error: `XML_SCHEMAV_CVC_MAXLENGTH_VALID' was not declared in this scope io/simple-sax.cpp:551: error: `XML_SCHEMAV_CVC_MININCLUSIVE_VALID' was not declared in this scope io/simple-sax.cpp:552: error: `XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID' was not declared in this scope io/simple-sax.cpp:553: error: `XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID' was not declared in this scope io/simple-sax.cpp:554: error: `XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID' was not declared in this scope io/simple-sax.cpp:555: error: `XML_SCHEMAV_CVC_TOTALDIGITS_VALID' was not declared in this scope io/simple-sax.cpp:556: error: `XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID' was not declared in this scope io/simple-sax.cpp:557: error: `XML_SCHEMAV_CVC_PATTERN_VALID' was not declared in this scope io/simple-sax.cpp:558: error: `XML_SCHEMAV_CVC_ENUMERATION_VALID' was not declared in this scope io/simple-sax.cpp:559: error: `XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1' was not declared in this scope io/simple-sax.cpp:560: error: `XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2' was not declared in this scope io/simple-sax.cpp:561: error: `XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3' was not declared in this scope io/simple-sax.cpp:562: error: `XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4' was not declared in this scope io/simple-sax.cpp:616: error: `XML_SCHEMAP_SRC_SIMPLE_TYPE_1' was not declared in this scope io/simple-sax.cpp:617: error: `XML_SCHEMAP_SRC_SIMPLE_TYPE_2' was not declared in this scope io/simple-sax.cpp:618: error: `XML_SCHEMAP_SRC_SIMPLE_TYPE_3' was not declared in this scope io/simple-sax.cpp:619: error: `XML_SCHEMAP_SRC_SIMPLE_TYPE_4' was not declared in this scope io/simple-sax.cpp:620: error: `XML_SCHEMAP_SRC_RESOLVE' was not declared in this scope io/simple-sax.cpp:621: error: `XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE' was not declared in this scope io/simple-sax.cpp:622: error: `XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE' was not declared in this scope io/simple-sax.cpp:623: error: `XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES ' was not declared in this scope io/simple-sax.cpp:624: error: `XML_SCHEMAP_ST_PROPS_CORRECT_1' was not declared in this scope io/simple-sax.cpp:625: error: `XML_SCHEMAP_ST_PROPS_CORRECT_2' was not declared in this scope io/simple-sax.cpp:626: error: `XML_SCHEMAP_ST_PROPS_CORRECT_3' was not declared in this scope io/simple-sax.cpp:627: error: `XML_SCHEMAP_COS_ST_RESTRICTS_1_1' was not declared in this scope io/simple-sax.cpp:628: error: `XML_SCHEMAP_COS_ST_RESTRICTS_1_2' was not declared in this scope io/simple-sax.cpp:629: error: `XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1' was not declared in this scope io/simple-sax.cpp:630: error: `XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2' was not declared in this scope io/simple-sax.cpp:631: error: `XML_SCHEMAP_COS_ST_RESTRICTS_2_1' was not declared in this scope io/simple-sax.cpp:632: error: `XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1' was not declared in this scope io/simple-sax.cpp:633: error: `XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2' was not declared in this scope io/simple-sax.cpp:634: error: `XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1' was not declared in this scope io/simple-sax.cpp:635: error: `XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2' was not declared in this scope io/simple-sax.cpp:636: error: `XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3' was not declared in this scope io/simple-sax.cpp:637: error: `XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4' was not declared in this scope io/simple-sax.cpp:638: error: `XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5' was not declared in this scope io/simple-sax.cpp:639: error: `XML_SCHEMAP_COS_ST_RESTRICTS_3_1' was not declared in this scope io/simple-sax.cpp:640: error: `XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1' was not declared in this scope io/simple-sax.cpp:641: error: `XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2' was not declared in this scope io/simple-sax.cpp:642: error: `XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2' was not declared in this scope io/simple-sax.cpp:643: error: `XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1' was not declared in this scope io/simple-sax.cpp:644: error: `XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3' was not declared in this scope io/simple-sax.cpp:645: error: `XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4' was not declared in this scope io/simple-sax.cpp:646: error: `XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5' was not declared in this scope io/simple-sax.cpp:647: error: `XML_SCHEMAP_COS_ST_DERIVED_OK_2_1' was not declared in this scope io/simple-sax.cpp:648: error: `XML_SCHEMAP_COS_ST_DERIVED_OK_2_2' was not declared in this scope io/simple-sax.cpp:649: error: `XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED' was not declared in this scope io/simple-sax.cpp:650: error: `XML_SCHEMAP_S4S_ELEM_MISSING' was not declared in this scope io/simple-sax.cpp:651: error: `XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED' was not declared in this scope io/simple-sax.cpp:652: error: `XML_SCHEMAP_S4S_ATTR_MISSING' was not declared in this scope Indeed I could not find any of these constants in /usr/include/libxml2/libxml/*. Expected Results: should have built I had libxml 2.6.7 installed at the time. emerge -pv dev-libs/libxml2 showed me it would install dev-libs/libxml2-2.6.20-r2: [ebuild U ] dev-libs/libxml2-2.6.20-r2 [2.6.7] +doc* +ipv6* +python +readline -static 3,042 kB And after doing that, inkscape was able to compile. [petshop][03:35:57 PM] emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.4.28 i686) ================================================================= System uname: 2.4.28 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.3-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.4.3-r4 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US" LC_ALL="en_US.utf8" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac acpi adns aim alsa apache2 apm arts audiofile avi bcmath berkdb bitmap-fonts bluetooth bonobo bzlib calendar cdparanoia cdr crypt cups curl dga dio directfb divx4linux doc dvd dvdread eds effects emboss encode esd esoob evo exif faac faad fam fastcgi fbcon ffmpeg flac flash flatfile foomaticdb fortran gd gdbm ggi gif gimp gmp gnome gphoto2 gpm gstreamer gtk gtk2 guile i8x0 icc icc-pgo iconv icq imagemagick imap imlib inkjar ipv6 jabber jack java jikes jpeg jpeg2k junit kde krb4 lcms ldap libg++ libsamplerate libwww lirc live lm_sensors lzo mad matroshka matroska mbox mcal mikmod ming mmap mmx mmx2 mng mono motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg msn musicbrainz mysql ncurses network nis nls nocd nsplugin odbc ogg oggvorbis opengl oscar oss pam pcre pcsc-lite pda pdflib perl php physfs plugin png posix postgres povray ppds python qt quicktime rdesktop readline real rtc ruby samba scanner sdl session shared simplexml slang slp sms snmp soap sockets source speex spell spl sqlite sqlite3 sse sse2 ssl svg svga tcltk tcpd tetex theora tidy tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs wmf xanim xine xinerama xml xml2 xmms xosd xprint xscreensaver xv xvid xvmc yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Fixed in media-gfx/inkscape-0.43 which soon will be stable.