On 09.09.2012 08:19, Michael C. Robinson wrote: > > First, if mounting /home via NFS make sure to put nolock after rw in > /etc/fstab. > > I'm trying to set up gnome 3 where the first instruction is to install > dbus-python-1.1.1. One of the > tests fails, the one that involves utf8. > > test_utf8 (__main__.TestMessageMarshalling) ... ERROR > ====================================================================== > ERROR: test_utf8 (__main__.TestMessageMarshalling) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/home/michael/dbus-python-1.1.1/test/test-standalone.py", > line 451, in test_utf8 > uni(0x0001FFFE), > File "/home/michael/dbus-python-1.1.1/test/test-standalone.py", > line 437, in uni > return unichr(x) > ValueError: unichr() arg not in range(0x10000) (narrow Python build) > > ---------------------------------------------------------------------- > Ran 31 tests in 0.009s > > FAILED (errors=1) > ./run-test.sh: test-standalone.py failed > killing message bus 686 > /home/michael/dbus-python-1.1.1/test/run-with-tmp-session-bus.sh: > script "./run-test.sh" failed > FAIL: run-test.sh > PASS: test-import-repeatedly > ======================================================================================== > 1 of 2 tests failed > Please report to > http://bugs.freedesktop.org/enter_bug.cgi?product=dbus&component=python > ======================================================================================== > make[2]: *** [check-TESTS] Error 1 > make[2]: Leaving directory `/home/michael/dbus-python-1.1.1/test' > make[1]: *** [check-am] Error 2 > make[1]: Leaving directory `/home/michael/dbus-python-1.1.1/test' > make: *** [check-recursive] Error 1 > >
I think it has something to do with python 2 installation. Mine tests have passed, and I use 32bit unicode, while defualt build and the one that's used in BLFS uses either 8bit or 16bit unicode (not sure which one) ... In order to use 32bit unicode you'd need to pass --enable-unicode=ucs4 to python 2 configure line. Doing that, you'd need to recompile any python bindings installed later since it isn't going to be ABI compatible. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
