Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109326 - xsltproc parser errors in building gnome-applet-2.12.1-r1 WITH updated gnome-doc-utils and libxslt
Summary: xsltproc parser errors in building gnome-applet-2.12.1-r1 WITH updated gnome-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-14 21:30 UTC by Jim Bosch
Modified: 2005-10-20 04:08 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 Jim Bosch 2005-10-14 21:30:18 UTC
Seems very similar to bug 103322 (parser errors in building gnome apps), but
that bug seems to have been resolved in portage before I even started, and the
resolution (updating gnome-doc-utils and/or libxslt) does not fix the problem. 
(In fact, I never even had the older gnome-doc-utils or libxslt).

My gnome-doc-utils is now at 0.4.2 and libxslt is at 1.1.15

Reproducible: Always
Steps to Reproduce:
1. Unmask necessary packages, upgrade python, and emerge gnome as per
http://www.gentoo.org/proj/en/desktop/gnome/howtos/gnome-2.12-upgrade.xml) on a
fresh system (X11 installed, but no previous gnome install)

NOTE: Strangely, the build occasionally fails at different times (generation of
char-palette-C.omf succeeds once in a while, but the following generation of
char-palette-es.omf fails).
Actual Results:  
build failed at gnome-applets-2.12.1-r1, with the following compilation errors:

make[2]: Leaving directory
`/var/tmp/portage/gnome-applets-2.12.1-r1/work/gnome-applets-2.12.1/po'
Making all in charpick
make[2]: Entering directory
`/var/tmp/portage/gnome-applets-2.12.1-r1/work/gnome-applets-2.12.1/charpick'
Making all in help
make[3]: Entering directory
`/var/tmp/portage/gnome-applets-2.12.1-r1/work/gnome-applets-2.12.1/charpick/help'
xsltproc -o char-palette-C.omf --stringparam db2omf.basename char-palette
--stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD
DocBook XML V4.3//EN" --stringparam db2omf.lang C --stringparam db2omf.omf_dir
"/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help"
--stringparam db2omf.omf_in "`pwd`/./char-palette.omf.in" `/usr/bin/pkg-config
--variable db2omf gnome-doc-utils` C/char-palette.xml
http://www.oasis-open.org/docbook/xml/4.3/ent/iso-grk4.ent:1: parser error :
Content error in the external subset
HTTP/1.1 200 OK
^
http://www.oasis-open.org/docbook/xml/4.3/ent/iso-grk4.ent:1: parser error :
Content error in the external subset
HTTP/1.1 200 OK
   ^
http://www.oasis-open.org/docbook/xml/4.3/ent/iso-grk4.ent:1: parser error :
Content error in the external subset
HTTP/1.1 200 OK
      ^
unable to parse C/char-palette.xml
make[3]: *** [char-palette-C.omf] Error 6
make[3]: Leaving directory
`/var/tmp/portage/gnome-applets-2.12.1-r1/work/gnome-applets-2.12.1/charpick/help'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gnome-applets-2.12.1-r1/work/gnome-applets-2.12.1/charpick'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnome-applets-2.12.1-r1/work/gnome-applets-2.12.1'
make: *** [all] Error 2

!!! ERROR: gnome-base/gnome-applets-2.12.1-r1 failed.
!!! Function gnome2_src_compile, Line 48, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
completed build successfully

my emerge info output:

Gentoo Base System version 1.6.13
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r3_jb01 i686)
=================================================================
System uname: 2.6.13-gentoo-r3_jb01 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://cudlug.cudenver.edu/gentoo/
ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/
http://mirror.usu.edu/mirrors/gentoo/ ftp://mirror.usu.edu/mirrors/gentoo/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aim alsa apm artworkextra avi bash-completion berkdb
bitmap-fonts bonobo bzip2 calendar cdparanoia cdr crypt cups dbus directfb
divx4linux doc dri dvd dvdr dvdread dvi eds emacs emboss encode fam ffmpeg
firefox flac foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml
hal howl imap imlib ipv6 jpeg libg++ libwww mad mcal mikmod mime mmx motif mp3
mpeg nautilus ncurses nfs nls nvidia ogg oggvorbis opengl oss pam pcre pda pdf
pdflib perl png postgres postscript ps python quicktime readline real samba sdl
sndfile spell sse ssl tcpd tetex theora threads tiff truetype truetype-fonts
type1-fonts unicode usb videos vorbis wifi win32codecs xine xml2 xslt xv xvid
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2005-10-15 06:03:45 UTC
Does this command:
xmlcatalog /etc/xml/docbook "-//OASIS//DTD DocBook XML V4.3//EN"

return something like:
file:///usr/share/sgml/docbook/xml-dtd-4.3/docbookx.dtd

Thanks!
Comment 2 Jim Bosch 2005-10-15 08:42:19 UTC
No, when running that command I get:

No entry for PUBLIC -//OASIS//DTD DocBook XML V4.3//EN


(In reply to comment #1)
> Does this command:
> xmlcatalog /etc/xml/docbook "-//OASIS//DTD DocBook XML V4.3//EN"
> 
> return something like:
> file:///usr/share/sgml/docbook/xml-dtd-4.3/docbookx.dtd
> 
> Thanks!

Comment 3 Jim Bosch 2005-10-15 08:45:00 UTC
However, running:

xmlcatalog /etc/xml/docbook "-//OASIS//DTD DocBook XML V4.4//EN"

Gets me:

file:///usr/share/sgml/docbook/xml-dtd-4.4/docbookx.dtd
Comment 4 John N. Laliberte (RETIRED) gentoo-dev 2005-10-15 08:59:12 UTC
do you have app-text/docbook-xml-dtd-4.3 installed?

if not, emerge it, retry the applets, and report back.

Thanks!
Comment 5 Jim Bosch 2005-10-15 23:44:12 UTC
emerging app-text/docbook-xml-dtd-4.3 solved the problem - everything compiles
nicely now (I think this means I now have both 4.3 and 4.4 installed, and I
assume that's ok).

Do you need any other information from me in order to help fix the bug
permanently? (if it is indeed a bug, and not just some manifestation of my own
stupidity)

Thanks!
Comment 6 Leonardo Boshell (RETIRED) gentoo-dev 2005-10-20 04:08:19 UTC
Certainly, a dependency on docbook-xml-dtd-4.3 is necessary. It's been fixed in
CVS. Thank you for your report.