Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159642 - app-doc/gimp-help-0.10: emerge fails on xsl templates
Summary: app-doc/gimp-help-0.10: emerge fails on xsl templates
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 167653 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-01 13:03 UTC by Dennis Schridde
Modified: 2007-02-19 20:54 UTC (History)
5 users (show)

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 Dennis Schridde 2007-01-01 13:03:57 UTC
When I try to (r)emerge app-doc/gimp-help-0.10 it fails on some xsl templates.
I allready tried remerging of *docbook*, libxslt and similar, but that didn't solve it. (It helped in other cases when problems with documentation occured.)

Output of the merge:
------
>>> Emerging (7 of 9) app-doc/gimp-help-0.10 to /
 * gimp-help-2-0.10.tar.gz MD5 ;-) ...                                                                                                 [ ok ]
 * gimp-help-2-0.10.tar.gz RMD160 ;-) ...                                                                                              [ ok ]
 * gimp-help-2-0.10.tar.gz SHA1 ;-) ...                                                                                                [ ok ]
 * gimp-help-2-0.10.tar.gz SHA256 ;-) ...                                                                                              [ ok ]
 * gimp-help-2-0.10.tar.gz size ;-) ...                                                                                                [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                 [ ok ]
 * checking gimp-help-2-0.10.tar.gz ;-) ...                                                                                            [ ok ]
>>> Unpacking source...
>>> Unpacking gimp-help-2-0.10.tar.gz to /var/tmp/portage/app-doc/gimp-help-0.10/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-doc/gimp-help-0.10/work/gimp-help-2-0.10 ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --without-gimp --disable-convert --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking whether make is GNU make... yes
checking for xsltproc... /usr/bin/xsltproc
checking for xmllint... /usr/bin/xmllint
checking for convert... /usr/bin/convert
configure: creating ./config.status
config.status: creating Makefile
config.status: creating omf/gimp-C.omf
config.status: creating stylesheets/plainhtml.xsl
 
 Rebuild the help files:         yes
 Languages:                       de
 Installation prefix:            ${datadir}/gimp/2.0
 Optimize PNGs for HTML files:   no
 
*** Creating directories ***
*** Creating link in PDF directory to images ***
-- Profiling XML for de
-- Validating XML for de        number of errors: 0
*** Validating profiled XML ***
Log files of the validation process have been generated in the xml directory.
Please correct any errors before writing new content.
*** Copying images ***
*** Copying stylesheets ***
-- Building HTML for de
Writing gimp-xrefs.xml for book(gimp-main)
ID recommended on preface:
 
 
      Vorwort
 
    ...
ID recommended on sect1:
 
 
 
      Autoren und Mitwir...
runtime error: file /var/tmp/portage/app-doc/gimp-help-0.10/work/gimp-help-2-0.10/stylesheets/plainhtml.xsl line 45 element call-template
Variable 'prev' has not been declared.
xmlXPathCompiledEval: evaluation failed
runtime error: file /var/tmp/portage/app-doc/gimp-help-0.10/work/gimp-help-2-0.10/stylesheets/plainhtml.xsl line 46 element with-param
Failed to evaluate the expression of variable 'prev'.
make: *** [stamps/html.de.stamp] Error 10
 
!!! ERROR: app-doc/gimp-help-0.10 failed.
Call stack:
  ebuild.sh, line 1593:   Called dyn_compile
  ebuild.sh, line 951:   Called src_compile
  gimp-help-0.10.ebuild, line 43:   Called die
 
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
------

emerge --info:
------
Portage 2.1.2_rc4-r4 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r2 i686)
=================================================================
System uname: 2.6.19-gentoo-r2 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.8
Last Sync: Mon, 01 Jan 2007 19:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
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.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-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/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch prelink sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_US.UTF-8"
LINGUAS="de"
MAKEOPTS="-j2"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acpi alsa apache2 bash-completion berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader doc dri dvb dvd dvdr eds emboss encode fam fbcon firefox foomaticdb fortran gdbm gif gpm graphviz gstreamer gtk hal iconv ipod ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility libg++ mad mikmod mmx mmxext mp3 mpeg mplayer mysql ncurses nls nptl nptlonly nsplugin ogg openal openexr opengl pam pch pcre perl php png ppds pppd python qt3 qt4 quicktime readline real reflection samba sasl sdl session spell spl sqlite sse ssl subversion svg tcpd tetex theora truetype truetype-fonts type1-fonts udev unicode usb visualization vorbis win32codecs x86 xcomposite xinerama xml xorg xv xvid xvmc zeroconf 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="evdev keyboard" KERNEL="linux" LINGUAS="de" LIRC_DEVICES="userspace" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
------
Comment 1 Dennis Schridde 2007-01-06 17:34:49 UTC
Problem persists and till now I wasn't able to find a fix. :(
Comment 2 Fernando (likewhoa) 2007-01-08 09:21:39 UTC
i can verify this bug here too..

