Le 08/11/2014 21:33, Lfs User a écrit :
> Am I the only one segfaulting here?
> 
> virtualbox, LFS 7.6, BLFS dev, install libxml2 and libxslt (I also have
> docbook-xml-4.5 and docbook-xsl-1.78.1) then try to rebuild eudev in BLFS, the
> specific way to repro:
> cd eudev-1.10/man; make udev.7
> 
> lfs76:/sources/blfs/eudev-1.10/man make udev.7
> /usr/bin/xsltproc -o udev.7 --nonet --stringparam man.output.quietly 1
> --stringparam funcsynopsis.style ansi --stringparam man.th.extra1.suppress 1
> --stringparam man.authors.section.enabled 0 --stringparam
> man.copyright.section.enabled 0
> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl 
> udev.xml
> Catalog error : Detected recursion in catalog
> http://docbook.sourceforge.net/release/xsl/1.78.1
> Makefile:683: recipe for target 'udev.7' failed
> make: *** [udev.7] Segmentation fault
> 
> 
> from /var/log/kern.log:
> Nov  8 12:16:44 lfs76 kernel: [1651535.767021] xsltproc[375]: segfault at
> bf5ceff8 ip b751c8ee sp bf5ceffc error 6 in libxml2.so.2.9.2[b7481000+176000]
> 
> uname -a
> Linux lfs76 3.16.2 #2 SMP Mon Oct 20 10:28:56 PDT 2014 i686 GNU/Linux
> 
> tests on libxml2 all pass
> tests from libxslt have a few issues like
> make[4]: Entering directory '/sources/blfs/libxslt-1.1.28/tests/general'
> ## Running general tests
> bug-110 result
> 0a1
>> ./../docs/bug-110.xml:1: element elem: validity error : ID id0 already 
>> defined
> bug-180 result
> 3,4d2
> < XPath error : Stack usage errror
> < xmlXPathCompiledEval: 1 objects left on the stack.
> ## Running general tests without dictionaries
> bug-110 result
> 0a1
>> ./../docs/bug-110.xml:1: element elem: validity error : ID id0 already 
>> defined
> bug-180 result
> 3,4d2
> < XPath error : Stack usage errror
> < xmlXPathCompiledEval: 1 objects left on the stack.
> 
> and then:
> ## Running docbook tests
> make single
> make[5]: Entering directory '/sources/blfs/libxslt-1.1.28/tests/docbook'
> gdp-handbook.xml : html element a: validity error : ID intro already defined
> element a: validity error : ID gdp already defined
> <lots more of these validity errors>
> 
> Any suggestions?
> Thanks.
> 
> 
I had this error on libxml2-2.9.2, before applying the sed, which is now in
BLFS-SVN:
----------
sed \
  -e /xmlInitializeCatalog/d \
  -e 's/((ent->checked =.*&&/(((ent->checked == 0) ||\
          ((ent->children == NULL) \&\& (ctxt->options \& XML_PARSE_NOENT)))
\&\&/' \
  -i parser.c
----------
Actually, infinite recusion in xmlcatalog is solved by the first -e line

Pierre
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to