<?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>2055</bug_id>
          
          <creation_ts>2012-03-05 07:32:06 +0000</creation_ts>
          <short_desc>ADT-installer failed to install PPC Target architectures.</short_desc>
          <delta_ts>2012-04-10 05:36:39 +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.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>ppc</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>normal</bug_severity>
          <target_milestone>1.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hongna Xu">hongnax.xu</reporter>
          <assigned_to name="Lianhao Lu">lianhao.lu</assigned_to>
          <cc>jiajun.xu</cc>
    
    <cc>liang.li2</cc>
    
    <cc>lianhao.lu</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</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>18864</commentid>
    <comment_count>0</comment_count>
    <who name="Hongna Xu">hongnax.xu</who>
    <bug_when>2012-03-05 07:32:06 +0000</bug_when>
    <thetext>ADT-install&apos;s script search the name of environment for ppc named: /opt/poky/1.1+snapshot/environment-setup-ppc*, but in /opt/poky/1.1+snapshot, its name is environment-setup-powerpc-poky-linux, so it report No such file or directory Error.

Branch: 1.2_M3
CommitId: 320558f494c618f53e0c773db3ea0109476e8359</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18888</commentid>
    <comment_count>1</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2012-03-07 03:55:02 +0000</bug_when>
    <thetext>Patch submitted at http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=llu/bug2055&amp;id=324c375ed3e7c0fb061b52c9dd6a57afdfe4f5fa</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18929</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-03-08 21:00:46 +0000</bug_when>
    <thetext>Fixed in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=6bd23e0faf329f086bb4885991ce5f5d095dac56</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19675</commentid>
    <comment_count>3</comment_count>
    <who name="Hongna Xu">hongnax.xu</who>
    <bug_when>2012-03-30 05:32:07 +0000</bug_when>
    <thetext>In /opt/poky/1.1+snapshot,the environment file return back to environment-setup-ppc603e-poky-linux, and adt-installer script search environment-setup-powerpc*, so  i will reopen it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19676</commentid>
    <comment_count>4</comment_count>
    <who name="Hongna Xu">hongnax.xu</who>
    <bug_when>2012-03-30 05:34:41 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; In /opt/poky/1.1+snapshot,the environment file return back to
&gt; environment-setup-ppc603e-poky-linux, and adt-installer script search
&gt; environment-setup-powerpc*, so  i will reopen it.

tree/branch: poky/1.2_M4
commintID:4d9f4d6ac25f39fe6d5491d05c7a26195bab648b

ADT-installer location:http://autobuilder.pokylinux.org/pub/nightly/20120328-1/adt_installer/adt_installer.tar.bz2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19678</commentid>
    <comment_count>5</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2012-03-30 05:49:39 +0000</bug_when>
    <thetext>Seems a recent commit changed the value back,
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=39c2e33c39aff2acf6c30ddb66bb9ee208eecb0b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19680</commentid>
    <comment_count>6</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2012-03-30 06:10:48 +0000</bug_when>
    <thetext>Patch submitted for review http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=llu/bug2055&amp;id=63127bb5f4637db198a0ee85b1b79abf5c1dc02b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19737</commentid>
    <comment_count>7</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2012-03-31 01:45:11 +0000</bug_when>
    <thetext>Fixed in commit http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=899aa3f2161ed72ab294e0be5e734771c1886ffd.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19752</commentid>
    <comment_count>8</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-03-31 10:53:04 +0000</bug_when>
    <thetext>the error happend on 1.2 M4 RC1 from:
http://autobuilder.pokylinux.org/pub/nightly/20120328-1/adt_installer/adt_installer.tar.bz2

when run &quot;adt-installer&quot; to install qemuppc toolchain,error met below:

./adt_installer 

#########################################################################
# Welcome to Yocto Application Developement Tools (ADT) Installer
#
# Host Machine:				x86_64
# OS info:				3.1.9-1.4-desktop
# Yocto ADT version to be installed:	
# supported target architectures:	x86 x86_64 arm ppc mips
# supported target root_fs images:	minimal minimal-dev sato sato-dev sato-sdk lsb lsb-dev lsb-sdk
#########################################################################

Systemwide installation. Installation will occur under /opt/poky/1.1+snapshot

