<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>2536</bug_id>
          
          <creation_ts>2012-06-04 09:03:25 +0000</creation_ts>
          <short_desc>Generate meta-toolchain by &apos;bitbake meta-toolchain&apos; missing libcurl.so.4</short_desc>
          <delta_ts>2012-06-05 10:11:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>ADT</product>
          <component>adt</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Jessica">jessica.zhang</assigned_to>
          <cc>hongnax.xu</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>liang.li2</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>21811</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2012-06-04 09:03:25 +0000</bug_when>
    <thetext>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 &apos;bitbake meta-toolchain&apos; to build meta-toolchain tarball (NOT gmae). Decompress the tarball to the host and launch qemu images. The image can&apos;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&apos; 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 &quot;root=/dev/hda rw console=ttyS0 console=tty ip=192.168.7.2::192.168.7.1:255.255.255.0 mem=128M &quot;
/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&apos; not found (required by /usr/lib/x86_64-linux-gnu/libcurl.so.4)
Set &apos;tap0&apos; nonpersistent
Releasing lockfile of preconfigured tap device &apos;tap0&apos;
############

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

&apos;bitbake meta-toolchain-gmae&apos; doesn&apos;t have this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21818</commentid>
    <comment_count>1</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2012-06-04 19:23:57 +0000</bug_when>
    <thetext>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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21839</commentid>
    <comment_count>2</comment_count>
    <who name="Hongna Xu">hongnax.xu</who>
    <bug_when>2012-06-05 09:06:26 +0000</bug_when>
    <thetext>jessica:
   I can&apos;t reproduce the issue, and Yi will update the comment later.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21841</commentid>
    <comment_count>3</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2012-06-05 10:11:36 +0000</bug_when>
    <thetext>I tested for arm, mips, and ppc with clean source on Ubuntu 11.10 and 12.04, this issue can&apos;t reporduced</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>