Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110148 - xslt segfault causing USE="doc" failures (librsvg)
Summary: xslt segfault causing USE="doc" failures (librsvg)
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-22 07:54 UTC by Al Dennis
Modified: 2006-01-30 17:07 UTC (History)
0 users

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


Attachments
The complete ebuild log (librsvg.log,126.59 KB, text/plain)
2005-10-22 16:15 UTC, Al Dennis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Al Dennis 2005-10-22 07:54:38 UTC
I got this error compiling librsvg-2.9.5 (upgrading from 2.6.5):
mkdir -p -- /var/tmp/portage/librsvg-2.9.5/image//usr/share/gtk-doc/html/rsvg
(installfiles=`echo ./html/*`; \
if test "$installfiles" = './html/*'; \
then echo '-- Nothing to install' ; \
else \
  for i in $installfiles; do \
    echo '-- Installing '$i ; \
    /bin/install -c -m 644 $i
/var/tmp/portage/librsvg-2.9.5/image//usr/share/gtk-doc/html/rsvg; \
  done; \
  echo '-- Installing ./html/index.sgml' ; \
  /bin/install -c -m 644 ./html/index.sgml
/var/tmp/portage/librsvg-2.9.5/image//usr/share/gtk-doc/html/rsvg; \
fi)
-- Installing ./html/home.png
-- Installing ./html/left.png
-- Installing ./html/right.png
-- Installing ./html/up.png
-- Installing ./html/index.sgml
/bin/install: cannot stat `./html/index.sgml': No such file or directory
make[2]: *** [install-data-local] Error 1
make[2]: Leaving directory `/var/tmp/portage/librsvg-2.9.5/work/librsvg-2.9.5/doc'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/librsvg-2.9.5/work/librsvg-2.9.5/doc'
make: *** [install-recursive] Error 1


After switching to -doc, the compile succeeded.

Reproducible: Always
Steps to Reproduce:




Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1,
2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.10
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
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon -fomit-frame-pointer -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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/
http://mirror.datapipe.net/gentoo http://gentoo.eliteitminds.com
ftp://planetmirror.com/pub/gentoo/"
LANG="en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X alsa apm avi bash-completion berkdb bindist
bitmap-fonts bonobo cdr crypt cscope cups curl dbus dga dvd dvdr eds emboss
encode fam firefox flac foomaticdb gd gdbm gnome gpm gstreamer gtk gtk2 gtkhtml
guile hal imagemagick imlib java jpeg libg++ libwww mmx mmxext mp3 mpeg ncurses
nls nptl nsplugin nvidia ogg oggvorbis opengl pam pdflib perl png ppds python qt
quicktime readline rtc sdl slang spell ssl tcltk tcpd tiff truetype
truetype-fonts type1-fonts usb vorbis win32codecs xml xml2 xmms xscreensaver xv
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Leonardo Boshell (RETIRED) gentoo-dev 2005-10-22 14:23:47 UTC
The text you have pasted doesn't show the cause of the problem. Please attach
the complete output from the emerge process. Thanks.
Comment 2 Al Dennis 2005-10-22 16:15:02 UTC
Created attachment 71232 [details]
The complete ebuild log

Here you go (I switched back to +doc, tried to rebuild, and got the same
error).
Comment 3 Leonardo Boshell (RETIRED) gentoo-dev 2006-01-14 06:55:23 UTC
Sorry for the late reply, the problem comes from xsltproc, which is segfaulting when called from gtkdoc-mkhtml. What version of libxslt and libxml2 do you have?

Also, if you can still reproduce this, we need a backtrace from xsltproc after crashing to debug this. Let us know if you need help with this step if necessary.
Comment 4 Al Dennis 2006-01-15 08:41:53 UTC
Here is the output of emerge -pv libxslt libxml2:
[ebuild     U ] dev-libs/libxslt-1.1.15 [1.1.8] +crypt -debug +python -static 1,780 kB 
[ebuild     U ] dev-libs/libxml2-2.6.22 [2.6.20-r2] -debug -doc* -ipv6 +python +readline -static 3,328 kB 
Comment 5 Leonardo Boshell (RETIRED) gentoo-dev 2006-01-30 17:07:25 UTC
Start by upgrading those two packages. And to actually study the problem, we still need a backtrace from the xsltproc process. Again, let us know if you need more instructions regarding this.