| Summary: | [1.6.1] [adt] sed error: no input files when install adt | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] ADT | Reporter: | Yi Zhao <yi.zhao> |
| Component: | adt | Assignee: | Chong Lu <chong.lu> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | alexandru.c.georgescu, chong.lu, ke.zou, poky.adt.watcher, poky.watcher, sgw, yi.zhao |
| Version: | 1.6.1 | ||
| Target Milestone: | 1.6.2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | Regression (Used to work) |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Yi Zhao
2014-06-13 10:05:23 UTC
Hi YI, I didn't get the sed error. Can you try again installing? I must mention that I installed on a relative path and only with x86 target. Thanks, Alex (In reply to comment #1) > Hi YI, > I didn't get the sed error. Can you try again installing? > > I must mention that I installed on a relative path and only with x86 target. > > Thanks, > Alex This issue only happens when using default setting. i.e. the toolchain sdk is installed in directory /opt/poky/1.6.1 The error message is from line 169 in scripts/adt_installer_internal: $SUDO sed -i -e "s%##SDKTARGETSYSROOT##%$target_sysroot%g" $env_script The $env_script doesn't exist. Did manage to reproduce using the default install path. So I am confirming Yi's comment. issue still exists in 1.7M1 rc1 build Patch out for review Resolved in master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=247c9a192cba178e9e9ede050e839d8e504ce7b8 Sed error still exists with build 1.7M1 rc2 adt-installer path: http://autobuilder.yoctoproject.org/pub/nightly/20140706-1/adt-installer-QA/ Did you install this over the top of an existing SDK installation? If so, please try removing that first, then installing this. You should then be able to install a second time over the top of the original without seeing the warning either. I believe the warning is from "stale" data on the system and therefore the bug has been fixed but you will only see that on a second installation. Test it again with 20140706-1 build. /opt/poky/1.6+snapshot has been deleted before the test ,but sed error still exists. Start installing selected native ADT for archs: x86... ####################################################################### Please note from this point on installation requires sudo password ... ####################################################################### Successfully create directory /opt/poky/1.6+snapshot//var/lib/opkg. Updating opkg... opkg update process ended... Installing pseudo nativesdk ... Installing opkg nativesdk ... Installing pkgconfig nativesdk ... Installing libtool nativesdk ... Installing autoconf nativesdk ... Installing automake nativesdk ... Installing cross canadian packages for qemux86 ... sed: no input files Installing qemu native ... fixed by commit fd1aacc7983c79757be31cb3c21834a5dd047ecf There is no this issue in 1.7 M2 RC1 . (In reply to comment #10) > fixed by commit fd1aacc7983c79757be31cb3c21834a5dd047ecf Hi, Is this issue fixed for 1.6.2 too? Also, can you help me find the change in git log? I can't find fd1aacc7983c79757be31cb3c21834a5dd047ecf in master or daisy. Thanks, Alex. (In reply to comment #12) > (In reply to comment #10) > > fixed by commit fd1aacc7983c79757be31cb3c21834a5dd047ecf > > Hi, > Is this issue fixed for 1.6.2 too? > > Also, can you help me find the change in git log? I can't find > fd1aacc7983c79757be31cb3c21834a5dd047ecf in master or daisy. > > Thanks, > Alex. Hi Alex, The commit is in the master branch, I can find it: commit fd1aacc7983c79757be31cb3c21834a5dd047ecf Author: Chong Lu <Chong.Lu@windriver.com> Date: Tue Jul 22 11:16:52 2014 +0800 adt-installer: fix sed input file error When use default install directory, we can't get the environment setup script path. The reason is that opkg-cl list incorrect files paths. This patch sets env_script variable to make us get correct environment setup script path. [YOCTO #6443] (From OE-Core rev: e0080f279d5ebb320c2ba285765048fcca523fe7) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Maybe you need to git pull your source ? |