Bug 175062 - app-admin/gnome-system-tools failing on xsltproc xml doc creation
Bug#: 175062 Product:  Gentoo Linux Version: unspecified Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: gnome@gentoo.org Reported By: dave@causticminds.com
Component: GNOME
URL: 
Summary: app-admin/gnome-system-tools failing on xsltproc xml doc creation
Keywords:  
Status Whiteboard: 
Opened: 2007-04-18 10:38 0000
Description:   Opened: 2007-04-18 10:38 0000
Trying to install app-admin/gnome-system-tools-2.14.0 for the first time on
AMD64 system gives an error near beginning of compile, xsltproc dies
complaining "Could not construct the OMF maintainer element."

Reproducible: Always

Steps to Reproduce:
1. Install AMD64 new
2. emerge gnome-system-tools-2.14.0
3.

Actual Results:  
Emerge fails complaining "db2omf: Could not construct the OMF maintainer
element"

Expected Results:  
Emerged successfully.

Emerge info
Portage 2.1.2.2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0,
2.6.19-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
3800+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 18 Apr 2007 07:31:01 +0000
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
ftp://mirror.datapipe.net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow2 NPTL X a52 aac ace acpi aim alsa amd64 apic apm asf audiofile avahi
avi bash-completion beagle bitmap-fonts bzip2 bzlib cdr cli cpudetection
cracklib crypt cups curl curlwrappers dba dbus divx4linux dri dv dvd dvdr
dvdread encode esd ethereal exif expat fam fame ffmpeg firefox flac galago gd
gdbm gdm gif gimp gimpprint glitz gmail gmp gnome gnutls gpm gtk gtk2 gtkhtml
guile hal howl iconv icq idn imagemagick imap ipod isdnlog jabber jpeg jpeg2k
lcms libg++ libnotify mad mhash midi mime mjpeg mng mono mozbranding mozdevelop
mozsvg mp3 mpeg msn musicbrainz ncurses nls nntp nptl nptlonly nvidia offensive
ogg oggvorbis opengl pam pcre pda pdf pear perl png ppds pppd python quicktime
rar readline reflection samba scanner session sml smp spl ssl
startup-notification subtitles svg tcltk tcpd theora tidy tiff tk truetype
truetype-fonts type1-fonts unicode usb v4l v4l2 vcd visualization vorbis wma
wmf x264 xcf xforms xine xml xorg xprint xv xvid yahoo zip zlib"
ALSA_CARDS="intel8x0" 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" ELIBC="glibc" INPUT_DEVICES="keyboard
mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk
hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLAY

------- Comment #1 From Dave Giesler 2007-04-18 10:42:49 0000 -------
make  all-recursive
make[1]: Entering directory
`/var/tmp/portage/app-admin/gnome-system-tools-2.14.0/work/gnome-system-tools-2.14.0'
Making all in doc
make[2]: Entering directory
`/var/tmp/portage/app-admin/gnome-system-tools-2.14.0/work/gnome-system-tools-2.14.0/doc'
Making all in boot
make[3]: Entering directory
`/var/tmp/portage/app-admin/gnome-system-tools-2.14.0/work/gnome-system-tools-2.14.0/doc/boot'
xsltproc -o boot-admin-C.omf --stringparam db2omf.basename boot-admin
--stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD
DocBook XML V4.1.2//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`/./boot-admin.omf.in"
`/usr/bin/pkg-config --variable db2omf gnome-doc-utils` C/boot-admin.xml
xsltproc -o boot-admin-es.omf --stringparam db2omf.basename boot-admin
--stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD
DocBook XML V4.1.2//EN" --stringparam db2omf.lang es --stringparam
db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir
"/usr/share/gnome/help" --stringparam db2omf.omf_in "`pwd`/./boot-admin.omf.in"
`/usr/bin/pkg-config --variable db2omf gnome-doc-utils` es/boot-admin.xml
db2omf: Could not construct the OMF maintainer element.
  Add an author, corpauthor, editor, othercredit, or publisher
  element with the role attribute set to "maintainer" to boot-admin.xml.
db2omf: Could not construct the OMF maintainer element.
  Add an author, corpauthor, editor, othercredit, or publisher
  element with the role attribute set to "maintainer" to boot-admin.xml.
make[3]: *** [boot-admin-C.omf] Error 10
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [boot-admin-es.omf] Error 10
make[3]: Leaving directory
`/var/tmp/portage/app-admin/gnome-system-tools-2.14.0/work/gnome-system-tools-2.14.0/doc/boot'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/app-admin/gnome-system-tools-2.14.0/work/gnome-system-tools-2.14.0/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/app-admin/gnome-system-tools-2.14.0/work/gnome-system-tools-2.14.0'
make: *** [all] Error 2

!!! ERROR: app-admin/gnome-system-tools-2.14.0 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3781:   Called src_compile
  ebuild.sh, line 1304:   Called gnome2_src_compile
  gnome2.eclass, line 71:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/tmp/portage/app-admin/gnome-system-tools-2.14.0/temp/build.log'.

------- Comment #2 From Dave Giesler 2007-04-18 10:45:37 0000 -------
According to this post
(http://lists.opensuse.org/opensuse-bugs/2007-02/msg07320.html) it is caused by
poorly formatted docs that xslt has to manipulate during the emerge. The above
url also has a temporary fix for it, but it's just a hack, not a real solution.

------- Comment #3 From Samuli Suominen 2007-04-18 10:54:54 0000 -------
Which version of libxslt? Try upgrading it.

------- Comment #4 From Dave Giesler 2007-04-19 02:51:05 0000 -------
It was tried with both dev-libs/libxslt-1.1.20 and dev-libs/libxslt-1.1.17, the
only two versions in portage at this time, and both died with the same result.

------- Comment #5 From Marco Völz 2007-04-25 21:23:27 0000 -------
(In reply to comment #4)
> It was tried with both dev-libs/libxslt-1.1.20 and dev-libs/libxslt-1.1.17, the
> only two versions in portage at this time, and both died with the same result.
> 

same here with gnome-system-tools-2.14.0 and libxslt-1.1.20 on ~x86
workaround from the link above did it, but the validation in the xsl seems to
be there for a reason?

------- Comment #6 From Rémi Cardona 2007-04-28 15:46:06 0000 -------
The linked patch should never have been posted :) Validation is indeed correct.
It's the (rather old) doc sources that are not up to date with the current
gnome DTDs and xslt stylesheets.

Backported patch from gnome, fixed in CVS. Please don't hesitate to reopen if
something fails.

Thanks