On 24/10/2017 17:56, Bruce Dubbs wrote:
Pierre Labastie wrote:
Hi,

I have recompiled libxml2 and itstool with python3 support,
and now I am trying gnome-desktop (the recent version). I get:
---
[...]
   GEN    zh_CN/
   GEN    de/
   GEN    sv/
/bin/sh: line 4: 13925 Segmentation fault      itstool -m "${mo}"
${d}/C/index.docbook
make[4]: *** [Makefile:589: de/de.stamp] Error 139
[...]
---

I wonder whether there is something more needed to use python3 with itstool.

Which version of itstool?  2.0.4?
Yes

The -dev book is inconsistent.  We have Python-2.7.14 as a required dep and then
Exact. I have both python2 and 3 installed.

PYTHON=/usr/bin/python3 ./configure --prefix=/usr
I used that.

As of whether the itstool page should be amended, I agree, but I do not think that explains the error...

I've verified: the first line of the installed /usr/bin/itstool script is "#!/usr/bin/python3 -s", so everything seems consistent.

Maybe try with make -j1 (I have a default of -j8). Nope, same error. Actually, the segfault is in python3. That shouldn't happen, even if the python script is bogus!

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