checking whether termios.h defines TIOCGWINSZ... yes checking kpathsea/kpathsea.h usability... no checking kpathsea/kpathsea.h presence... no checking for kpathsea/kpathsea.h... no configure: error: please install the kpathsea development package !!! Please attach the following file when seeking support: !!! /Library/Gentoo/var/tmp/portage/app-text/dvisvgm-1.0.3/work/dvisvgm-1.0.3/config.log * ERROR: app-text/dvisvgm-1.0.3 failed: * econf failed dependencies of the ebuild don't mention kpathsea as requirement.
dev-libs/ptexenc similar story, although its configure doesn't check for it, it fails to compile because it can't find some kpathsea/xxx.h header.
dvisvgm depends on tex-base which was the old way to provide kpathsea (and more) please provide a log for ptexenc.