ADT-install'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
Patch submitted at http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=llu/bug2055&id=324c375ed3e7c0fb061b52c9dd6a57afdfe4f5fa
Fixed in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=6bd23e0faf329f086bb4885991ce5f5d095dac56
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.
(In reply to comment #3) > 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. 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
Seems a recent commit changed the value back, http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=39c2e33c39aff2acf6c30ddb66bb9ee208eecb0b
Patch submitted for review http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=llu/bug2055&id=63127bb5f4637db198a0ee85b1b79abf5c1dc02b
Fixed in commit http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=899aa3f2161ed72ab294e0be5e734771c1886ffd.
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 "adt-installer" 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'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.
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) > 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 "adt-installer" to install qemuppc toolchain,error met below: > ./adt_installer > 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.
(In reply to comment #9) > 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) > > 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 "adt-installer" to install qemuppc toolchain,error met below: > > ./adt_installer > > 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. thanks your confirmation, I have used that patch, it works and ppc toolchain can install successfully after that.
Verify the bug as fixed on 1.2_M4 rc2 with commit 27aa5489fb40d99c58bb2a4bbf2311e2c502a091,tree/branch: poky/1.2_M4
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