Bug 2849 - x86-64 bitbake core-image-sato fails due to libxcb not compiling
Summary: x86-64 bitbake core-image-sato fails due to libxcb not compiling
Status: VERIFIED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3 M3
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-07-27 14:25 UTC by Laurentiu Serban
Modified: 2012-08-13 21:26 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
libxcb bug (22.90 KB, application/octet-stream)
2012-07-27 14:25 UTC, Laurentiu Serban
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurentiu Serban 2012-07-27 14:25:48 UTC
Created attachment 663 [details]
libxcb bug

commit 0ffb02eec2beaea27ff0ec9d3d31b0a09e675a4c
bitbake core-image-sato fails with 

ERROR: Function failed: do_compile (see /home/lserban/work/master/build/tmp/work/x86_64-poky-linux/libxcb-1.8.1-r0/temp/log.do_compile.26564 for further information)
ERROR: Logfile of failure stored in: /home/lserban/work/master/build/tmp/work/x86_64-poky-linux/libxcb-1.8.1-r0/temp/log.do_compile.26564
Log data follows:
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make
| Making all in src
| make[1]: Entering directory `/home/lserban/work/master/build/tmp/work/x86_64-poky-linux/libxcb-1.8.1-r0/libxcb-1.8.1/src'
| /bin/python ./c_client.py -p /home/lserban/work/master/build/tmp/sysroots/qemux86-64//home/lserban/work/master/build/tmp/sysroots/qemux86-64//usr/lib/python2.7/site-packages /home/lserban/work/master/build/tmp/sysroots/qemux86-64//home/lserban/work/master/build/tmp/sysroots/qemux86-64//usr/share/xcb/xproto.xml
|
| Failed to load the xcbgen Python package!
| Make sure that xcb/proto installed it on your Python path.
| If not, you will need to create a .pth file or define $PYTHONPATH
| to extend the path.
| Refer to the README file in xcb/proto for more info.
|
| Traceback (most recent call last):
|   File "./c_client.py", line 2307, in <module>
|     from xcbgen.state import Module
| ImportError: No module named xcbgen.state
| make[1]: *** [xproto.c] Error 1
| make[1]: Leaving directory `/home/lserban/work/master/build/tmp/work/x86_64-poky-linux/libxcb-1.8.1-r0/libxcb-1.8.1/src'
| make: *** [all-recursive] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /home/lserban/work/master/build/tmp/work/x86_64-poky-linux/libxcb-1.8.1-r0/temp/log.do_compile.26564 for further information)
NOTE: package libxcb-1.8.1-r0: task do_compile: Failed
ERROR: Task 3955 (/home/lserban/work/master/meta/recipes-graphics/xcb/libxcb_1.8.1.bb, do_compile) failed with exit code '1'
Waiting for 7 running tasks to finish:
0: linux-yocto-3.4.4+git1+949fddda61053cc15e46c015e8f7db17e7b33360_1+6297e4c1d57e1063bfce297c2e12392348598559-r4.0 do_install (pid 18301)

Logs attached
Comment 1 Richard Purdie 2012-07-29 09:39:00 UTC
This looks like we need to point this script at "our" python-native rather than the system provided python.
Comment 3 Laurentiu Serban 2012-08-13 21:26:07 UTC
Verified in 2dec760b79bb7e2e79c33c5127fa64685bd86a18