<?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>8308</bug_id>
          
          <creation_ts>2015-09-16 07:22:37 +0000</creation_ts>
          <short_desc>[ADT] Fail to install adt-installer</short_desc>
          <delta_ts>2015-12-14 10:11:47 +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.8</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>2.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Valentin Hangan">valentinx.hangan</reporter>
          <assigned_to name="Juro Bystricky">juro.bystricky</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>elizabeth.flanagan</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>yi.zhao</cc>
          
          <qa_contact name="Valentin Hangan">valentinx.hangan</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>54134</commentid>
    <comment_count>0</comment_count>
    <who name="Valentin Hangan">valentinx.hangan</who>
    <bug_when>2015-09-16 07:22:37 +0000</bug_when>
    <thetext>Spider mode enabled. Check if remote file exists.
--2015-09-16 10:19:10--  http://adtrepo-dev.yoctoproject.org//1.8+snapshot-ea562de57590c966cd5a75fda8defecd397e6436-master
Resolving proxy-jf.intel.com (proxy-jf.intel.com)... 10.7.211.16
Connecting to proxy-jf.intel.com (proxy-jf.intel.com)|10.7.211.16|:911... connected.
Proxy request sent, awaiting response... 301 Moved Permanently
Location: http://adtrepo-dev.yoctoproject.org/1.8+snapshot-ea562de57590c966cd5a75fda8defecd397e6436-master/ [following]
Spider mode enabled. Check if remote file exists.
--2015-09-16 10:19:10--  http://adtrepo-dev.yoctoproject.org/1.8+snapshot-ea562de57590c966cd5a75fda8defecd397e6436-master/
Connecting to proxy-jf.intel.com (proxy-jf.intel.com)|10.7.211.16|:911... connected.
Proxy request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Remote file exists and could contain further links,
but recursion is disabled -- not retrieving.

OPKG is not setup, setting up opkg in local, which is required for installing yocto ADT...

Configure opkg ...

Can&apos;t exec &quot;aclocal&quot;: No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run aclocal: No such file or directory
configure: error: Package requirements (libarchive) were not met:

No package &apos;libarchive&apos; found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBARCHIVE_CFLAGS
and LIBARCHIVE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54149</commentid>
    <comment_count>1</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2015-09-16 10:43:43 +0000</bug_when>
    <thetext>This isn&apos;t an issue with adt so much as an issue with the opkg upgrade at http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=08e09222b2b8a0ac4f60f02c002b185318a2110b

opkg builds now requires libtool, automake, autoconf and libarchive. Once those are installed on the host system, things work smoothly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54308</commentid>
    <comment_count>2</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2015-09-20 19:07:20 +0000</bug_when>
    <thetext>*** Bug 8324 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54309</commentid>
    <comment_count>3</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2015-09-20 19:11:42 +0000</bug_when>
    <thetext>Yes, opkg added a dependency on libarchive on 0.3.0. I think it has always depended on autoconf, libtool and automake, I guess it&apos;s more common for hosts to have those tools than libarchive. Since what&apos;s missing is a prerequisite on the host, I am thinking the solution should be just a message instructing the user to install libarchive on his host before proceeding. Would that be sufficient?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54579</commentid>
    <comment_count>4</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2015-09-23 21:07:26 +0000</bug_when>
    <thetext>Re-categorizing as ADT since the solution would be to add checks for opkg build dependencies (libtool, autoreconf, automake, libarchive) to the adt-installer script to give a meaningful error to the user if one of the tools is missing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54653</commentid>
    <comment_count>5</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2015-09-24 23:36:36 +0000</bug_when>
    <thetext>The error message is a bit misleading, the package that needs to be installed is
&quot;libarchive-dev&quot;. 
Once that is installed, I get another error:

Link the ld.so.cache file into the host filesystem
ln: failed to create symbolic link ‘/opt/adt/sysroots/x86_64-pokysdk-linux//etc/ld.so.cache’: No such file or directory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55319</commentid>
    <comment_count>6</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2015-10-14 19:55:45 +0000</bug_when>
    <thetext>ADT installer builds with 
&quot;master:556c0ea92eb32ddb9c9a5e30a74b2ca24ac69c68&quot;

(Providing &quot;libarchive-dev&quot; is installed on the host system).
However, it is not possible to test it at this time, as 
http://adtrepo.yoctoproject.org/2.0 is not built yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55331</commentid>
    <comment_count>7</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2015-10-15 07:12:21 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; ADT installer builds with 
&gt; &quot;master:556c0ea92eb32ddb9c9a5e30a74b2ca24ac69c68&quot;
&gt; 
&gt; (Providing &quot;libarchive-dev&quot; is installed on the host system).
&gt; However, it is not possible to test it at this time, as 
&gt; http://adtrepo.yoctoproject.org/2.0 is not built yet.

Maybe Beth can help you with this one?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55344</commentid>
    <comment_count>8</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2015-10-15 10:12:18 +0000</bug_when>
    <thetext>You should use the QA adt installer:

https://autobuilder.yoctoproject.org/pub/releases/yocto-2.0.rc1/adt-installer-QA/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56288</commentid>
    <comment_count>9</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2015-11-06 14:00:27 +0000</bug_when>
    <thetext>filled in the regression type</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56308</commentid>
    <comment_count>10</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2015-11-09 06:51:59 +0000</bug_when>
    <thetext>For 2.0 rc3 (jethro/fc45deac89ef63ca1c44e763c38ced7dfd72cbe1), the adt-installer only failed to install on centos 6 (both i686 and x86_64) as bug 8324 described.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56635</commentid>
    <comment_count>11</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-11-19 15:47:08 +0000</bug_when>
    <thetext>There is a separate bug covering the centos6 issue, the rest was documented and worked in the 2.0 release so we can close this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56799</commentid>
    <comment_count>12</comment_count>
    <who name="Valentin Hangan">valentinx.hangan</who>
    <bug_when>2015-11-26 11:04:04 +0000</bug_when>
    <thetext>Verfied</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>