Bug 2213

Summary: [baryon] samba needs python 2.6 to pass do_configure
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Jiajun Xu <jiajun.xu>
Component: coreAssignee: Kevin Strasser <kevin.strasser>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, meta.mr.watcher, meta.watcher, sgw
Version: unspecified   
Target Milestone: 1.3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Jiajun Xu 2012-03-31 08:23:37 UTC
tree/branch: poky/master
commit: 7b01671f54f70c28c98457058c51ffefcb07c0e8

With latest master, we failed to build baryon against poky due to qa_configure error. recipe samba needs python 2.6 but latest poky only provides python 2.7, then samba uses host python during do_configure, which cause qa_configure report error.

Error log as below:
########
checking for getaddrinfo... yes
configure: error: in `/home/jxu49/osel/IDF/build/tmp/work/core2-poky-linux/samba-3.5.6-r0/samba-3.5.6/source3':
configure: error: cannot run test program while cross compiling
See `config.log' for ERROR: Function failed: do_configure (see /home/jxu49/osel/IDF/build/tmp/work/core2-poky-linux/samba-3.5.6-r0/temp/log.do_configure.14650 for further information)
more details.
ERROR: oe_runconf failed
########
Comment 1 Kevin Strasser 2012-09-11 00:23:13 UTC
This issue appears to have been resolved when the samba package was synced with meta-oe (see commit 97b1f6bd3fd1cccceb00ce0f1e5c4835fee50597).