<?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>5746</bug_id>
          
          <creation_ts>2014-01-21 14:19:36 +0000</creation_ts>
          <short_desc>adt_installer script fails</short_desc>
          <delta_ts>2014-02-11 15:03:10 +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.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fabrice">fabrice</reporter>
          <assigned_to name="Laurentiu Palcu">laurentiu.palcu</assigned_to>
          <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>39963</commentid>
    <comment_count>0</comment_count>
    <who name="Fabrice">fabrice</who>
    <bug_when>2014-01-21 14:19:36 +0000</bug_when>
    <thetext>In my project I run &quot;bitbake adt-installer&quot; and then copy the tarball from tmp/work/i586-poky-linux/adt-installer/0.1.8+svnr596-r11/adt_installer.tar.bz2
to another dir and unpack it.

When I run adt_installer I get the following error message:

Installing unfs ...
Link the ld.so.cache file into the host filesystem
ln: failed to create symbolic link `/home/user/porky/1.5/sysroots/x86_64-pokysdk-linux//etc/ld.so.cache&apos;: No such file or directory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40030</commentid>
    <comment_count>1</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2014-01-24 11:26:08 +0000</bug_when>
    <thetext>I just tried to reproduce this on master (HEAD: libtool-cross/native: Force usage of bash due to sstate inconsistencies) without success. However, &apos;ln -s&apos; would give such an error if the directory where the link is about to be created does not exist.

For example, in adt_installer_internal, the failing command is:

$SUDO ln -s /etc/ld.so.cache $OECORE_NATIVE_SYSROOT/etc/ld.so.cache

Does the $OECORE_NATIVE_SYSROOT/etc exist? If you&apos;re using opkg (for example), then in populate_sdk_ipk.bbclass in populate_sdk_ipk(), you&apos;ll find:

install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}/${sysconfdir}

So, the etc/ directory should be created.

At this moment, I don&apos;t enough information to continue. I&apos;m putting this in NEEDINFO, till you provide more info.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40288</commentid>
    <comment_count>2</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2014-02-11 15:03:10 +0000</bug_when>
    <thetext>Closing this as invalid. No additional info was provided by the reporter either... If this is still an issue, feel free to re-open it and provide more info.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>