Bug 2800 - ADT installs the environment setup files in the wrong path for 20120718-1
Summary: ADT installs the environment setup files in the wrong path for 20120718-1
Status: VERIFIED FIXED
Alias: None
Product: ADT
Classification: Yocto Project Subprojects
Component: adt (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.4
Assignee: Beth Flanagan
QA Contact:
URL:
Whiteboard:
Depends on: 2753
Blocks:
  Show dependency tree
 
Reported: 2012-07-19 15:39 UTC by Alexandru Georgescu
Modified: 2012-12-05 13:09 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandru Georgescu 2012-07-19 15:39:47 UTC
When installing the ADT using this build: http://autobuilder.yoctoproject.org/pub/nightly/20120718-1

I have this error: 

#######################################################################
Please note from this point on installation requires sudo password ...
#######################################################################

Dangling opkg cache folder ///var/lib/opkg detected. Continue installation will remove the folder!
[ADT_INST] Do you want to continue installation? Please enter Y/N:
y
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 toolchain for i586 ...
Installing binutils for i586 ...
Installing gcc for i586 ...
Installing gdb for i586 ...
Installing envrionement file for i586 ...
Link the ld.so.cache file into the host filesystem
ln: failed to create symbolic link `/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux//etc/ld.so.cache': No such file or directory

It seems that the installer creates the /opt/poky/1.2 folder instead of /opt/poky/1.2+snapshot.
Comment 1 Jessica 2012-07-19 17:16:22 UTC
This is due to Beth link the adt repo to 1.2.1, which will setup as 1.2 instead of 1.2+snapshot.  I'd suggest us stop testing adt installer related test cases till the 2753 is fixed
Comment 2 Beth Flanagan 2012-07-20 16:05:35 UTC
I've repointed it to 1.2. This should fix the immediate issue.
Comment 3 Jessica 2012-08-06 21:00:57 UTC
by creating the symlink to an arbitrary prior built won't work since the info is buried with distro_version.  Talked with Beth, to have the issue resolved is to create an adt-dev repo to separate from production repo, i.e. adt-repo
Comment 4 Beth Flanagan 2012-09-13 15:52:02 UTC
Patch in production. Pending pull to master.
Comment 6 Alexandru Georgescu 2012-12-05 13:09:36 UTC
verified