Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64659 - xml parsing errors when emerging GNOME packages
Summary: xml parsing errors when emerging GNOME packages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: Lowest trivial (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-19 10:27 UTC by aethyr
Modified: 2004-10-09 23:27 UTC (History)
0 users

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 aethyr 2004-09-19 10:27:17 UTC
Hi, since upgrading to GNOME 2.8, I seem to be getting a lot of xml parsing errors when GNOME related packages are emerged.  I don't remember getting these with the 2.6 series, but I'm not 100% sure...

Here's what it looks like at the end of an emerge of gnome-utils-2.8.0 for example (it occurs with many of the packages):

#########################################################

/usr/share/gnome/help/gnome-system-log/fr/gnome-system-log.xml:239: parser error : Entity 'eacute' not defined
        <para>Pour afficher les propri&eacute;t&eacute;s du fichier, s&eacute;lecti
                                                       ^
/usr/share/gnome/help/gnome-system-log/fr/gnome-system-log.xml:239: parser error : Entity 'eacute' not defined
        <para>Pour afficher les propri&eacute;t&eacute;s du fichier, s&eacute;lecti
                                                                              ^
/usr/share/gnome/help/gnome-system-log/fr/gnome-system-log.xml:239: parser error : Entity 'eacute' not defined
ute;lectionnez <menuchoice><guimenu>Journal</guimenu><guimenuitem>Propri&eacute;
                                                                               ^
/usr/share/gnome/help/gnome-system-log/fr/gnome-system-log.xml:239: parser error : Entity 'eacute' not defined
onnez <menuchoice><guimenu>Journal</guimenu><guimenuitem>Propri&eacute;t&eacute;
                                                                               ^
/usr/share/gnome/help/gnome-system-log/fr/gnome-system-log.xml:240: parser error : Entity 'icirc' not defined
        La bo&icirc;te de dialogue <guilabel>Statistiques de journaux</guilabel> af
                    ^
/usr/share/gnome/help/gnome-system-log/fr/gnome-system-log.xml:246: parser error : Entity 'egrave' not defined
          <listitem><para>la date de la derni&egrave;re modification du fichier ;</p
                                                     ^
/usr/share/gnome/help/gnome-system-log/fr/gnome-system-log.xml:248: parser error : Entity 'eacute' not defined
          <listitem><para>la date de cr&eacute;ation du fichier ;</para>
                                               ^
/usr/share/gnome/help/gnome-system-log/fr/gnome-system-log.xml:250: parser error : Entity 'eacute' not defined
          <listitem><para>la date de l'entr&eacute;e de journal la plus r&eacute;cen
                                                   ^
/usr/share/gnome/help/gnome-system-log/fr/gnome-system-log.xml:250: parser error : Entity 'eacute' not defined
          <listitem><para>la date de l'entr&eacute;e de journal la plus r&eacute;cen
                                                                                 ^
/usr/share/gnome/help/gnome-system-log/fr/gnome-system-log.xml:259: parser error : Entity 'eacute' not defined
        <para>Pour fermer un journal, s&eacute;lectionnez <menuchoice><guimenu>Jour
                                               ^
 * Updating desktop mime database...
 * Updating shared mime info database...
***
* Updating MIME database in /usr/share/mime...
***
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
>>> gnome-extra/gnome-utils-2.8.0 merged.

 * GNU info directory index is up-to-date.

#########################################################

These errors don't seem to affect the operation of the programs, but I'm curious as to why they're occuring in the first place.

Possibly relevant packages?
dev-libs/libxml2-2.6.12  
app-text/scrollkeeper-0.3.14

# emerge info
Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.
8.1-ck8)
=================================================================
System uname: 2.6.8.1-ck8 i686 Intel(R) Celeron(TM) CPU                1400MHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="no"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -mmmx -msse"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -mmmx -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS=" ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirror.clarkson.e
du/pub/distributions/gentoo/ ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp:/
/mirrors.tds.net/gentoo http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa avi berkdb bitmap-fonts cdr dga dvd encode esd foomaticdb gdbm gif g
nome gtk gtk2 hal imlib java jpeg libg++ libwww mad mikmod mmx motif mpeg mysql 
ncurses nls opengl oss pam pdflib perl png python quicktime readline samba sdl s
lang spell sse ssl svga tcltk tcpd truetype x86 xml2 xprint xv zlib"
Comment 1 foser (RETIRED) gentoo-dev 2004-09-19 12:37:11 UTC
probably some scrollkeepr/xslt whatever issue..

it always gives the same errors i bet ?
Comment 2 aethyr 2004-09-19 13:02:43 UTC
It gives similar errors, but not always the same.  Here's a snippit from gnome-panel-2.8.0:

####################################################

/usr/share/gnome/help/workspace-switcher/de/workspace-switcher.xml:225: parser e
rror : Entity 'ouml' not defined
                <para>In diesem Listenfeld k&ouml;nnen Sie die Namen der Arbeits
fl&auml;chen 
                                                  ^
/usr/share/gnome/help/workspace-switcher/de/workspace-switcher.xml:225: parser e
rror : Entity 'auml' not defined
                <para>In diesem Listenfeld k&ouml;nnen Sie die Namen der Arbeits
fl&auml;chen 
                                                                                
        ^
/usr/share/gnome/help/workspace-switcher/de/workspace-switcher.xml:225: parser e
rror : Entity 'auml' not defined
n auf dem Desktop bearbeiten. Markieren Sie dazu den Namen einer Arbeitsfl&auml;
                                                                               ^
