[OE-core] target python problems

Richard Purdie richard.purdie at linuxfoundation.org
Thu Jul 14 14:56:27 UTC 2011


On Wed, 2011-07-13 at 13:07 +0200, Koen Kooi wrote:
> After a recent update to python (the past week by the looks of it)
> python modules only install the .so files and not the .py and .pyo
> files anymore. This leads to breakge like this:
> 
> root at usrp-e1xx:~# opkg install python-dbus --force-reinstall
> Removing package python-dbus from root...
> Installing python-dbus (0.83.2-r0) to root...
> Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/python/python-dbus_0.83.2-r0_armv7a.ipk.
> Configuring python-dbus.
> 
> root at usrp-e1xx:~# systemd-analyze blame
> Could not find platform independent libraries <prefix>
> Could not find platform dependent libraries <exec_prefix>
> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> 'import site' failed; use -v for traceback
> Traceback (most recent call last):
>   File "/usr/bin/systemd-analyze", line 3, in <module>
>     import dbus, sys
> ImportError: No module named dbus
> 
> Prior to the 'opkg upgrade' yesterday systemd-analyze blame was working properly

I merged a fix to a python patch which should have addressed this...

Cheers,

Richard





More information about the Openembedded-core mailing list