Bug 2536 - Generate meta-toolchain by 'bitbake meta-toolchain' missing libcurl.so.4
Summary: Generate meta-toolchain by 'bitbake meta-toolchain' missing libcurl.so.4
Status: RESOLVED WORKSFORME
Alias: None
Product: ADT
Classification: Yocto Project Subprojects
Component: adt (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3
Assignee: Jessica
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-06-04 09:03 UTC by Yi Zhao
Modified: 2012-06-05 10:11 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yi Zhao 2012-06-04 09:03:25 UTC
Test env:
host : ubuntu 12.04 x86_64
kernel : 3.2.0-24-generic #39-Ubuntu SMP

git info :348da93e283b2b8454fd9cde80d4b17378e2a168
git branch: poky/master

Run 'bitbake meta-toolchain' to build meta-toolchain tarball (NOT gmae). Decompress the tarball to the host and launch qemu images. The image can't be launched:

##########
$ runqemu qemumips vmlinux-3.2.11+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+3b2fd654392a2f33aed12748548c04e9b169591b-r1-qemumips-20120530171809.bin core-image-sato-qemumips-20120530171809.rootfs.ext3 

Continuing with the following parameters:
KERNEL: [vmlinux-3.2.11+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+3b2fd654392a2f33aed12748548c04e9b169591b-r1-qemumips-20120530171809.bin]
ROOTFS: [core-image-sato-qemumips-20120530171809.rootfs.ext3]
FSTYPE: [ext3]
Setting up tap interface under sudo
Acquiring lockfile for tap0...
WARNING: distccd not present, no distcc support loaded.
/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/qemu-system-mips: /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/libssl.so.1.0.0: version `OPENSSL_1.0.1' not found (required by /usr/lib/x86_64-linux-gnu/libcurl.so.4)
Running qemu-system-mips...
/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/qemu-system-mips -kernel vmlinux-3.2.11+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+3b2fd654392a2f33aed12748548c04e9b169591b-r1-qemumips-20120530171809.bin -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=no,downscript=no -M malta -hda core-image-sato-qemumips-20120530171809.rootfs.ext3 -no-reboot -vga cirrus -show-cursor -usb -usbdevice wacom-tablet -no-reboot -m 128 --append "root=/dev/hda rw console=ttyS0 console=tty ip=192.168.7.2::192.168.7.1:255.255.255.0 mem=128M "
/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/qemu-system-mips: /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/libssl.so.1.0.0: version `OPENSSL_1.0.1' not found (required by /usr/lib/x86_64-linux-gnu/libcurl.so.4)
Set 'tap0' nonpersistent
Releasing lockfile of preconfigured tap device 'tap0'
############

There is no libcurl.so.4 in meta-chain so it will use host instead. Maybe this bug relate with bug 2305. 

'bitbake meta-toolchain-gmae' doesn't have this issue.
Comment 1 Jessica 2012-06-04 19:23:57 UTC
I just git clone a new poky build tree against latest master and do a clean build, everything works fine for me.  Can you do a clean build and see whether the issue still exist?
Comment 2 Hongna Xu 2012-06-05 09:06:26 UTC
jessica:
   I can't reproduce the issue, and Yi will update the comment later.
Comment 3 Yi Zhao 2012-06-05 10:11:36 UTC
I tested for arm, mips, and ppc with clean source on Ubuntu 11.10 and 12.04, this issue can't reporduced