<?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>805</bug_id>
          
          <creation_ts>2011-03-04 01:07:17 +0000</creation_ts>
          <short_desc>opkg in adt-installer can not handle long link name in ipk file</short_desc>
          <delta_ts>2011-03-12 17:06:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lianhao Lu">lianhao.lu</reporter>
          <assigned_to name="liping Ke">liping.ke</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</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>12289</commentid>
    <comment_count>0</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-03-04 01:07:17 +0000</bug_when>
    <thetext>The opkg included in the adt-installer is version 0.1.8, which has a bug of can not corrected handle the long link name of tar header when install a ipk file. This cause the corrupted installation of binutils-cross-canadian-arm.

opkg upstream had such fixing in SVN trunk, the adt-installer should use the SVN tip version instead of the version 0.1.8.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12291</commentid>
    <comment_count>1</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2011-03-04 01:34:50 +0000</bug_when>
    <thetext>I need some time to make the SRC_URL = svn trunk works.

After update the opkg, the problem like below should be gone.



Configuring binutils-cross-canadian-arm.
Collected errors:
* extract_archive: Cannot link from ./opt/poky/0.9+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/armv5te-poky-linux-gnueabi/arm-poky-linux-gnueabi-ld to &apos;./opt/poky/0.9+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/armv5te-poky-linux-gnueabi/arm-poky-li&apos;:Installing gcc for arm ...
Installing gcc-cross-canadian-arm (4.5.1-r3) to root...
Downloading http://adtrepo.yoctoproject.org/1.0/adt-ipk/x86_64-nativesdk/gcc-cross-canadian-arm_4.5.1-r3_x86_64-nativesdk.ipk.
Installing elfutils-nativesdk (0.148-r1) to root...
Downloading http://adtrepo.yoctoproject.org/1.0/adt-ipk/x86_64-nativesdk/elfutils-nativesdk_0.148-r1_x86_64-nativesdk.ipk.
Installing libmpfr4 (3.0.0-r0) to root...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12335</commentid>
    <comment_count>2</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2011-03-07 17:23:03 +0000</bug_when>
    <thetext>The fix patch is already in upstream distro/bernard in poky-contrib.git

http://git.pokylinux.org/cgit/cgit.cgi/poky-contrib/commit/?h=distro/bernard&amp;id=d746600f563e02955a9e43ccbc11e73bf1611b21</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12531</commentid>
    <comment_count>3</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-03-12 17:06:28 +0000</bug_when>
    <thetext>verified against latest bernard branch</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>