Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 253634

Summary: app-editors/gedit-2.24.2 xml parser error while compiling
Product: Gentoo Linux Reporter: archibald haddock <haddock>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description archibald haddock 2009-01-04 00:02:40 UTC
If I try to install app-editors/gedit-2.24.2 it fails due to some xml parser errors.

Reproducible: Always

Steps to Reproduce:
1.MinimalInstallUSB
2.installing/configuring xorg+fluxbox
3.emerge gedit

Actual Results:  
...
xsltproc -o gedit-fi.omf --stringparam db2omf.basename gedit --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang fi --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/var/tmp/portage/app-editors/gedit-2.24.2/work/gedit-2.24.2/help/gedit.omf.in"  `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` fi/gedit.xml || { rm -f "gedit-fi.omf"; exit 1; }
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:185: parser error : Entity value required
<!--end of ISOnum.module-->]]>
^
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:185: parser error : Space required before 'NDATA'
<!--end of ISOnum.module-->]]>
^
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:185: parser error : xmlParseEntityDecl: entity da not terminated
<!--end of ISOnum.module-->]]>
^
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:188: parser warning : PEReference: %ISOpub.module; not found
<![%ISOpub.module;[
                  ^
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:188: parser error : conditional section INCLUDE or IGNORE keyword expected
<![%ISOpub.module;[
                  ^
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:188: parser error : Content error in the external subset
<!ENTITY % ISOpub PUBLIC
 ^
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:188: validity error : All markup of the conditional section is not in the same entity
<!ENTITY % ISOpub PUBLIC
 ^
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:188: parser error : Content error in the external subset
<!ENTITY % ISOpub PUBLIC
    ^
unable to parse fi/gedit.xml
make[2]: *** [gedit-fi.omf] Error 1
make[2]: *** Waiting for unfinished jobs....
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:193: parser error : Comment must not contain '--' (double-hyphen)
<!--end of ISOpub.module-->]]>
    ^
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:196: parser warning : PEReference: %ISOtech.module; not found
<![%ISOtech.module;[
                   ^
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:196: parser error : conditional section INCLUDE or IGNORE keyword expected
<![%ISOtech.module;[
                   ^
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:196: parser error : Content error in the external subset
<!ENTITY % ISOtech PUBLIC
 ^
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:196: validity error : All markup of the conditional section is not in the same entity
<!ENTITY % ISOtech PUBLIC
 ^
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:196: parser error : Content error in the external subset
<!ENTITY % ISOtech PUBLIC
    ^
unable to parse es/gedit.xml
make[2]: *** [gedit-es.omf] Error 1
http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd:113: parser error : Comment must not contain '--' (double-hyphen)
<!-- ...................................................................... -->
    ^
http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd:117: parser warning : PEReference: %dbgenent.module; not found
<![ %dbgenent.module; [
                     ^
http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd:117: parser error : conditional section INCLUDE or IGNORE keyword expected
<![ %dbgenent.module; [
                      ^
http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd:117: parser error : Content error in the external subset
<!ENTITY % dbgenent PUBLIC
 ^
http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd:117: parser error : Content error in the external subset
<!ENTITY % dbgenent PUBLIC
    ^
unable to parse de/gedit.xml
make[2]: *** [gedit-de.omf] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-editors/gedit-2.24.2/work/gedit-2.24.2/help'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-editors/gedit-2.24.2/work/gedit-2.24.2'
make: *** [all] Error 2
 * 
 * ERROR: app-editors/gedit-2.24.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2981:  Called gnome2_src_compile
 *             environment, line 2218:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure

Expected Results:  
Should compile.

Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r0, 2.6.27-gentoo-r5-ika-j1 i586)
=================================================================
System uname: Linux-2.6.27-gentoo-r5-ika-j1-i586-Mobile_Pentium_MMX-with-glibc2.0
Timestamp of tree: Thu, 01 Jan 2009 00:35:01 +0000
distcc 3.1 i486-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.1-r1
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 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="i486-pc-linux-gnu"
CFLAGS="-Os -mtune=pentium-mmx"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -mtune=pentium-mmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mneisen.org/ http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://mirror.jamit.de/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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://192.168.220.102/gentoo-portage"
USE="X acl alsa bash-completion branding bzip2 cli clo cracklib crypt dri escreen fortran gdbm iconv midi mmx mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xfs xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="neomagic"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-01-04 00:13:23 UTC
please answer the same question as bug #245033, especially comment #5.
Comment 2 archibald haddock 2009-01-04 12:27:51 UTC
Docbook-xml-dtd-4.1.2 was not installed.
emerge -vq =docbook-xml-dtd-4.1.2-r6 && emerge -vq gedit did it.
Should not a dependency be added on gedit for docbook-4.1.2?
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-01-07 19:19:00 UTC
Reopening for proper resolution
Comment 4 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-01-07 19:19:29 UTC
Dup of (fixed) 252910

*** This bug has been marked as a duplicate of bug 252910 ***