The build failed and a Python error occurred (see The following log) and a pop-up dialog box (Python unexpectedly exits when using the libpython2.7.dylib plug-in)
Does anyone know how to solve this problem?
--------------
Making all in doc
Making all in gnome-doc-make
XML2PO de/gnome-doc-make.xml
XML2PO de/legal.xml
XML2PO de/make-ref.xml
Fatal Python error: PyThreadState_Get: no current thread
Fatal Python error: PyThreadState_Get: no current thread
Fatal Python error: PyThreadState_Get: no current thread
/bin/sh: line 1: 85775 Abort trap: 6 PYTHONPATH="/Users/dhj/gtk/ source/gnome-doc-utils-0.20.10/doc/gnome-doc-make/../../xml2po:/Users/dhj/gtk/source/gnome-doc-utils-0.20.10/doc/gnome -doc-make/../../xml2po:/Users/dhj/gtk/inst/lib/python2.7:/Users/dhj/gtk/inst/lib/python2.7/site-packages/gtk-2.0 :/Users/dhj/gtk/inst/lib/python2.7/site-packages" "/Users/dhj/gtk/source/gnome-doc-utils-0.20.10/doc/gnome-doc-make/.. /../xml2po/xml2po/xml2po" -m docbook -e -t "${mo}" "${d}C/make-ref.xml"> make-ref.xml.tmp
make[ 2]: *** [de/make-ref.xml] Error 134
make[2]: *** Waiting for unfinished jobs....
/bin/sh: l ine 1: 85767 Abort trap: 6 PYTHONPATH="/Users/dhj/gtk/source/gnome-doc-utils-0.20.10/doc/gnome-doc-make/../../xml2po:/Users/dhj /gtk/source/gnome-doc-utils-0.20.10/doc/gnome-doc-make/../../xml2po:/Users/dhj/gtk/inst/lib/python2.7:/Users/dhj /gtk/inst/lib/python2.7/site-packages/gtk-2.0:/Users/dhj/gtk/inst/lib/python2.7/site-packages" "/Users/dhj/gtk/source/gnome- doc-utils-0.20.10/doc/gnome-doc-make/../../xml2po/xml2po/xml2po" -m docbook -e -t "${mo}" "${d}C/gnome- doc-make.xml"> gnome-doc-make.xml.tmp
make[2]: *** [de/gnome-doc-make.xml] Error 134
/bin/sh: line 1: 85773 Abort trap: 6 PYTHONPATH="/Users/dhj/gtk/source/gnome-doc-utils-0.20.10/doc/gnome-doc-make/../../xml2po:/Users/dhj /gtk/source/gnome-doc-utils-0.20.10/doc/gnome-doc-make/../../xml2po:/Users/dhj/gtk/inst/lib/python2.7:/Users/dhj /gtk/inst/lib/python2.7/site-packages/gtk-2.0:/Users/dhj/gtk/inst/lib/python2.7/site-packages" "/Users/dhj/gtk/source/gnome- doc-utils-0.20.10/doc/gnome-doc-make/../../xm l2po/xml2po/xml2po" -m docbook -e -t "${mo}" "${d}C/legal.xml"> legal.xml.tmp
make[2]: *** [de /legal.xml] Error 134
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
I think I am a punished glutton. I am trying (Again) Install gk on my Mac so that I can experiment from Haskell. I followed the instructions at http://www.gtk.org/download/macos.php and I am at the jhbuild build meta-gtk- In the middle of the osx-bootstrap stage
Build failed with Python error (see log below) and pop-up dialog box (Python exited unexpectedly when using libpython2.7.dylib plugin)
Does anyone know how to solve this problem?
--------------
Making all in doc
Making all in gnome-doc-make
XML2PO de/gnome-doc-make.xml
XML2PO de/legal.xml
XML2PO de/make-ref.xml
Fatal Python error: PyThreadState_Get: no current thread
Fatal Python error: PyThreadState_Get: no current thread
Fatal Python error: PyThreadState_Get: no current thread
/bin/sh: line 1: 85775 Abort trap: 6 PYTHONPATH="/Users/dhj/gtk/ source/gnome-doc-utils-0.20.10/doc/gnome-doc-make/../../xml2po:/Users/dhj/gtk/source/gnome-doc-utils-0.20.10/doc/gnome -doc-make/../../xml2po:/Users/dhj/gtk/inst/lib/python2.7:/Users/dhj/gtk/inst/lib/python2.7/site-packages/gtk-2.0 :/Users/dhj/gtk/inst/lib/python2.7/site-packages" "/Users/dhj/gtk/source/gnome-doc-utils-0.20.10/doc/gnome-doc-make/.. /../xml2po/xml2po/xml2po" -m docbook -e -t "${mo}" "${d}C/make-ref.xml"> make-ref.xml.tmp
make[ 2]: *** [de/make-ref.xml] Error 134
make[2]: *** Waiting for unfinished jobs....
/bin/sh: lin e 1: 85767 Abort trap: 6 PYTHONPATH="/Users/dhj/gtk/source/gnome-doc-utils-0.20.10/doc/gnome-doc-make/../../xml2po:/Users/dhj /gtk/source/gnome-doc-utils-0.20.10/doc/gnome-doc-make/../../xml2po:/Users/dhj/gtk/inst/lib/python2.7:/Users/dhj /gtk/inst/lib/python2.7/site-packages/gtk-2.0:/Users/dhj/gtk/inst/lib/python2.7/site-packages" "/Users/dhj/gtk/source/gnome- doc-utils-0.20.10/doc/gnome-doc-make/../../xml2po/xml2po/xml2po" -m docbook -e -t "${mo}" "${d}C/gnome- doc-make.xml"> gnome-doc-make.xml.tmp
make[2]: *** [de/gnome-doc-make.xml] Error 134
/bin/sh: line 1: 85773 Abort trap: 6 PYTHONPATH="/Users/dhj/gtk/source/gnome-doc-utils-0.20.10/doc/gnome-doc-make/../../xml2po:/Users/dhj /gtk/source/gnome-doc-utils-0.20.10/doc/gnome-doc-make/../../xml2po:/Users/dhj/gtk/inst/lib/python2.7:/Users/dhj /gtk/inst/lib/python2.7/site-packages/gtk-2.0:/Users/dhj/gtk/inst/lib/python2.7/site-packages" "/Users/dhj/gtk/source/gnome- doc-utils-0.20.10/doc/gnome-doc-make/../../xml2 po/xml2po/xml2po" -m docbook -e -t "${mo}" "${d}C/legal.xml"> legal.xml.tmp
make[2]: *** [de /legal.xml] Error 134
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
When I encountered this problem, it was because of some strange Python version on my machine. The simple solution is to run jhbuild build meta-gtk-osx-bootstrap before running jhbuild build python so that the environment has the expected expected version.