Still building rev 44630, generic desktop, x86_64 x32.

It failed at glib, stage-0.

ERROR-LOG complained that a symbol is missing from pyexpat.so:

---------------
Making all in tests
make[4]: Entering directory
'/mnt/sda5/projects/t2-trunk-SVN44630-13JAN2016/src.glib.quirkyx64abi32.20160114.002849.29933.puppypc21856/glib-2.42.2/gio/tests'
  GEN      gdbus-test-codegen-generated.h
Traceback (most recent call last):
  File "../../gio/gdbus-2.0/codegen/gdbus-codegen", line 37, in <module>
    from codegen import codegen_main
  File 
"/mnt/sda5/projects/t2-trunk-SVN44630-13JAN2016/src.glib.quirkyx64abi32.20160114.002849.29933.puppypc21856/glib-2.42.2/gio/gdbus-2.0/codegen/codegen_main.py",
line 28, in <module>
    from . import parser
  File 
"/mnt/sda5/projects/t2-trunk-SVN44630-13JAN2016/src.glib.quirkyx64abi32.20160114.002849.29933.puppypc21856/glib-2.42.2/gio/gdbus-2.0/codegen/parser.py",
line 23, in <module>
    import xml.parsers.expat
  File 
"/mnt/sda5/projects/t2-trunk-SVN44630-13JAN2016/build/quirkyx64abi32-9.0-svn-generic-x86-64-x32-linux/TOOLCHAIN/tools.cross/lib/python2.7/xml/parsers/expat.py",
line 4, in <module>
    from pyexpat import *
ImportError: 
/mnt/sda5/projects/t2-trunk-SVN44630-13JAN2016/build/quirkyx64abi32-9.0-svn-generic-x86-64-x32-linux/TOOLCHAIN/tools.cross/lib/python2.7/lib-dynload/pyexpat.so:
undefined symbol: PyUnicodeUCS2_DecodeUTF8
Makefile:4481: recipe for target 'gdbus-test-codegen-generated.h' failed
make[4]: *** [gdbus-test-codegen-generated.h] Error 1
make[4]: Leaving directory
'/mnt/sda5/projects/t2-trunk-SVN44630-13JAN2016/src.glib.quirkyx64abi32.20160114.002849.29933.puppypc21856/glib-2.42.2/gio/tests'
------------------

I "fixed it" by substituting pyexpat.so from the host system.
I'm running Quirky Werewolf, which is built with Ubuntu Wily Werewolf DEBs.
I copied this from the host:
/usr/lib/python2.7/lib-dynload/pyexpat.x86_64-linux-gnu.so
...and renamed and replaced
/quirkyx64abi32-9.0-svn-generic-x86-64-x32-linux/TOOLCHAIN/tools.cross/lib/python2.7/lib-dynload/pyexpat.so

Um, maybe we should just disable the tests when building glib at stage 0?

Regards,
Barry



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to