[oe] python-scons-native fails building

Søren Holm sgh at sgh.dk
Mon Apr 25 15:04:03 UTC 2011


Hi

It seems like python-scons-native does not correctly depend on python-native.

After doing "rm -rf tmp" I have tried building python-scons-native (bitbake python-scons-native), but it gives me this :

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)
ERROR: Logfile of failure stored in: /home/sgh/oe-new-oe/build-vmc16/tmp/work/x86_64-linux/python-scons-native-1.3.0-r1/temp/log.do_compile.26596
Log data follows:
| 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.'

The weird thing is that " bitbake -e -b recipes/python/python-scons-native_1.2.0.bb | grep DEPENDS=" gives me this :
  DEPENDS="linux-libc-headers-native python-native"

So python-native should be build, but it isn't. Building python-native prior to python-scons-native works fine.

So it boils down to

## python-scons-native does not build
$ rm -rf tmp
$ bitbake python-scons-native


## python-scons-native builds fine
$ rm -rf tmp
$ bitbake python-native
$ bitbake python-scons-native

Any hints on what might be wrong.

--
Søren Holm




More information about the Openembedded-devel mailing list