<?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>2956</bug_id>
          
          <creation_ts>2012-08-16 19:09:17 +0000</creation_ts>
          <short_desc>toolchain installation error -inconsistent behavior</short_desc>
          <delta_ts>2012-09-21 10:57:13 +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>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>(Scheduled)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M4</target_milestone>
          <dependson>2957</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Laurentiu Serban">laurentiu.serban</reporter>
          <assigned_to name="Ioana Grigoropol">ioanax.grigoropol</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>alexandru.damian</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>song.liu</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>24119</commentid>
    <comment_count>0</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-08-16 19:09:17 +0000</bug_when>
    <thetext>While installing arm-toolchain (or the other non-intel architecture toolchains) with their default settings (opt/poky) the following error occurs.
Installing the x86_64-x86_64 toolchain succeeds in the same conditions.



lserban@laurentiu-02:~/Downloads$ ./poky-eglibc-x86_64-arm-toolchain-gmae-1.2+snapshot-20120810.sh
Enter target directory for Poky SDK (default: /opt/poky/1.2+snapshot): /opt/poky

You are about to install Poky SDK to &quot;/opt/poky&quot;. Proceed[Y/n]?y
Extracting SDK...done
Setting it up..../poky-eglibc-x86_64-arm-toolchain-gmae-1.2+snapshot-20120810.sh: line 48: /opt/poky/environment-setup-armv5te-poky-linux-gnueabi: Permission denied
SDK could not be set up. Relocate script failed. Abort!
lserban@laurentiu-02:~/Downloads$

Also there is no message requesting for the root password on root owned directory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24122</commentid>
    <comment_count>1</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-08-16 19:10:48 +0000</bug_when>
    <thetext>http://autobuilder.yoctoproject.org/pub/nightly/20120810-2/toolchain/x86_64/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24129</commentid>
    <comment_count>2</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2012-08-16 23:04:45 +0000</bug_when>
    <thetext>Laurentiu S,

for installing under /opt/poky, you need to add sudo.  It worked for me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24158</commentid>
    <comment_count>3</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-08-17 15:32:57 +0000</bug_when>
    <thetext>Yes it is true but this not necessary for all the toolchains.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24288</commentid>
    <comment_count>4</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-08-21 15:22:52 +0000</bug_when>
    <thetext>Hello guys,
I will clarify this:
If I am trying to install several toolchains in the same directory /opt/poky/1.2+snapshot.
The first installation works ok, but the subsequent ones fail as I showed in the description even if using sudo or previously changing the ownership of the opt directory recursively.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24658</commentid>
    <comment_count>5</comment_count>
    <who name="Ioana Grigoropol">ioanax.grigoropol</who>
    <bug_when>2012-08-30 11:40:05 +0000</bug_when>
    <thetext>Works with nightly :
- http://autobuilder.yoctoproject.org/pub/nightly/20120822-2/toolchain/x86_64/poky-eglibc-x86_64-arm-toolchain-gmae-1.2+snapshot-20120823.sh

-  http://autobuilder.yoctoproject.org/pub/nightly/20120822-2/toolchain/x86_64/poky-eglibc-x86_64-mips-toolchain-gmae-1.2+snapshot-20120823.sh

http://autobuilder.yoctoproject.org/pub/nightly/20120822-2/toolchain/x86_64/poky-eglibc-x86_64-i586-toolchain-gmae-1.2+snapshot-20120823.sh</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25518</commentid>
    <comment_count>6</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2012-09-21 10:57:13 +0000</bug_when>
    <thetext>This doesn&apos;t reproduce using sudo. I will open a separate bug as a feature request to ask the sudo passwd.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>