Portage 2.1.2_rc4-r7 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r2 x86_64 Dual Core AMD Opteron(tm) Processor 165
Gentoo Base System version 1.12.8
Last Sync: Mon, 08 Jan 2007 08:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
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, 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -mmmx -msse2 -m3dnow -maccumulate-outgoing-args -ftracer -fprefetch-loop-arrays -floop-optimize2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/X11/xdm/Xaccess /etc/X11/xdm/xdm-config /etc/X11/xorg.conf /etc/apf/conf.apf /etc/modules.autoload.d/kernel-2.6 /etc/portage /etc/ssh/sshd_config /lib/X11/xkb /opt/vmware/bin/vmware-config.pl /usr/X11R6 /usr/X11R6/bin/startx /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11 /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11/xdm/Xservers /etc/apf/conf.apf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d/bootmisc /etc/init.d/localmount /etc/java-config/vms/ /etc/revdep-rebuild /etc/security/limits.conf /etc/splash /etc/terminfo /usr/X11R6/bin/startx"
CXXFLAGS="-O2 -march=athlon64 -pipe -mmmx -msse2 -m3dnow -maccumulate-outgoing-args -ftracer -fprefetch-loop-arrays -floop-optimize2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks fixpackages metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo/distfiles http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/fluidportage/trunk /usr/local/pub-overlay /usr/local/bmg-gnome /usr/local/bmg-main /usr/local/flame-portage /usr/local/portage /usr/local/xeffects/trunk /usr/local/xeffects/experimental"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 acpi alsa amd64 bash-completion bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr flac fortran gdbm gif glitz gnome gpm gtk hal iconv isdnlog jpeg jpeg2k kdehiddenvisibility libg++ libnotify lm_sensors logrotate mp3 multislot ncurses nls nptl nptl-only nptlonly nvidia ogg opengl openntpd pam pcre pdf perl png ppds pppd python qt4 readline reflection samba sdl session spell spl ssl svg tiff truetype truetype-fonts type1-fonts udev unicode xcomposite xorg xprint xscreensaver xv zlib" ALSA_CARDS="emu10k1" 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" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Marc-Andre Landry 2007-01-17 05:31:32 UTC
I have the same problem. I also use bash-3.2.9.

Portage 2.1.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1/vanilla, glibc-2.5-r0, 2.6.19-gentoo-r4-trinity-r2 i686)
=================================================================
System uname: 2.6.19-gentoo-r4-trinity-r2 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.12.8
Timestamp of tree: Mon, 15 Jan 2007 08:59:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.7, 2.0.31-r2
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
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.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-fno-omit-frame-pointer -g -O2 -march=athlon-tbird -pipe"
CHOST="i686-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/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-fno-omit-frame-pointer -g -O2 -march=athlon-tbird -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.osuosl.org/"
LANG="en"
LC_ALL="en_US.UTF-8"
LINGUAS="en en_US fr"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/java-migration-packages /usr/portage/local/layman/java-experimental /usr/local/pro-audio/proaudio"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X X509 Xaw3d aac acl acpi alsa audiofile bash-completion berkdb bindist bitmap-fonts branding browserplugin bzip2 cairo cdr chroot cjk cli cracklib crypt ctype custom-cflags custom-flags dbus dbx dga dio dlloader dmi dmx doc dri drm dvd dvdr emboss encode examples expat fam ffmpeg firefox flac fortran fpx gdbm gif glitz gmp gnutls gpm graphviz gs gstreamer gtk gtk2 hal iconv imlib imlib2 ipv6 isdnlog ithreads java javascript jbig jpeg jpeg2k kerberos lcms libg++ lm_sensors lua mad md5sum mikmod mmx motif mp3 mp4 mpeg msn ncurses nls no-old-linux nptl nptlonly nsplugin ogg opengl oss pam pcre pdf perl pic png pnq posix ppds pppd profile python qt qt4 quicktime readline reflection rle ruby sdl session silc source spell spl ssl startup-notification svg sysvipc tcl tcltk tcpd theora threads tiff tk truetype truetype-fonts type1-fonts ucs2 udev unicode vorbis win32codecs wmf wxwindows x86 xine xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="emu10k1" 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" KERNEL="linux" LINGUAS="en en_US fr" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS


installed Docbook packages
*  app-text/build-docbook-catalog
      Latest version available: 1.2
      Latest version installed: 1.2

*  app-text/docbook-dsssl-stylesheets
      Latest version available: 1.79
      Latest version installed: 1.79

*  app-text/docbook-sgml
      Latest version available: 1.0
      Latest version installed: 1.0

*  app-text/docbook-sgml-dtd
      Latest version available: 4.4
      Latest version installed: 4.4

*  app-text/docbook-sgml-utils
      Latest version available: 0.6.14
      Latest version installed: 0.6.14

*  app-text/docbook-xml-dtd
      Latest version available: 4.4-r1
      Latest version installed: 4.4-r1

*  app-text/docbook-xml-simple-dtd
      Latest version available: 4.1.2.4-r2
      Latest version installed: 4.1.2.4-r2

*  app-text/docbook-xsl-stylesheets
      Latest version available: 1.70.1
      Latest version installed: 1.70.1
      Size of files: 1,589 kB
Comment 4 Leonardo Boshell (RETIRED) gentoo-dev 2007-01-18 03:19:55 UTC
I was looking into this problem in case it was libxslt's fault, however, it's a simple mistake in gimp-help's stylesheets, which older versions of libxslt ignored.

For reference, it has been fixed in gimp-help, and the latest release (0.11) includes the fix, so when somebody becomes maintainer for this package, a version bump should be fine to resolve this bug.

For the time being, reverting to libxslt-1.1.17 could be used as a work-around.
Comment 5 Dennis Schridde 2007-01-18 17:06:50 UTC
Thanks for investigating!
Now we just need a new maintainer to update the package. :)
Comment 6 Charlie Shepherd (RETIRED) gentoo-dev 2007-01-18 17:44:14 UTC
(In reply to comment #4)
> For reference, it has been fixed in gimp-help, and the latest release (0.11)
> includes the fix

Bumped.

> For the time being, reverting to libxslt-1.1.17 could be used as a work around.
> 

Thanks, fixed in CVS.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-02-19 20:36:39 UTC
*** Bug 167653 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-02-19 20:54:53 UTC
*** Bug 167653 has been marked as a duplicate of this bug. ***