Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38144 - app-text/xmlto-0.0.17 fails to compile
Summary: app-text/xmlto-0.0.17 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-14 00:16 UTC by Jonathan Hitchcock
Modified: 2004-01-14 15:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Hitchcock 2004-01-14 00:16:56 UTC
When emerging xmlto-0.0.17:

config.status: creating Makefile
config.status: creating xmlto
config.status: creating xmlto.spec
config.status: creating config.h
config.status: executing depfiles commands
make  all-am
make[1]: Entering directory `/var/tmp/portage/xmlto-0.0.17/work/xmlto-0.0.17'
if gcc -DHAVE_CONFIG_H -I. -I. -I.     -march=pentium3 -O2 -pipe -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
gcc  -march=pentium3 -O2 -pipe -fomit-frame-pointer   -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 )
xmlto: input does not validate (status 3)
error : Operation in progress
/var/tmp/portage/xmlto-0.0.17/work/xmlto-0.0.17/./doc/xmlif.xml:4: I/O warning : failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
                                                            ^
error : Operation in progress
I/O warning : failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
Document /var/tmp/portage/xmlto-0.0.17/work/xmlto-0.0.17/./doc/xmlif.xml does not validate
xmlto: input does not validate (status 3)
error : Operation in progress
/var/tmp/portage/xmlto-0.0.17/work/xmlto-0.0.17/./doc/xmlto.xml:3: I/O warning : failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
                                                          ^
error : Operation in progress
I/O warning : failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
Document /var/tmp/portage/xmlto-0.0.17/work/xmlto-0.0.17/./doc/xmlto.xml does not validate

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 3
make[1]: Leaving directory `/var/tmp/portage/xmlto-0.0.17/work/xmlto-0.0.17'
make: *** [all] Error 2

!!! ERROR: app-text/xmlto-0.0.17 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! (no error message)



# pkglist | egrep 'libxml|stylesheet|dtd'
app-text/docbook-xml-simple-dtd-1.0
app-text/docbook-xsl-stylesheets-1.62.4
app-text/docbook-sgml-dtd-4.2
app-text/docbook-sgml-dtd-3.0-r1
app-text/docbook-sgml-dtd-3.1-r1
app-text/docbook-dsssl-stylesheets-1.77-r2
app-text/docbook-sgml-dtd-4.0-r1
app-text/docbook-sgml-dtd-4.1-r1
app-text/docbook-xml-simple-dtd-4.1.2.4
app-text/docbook-xml-dtd-4.2
app-text/docbook-xml-dtd-4.1.2-r3
app-text/docbook-xml-dtd-4.1.2-r4
dev-libs/libxml2-2.6.4
dev-libs/libxml-1.8.17-r2


# emerge info
Portage 2.0.50_pre14 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.6.0-test11)
=================================================================
System uname: 2.6.0-test11 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
Gentoo Base System version 1.4.3.12
distcc 2.11.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://ftp.rucus.ru.ac.za/pub/linux/gentoo http://csmsc04.ict.ru.ac.za http://zion.ru.ac.za ftp://ftp.is.co.za/linux/distributions/gentoo ftp://trumpetti.atm.tut.fi/gentoo/ ftp://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.rucus.ru.ac.za/gentoo-portage"
USE="X aalib acl alsa amd apm arts autofs avi berkdb bonobo crypt cups curl directfb doc encode esd faad flash foomaticdb gd gdbm ggi gif gnome gpm gtk gtk2 gtkhtml guile i8x0 imlib ipv6 java javascript jpeg kde lcms libg++ libwww mad mikmod motif mozcalendar mozilla mozinterfaceinfo moznocompose moznoirc mozxmlterm mpeg mysql nas ncurses nls offensive oggvorbis opengl oss pam parse-clocks pdflib perl php pic png python qt quicktime readline samba sdl slang slp snmp spell ssl svga tcltk tcpd tetex transparent-proxy truetype unicode usagi vim-with-x wmf wxwindows x86 xml xml2 xmms xosd xv zlib"
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2004-01-14 07:05:55 UTC
You have broken catalogs most likely, please post /etc/xml/catalog and /etc/xml/docbook, or if you'd prefer to just go ahead and fix it do:

rm /etc/xml/{catalog,docbook}
emerge libxml2
emerge docbook-xsl-stylesheets
emerge =docbook-xml-dtd-4.1.2-r4 =docbook-xml-dtd-4.2

Thanks.
Comment 2 Jonathan Hitchcock 2004-01-14 10:47:40 UTC
Sorted, thanks.
Comment 3 Mike Gardiner (RETIRED) gentoo-dev 2004-01-14 15:48:40 UTC
No problem, sorry for the troubles, I promise I'll get this fixed at the docbook-xsl/xml-dtd end.