| Summary: | ADT doesn't install properly | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Yocto Project Subprojects] ADT | Reporter: | Alexandru Georgescu <alexandru.c.georgescu> | ||||||
| Component: | adt | Assignee: | Laurentiu Palcu <laurentiu.palcu> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||
| Severity: | major | ||||||||
| Priority: | Medium+ | CC: | elizabeth.flanagan, jessica.zhang, poky.adt.watcher, poky.watcher, sgw | ||||||
| Version: | 1.3 | ||||||||
| Target Milestone: | 1.3 M4 | ||||||||
| Hardware: | x86 | ||||||||
| OS: | Multiple | ||||||||
| Whiteboard: | |||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||
| Verified: | Documentation change: | --- | |||||||
| Attachments: |
|
||||||||
|
Description
Alexandru Georgescu
2012-08-31 10:41:07 UTC
Hi Alex, I've genereated my own local adt-repo based on the latest master and hacked adt-installer to install against it. The following are my findings: my /opt/poky/1.2+snapshot directory contains jzhang@jzhang-desktop:/opt/poky/1.2+snapshot$ ls environment-setup-i586-poky-linux sysroots version-i586-poky-linux site-config-i586-poky-linux var Even though my installation went through successfully, but during installation, I did notice the following messages: cp: cannot stat `/opt/poky/1.2+snapshot//opt/poky/1.2+snapshot/*': No such file or directory rmdir: failed to remove `/opt/poky/1.2+snapshot//opt/poky/1.2+snapshot': No such file or directory Relocating binaries ... Laurentiu, Can you take a look of this which doesn't look right. Alex, When you ran your test against 20120829 build, did you change any settings for adt-installer, my understanding is we don't have a fixed 1.2+snapshot repo, which Beth is working on to address the long standing issue for seperate the dev repo from release repo. The other thing is when you install, was your /opt/poky/1.2+snapshot repo there already or not? There's a known issue that we can't mixed match adt installation between adt-installer and tar ball extraction, so please ensure when you test your adt-installer, the toolchain dir is clean beforehand. I investigated this issue and found that the files downloaded from the repository(http://adtrepo.yoctoproject.org/1.2+snapshot) are not the right ones. Hence, this repository cannot be used for testing. Instead, a local repo has to be created and the tests must be done against this one. I created a local repo myself and the installation went smooth. Also, I didn't notice the problem Jessica reported. Jessica, can you run the adt-installer like this: "bash -x adt_installer" and send me the output? ALso, send the adt-installer.log too. Maybe I can figure out what went wrong in your case. Laurentiu, My test scenario is have toolchain installed at /opt/poky/1.2+snapshot (using tar ball), then re-install at the same location using adt-installer which consistently trigger the issue. Created attachment 763 [details]
adt-installer log file
I have investigated the issue further with Laurentiu, and we have discovered that the problem is with the adt repo not being in sync with the latest changes in Master. We have tested adt-installer with a local repo build by Laurentiu and the installation succeeded. So I believe the issue will be solved when the repo used by the adt-installer will be in sync with Master. Alex, Is this still an issue with the recent adt-repo change from Beth? If not, please close it. Thanks, Jessica Closing it because the cause of the bug has been resolved. Setting to Verified Fixed. |