[oe] [PATCH 68/77] systemd: add target python to depends
Anders Darander
anders at chargestorm.se
Thu Dec 6 05:48:53 UTC 2012
* Martin Jansa <martin.jansa at gmail.com> [121205 19:32]:
> * pythonnative adds only python-native to DEPENDS, but we need target python for working python-config
> checking for python-config... /OE/jansa-test/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/python-native/python-config
> Traceback (most recent call last):
> File "/OE/jansa-test/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/python-native/python-config", line 24, in <module>
> pyver = sysconfig.get_config_var('VERSION')
> File "/OE/jansa-test/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py", line 602, in get_config_var
> return get_config_vars().get(name)
> File "/OE/jansa-test/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py", line 518, in get_config_vars
> func()
> File "/OE/jansa-test/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py", line 416, in _init_posix
> raise DistutilsPlatformError(my_msg)
> distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /OE/jansa-test/shr-core/tmp-eglibc/sysroots/om-gta02/usr/lib/python2.7/config/Makefile (No such file or directory)
Which steps are introducing these errors?
I'm curious as systemd has been built without this native python
previously, and we're also adding --without-python to EXTRA_OECONF.
Thus, to me it seems fishy if we should need to add that depends.
Though, there might be a good reason, I guess.
As usual I'm slightly worried about build time...
Cheers,
Anders
--
Anders Darander
ChargeStorm AB / eStorm AB
More information about the Openembedded-devel
mailing list