Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257366 - app-text/xmlto: fails to build with weird errors
Summary: app-text/xmlto: fails to build with weird errors
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo SGML project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-02 10:59 UTC by Weonbin
Modified: 2009-05-22 12:58 UTC (History)
2 users (show)

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 Weonbin 2009-02-02 10:59:09 UTC
Here is the full error log :

>>> Compiling source in /mnt/tmp/tmp/portage/app-text/xmlto-0.0.21/work/xmlto-0.0.21 ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... i686-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 i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking whether i686-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for mktemp program... mktemp
checking for GNU find program... find
checking for bash... /bin/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: WARNING:  xmlto.in seems to ignore the --datarootdir setting
config.status: creating xmlto.spec
config.status: creating config.h
config.status: executing depfiles commands
make
make  all-am
make[1]: Entering directory `/mnt/tmp/tmp/portage/app-text/xmlto-0.0.21/work/xmlto-0.0.21'
depbase=`echo xmlif/xmlif.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -O3 -march=pentium-m -mtune=pentium-m -pipe -ftracer -fomit-frame-pointer -MT xmlif/xmlif.o -MD -MP -MF $depbase.Tpo -c -o xmlif/xmlif.o xmlif/xmlif.c &&\
        mv -f $depbase.Tpo $depbase.Po
i686-pc-linux-gnu-gcc  -O3 -march=pentium-m -mtune=pentium-m -pipe -ftracer -fomit-frame-pointer  -Wl,-O1 -o xmlif/xmlif xmlif/xmlif.o
for xml in xmlif.xml xmlto.xml; do \
          FORMAT_DIR=./format \
           /bin/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 /mnt/tmp/tmp/portage/app-text/xmlto-0.0.21/temp/xmlto-xsl.gSuqhc 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 /mnt/tmp/tmp/portage/app-text/xmlto-0.0.21/temp/xmlto-xsl.TJoI55 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://fedoraproject.org>.
make[1]: *** [man/man1/xmlto.1] Error 1
make[1]: Leaving directory `/mnt/tmp/tmp/portage/app-text/xmlto-0.0.21/work/xmlto-0.0.21'
make: *** [all] Error 2


Reproducible: Always




emerge --info

Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.9_p20081201-r1, 2.6.28-gentoo i686)
=================================================================
System uname: Linux-2.6.28-gentoo-i686-Intel-R-_Pentium-R-_M_processor_1.60GHz-with-glibc2.0
Timestamp of tree: Mon, 02 Feb 2009 09:45:02 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -mtune=pentium-m -pipe -ftracer -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/initng/daemon /etc/initng/net /etc/initng/system /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=pentium-m -mtune=pentium-m -pipe -ftracer -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.gg3.net/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://ftp.iij.ad.jp/pub/linux/gentoo/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr ja ko"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3ds X a52 aac aalib accessibility acl acpi aiglx alsa amrnb amrwb apache2 avahi bidi bluetooth bzip2 bzlib cairo cdda cddb cdio cdparanoia cegui cg cjk cli color-console connectionstatus cpdflib cpudetection cracklib crypt ctype dba dbus dhcp directfb dri dvb dvd dvdr dvdread encode faad fbcon ffmpeg filepicker firefox flac fluidsynth fontconfig fortran freeimage freetype ftp gd gdbm gif gimp gimpprint glitz glsa glut gnutls gpm hal highlight history http httpd iconv id3tag ieee1394 imlib imlib2 immqt-bc innodb inquisitio insecure-drivers ipv6 irc irmc isdnlog jabber jikes jingle joystick jpeg jpeg2k kde kdeenablefinal kdm koffice-plugin kqemu laptop ldap libcaca libg libgcrypt libsamplerate live lzo mad matroska md5sum midi mime mmx mng moznoxft mp3 mp4 mpeg mplayer msn mudflap musepack mysqli ncurses netmeeting network nls nptl nptlonly nsplugin nxclient obex ogg openal opengl openmp openssh pam pango pcre pdf perl pic pink png portage postgres pppd pulseaudio python qa qt3 qt3support qt4 rar readline reflection rstp rt2500usb rtc ruby samba screen sdk sdl sdl-image session simplexml skins softmmu soundex speex spell spl splash sqlite srt sse sse2 ssl statistics stream svg symlink sysfs taglib tcpd texteffect theora threads threadsafe transmitter truetype twolame unicode usb userlocales v4l v4l2 vchroot vim-syntax visibility visualization vlm vorbis wavpack wideband wifi win32codecs winpopup wxwindows x264 x86 xcb xcomposite xerces-c xforms xine xinerama xinetd xml xmlreader xorg xprint xscreensaver xsl xulrunner xv xvid zip zlib zsh-completion" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical cron ctrlaltdel daemon dbus_event dev dllaunch envparser find fstat history idleprobe initctl interactive iparser last limit logfile netdev netprobe ngc4 pause pidfile reload renice rlparser simple_launcher stcmd stdout suid syncron syslog unneeded" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr ja ko" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Weonbin 2009-02-02 11:03:26 UTC
rm /etc/xml/catalog makes it emerge successfully.
Comment 2 Weonbin 2009-02-02 12:49:36 UTC
(In reply to comment #1)
> rm /etc/xml/catalog makes it emerge successfully.
> 

I spoke too fast, wrong terminal, it doesn't emerge at all
Comment 3 Facundo de Guzmán 2009-04-10 21:50:10 UTC
Try emerging docbook-xsl-ns-stylesheets.

Regards
Comment 4 Stuart Shelton 2009-04-26 09:25:47 UTC
I have the same problem with either version of xmlto in portage (0.0.18 & 0.0.21), regardless of whether docbook-xsl-ns-stylesheets is installed.

This is also blocking the installation of at least 'sys-power/pm-utils'...
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2009-05-22 12:58:41 UTC
Try 0.0.22..