/usr/share/gnome/help/workspace-switcher/de/workspace-switcher.xml:229: parser e
rror : Entity 'auml' not defined
         <varlistentry><term><guilabel>Anzahl der Arbeitsfl&auml;chen</guilabel>
 </term
                                                                 ^
/usr/share/gnome/help/workspace-switcher/de/workspace-switcher.xml:231: parser e
rror : Entity 'ouml' not defined
                <para>Mit diesem Drehfeld k&ouml;nnen Sie die Anzahl der Arbeits
fl&auml;chen 
                                                 ^
/usr/share/gnome/help/workspace-switcher/de/workspace-switcher.xml:231: parser e
rror : Entity 'auml' not defined
                <para>Mit diesem Drehfeld k&ouml;nnen Sie die Anzahl der Arbeits
fl&auml;chen

<<<<<<<snip some stuff here>>>>>>>>>>

/usr/share/gnome/help/fish-applet-2/sv/fish-applet-2.xml:176: parser error : Entity 'auml' not defined
;nd den h&auml;r textrutan om du vill ange n&aring;got annat kommando i st&auml;
                                                                               ^
/usr/share/gnome/help/fish-applet-2/sv/fish-applet-2.xml:183: parser error : Entity 'auml' not defined
<para>Anv&auml;nd den h&auml;r rutan om du vill ange antal ramar i animeringen. 
               ^
/usr/share/gnome/help/fish-applet-2/sv/fish-applet-2.xml:183: parser error : Entity 'auml' not defined
<para>Anv&auml;nd den h&auml;r rutan om du vill ange antal ramar i animeringen. 
                             ^
/usr/share/gnome/help/fish-applet-2/sv/fish-applet-2.xml:190: parser error : Entity 'auml' not defined
<para>Anv&auml;nd den h&auml;r rutan om du vill ange paus i sekunder mellan rama
               ^
/usr/share/gnome/help/fish-applet-2/sv/fish-applet-2.xml:190: parser error : Entity 'auml' not defined
<para>Anv&auml;nd den h&auml;r rutan om du vill ange paus i sekunder mellan rama
                             ^
/usr/share/gnome/help/fish-applet-2/sv/fish-applet-2.xml:197: parser error : Entity 'auml' not defined
<para>Markera det h&auml;r alternativet om du vill rotera panelprogrambilden n&a
                         ^
/usr/share/gnome/help/fish-applet-2/sv/fish-applet-2.xml:197: parser error : Entity 'auml' not defined
a>Markera det h&auml;r alternativet om du vill rotera panelprogrambilden n&auml;
                                                                               ^
/usr/share/gnome/help/fish-applet-2/sv/fish-applet-2.xml:197: parser error : Entity 'auml' not defined
t h&auml;r alternativet om du vill rotera panelprogrambilden n&auml;r du l&auml;
                                                                               ^
/usr/share/gnome/help/workspace-switcher/ko/workspace-switcher.xml:9: I/O warning : failed to load external entity "file:///usr/share/sgml/docbook/yelp/docbook/dtd/docbookx.dtd"
]>
  ^
/usr/share/gnome/help/window-list/zh_TW/window-list.xml:9: I/O warning : failed to load external entity "file:///usr/share/sgml/docbook/yelp/docbook/dtd/docbookx.dtd"
]>
  ^
 * Updating desktop mime database...
 * Updating shared mime info database...
***
* Updating MIME database in /usr/share/mime...
***
>>> original instance of package unmerged safely.
 * Installing GNOME 2 GConf schemas
Document `/etc/gconf/schemas/panel-default-setup.entries' has the wrong type of root node (<gconfentryfile>, should be <gconfschemafile>)
>>> Updating Scrollkeeper
 * Updating desktop mime database...
 * Updating shared mime info database...
***
* Updating MIME database in /usr/share/mime...
***
 * setting panel gconf defaults...
Resolved address "xml::/etc/gconf/gconf.xml.defaults" to a writable configuration source at position 0
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
>>> gnome-base/gnome-panel-2.8.0 merged.

 * GNU info directory index is up-to-date.


####################################################


If it's affecting the functionality, I haven't noticed it yet, but I don't use other languages either.

It's one of those things that makes me wonder if something isn't messed up along the toolchain though...
Comment 3 aethyr 2004-09-19 16:19:32 UTC
hm, I think I fixed it somehow by updating to the following (using emerge unmerge scrollkeeper, emerge -u scrollkeeper):

build-docbook-catalog-1.2
docbook-xsl-stylesheets-1.65.1
docbook-xml-dtd-4.1.2-r5
docbook-xml-dtd-4.3
scrollkeeper-0.3.14

I have no idea which package actually fixed it, but I think it could have been docbook-xml-dtd-4.1.2-r5.  Previous I was using -r3, but when I updated to -r5 it pulled in a build-docbook-catalog and docbook-xsl-stylesheets-1.65.1 (previously was using docbook-xsl-stylesheets-1.52.2).

Do you think some package dependencies might have to be updated somewhere along the chain?

Note, I don't use emerge -u world, so it's possible that if a package dependency didn't get bumped to a new version I might have missed an essential update, hence I had to unmerge scrollkeeper before using emerge -u scrollkeeper.
Comment 4 Mike Gardiner (RETIRED) gentoo-dev 2004-10-09 23:27:10 UTC
All these packages are now marked stable for all archs, so they should be installed from now on. Apologies for the mess beforehand. We could create a new revision of scrollkeeper, add the updated dependencies to force upgrades, but unfortunately I think that's a bit messy, as this 'bug' (the old xml docbook ebuilds) is becoming rarer.

Glad it was fixed.