Bug 2305

Summary: qemu-nativesdk: can't find libcurl.so.4
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Robert Yang <liezhi.yang>
Component: devtools / tool chainAssignee: Robert Yang <liezhi.yang>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, meta.mr.watcher, meta.watcher, Qi.Chen, richard.purdie, sgw, zhenfeng.zhao
Version: 1.3   
Target Milestone: 1.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Robert Yang 2012-04-16 14:50:05 UTC
On Ubuntu 10.10 32bit:

MACHINE ?= "qemumips"
$ bitbake core-image-sato meta-toolchain-sdk

| eds-dbus-dev                ##################################################
| Installing NATIVESDK packages
| Processing task-sdk-host-nativesdk...
| Processing task-cross-canadian-mips...
| error: Failed dependencies:
|       libcurl.so.4 is needed by qemu-nativesdk-0.15.1-r5.i686
NOTE: package meta-toolchain-gmae-1.0-r7: task do_populate_sdk: Failed
ERROR: Task 21 (/buildarea2/lyang1/poky/meta/recipes-core/meta/meta-toolchain-gmae.bb, do_populate_sdk) failed with exit code '1' 

This is because curl-native generates libcurl.so.4, but curl-nativesdk
generates libcurl.so.4, I think that fix the DEPENDS would fix the problem
Comment 2 Robert Yang 2012-08-13 12:12:06 UTC
Noticed this problem again, we had added the --disable-curl to EXTRA_OECONF, but there is an EXTRA_OECONF_virtclass-nativesdk += "foo", the "EXTRA_OECONF_virtclass-nativesdk +=" equals to "EXTRA_OECONF_virtclass-nativesdk =" (the "+" has no effect here), so we should add the "--disable-curl" to EXTRA_OECONF_virtclass-nativesdk.
Comment 4 Chen Qi 2012-08-27 02:15:37 UTC
verified in master branch 8b8748c8f963900b83dc0fdd7757556f917fe4fd
Comment 5 Chen Qi 2012-08-29 02:03:29 UTC
verified in master branch 8b8748c8f963900b83dc0fdd7757556f917fe4fd