<?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>4131</bug_id>
          
          <creation_ts>2013-03-27 10:21:45 +0000</creation_ts>
          <short_desc>error when installing the cross toolchain</short_desc>
          <delta_ts>2013-04-11 11:29:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Eclipse Plugin</product>
          <component>eclipse-plugin</component>
          <version>1.4</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.4 M6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Georgescu">alexandru.c.georgescu</reporter>
          <assigned_to name="Laurentiu Palcu">laurentiu.palcu</assigned_to>
          <cc>corneliux.stoicescu</cc>
    
    <cc>ioanax.grigoropol</cc>
    
    <cc>laurentiu.palcu</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>yp.ep.watcher</cc>
    
    <cc>yp.watcher</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>31223</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-03-27 10:21:45 +0000</bug_when>
    <thetext>poky:bdca49274173153b1b0a72887de6321b4756b684
TOOLCHAIN:http://autobuilder.yoctoproject.org/pub/nightly/20130327-1/toolchain/x86_64/poky-eglibc-x86_64-x86_64-toolchain-gmae-1.3+snapshot-20130327.sh

STEPS TO REPRODUCE:
1. Download the above toolchain and try to install it like the following:

[tester@yocto-asus tmp2]$ bash poky-eglibc-x86_64-x86_64-toolchain-gmae-1.3+snapshot-20130327.sh 
Enter target directory for SDK (default: /opt/poky/1.3+snapshot): ./abilder
You are about to install the SDK to &quot;/home/tester/tmp2/abilder&quot;. Proceed[Y/n]?y
Extracting SDK...done
Setting it up...Traceback (most recent call last):
  File &quot;/home/tester/tmp2/abilder/relocate_sdk.py&quot;, line 208, in &lt;module&gt;
    arch = get_arch()
  File &quot;/home/tester/tmp2/abilder/relocate_sdk.py&quot;, line 39, in get_arch
    ei_mag0,ei_mag1_3,ei_class = struct.unpack(&quot;&lt;B3sB11x&quot;, e_ident)
struct.error: unpack requires a string argument of length 16
SDK could not be set up. Relocate script failed. Abort!
[tester@yocto-asus tmp2]$ 

EXPECTED RESULTS:
The toolchain is installed successfully

ACTUAL RESULTS:
The installation is stopped by some errors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31225</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-03-27 10:38:35 +0000</bug_when>
    <thetext>I&apos;ve tested this on Fedora 17 64bit and UBuntu 12.10 64bit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31235</commentid>
    <comment_count>2</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2013-03-27 12:57:51 +0000</bug_when>
    <thetext>*** Bug 4133 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31286</commentid>
    <comment_count>3</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2013-03-29 07:58:44 +0000</bug_when>
    <thetext>Patch sent on the ML.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31413</commentid>
    <comment_count>4</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2013-04-03 06:48:25 +0000</bug_when>
    <thetext>The patch has been merged:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=688c4e84623369199baaf821430373ce28ecb66a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31910</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-04-11 11:29:46 +0000</bug_when>
    <thetext>Verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>