#24060 closed defect (worksforme)
xsltproc segmentation fault on install of gnome-doc-utils
Reported by: | chalin@… | Owned by: | nox@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | dbevans (David B. Evans), jeremyhu (Jeremy Huddleston Sequoia), carlton@…, stvnschwrz@…, scottn@…, karoly@…, jsg72@… | |
Port: | libxml2 |
Description
sudo port -d install gnome-doc-utils yields (log is also attached):
/bin/sh: line 1: 88931 Segmentation fault xsltproc -o gnome-doc-make-C.omf --stringparam db2omf.basename gnome-doc-make --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/opt/local/share/omf" --stringparam db2omf.help_dir "/opt/local/share/gnome/help" --stringparam db2omf.omf_in "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-doc-utils/work/gnome-doc-utils-0.18.1/doc/gnome-doc-make/gnome-doc-make.omf.in" ../../xslt/docbook/omf/db2omf.xsl C/gnome-doc-make.xml
Attachments (1)
Change History (22)
Changed 15 years ago by chalin@…
Attachment: | gnome-doc-utils-install-log.txt added |
---|
comment:1 Changed 15 years ago by carlton@…
Cc: | carlton@… added |
---|
comment:7 Changed 15 years ago by scottn@…
Tried:
port install gnome-doc-utils @0.16.1
Still got the segfault. Suggests the problem is in xsltproc, not a newish problem introduced in the latest gnome-doc-utils.
comment:9 Changed 15 years ago by scottn@…
Tried substituting libxslt 1.1.24 (rev 49182), same segfault installing gnome-doc-utils.
libxslt 1.1.23 (rev 39719) wouldn't compile.
Anyone have a workaround that works to suggest?
comment:11 Changed 15 years ago by karoly@…
It looks like "--stringparam db2omf.dtd" is missing a value in the troublesome command, so there is a problem with gnome-doc-utils as well. Segfaulting is somewhat suboptimal error reporting from xsltproc. Note that the version that ships with Snow Leopard handles this (slightly) better.
comment:14 Changed 15 years ago by jmroot (Joshua Root)
Cc: | devans@… jeremyhu@… added |
---|---|
Owner: | changed from macports-tickets@… to nox@… |
Port: | libxslt gnome-doc-utils added |
comment:15 Changed 15 years ago by nox@…
Port: | libxml2 added; libxslt gnome-doc-utils removed |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Version: | 1.8.2 |
The segfault was happening in xmlParserInputBufferCreateFilename, which is a libxml2 function. I upgraded to libxml2 to 2.7.7 and the problem disappeared. Please run sudo port upgrade libxml2
and try again.
comment:16 Changed 15 years ago by chalin@…
Doing "sudo port upgrade libxml2" has no effect for me (as libxml2 is already up-to-date).
> sudo port upgrade libxml2 > port installed | grep libxml2 libxml2 @2.7.6_0 (active) py26-libxml2 @2.6.21_0 (active)
I still cannot install gnome-doc-utils (I get the same segmentation fault).
comment:17 follow-up: 19 Changed 15 years ago by nox@…
You think it is up-to-date. It is not. Latest version is 2.7.7, please run sudo port sync
.
comment:18 Changed 15 years ago by chalin@…
You're right! Still learning the ropes with Mac Ports. Thanks. sync followed by an update of libxml2 does indeed allow me to build gnome-doc-utils.
comment:20 Changed 15 years ago by mzucker (Matt Zucker)
Works for me after updating libxml2 as well.
Cc Me!