Some of the new gnome stuff came down today and everything built fine, with the exception of: app-text/gnome-doc-utils-0.8.0 gnome-base/gdm-2.16.2 gnome-base/gnome-desktop-2.16.2 all of which failed when invoking xsltproc, which itself seg faulted. I tried rebuilding dev-libs/libxslt-1.1.17, which contains xsltproc, and it rebuilt without problem, but this made no difference. In checking bugzilla, I noted bug 157831, which is sort of similar in that I have many of the same things installed; however, I do have both docbook-xml-dtd-4.1.2-r6 and docbook-xml-dtd-4.4-r1 installed, and I still cannot get gnome-doc-utils-0.8.0 to build. More details provided here: gannet .update-world # emerge --info Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r4 i686) ================================================================= System uname: 2.6.18-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 1.50GHz Gentoo Base System version 1.12.6 Last Sync: Mon, 11 Dec 2006 01:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.5-r3, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/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/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://ftp.rhnet.is/pub/gentoo/ http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo" 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.europe.gentoo.org/gentoo-portage" USE="x86 X afs alsa apache2 arts berkdb bitmap-fonts cli cracklib crypt cups curl dlloader dri elibc_glibc emacs esd fam fortran gdbm gif gnome gpm gstreamer gtk iconv imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jai java jpeg kde kernel_linux libg++ motif mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia opengl oss pam pcre pdf perl png ppds pppd python qt3 readline reflection sdl session spell spl ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_nvidia video_cards_vesa vorbis xinerana xml xorg xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS The following are the failed build messages for each of the three packages: ======================================================= Making all in doc make[1]: Entering directory `/var/tmp/portage/gnome-doc-utils-0.8.0/work/gnome-doc-utils-0.8.0/doc' Making all in gnome-doc-make make[2]: Entering directory `/var/tmp/portage/gnome-doc-utils-0.8.0/work/gnome-doc-utils-0.8.0/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 "`pwd`/./gnome -doc-make.omf.in" ../../xslt/docbook/omf/db2omf.xsl C/gnome-doc-make.xml make[2]: *** [gnome-doc-make-C.omf] Segmentation fault ================================================== make[3]: Entering directory `/var/tmp/portage/gdm-2.16.2/work/gdm-2.16.2/docs/zh_TW' for file in gdm-zh_TW.omf; do \ scrollkeeper-preinstall /usr/share/gnome/help/gdm/zh_TW/gdm.xml ./$file $file.out; \ done; \ touch omf_timestamp make[3]: Leaving directory `/var/tmp/portage/gdm-2.16.2/work/gdm-2.16.2/docs/zh_TW' C/gdm.xml:1744: parser error : Entity 'percnt' not defined %% — the `%' character [bunch of such errors] xsltproc -o gdm-C.omf --stringparam db2omf.basename gdm --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db 2omf.lang C --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "`pwd`/./gdm.omf.in" `/usr/bin/pkg -config --variable db2omf gnome-doc-utils` C/gdm.xml make[2]: *** [gdm-C.omf] Segmentation fault make[2]: Leaving directory `/var/tmp/portage/gdm-2.16.2/work/gdm-2.16.2/docs' =============================================================== make[3]: Entering directory `/var/tmp/portage/gnome-desktop-2.16.2/work/gnome-desktop-2.16.2/desktop-docs/fdl' xsltproc -o fdl-C.omf --stringparam db2omf.basename fdl --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db 2omf.lang C --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "`pwd`/./fdl.omf.in" `/usr/bin/pkg -config --variable db2omf gnome-doc-utils` C/fdl.xml xsltproc -o fdl-es.omf --stringparam db2omf.basename fdl --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam d b2omf.lang es --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "`pwd`/./fdl.omf.in" `/usr/bin/p kg-config --variable db2omf gnome-doc-utils` es/fdl.xml make[3]: *** [fdl-C.omf] Segmentation fault This last example shows that xsltproc can work, but seg faults in some situations. Also worth? knowing: [ebuild R ] dev-libs/libxslt-1.1.17 USE="crypt python -debug" 0 kB [ebuild U ] app-text/gnome-doc-utils-0.8.0 [0.6.1] USE="-debug" 0 kB [ebuild U ] gnome-base/gdm-2.16.2 [2.14.9-r1] USE="ipv6 pam tcpd -accessibility -debug (-selinux) -xinerama" 0 kB [ebuild U ] gnome-base/gnome-desktop-2.16.2 [2.14.2] USE="-debug -doc" 0 kB Best regards, /Mike
I see you have both python 2.3 and 2.4. Could you make sure you've fully updated your system to 2.4 and reemerge libxslt. Thanks
I can't reproduce this problem, and there's not much we could do given that this is apparently the first report of this kind with libxslt-1.1.17. We'd need a little more work from you to debug this. Try getting a useful backtrace from xsltproc. For this, start by re-emerging libxslt with CFLAGS="-g" and FEATURES="nostrip". Then go to the directory where one of those segfaults occur, and run xsltproc manually through gdb. For example: cd /var/tmp/portage/gnome-doc-utils-0.8.0/work/gnome-doc-utils-0.8.0/doc/gnome-doc-make gdb xsltproc > r [[copy all the arguments passed to xsltproc here]]
Yes, good point about python. I had 2.3 in place for a Plone 2.1.2 overlay, but I needed to update to the newest Plone 2.5.1 anyway, so now I have done that and gotten rid of python 2.3. (I didn't see any python-clean or python-update commands around, so hopefully, it is enough to have "emerge -Ca" it. I now have only 2.4.3-r4: gannet # eix dev-lang/python * dev-lang/python Available versions: [M]2.1.3-r1:2.1 [M]2.2.3-r6:2.2 2.3.5-r2:2.3 2.3.5-r3:2.3 ~2.3.6:2.3 2.4.3-r1:2.4 2.4.3-r4:2.4 ~2.4.4:2.4 [M]2.5-r1:2.5 Installed: 2.4.3-r4 Homepage: http://www.python.org/ Description: Python is an interpreted, interactive, object-oriented programming language. but unfortunately, that did not fix the problem with libxslt.
Thanks for the tips on going further to find out what was wrong. After years of running gentoo, I'll have to admit (perhaps a bit shamefully, but with lots of pleasure), that I never had to install gdb before! :-) Anyway, here is what happened when I tried what you suggested in comment #2: gannet # CFLAGS="-g" USE="debug" FEATURES="nostrip" emerge -av libxslt gannet # emerge -av gnome-doc-utils gannet # cd /var/tmp/portage/gnome-doc-utils-0.8.0/work/gnome-doc-utils-0.8.0/doc/gnome-doc-make gannet gnome-doc-make # gdb xsltproc GNU gdb 6.4 Copyright 2005 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) r -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 "`pwd`/./gnome-doc-make.omf.in" ../../xslt/docbook/omf/db2omf.xsl C/gnome-doc-make.xml Starting program: /usr/bin/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 "`pwd`/./gnome-doc-make.omf.in" ../../xslt/docbook/omf/db2omf.xsl C/gnome-doc-make.xml Program received signal SIGSEGV, Segmentation fault. 0xb7df52aa in xmlPatterncompile () from /usr/lib/libxml2.so.2 (gdb) bt #0 0xb7e722aa in xmlPatterncompile () from /usr/lib/libxml2.so.2 #1 0x080737f0 in ?? () #2 0x0805e720 in ?? () #3 0x08051276 in ?? () #4 0x00000000 in ?? () I then quit and checked a bit on libxml2: gannet gnome-doc-make # emerge -pv libxml2 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-libs/libxml2-2.6.26 USE="ipv6 python readline -debug -doc -test" 0 kB Total size of downloads: 0 kB I also check equery d dev-libs/libxml2 and found quit a number of things dependent on it that I have (so far) not had any problem with. I checked revdep-rebuild and had no outstanding reverse dependency problems. Given that python is a flag for libxml2, I figured it might be worth re-emerging it since I now have made sure I only have python2.4 around. After re-emering libxml2, all of my problematic packages (gnome-doc-utils-0.8.0, gdm-2.16.2, gnome-desktop) emerged without problem. Yeah! Problem fixed. Thanks a lot for both of the comments! It turned out they were both essential for figuring out what was wrong. As an after thought, I did a equery hasuse python and found that I have 13 packages installed with a python USE flag. Perhaps a good idea to re-emerge them all now that python 2.4 is the "new" kid on the block. Best regards, /Mike
python-updater is the tool you want to run. I think it is installed with python 2.4 and it should handle the rebuilding of any python module that was built against python-2.3
(In reply to comment #4) > (..) After re-emering libxml2, > all of my problematic packages (gnome-doc-utils-0.8.0, gdm-2.16.2, > gnome-desktop) emerged without problem. Yeah! Problem fixed. Good, marking as fixed now. It'd have been interesting to see a good backtrace to find out what exactly was happening in the segfault. You were pretty close but libxml2 needed to be emerged as well with FEATURES="nostrip" and so on. Thanks.