<?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>4133</bug_id>
          
          <creation_ts>2013-03-27 12:49:17 +0000</creation_ts>
          <short_desc>Toolchain fails to extract</short_desc>
          <delta_ts>2013-03-27 12:57:51 +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.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>4131</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Laurentiu Palcu">laurentiu.palcu</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.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>31233</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-03-27 12:49:17 +0000</bug_when>
    <thetext>I accidently tried to install an i586 toolchain on my x86_64 machine and it showed:

$ ./poky-eglibc-x86_64-i586-toolchain-1.3+snapshot-20130326.sh
Enter target directory for SDK (default: /opt/poky/1.3+snapshot): /tmp/rp456
You are about to install the SDK to &quot;/tmp/rp456&quot;. Proceed[Y/n]?y
Extracting SDK...done
Setting it up...Traceback (most recent call last):
  File &quot;/tmp/rp456/relocate_sdk.py&quot;, line 208, in &lt;module&gt;
    arch = get_arch()
  File &quot;/tmp/rp456/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!

which isn&apos;t a nice failure mode. Being self contained, it should even install and work correctly in this case as it would likely work!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31234</commentid>
    <comment_count>1</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2013-03-27 12:57:51 +0000</bug_when>
    <thetext>I&apos;m working on 4131 already.

*** This bug has been marked as a duplicate of bug 4131 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>