Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248468 - app-text/docbook-xsl-stylesheets-1.74.0 - /bin/sh: line 1: 19601 Segmentation fault xsltproc --stringparam base.dir /tmp/smoketest-output/ --param manifest.in.base.dir 1 $stylesheet tests/refentry.007.ns.xml
Summary: app-text/docbook-xsl-stylesheets-1.74.0 - /bin/sh: line 1: 19601 Segmentation...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo SGML project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-23 21:31 UTC by Oliver Putz
Modified: 2009-01-20 15:18 UTC (History)
2 users (show)

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


Attachments
Complete build.log for the emerge (build.log,19.10 KB, text/plain)
2008-11-23 21:33 UTC, Oliver Putz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Putz 2008-11-23 21:31:53 UTC
Not sure if this is really a problem with app-text/docbook-xsl-stylesheets-1.74.0 as there is a line

[...]
/bin/sh: line 1: 19599 Segmentation fault      xsltproc --stringparam base.dir /tmp/smoketest-output/ --param manifest.in.base.dir 1 $stylesheet tests/refentry.007.ns.xml
/bin/sh: line 1: 19601 Segmentation fault      xsltproc --stringparam
[...]

in the emerge log, but I report it against docbook-xsl-stylesheets-1.74.0 nonetheless as I am not sure if that segfault is the root of the problem

emerge --info: (note: Problem also occurs on an x86 processor)

Portage 2.1.4.5 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7 x86_64 Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz
Timestamp of tree: Sun, 23 Nov 2008 14:30:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -Os -pipe -ggdb"
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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -Os -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en_US es fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
PORTDIR_OVERLAY="/usr/portage/local/local-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus debug dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif 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 ssse3 startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis xml xorg 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" LINGUAS="de en_US es fr" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd vesa fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Last lines of emerge:

Writing /tmp/smoketest-output/index.xml
/bin/sh: line 1: 19599 Segmentation fault      xsltproc --stringparam base.dir /tmp/smoketest-output/ --param manifest.in.base.dir 1 $stylesheet tests/refentry.007.ns.xml
/bin/sh: line 1: 19601 Segmentation fault      xsltproc --stringparam base.dir /tmp/smoketest-output/ --param manifest.in.base.dir 1 $stylesheet
make: *** [smoketest-chunk] Error 139
make: *** Waiting for unfinished jobs....
Note: namesp. cut : stripped namespace before processing
WARNING: cannot add @xml:base to node set root element.  Relative paths may not work.
Note: namesp. cut : processing stripped document
WARNING: cannot add @xml:base to node set root element.  Relative paths may not work.
Writing /tmp/smoketest-output/rn01re01.html for refentry
Writing /tmp/smoketest-output/rn01.html for reference
Writing /tmp/smoketest-output/index.html for book
Writing /tmp/smoketest-output/htmlhelp.hhp
Writing /tmp/smoketest-output/toc.hhc
html/glossary.xsl:0: error : Unknown node type 23940288
html/math.xsl:5: element stylesheet: error : Reference to namespace 'mml' not in scope
html/glossary.xsl:0: error : Unknown node type 23940288
html/math.xsl:5: element stylesheet: error : Reference to namespace 'mml' not in scope
Note: namesp. cut : stripped namespace before processing
WARNING: cannot add @xml:base to node set root element.  Relative paths may not work.
Note: namesp. cut : processing stripped document
WARNING: cannot add @xml:base to node set root element.  Relative paths may not work.
Writing /tmp/smoketest-output/rn01re01.html for refentry
Writing /tmp/smoketest-output/rn01.html for reference
Writing /tmp/smoketest-output/index.html for book
Writing /tmp/smoketest-output/toc.xml
Writing /tmp/smoketest-output/plugin.xml
Writing /tmp/smoketest-output/index.xml
html/glossary.xsl:0: error : Unknown node type 8377904
html/math.xsl:5: element stylesheet: error : Reference to namespace 'mml' not in scope
html/glossary.xsl:0: error : Unknown node type 8377904
html/math.xsl:5: element stylesheet: error : Reference to namespace 'mml' not in scope
Note: namesp. cut : stripped namespace before processing
WARNING: cannot add @xml:base to node set root element.  Relative paths may not work.
Note: namesp. cut : processing stripped document
WARNING: cannot add @xml:base to node set root element.  Relative paths may not work.
Writing /tmp/smoketest-output/rn01re01.html for refentry
Writing /tmp/smoketest-output/rn01.html for reference
Writing /tmp/smoketest-output/index.html for book
Writing /tmp/smoketest-output/jhelpset.hs
Writing /tmp/smoketest-output/jhelptoc.xml
Writing /tmp/smoketest-output/jhelpmap.jhm
Writing /tmp/smoketest-output/jhelpidx.xml
html/glossary.xsl:0: error : Unknown node type 24313552
html/math.xsl:5: element stylesheet: error : Reference to namespace 'mml' not in scope
html/glossary.xsl:0: error : Unknown node type 24313552
html/math.xsl:5: element stylesheet: error : Reference to namespace 'mml' not in scope
 *
 * ERROR: app-text/docbook-xsl-stylesheets-1.74.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  193:  Called die
 * The specific snippet of code:
 *           emake || die "emake failed";
 *  The die message:
 *   emake failed
 *
 * 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-text/docbook-xsl-stylesheets-1.74.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/docbook-xsl-stylesheets-1.74.0/temp/environment'.
 *


Reproducible: Always

Steps to Reproduce:
1.Try to compile app-text/docbook-xsl-stylesheets-1.74.0
2.See the compile fail
Comment 1 Oliver Putz 2008-11-23 21:33:43 UTC
Created attachment 173076 [details]
Complete build.log for the emerge
Comment 2 Oliver Putz 2008-12-13 09:58:07 UTC
Not sure what exactly was the problem, but I just tried emerging docbook-xsl-stylesheets-1.74.0 again and this time it worked. Is it possible that the error was due to old versions of any of the following programs?

dev-java/xalan-serializer-2.7.1
dev-lang/nasm-2.04
sys-apps/ed-1.0
dev-java/xalan-2.7.1

Those were packages that had a newer version available but never got updated by an emerge -avuDN world but only by a emerge -ave world.
Comment 3 Marcin Gryszkalis 2009-01-20 15:18:05 UTC
see bug 240924