Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227857 - dev-util/comparator-2.5 fails to build
Summary: dev-util/comparator-2.5 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Joshua Kinard
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-17 16:45 UTC by Evil Compile Person
Modified: 2009-07-05 22:18 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 Evil Compile Person 2008-06-17 16:45:25 UTC
>>> Compiling source in /var/tmp/portage/dev-util/comparator-2.5/work/comparator-2.5 ...
running install
running build
running build_py
creating build
creating build/lib
copying comparator.py -> build/lib
running install_lib
copying build/lib/comparator.py -> /var/tmp/portage/dev-util/comparator-2.5/image/usr/lib64/python2.5/site-packages
running install_egg_info
Writing /var/tmp/portage/dev-util/comparator-2.5/image/usr/lib64/python2.5/site-packages/comparator-2.0-py2.5.egg-info
x86_64-pc-linux-gnu-gcc -DVERSION=\"2.5\" -c -O2 -pipe main.c
x86_64-pc-linux-gnu-gcc -c -O2 -pipe hash.c
x86_64-pc-linux-gnu-gcc -c -O2 -pipe linebyline.c
x86_64-pc-linux-gnu-gcc -c -O2 -pipe shredtree.c
x86_64-pc-linux-gnu-gcc -c -O2 -pipe report.c
x86_64-pc-linux-gnu-gcc -O2 -pipe main.o hash.o linebyline.o shredtree.o report.o  -o comparator
xmlto html-nochunks comparator.xml
xmlto: input does not validate (status 3)
/var/tmp/portage/dev-util/comparator-2.5/work/comparator-2.5/comparator.xml:3: warning: failed to load external entity "/var/tmp/portage/dev-util/comparator-2.5/work/comparator-2.5/docbook/docbookx.dtd"
   "docbook/docbookx.dtd">
                          ^
/var/tmp/portage/dev-util/comparator-2.5/work/comparator-2.5/comparator.xml:77: parser error : Entity 'lsquo' not defined
ship you a hash list.  These hash lists are called ‘SCF
                                                          ^
/var/tmp/portage/dev-util/comparator-2.5/work/comparator-2.5/comparator.xml:78: parser error : Entity 'rsquo' not defined
files&rsquo; and made with the extension <filename>.scf</filename>;
            ^
warning: failed to load external entity "/var/tmp/portage/dev-util/comparator-2.5/work/comparator-2.5/docbook/docbookx.dtd"
validity error : Could not load the external subset "docbook/docbookx.dtd"
Document /var/tmp/portage/dev-util/comparator-2.5/work/comparator-2.5/comparator.xml does not validate
make: *** [comparator.html] Error 3
 *
 * ERROR: dev-util/comparator-2.5 failed.

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25.1 x86_64)
=================================================================
System uname: 2.6.25.1 x86_64 unknown
Timestamp of tree: Fri, 13 Jun 2008 19:45:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.62
sys-devel/automake:  1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://216.165.129.134/gentoo http://gentoo.mirrors.tds.net/gentoo http://gentoo.osuosl.org/"
LANG="en_US"
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://208.71.112.51/gentoo-portage"
USE="X acl amd64 berkdb cli cracklib crypt cups dri fortran gcj gdbm gpm iconv ipv6 isdnlog midi mmx mudflap ncurses nls nptl nptlonly objc openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl tcpd unicode xorg 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 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-06-09 19:03:16 UTC
OK, I'm going thru every pkg that deps on xmlto, since I've added 0.0.22 in tree and removed 0.0.21 entirely.

I get:

xmlto html-nochunks comparator.xml
xmlto html-nochunks scf-standard.xml
>>> Source compiled.

So please reopen only if it still fails to validate for you, using 0.0.22
Comment 2 Matthias Schwarzott gentoo-dev 2009-06-16 13:28:24 UTC
updating a stable system to comparator-2.5 fails for me.
Ny system has xmlto-0.0.18 and that seems ok as DEPEND only wants any version.
But neither this works, nor does it work after updating to xmlto-0.0.22.

xmlto html-nochunks comparator.xml
xmlto: /var/tmp/portage/dev-util/comparator-2.5/work/comparator-2.5/comparator.xml does not validate (status 3)
xmlto: Fix document syntax or use --skip-validation option
/var/tmp/portage/dev-util/comparator-2.5/work/comparator-2.5/comparator.xml:3: warning: failed to load external entity "/var/tmp/portage/dev-util/comparator-2.5/work/comparator-2.5/docbook/docbookx.dtd"
   "docbook/docbookx.dtd">
                          ^
/var/tmp/portage/dev-util/comparator-2.5/work/comparator-2.5/comparator.xml:77: parser error : Entity 'lsquo' not defined
ship you a hash list.  These hash lists are called &lsquo;SCF
                                                          ^
/var/tmp/portage/dev-util/comparator-2.5/work/comparator-2.5/comparator.xml:78: parser error : Entity 'rsquo' not defined
files&rsquo; and made with the extension <filename>.scf</filename>;
            ^
warning: failed to load external entity "/var/tmp/portage/dev-util/comparator-2.5/work/comparator-2.5/docbook/docbookx.dtd"
validity error : Could not load the external subset "docbook/docbookx.dtd"
Document /var/tmp/portage/dev-util/comparator-2.5/work/comparator-2.5/comparator.xml does not validate
make: *** [comparator.html] Fehler 13
 *
 * ERROR: dev-util/comparator-2.5 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2497:  Called die
 * The specific snippet of code:
 *       emake comparator.html scf-standard.html || die "emake html failed"
 *  The die message:
 *   emake html failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/dev-util:comparator-2.5:20090616-132800.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/comparator-2.5/temp/environment'.
 *

Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-07-05 22:18:39 UTC
(In reply to comment #2)
> updating a stable system to comparator-2.5 fails for me.
> Ny system has xmlto-0.0.18 and that seems ok as DEPEND only wants any version.
> But neither this works, nor does it work after updating to xmlto-0.0.22.
> warning: failed to load external entity
> "/var/tmp/portage/dev-util/comparator-2.5/work/comparator-2.5/docbook/docbookx.dtd"
>    "docbook/docbookx.dtd">

I managed to reproduce your bug by emerge -C docbook-xml-dtd (remove all versions) and then emerging comparator. After checking the source, I found
it need the 4.1.2 DTD and installing the specific version solved the prob,

+  05 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> comparator-2.5.ebuild:
+  Missing =app-text/docbook-xml-dtd-4.1.2* DEPEND wrt #227857