Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361363 - net-misc/tigervnc-1.0.1_p20100914-r5 - work/tigervnc/unix/ xserver/doc/xml/dtrace/Xserver-DTrace.xml does not validate (status 3)
Summary: net-misc/tigervnc-1.0.1_p20100914-r5 - work/tigervnc/unix/ xserver/doc/xml/dt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Raúl Porcel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-30 19:06 UTC by Scott Alfter
Modified: 2011-05-28 17:03 UTC (History)
1 user (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 Scott Alfter 2011-03-30 19:06:20 UTC
During the documentation-build phase, xmlto bombs out with a validation error:

make[4]: Entering directory `/var/tmp/portage/net-misc/tigervnc-1.0.1_p20100914-
r5/work/tigervnc/unix/xserver/doc/xml/dtrace'
  GEN    Xserver-DTrace.html
xmlto: /var/tmp/portage/net-misc/tigervnc-1.0.1_p20100914-r5/work/tigervnc/unix/
xserver/doc/xml/dtrace/Xserver-DTrace.xml does not validate (status 3)
xmlto: Fix document syntax or use --skip-validation option
/var/tmp/portage/net-misc/tigervnc-1.0.1_p20100914-r5/work/tigervnc/unix/xserver
/doc/xml/dtrace/Xserver-DTrace.xml:4: warning: failed to load external entity "/
xserver/doc/xml/xserver.ent"
 <!ENTITY % defs SYSTEM "/xserver/doc/xml/xserver.ent"> %defs;
                                                              ^
Entity: line 1:
 %defs;
       ^
/var/tmp/portage/net-misc/tigervnc-1.0.1_p20100914-r5/work/tigervnc/unix/xserver
/doc/xml/dtrace/Xserver-DTrace.xml:5: warning: failed to load external entity "h
ttp://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
]>
  ^
/var/tmp/portage/net-misc/tigervnc-1.0.1_p20100914-r5/work/tigervnc/unix/xserver
/doc/xml/dtrace/Xserver-DTrace.xml:17: parser error : Entity 'xserver.version' n
ot defined
    <releaseinfo>X.Org Xserver version &xserver.version;</releaseinfo>
                                                        ^
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4
.3/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/d
ocbook/xml/4.3/docbookx.dtd"
Document /var/tmp/portage/net-misc/tigervnc-1.0.1_p20100914-r5/work/tigervnc/uni
x/xserver/doc/xml/dtrace/Xserver-DTrace.xml does not validate
make[4]: *** [Xserver-DTrace.html] Error 13
make[4]: Leaving directory `/var/tmp/portage/net-misc/tigervnc-1.0.1_p20100914-r
5/work/tigervnc/unix/xserver/doc/xml/dtrace'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-misc/tigervnc-1.0.1_p20100914-r
5/work/tigervnc/unix/xserver/doc/xml'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-misc/tigervnc-1.0.1_p20100914-r
5/work/tigervnc/unix/xserver/doc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/net-misc/tigervnc-1.0.1_p20100914-r
5/work/tigervnc/unix/xserver/doc'
make: *** [all-recursive] Error 1
emake failed
 * ERROR: net-misc/tigervnc-1.0.1_p20100914-r5 failed (compile phase):
 *   emake server failed
 *

The odd thing is that this package has built successfully in the past; it was during an "emerge -e world" that it decided to not build.

Reproducible: Always
Comment 1 Scott Alfter 2011-03-30 19:07:54 UTC
Portage 2.2.0_alpha28 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.11.3-r0, 2.6.38-gentoo x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-1.12.14
Timestamp of tree: Tue, 22 Mar 2011 22:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.4
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo sunrise zugaina x-portage Mythtv-Ebuilds
Installed sets:
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/zugaina /usr/local/portage /usr/local/mythtv-portage/packaging/Gentoo"
SYNC="rsync://mythserver/gentoo-portage"
USE="X a52 aac ac3 acl alsa amd64 apache2 berkdb bluetooth bluray bzip2 cairo cdda cdparanoia cdr cli compressed-lumas consolekit cracklib crypt css cups cupsddk cxx dbus djvu dri dts dv dvb dvd dvdnav dvdr dvdread eac3 ebook encode exif faac faad ffmpeg flac foomaticdb fortran frei0r gd gdbm gif git google-gadgets gpm gtk hal hpijs iconv id3tag ieee1394 ilbc ipv6 ivtv java javascript jpeg jpeg2k kde lame lcd libsamplerate lirc mad matroska melt mjpeg mmx mmxext mng modules mp2 mp3 mp4 mpeg mudflap multilib musicbrainz mysql ncurses netpbm network nls nptl nptlonly nsplugin nvidia odbc offensive ogg ogm opengl openmp pam pcre pdf perl png pnm posix pppd python qt3support qt4 quicktime readline rplay samba scanner sdl semantic-desktop server session snmp sox speex spell sql sqlite srt sse sse2 sse3 ssl ssse3 subversion svg sysfs system-libvncserver taglib tcpd theora threads threadsafe tiff tk truetype unicode usb v4l v4l2 vcd vdpau vorbis webkit wxwidgets x264 xcomposite xinerama xml xorg xterm xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Arttu Valo 2011-03-31 17:36:54 UTC
What is in your /etc/xml/catalog and /etc/xml/docbook?
Comment 3 Arttu Valo 2011-04-02 23:46:13 UTC
Forget my previous comment, as I was unable to produce the problem then.

The bug only seems to happen if app-text/xmlto is installed. There is an automatic xmlto detection hidden in unix/xserver/aclocal.m4 which causes surprises.

The ebuild needs a configuration option added to src_compile's "if use server" branch's econf: --with-xmlto=no
Comment 4 Scott Alfter 2011-05-17 21:12:08 UTC
I''d forgotten that I'd submitted this bug...ran into it again while doing an emerge world.  Tried your fix with net-misc/tigervnc-1.0.1_p20100914-r6 (since that's the current version now) and it worked.
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2011-05-28 17:03:38 UTC
Fixed, thanks