Gentoo Archives: gentoo-user

From: Dale <dalek@××××××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] ERROR: app-text/xmlto-0.0.18 failed.
Date: Sun, 30 Oct 2005 14:33:22
Message-Id: 4364D85F.5090103@exceedtech.net
1 OK. I run into this a lot. I have had it. I'm about to try unmergeing
2 this puppy and seeing what breaks. This is what I get:
3
4 > root@smoker / # emerge xmlto
5 > Calculating dependencies ...done!
6 > >>> emerge (1 of 1) app-text/xmlto-0.0.18 to /
7 > >>> md5 files ;-) xmlto-0.0.17.ebuild
8 > >>> md5 files ;-) xmlto-0.0.18.ebuild
9 > >>> md5 files ;-) files/xmlto-head-fix.patch
10 > >>> md5 files ;-) files/digest-xmlto-0.0.17
11 > >>> md5 files ;-) files/digest-xmlto-0.0.18
12 > >>> md5 src_uri ;-) xmlto-0.0.18.tar.bz2
13 > >>> Unpacking source...
14 > >>> Unpacking xmlto-0.0.18.tar.bz2 to /var/tmp/portage/xmlto-0.0.18/work
15 > >>> Source unpacked.
16 > ./configure --prefix=/usr --host=i686-pc-linux-gnu
17 > --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
18 > --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
19 > checking for a BSD-compatible install... /bin/install -c
20 > checking whether build environment is sane... yes
21 > checking for gawk... gawk
22 > checking whether make sets $(MAKE)... yes
23 > checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
24 > checking for C compiler default output file name... a.out
25 > checking whether the C compiler works... yes
26 > checking whether we are cross compiling... no
27 > checking for suffix of executables...
28 > checking for suffix of object files... o
29 > checking whether we are using the GNU C compiler... yes
30 > checking whether i686-pc-linux-gnu-gcc accepts -g... yes
31 > checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
32 > checking for style of include used by make... GNU
33 > checking dependency style of i686-pc-linux-gnu-gcc... gcc3
34 > checking whether i686-pc-linux-gnu-gcc and cc understand -c and -o
35 > together... yes
36 > checking for flex... flex
37 > checking for yywrap in -lfl... yes
38 > checking lex output file root... lex.yy
39 > checking whether yytext is a pointer... yes
40 > checking for mktemp program... mktemp
41 > checking for GNU find program... find
42 > checking for bash... bash
43 > checking for getopt program... getopt
44 > checking whether getopt handles long options... yes
45 > configure: creating ./config.status
46 > config.status: creating Makefile
47 > config.status: creating xmlto
48 > config.status: creating xmlto.spec
49 > config.status: creating config.h
50 > config.status: executing depfiles commands
51 > make all-am
52 > make[1]: Entering directory
53 > `/var/tmp/portage/xmlto-0.0.18/work/xmlto-0.0.18'
54 > if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.
55 > -march=athlon-xp -O3 -MT xmlif/xmlif.o -MD -MP -MF
56 > "xmlif/.deps/xmlif.Tpo" -c -o xmlif/xmlif.o `test -f 'xmlif/xmlif.c'
57 > || echo './'`xmlif/xmlif.c; \
58 > then mv -f "xmlif/.deps/xmlif.Tpo" "xmlif/.deps/xmlif.Po"; else rm -f
59 > "xmlif/.deps/xmlif.Tpo"; exit 1; fi
60 > i686-pc-linux-gnu-gcc -march=athlon-xp -O3 -Wl,-z,now -o
61 > xmlif/xmlif xmlif/xmlif.o
62 > for xml in xmlif.xml xmlto.xml; do \
63 > FORMAT_DIR=./format XSL_DIR=./xsl \
64 > bash ./xmlto -o man/man1 man ./doc/$xml ; \
65 > done || ( RC=$?; cat ./FAQ; exit $RC )
66 > warning: failed to load external entity
67 > "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
68 > compilation error: file
69 > /var/tmp/portage/xmlto-0.0.18/temp/xmlto-xsl.yEIJEw line 4 element import
70 > xsl:import : unable to load
71 > http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
72 > warning: failed to load external entity
73 > "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
74 > compilation error: file
75 > /var/tmp/portage/xmlto-0.0.18/temp/xmlto-xsl.aU9hdU line 4 element import
76 > xsl:import : unable to load
77 > http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
78 >
79 > Q: I'm trying to build xmlto on my Debian box, but it doesn't work.
80 >
81 > A: If you get `Attempt to load network entity' errors when building
82 > xmlto, your system does not have the required support for XML
83 > Catalogs
84 > (http://www.oasis-open.org/committees/entity/spec-2001-08-06.html).
85 > In particular, Debian has no support for these. Try the Fedora
86 > Project <http://fedora.redhat.com>.
87 > make[1]: *** [man/man1/xmlto.1] Error 1
88 > make[1]: Leaving directory
89 > `/var/tmp/portage/xmlto-0.0.18/work/xmlto-0.0.18'
90 > make: *** [all] Error 2
91 >
92 > !!! ERROR: app-text/xmlto-0.0.18 failed.
93 > !!! Function src_compile, Line 27, Exitcode 2
94 > !!! (no error message)
95 > !!! If you need support, post the topmost build error, NOT this status
96 > message.
97 >
98 > root@smoker / #
99
100
101 I put in the whole thing just in case. I started a thread a long time
102 ago on the Gentoo forums and it is yet to be fixed, that I can see
103 anyway. Is there a trick to this thing or can I remove it?
104
105 I did a emerge -ev system and it still does it. This is my USE line in
106 make.conf:
107
108 >USE="acl acpi alsa amd arts artsd artswrappersuid cdr chroot clanJavaScript dbus doc ethereal f-prot fdftk gaim gcj gimpprint gkrellm gphoto2 gtk gtkhtml hbci hpijs innodb java javascript jbig justify kde mmx mozdomi mozilla mysql ofx offensive openoffice -oss parse-clocks ppds pysol scanner scribus tcltk tiff tkinter truetype tuxracer udev usb X xml xprint yahoo 3dnow "
109 >
110 If you need more info, let me know. I'll go fetch it. Commands might
111 be nice though.
112
113 I'll be a bottom poster for you too. LOL
114
115 Thanks
116 Dale