Wind River Support Network

HomeDefectsOVP-1713
Fixed

OVP-1713 : python-dateutil: builds can fail

Created: Mar 4, 2014    Updated: Mar 11, 2016
Resolved Date: Mar 4, 2014
Found In Version: 5.0.1.11
Fix Version: 5.0.1.14,6.0
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

While  building python-dateutil it is possible to see the following error:

    {...}/tmp/work/x86_64-wrs-linux/python-dateutil-2.1-0/temp/do_compile/run.do_compile.4909: 104:
    {...}run.do_compile.4909: {...}/tmp/sysroots/x86_64-linux/usr/bin/python-native/python: not found
    | ERROR: python setup.py build_ext execution failed.

This is caused by a 'DEPENDS =' being defined after some lines of 'inherit' thus overwriting any DEPENDS assignments set in the inherits.

Workaround

Build another package which will ensure python-native is populated in the sysroot.

Steps to Reproduce

bitbake python-dateutil
rm -rf tmp
bitbake python-dateutil -c compile

Other Downloads


Live chat
Online