[oe-commits] Paul Menzel : python-scons_1.3.0: add `python-native` to `DEPENDS_virtclass-native`

git at git.openembedded.org git at git.openembedded.org
Tue Mar 27 11:14:15 UTC 2012


Module: openembedded.git
Branch: sledz/pull3
Commit: 8c581985c4eb9edd0843595fb0b735f70a899c48
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=8c581985c4eb9edd0843595fb0b735f70a899c48

Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date:   Mon Apr 25 17:18:07 2011 +0200

python-scons_1.3.0: add `python-native` to `DEPENDS_virtclass-native`

A clean build fails with the following error [1].

| ERROR: Function 'do_compile' failed (see /home/sgh/oe-new-oe/build-vmc16/tmp/work/x86_64-linux/python-scons-native-1.3.0-r1/temp/log.do_compile.26596 for further information)
| + cd /home/sgh/oe-new-oe/build-vmc16/tmp/work/x86_64-linux/python-scons-native-1.3.0-r1/scons-1.3.0
| + do_compile
| + distutils_do_compile
| + STAGING_INCDIR=/home/sgh/oe-new-oe/build-vmc16/tmp/sysroots/x86_64-linux/usr/include
| + STAGING_LIBDIR=/home/sgh/oe-new-oe/build-vmc16/tmp/sysroots/x86_64-linux/usr/lib
| + BUILD_SYS=x86_64-linux
| + HOST_SYS=x86_64-linux
| + /home/sgh/oe-new-oe/build-vmc16/tmp/sysroots/x86_64-linux/usr/bin/python setup.py build
| /home/sgh/oe-new-oe/build-vmc16/tmp/work/x86_64-linux/python-scons-native-1.3.0-r1/temp/run.do_compile.26596: line 94: /home/sgh/oe-new-oe/build-vmc16/tmp/sysroots/x86_64-linux/usr/bin/python: No such file or directory
| + oefatal 'python setup.py build_ext execution failed.'
| + echo FATAL: 'python setup.py build_ext execution failed.'

Adding `python-native` to `DEPENDS_virtclass-native` as suggested in [1] and done for `python-scons-native_1.2.0` fixes the issue.

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-April/032180.html

Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
Acked-by: Søren Holm <sgh at sgh.dk>

---

 recipes/python/python-scons_1.3.0.bb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/recipes/python/python-scons_1.3.0.bb b/recipes/python/python-scons_1.3.0.bb
index 82231f2..5a412cb 100644
--- a/recipes/python/python-scons_1.3.0.bb
+++ b/recipes/python/python-scons_1.3.0.bb
@@ -2,6 +2,7 @@ DESCRIPTION = "A Software Construction Tool"
 SECTION = "devel/python"
 PRIORITY = "optional"
 LICENSE = "MIT"
+DEPENDS_virtclass-native = "python-native"
 SRCNAME = "scons"
 PR = "r1"
 





More information about the Openembedded-commits mailing list