localhost ~ # emerge -av app-text/xmlto These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] app-text/xmlto-0.0.18 0 kB Total: 1 package (1 new), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] y >>> Verifying ebuild manifests >>> Emerging (1 of 1) app-text/xmlto-0.0.18 * xmlto-0.0.18.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking xmlto-0.0.18.tar.bz2 to /var/tmp/portage/app-text/xmlto-0.0.18/work >>> Source unpacked in /var/tmp/portage/app-text/xmlto-0.0.18/work >>> Compiling source in /var/tmp/portage/app-text/xmlto-0.0.18/work/xmlto-0.0.18 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for mktemp program... mktemp checking for GNU find program... find checking for bash... bash checking for getopt program... getopt checking whether getopt handles long options... yes configure: creating ./config.status config.status: creating Makefile config.status: creating xmlto config.status: creating xmlto.spec config.status: creating config.h config.status: executing depfiles commands make -j3 -j1 make all-am make[1]: Entering directory `/var/tmp/portage/app-text/xmlto-0.0.18/work/xmlto-0.0.18' if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=native -mmmx -msse -msse2 -msse3 -mfpmath=sse -pipe -fforce-addr -fomit-frame-pointer -MT xmlif/xmlif.o -MD -MP -MF "xmlif/.deps/xmlif.Tpo" -c -o xmlif/xmlif.o `test -f 'xmlif/xmlif.c' || echo './'`xmlif/xmlif.c; \ then mv -f "xmlif/.deps/xmlif.Tpo" "xmlif/.deps/xmlif.Po"; else rm -f "xmlif/.deps/xmlif.Tpo"; exit 1; fi xmlif/xmlif.c: In function 'yylex': xmlif/xmlif.l:215: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result x86_64-pc-linux-gnu-gcc -O2 -march=native -mmmx -msse -msse2 -msse3 -mfpmath=sse -pipe -fforce-addr -fomit-frame-pointer -Wl,-O1 -o xmlif/xmlif xmlif/xmlif.o for xml in xmlif.xml xmlto.xml; do \ FORMAT_DIR=./format XSL_DIR=./xsl \ bash ./xmlto -o man/man1 man ./doc/$xml ; \ done || ( RC=$?; cat ./FAQ; exit $RC ) file:///etc/xml/catalog:1: parser error : Document is empty ^ file:///etc/xml/catalog:1: parser error : Start tag expected, '<' not found ^ I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" compilation error: file /var/tmp/portage/app-text/xmlto-0.0.18/temp/xmlto-xsl.pzK0gS line 4 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl file:///etc/xml/catalog:1: parser error : Document is empty ^ file:///etc/xml/catalog:1: parser error : Start tag expected, '<' not found ^ I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" compilation error: file /var/tmp/portage/app-text/xmlto-0.0.18/temp/xmlto-xsl.xkKPkV line 4 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl Q: I'm trying to build xmlto on my Debian box, but it doesn't work. A: If you get `Attempt to load network entity' errors when building xmlto, your system does not have the required support for XML Catalogs (http://www.oasis-open.org/committees/entity/spec-2001-08-06.html). In particular, Debian has no support for these. Try the Fedora Project . make[1]: *** [man/man1/xmlto.1] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-text/xmlto-0.0.18/work/xmlto-0.0.18' make: *** [all] Error 2 * * ERROR: app-text/xmlto-0.0.18 failed. * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 2186: Called die * The specific snippet of code: * emake -j1 || die * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-text/xmlto-0.0.18/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/xmlto-0.0.18/temp/environment'. * >>> Failed to emerge app-text/xmlto-0.0.18, Log file: >>> '/var/tmp/portage/app-text/xmlto-0.0.18/temp/build.log' * Messages for package app-text/xmlto-0.0.18: * * ERROR: app-text/xmlto-0.0.18 failed. * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 2186: Called die * The specific snippet of code: * emake -j1 || die * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-text/xmlto-0.0.18/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/xmlto-0.0.18/temp/environment'. * localhost ~ #