Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271988 - gnome-extra/deskbar-applet-2.24.3 build fails with parser error
Summary: gnome-extra/deskbar-applet-2.24.3 build fails with parser error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 335352 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-31 15:02 UTC by Thomas Cort
Modified: 2010-08-31 08:01 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log for gnome-extra/deskbar-applet-2.24.3 (build.log,83.77 KB, text/plain)
2009-05-31 15:03 UTC, Thomas Cort
Details
changes to /etc/xml/catelog after reinstalling app-text/docbook-xml-dtd-4.4-r1 (catalog.diff,1.33 KB, patch)
2009-05-31 15:41 UTC, Thomas Cort
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Cort 2009-05-31 15:02:12 UTC
When attempt to `emerge gnome` on my amd64 system it dies on gnome-extra/deskbar-applet-2.24.3 with a parser error....

Reproducible: Always

Steps to Reproduce:
1. emerge gnome

Actual Results:  
xsltproc -o deskbar-zh_CN.omf --stringparam db2omf.basename deskbar --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.2//EN" --stringparam db2omf.lang zh_CN --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/var/tmp/portage/gnome-extra/deskbar-applet-2.24.3/work/deskbar-applet-2.24.3/help/deskbar.omf.in"  `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` zh_CN/deskbar.xml || { rm -f "deskbar-zh_CN.omf"; exit 1; }
http://www.oasis-open.org/docbook/xml/4.2/dbpoolx.mod:687: parser warning : PEReference: %notation.class; not found
	%local.graphics.attrib;"
	                        ^
Entity: line 1: parser error : NmToken expected in ATTLIST enumeration
 %graphics.attrib; 
                  ^
Entity: line 4: 
	format		() #IMPLIED
	      		 ^
Entity: line 1: parser error : Content error in the external subset
 %graphics.attrib; 
                  ^
Entity: line 4: 
	format		() #IMPLIED
	      		 ^
validity error : All markup of the conditional section is not in the same entity
 %graphics.attrib; 
                  ^
	format		() #IMPLIED
	      		 ^
Entity: line 1: parser error : Content error in the external subset
 %graphics.attrib; 
                  ^
Entity: line 4: 
	format		() #IMPLIED
	      		    ^
validity error : All markup of the conditional section is not in the same entity
 %graphics.attrib; 
                  ^
	format		() #IMPLIED
	      		    ^
Entity: line 1: parser error : Content error in the external subset
 %graphics.attrib; 
                  ^
Entity: line 4: 
	format		() #IMPLIED
	      		       ^
validity error : All markup of the conditional section is not in the same entity
 %graphics.attrib; 
                  ^
	format		() #IMPLIED
	      		       ^
Entity: line 1: parser error : Content error in the external subset
 %graphics.attrib; 
                  ^
Entity: line 4: 
	format		() #IMPLIED
	      		          ^
unable to parse fr/deskbar.xml

Expected Results:  
No parser error

# emerge --info
Portage 2.1.6.11 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-x86_64-AMD_Phenom-tm-_9500_Quad-Core_Processor-with-glibc2.2.5
Timestamp of tree: Sun, 31 May 2009 13:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="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/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.in.th/ http://mirror.datapipe.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/"
LDFLAGS="-Wl,-O1"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis xml xorg xulrunner xv 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 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="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
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 Thomas Cort 2009-05-31 15:03:16 UTC
Created attachment 193064 [details]
build.log for gnome-extra/deskbar-applet-2.24.3

Shows the parser error along with the complete build output.
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-31 15:32:18 UTC
It appears that your /etc/xml/catalog is corrupted.

First, please backup /etc/xml/catalog somewhere, then reinstall
app-text/docbook-xml-dtd:4.2 (I assume it already is, otherwise please say so
but still continue with these instructions), make a diff between the backup and
the new /etc/xml/catalog and attach it here.
Comment 3 Thomas Cort 2009-05-31 15:41:00 UTC
Created attachment 193065 [details, diff]
changes to /etc/xml/catelog after reinstalling app-text/docbook-xml-dtd-4.4-r1

