I googled for fixes to this problem but didn't see any. rpmbuild -bb ../SPECS/xmlto.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.59339 + umask 022 + cd /home/jcdxdev/src2/Linux_x86_64/BUILD/rpmbuild/BUILD + LANG=C + export LANG + unset DISPLAY + cd /home/jcdxdev/src2/Linux_x86_64/BUILD/rpmbuild/BUILD + rm -rf xmlto-0.0.18 + /usr/bin/bzip2 -dc /home/jcdxdev/src2/Linux_x86_64/BUILD/rpmbuild/SOURCES/xmlto-0.0.18.tar.bz2 + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd xmlto-0.0.18 ++ /usr/bin/id -u + '[' 500 = 0 ']' ++ /usr/bin/id -u + '[' 500 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (xmlto-basename.patch):' Patch #0 (xmlto-basename.patch): + patch -p1 -b --suffix .basename -s + echo 'Patch #1 (xmlto-findwarning.patch):' Patch #1 (xmlto-findwarning.patch): + patch -p1 -b --suffix .findwarning -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.59339 + umask 022 + cd /home/jcdxdev/src2/Linux_x86_64/BUILD/rpmbuild/BUILD + cd xmlto-0.0.18 + LANG=C + export LANG + unset DISPLAY + touch doc/xmlto.xml doc/xmlif.xml + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export FFLAGS ++ find . -name config.guess -o -name config.sub + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info 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-redhat-linux-gnu-gcc... no checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether 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 make all-am make[1]: Entering directory `/home/jcdxdev/src2/Linux_x86_64/BUILD/rpmbuild/BUILD/xmlto-0.0.18' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -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.l:33: warning: type defaults to 'int' in declaration of 'ifsense' xmlif/xmlif.c: In function 'yylex': xmlif/xmlif.l:215: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result xmlif/xmlif.l: At top level: xmlif/xmlif.l:223: warning: return type defaults to 'int' xmlif/xmlif.l: In function 'main': xmlif/xmlif.l:249: warning: control reaches end of non-void function xmlif/xmlif.l: At top level: xmlif/xmlif.c:1844: warning: 'yyunput' defined but not used gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -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 ) 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 /tmp/xmlto-xsl.Xn2521 line 4 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl 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 /tmp/xmlto-xsl.KT2576 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 <http://fedora.redhat.com>. make[1]: *** [man/man1/xmlto.1] Error 1 make[1]: Leaving directory `/home/jcdxdev/src2/Linux_x86_64/BUILD/rpmbuild/BUILD/xmlto-0.0.18' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.59339 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.59339 (%build) -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list