############################################################################
# Your system installation configurations from adt_installer.conf
############################################################################
# Cross toolchains:		ppc
# Install Qemu:			Y
# Install NFS utilities:	Y

##############################################################################
# Your rootfs image(s) and target sysroot selections from adt_installer.conf
##############################################################################
# Target architecture:		ppc
# Root_fs images:		minimal sato-sdk
# Target sysroot image:		sato-sdk
# Target sysroot loc:		/home/yocto/test-yocto/ppc


############################################################################

There&apos;re two ways you can do installation: silent mode or interactive mode. To choose silent mode, which means you opt for the system to override the existing data under the specified installation directories without prompting for your confirmation. Please be cautious with this selection which may trigger your losing data. With the interactive mode, you have to closely monitor the installation process, since it will prompt you each step it needs to override some existing data. To choose silent mode, please enter [S], for interactive mode, please enter [I] or [X] to exit the installation.
[ADT_INST] Please enter your selections here:
......
Target sysroot location: /home/yocto/test-yocto/ppc, already exists! If you continue installation, this folder will be re-created.
[ADT_INST] Do you want to continue installation? Please enter Y/N:
Y
Creating directory /home/yocto/test-yocto/ppc...
Extracting rootfs: core-image-sato-sdk-qemuppc.tar.bz2, using pseudo...
Updating environment script with target sysroot location.
ls: cannot access /opt/poky/1.1+snapshot/environment-setup-powerpc*: 没有那个文件或目录
[ADT_INST] Error: Failed to find environment script for arch: ppc

ppc toolchain install failed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19753</commentid>
    <comment_count>9</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2012-03-31 13:10:08 +0000</bug_when>
    <thetext>Please see latest fix in comment #7. It should be included in RC2. You may tweak the script according to that fix to work around it in RC1.

(In reply to comment #8)
&gt; the error happend on 1.2 M4 RC1 from:
&gt; http://autobuilder.pokylinux.org/pub/nightly/20120328-1/adt_installer/adt_installer.tar.bz2
&gt; when run &quot;adt-installer&quot; to install qemuppc toolchain,error met below:
&gt; ./adt_installer 
&gt; ls: cannot access /opt/poky/1.1+snapshot/environment-setup-powerpc*: 没有那个文件或目录
&gt; [ADT_INST] Error: Failed to find environment script for arch: ppc
&gt; ppc toolchain install failed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19759</commentid>
    <comment_count>10</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-04-01 01:53:17 +0000</bug_when>
    <thetext>(In reply to comment #9)
&gt; Please see latest fix in comment #7. It should be included in RC2. You may
&gt; tweak the script according to that fix to work around it in RC1.
&gt; 
&gt; (In reply to comment #8)
&gt; &gt; the error happend on 1.2 M4 RC1 from:
&gt; &gt; http://autobuilder.pokylinux.org/pub/nightly/20120328-1/adt_installer/adt_installer.tar.bz2
&gt; &gt; when run &quot;adt-installer&quot; to install qemuppc toolchain,error met below:
&gt; &gt; ./adt_installer 
&gt; &gt; ls: cannot access /opt/poky/1.1+snapshot/environment-setup-powerpc*: 没有那个文件或目录
&gt; &gt; [ADT_INST] Error: Failed to find environment script for arch: ppc
&gt; &gt; ppc toolchain install failed.

thanks your confirmation, I have used that patch, it works and ppc toolchain can install successfully after that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20042</commentid>
    <comment_count>11</comment_count>
    <who name="Hongna Xu">hongnax.xu</who>
    <bug_when>2012-04-09 02:56:09 +0000</bug_when>
    <thetext>Verify the bug as fixed on 1.2_M4 rc2 with commit 27aa5489fb40d99c58bb2a4bbf2311e2c502a091,tree/branch: poky/1.2_M4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20103</commentid>
    <comment_count>12</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-04-10 05:36:39 +0000</bug_when>
    <thetext>the error is not met on 1.2 M4 RC2 both on these hosts :opensuse 12.1 x86_64, fedora 16 i686,ubuntu 11.10 x86_64. PPC toolchain can be built successfully using ADT-installer from:
http://autobuilder.yoctoproject.org/pub/nightly/20120405-1/adt_installer/adt_installer.tar.bz2

git info:27aa5489fb40d99c58bb2a4bbf2311e2c502a091 
git branch: 1.2_M4</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>