Re-installing app-text/docbook-xml-dtd-4.4-r1 fixed the problem. deskbar-applet installs now.
Comment 4 Sander Sweers 2009-05-31 15:51:36 UTC
I had the same but then with version 2.26.x. I reinstalled app-text/docbook-xml-dtd:4.4 and now it builds fine.
Comment 5 Denis Dupeyron (RETIRED) gentoo-dev 2009-06-22 07:01:45 UTC
Same issue here on a brand new install with gnome-2.26.2, except that rebuilding app-text/docbook-xml-dtd:4.4 doesn't fix the issue. It stops here:

xsltproc -o deskbar-oc.omf --stringparam db2omf.basename deskbar --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.2//EN" --stringparam db2omf.lang oc --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/var/tmp/portage/gnome-extra/deskbar-applet-2.26.2/work/deskbar-applet-2.26.2/help/deskbar.omf.in"  `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` oc/deskbar.xml || { rm -f "deskbar-oc.omf"; exit 1; }
http://www.oasis-open.org/docbook/xml/4.2/dbpoolx.mod:3566: parser warning : PEReference: %tbl.table.att; not found
		%tbl.table.att;
		               ^
xsltproc -o deskbar-pt_BR.omf --stringparam db2omf.basename deskbar --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.2//EN" --stringparam db2omf.lang pt_BR --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/var/tmp/portage/gnome-extra/deskbar-applet-2.26.2/work/deskbar-applet-2.26.2/help/deskbar.omf.in"  `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` pt_BR/deskbar.xml || { rm -f "deskbar-pt_BR.omf"; exit 1; }
http://www.oasis-open.org/docbook/xml/4.2/dbpoolx.mod:687: parser warning : PEReference: %notation.class; not found
	%local.graphics.attrib;"

And then follows a long list of parser errors. Gilles, what do you need me to provide to debug that?

Denis.
Comment 6 hegofimwus 2009-06-30 23:42:35 UTC
I had the similar problem by installing gnome on ~arch64. I installed
docbook-xml-dtd-4.2-r1 (very old :D but stable) and then
deskbar-applet-2.24.3 (old but stable) without use flags.
It installed, then i entered emerge gnome, it emerged these packages in newer version (just crazy!), but succeed.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2009-07-05 22:49:56 UTC
It looks like

test? ( ~app-text/docbook-xml-dtd-4.2 )

should be just

~app-text/docbook-xml-dtd-4.2

and always installed?
Comment 8 Veemun 2009-08-05 13:09:26 UTC
I had the same problem on amd64. re-emerging libtools fixed it for me.
Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-08-06 22:47:02 UTC
+  06 Aug 2009; Gilles Dartiguelongue <eva@gentoo.org>
+  -files/deskbar-applet-2.19.5-multilib.patch,
+  -deskbar-applet-2.26.1.ebuild, deskbar-applet-2.26.2.ebuild:
+  docbook-xml-dtd-4.2 is not optional, bug #271988. Fix broken intltool
+  rules. Clean up old revision.

Thanks for reporting.
Comment 10 Christian hersevoort 2009-09-25 18:14:10 UTC
I got just the same error with a new fresh install of gentoo (and gnome). 

Re-emerging libxslt fixed the problem for me. 
Comment 11 Vanessa Dannenberg 2010-01-11 18:57:22 UTC
Please re-open this bug - it is still present as of today (Jan. 11, 2010) and is preventing me from installing the last couple of Gnome packages needed by 'emerge gnome'.

As an aside, why is this package pulling files from an external website in the middle of the build, instead of downloading them at the beginning with the rest of the source code?
Comment 12 Tyler Montbriand 2010-08-30 22:05:52 UTC
Yes, this bug still exists.  Gnome wouldn't emerge until I installed app-text/docbook-xmo-dtd-4.2-r2.
Comment 13 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-08-30 22:26:53 UTC
this bug has been fixed again. Someone forgot to sync ebuild from overlay before commiting them to the tree.
Comment 14 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-08-31 08:01:35 UTC
*** Bug 335352 has been marked as a duplicate of this bug. ***