<?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>3135</bug_id>
          
          <creation_ts>2012-09-18 23:19:40 +0000</creation_ts>
          <short_desc>self-extracting relocatable sdk problem installing from a different directory than the installer</short_desc>
          <delta_ts>2012-10-11 09:05:56 +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.3</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>merged</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Khem Raj">raj.khem</reporter>
          <assigned_to name="Laurentiu Palcu">laurentiu.palcu</assigned_to>
          <cc>corneliux.stoicescu</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>25381</commentid>
    <comment_count>0</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2012-09-18 23:19:40 +0000</bug_when>
    <thetext>when I copy the installed into a dir say 

~/sdk

and cd into ~/sdk and run the installed everything works fine

but now say chdir into ~

and then do 

~: sh ~/sdk/poky-eglibc-x86_64-x86_64-toolchain-1.2+snapshot-20120918.sh

it gives errors like below

grep: poky-eglibc-x86_64-x86_64-toolchain-1.2+snapshot-20120918.sh: No such file or directory
Extracting SDK...tail: cannot open `poky-eglibc-x86_64-x86_64-toolchain-1.2+snapshot-20120918.sh&apos; for reading: No such file or directory

bzip2: Compressed file ends unexpectedly;
        perhaps it is corrupted?  *Possible* reason follows.
bzip2: Invalid argument
        Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover&apos; program to attempt to recover
data from undamaged sections of corrupted files.

tar: Child returned status 2
tar: Exiting with failure status due to previous errors
done
Setting it up...sed: no input files


I am fine if its not supported to be installed from other directories
but then we should give a clear message and shut the installed down cleanly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25464</commentid>
    <comment_count>1</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2012-09-20 13:52:25 +0000</bug_when>
    <thetext>Patch under review on the mailing list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25530</commentid>
    <comment_count>2</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2012-09-21 12:41:55 +0000</bug_when>
    <thetext>Patch merged:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=494fe41903e69601103c7eb7f8804207e3f4f7f1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26508</commentid>
    <comment_count>3</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2012-10-11 09:05:56 +0000</bug_when>
    <thetext>Verified in: 2c3e8280e67721d42d4be48a8e2c1e9ce9bb89fd

Folowed the insructions below with a x86-64, x86 and arm adt.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>