Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250470 - app-text/gnome-doc-utils-0.12.2-r1 requires updated libxslt
Summary: app-text/gnome-doc-utils-0.12.2-r1 requires updated libxslt
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-10 01:38 UTC by Bill Skellenger
Modified: 2008-12-21 16:25 UTC (History)
1 user (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 Bill Skellenger 2008-12-10 01:38:59 UTC
emerge of gnome-doc-utils-0.12.2-r1 failed with not much information:

----------------------------------------

make[1]: Entering directory `/var/tmp/portage/app-text/gnome-doc-utils-0.12.2-r1/work/gnome-doc-utils-0.12.2/doc'
Making all in gnome-doc-make
make[2]: Entering directory `/var/tmp/portage/app-text/gnome-doc-utils-0.12.2-r1/work/gnome-doc-utils-0.12.2/doc/gnome-doc-make'
xsltproc -o gnome-doc-make-C.omf --stringparam db2omf.basename gnome-doc-make --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.4//EN" --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/var/tmp/portage/app-text/gnome-doc-utils-0.12.2-r1/work/gnome-doc-utils-0.12.2/doc/gnome-doc-make/gnome-doc-make.omf.in"  ../../xslt/docbook/omf/db2omf.xsl C/gnome-doc-make.xml || { rm -f "gnome-doc-make-C.omf"; exit 1; }
/bin/sh: line 1:  7545 Segmentation fault      xsltproc -o gnome-doc-make-C.omf --stringparam db2omf.basename gnome-doc-make --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.4//EN" --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/var/tmp/portage/app-text/gnome-doc-utils-0.12.2-r1/work/gnome-doc-utils-0.12.2/doc/gnome-doc-make/gnome-doc-make.omf.in" ../../xslt/docbook/omf/db2omf.xsl C/gnome-doc-make.xml
make[2]: *** [gnome-doc-make-C.omf] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-text/gnome-doc-utils-0.12.2-r1/work/gnome-doc-utils-0.12.2/doc/gnome-doc-make'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-text/gnome-doc-utils-0.12.2-r1/work/gnome-doc-utils-0.12.2/doc'
make: *** [all-recursive] Error 1
 * 
 * ERROR: app-text/gnome-doc-utils-0.12.2-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2986:  Called gnome2_src_compile
 *             environment, line 2214:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   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-text/gnome-doc-utils-0.12.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/gnome-doc-utils-0.12.2-r1/temp/environment'.
 * 

 * Messages for package app-text/gnome-doc-utils-0.12.2-r1:

 * 
 * ERROR: app-text/gnome-doc-utils-0.12.2-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2986:  Called gnome2_src_compile
 *             environment, line 2214:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   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-text/gnome-doc-utils-0.12.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/gnome-doc-utils-0.12.2-r1/temp/environment'.
 * 
 * GNU info directory index is up-to-date.

---------------------------------------

Wondering if xsltproc was the culprit, I found out where it came from:

brampton lib # equery belongs xsltproc
Searching for file 'xsltproc' in *...
dev-libs/libxslt-1.1.8 (/usr/share/man/man1/xsltproc.1.gz)
dev-libs/libxslt-1.1.8 (/usr/share/doc/libxslt-python-1.1.8/examples/pyxsltproc.py)

---------------------------------------

So I decided to rebuild that one:

brampton lib # emerge -v libxslt

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-libs/libxslt-1.1.24-r1 [1.1.8] USE="crypt%* python -debug% -examples%" 3,286 kB 

Total: 1 package (1 upgrade), Size of downloads: 3,286 kB

>>> Verifying ebuild Manifests...


----------------------------------------

And then I tried to emerge gnome-doc-utils again (success!)

>>> /usr/share/gnome-doc-utils/templates/gnome-applet-template.xml
 * Byte compiling python modules for python-2.5 .. ...                    [ ok ]
 * No GNOME 2 GConf schemas found
 * Updating shared mime info database ...
 * Updating scrollkeeper database ...
>>> app-text/gnome-doc-utils-0.12.2-r1 merged.
>>> Recording app-text/gnome-doc-utils in "world" favorites file...

>>> No packages selected for removal by clean
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
 * GNU info directory index is up-to-date.

-----------------------------------------

The ebuild for gnome-doc-utils indicates that libxslt-1.1.8 is okay:

RDEPEND=">=dev-libs/libxml2-2.6.12
	 >=dev-libs/libxslt-1.1.8
	 >=dev-lang/python-2"
DEPEND="${RDEPEND}
	sys-devel/gettext
	>=dev-util/intltool-0.35
	>=dev-util/pkgconfig-0.9
	~app-text/docbook-xml-dtd-4.4"

In my experience it wasn't, but I have no idea what either of these packages are for...



Reproducible: Didn't try




P3-800, building from ssh.

brampton lib # emerge --info
Portage 2.1.4.5 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r9 i686)
=================================================================
System uname: 2.6.25-gentoo-r9 i686 Pentium III (Coppermine)
Timestamp of tree: Sat, 06 Dec 2008 09:00:01 +0000
distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r5, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.3
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.7.9-r1, 1.8.3, 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.4.3-r4, 1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 apm audiofile berkdb cairo cdr cli cracklib crypt dbus dri dvd dvdr dvdread eds emboss encode evo fam firefox fortran gd gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos ldap mad midi mikmod mp3 mpeg mpm-prefork mudflap mysql ncurses nls nptl nptlonly odbc ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd tiff truetype unicode utf8 vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="sb16" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-12-11 00:27:30 UTC
/bin/sh: line 1:  7545 Segmentation fault      xsltproc -o gnome-doc-make-C.omf

-> that has nothing to do with libxslt version. You should rather check which it is segfaulting.

First thing to try is to rebuild with -O2 as upstream and gnome herd don't support optimization level above -O2
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-12-21 16:25:46 UTC
please get back to us.