<?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>13365</bug_id>
          
          <creation_ts>2019-05-29 11:36:09 +0000</creation_ts>
          <short_desc>released archive&apos;s ./configure fails</short_desc>
          <delta_ts>2019-06-12 21:18:52 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>opkg</product>
          <component>opkg</component>
          <version>0.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>0.4.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Miro Kropáček">miro.kropacek</reporter>
          <assigned_to name="Alejandro del Castillo">alejandro.delcastillo</assigned_to>
          <cc>miro.kropacek</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>83970</commentid>
    <comment_count>0</comment_count>
    <who name="Miro Kropáček">miro.kropacek</who>
    <bug_when>2019-05-29 11:36:09 +0000</bug_when>
    <thetext>I downloaded opkg 0.4 from http://downloads.yoctoproject.org/releases/opkg/ ... when unpacked, I tried the classic ./configure &amp;&amp; make combo only to get:

configure: error: cannot find install-sh, install.sh, or shtool in conf &quot;/root/opkg&quot;/conf

(/root/conf is where the source package had been unpacked but it happens also within the source tree)

The package is buildable if I reconfigure everything with autotools but I think the point of having a release archive is to avoid that.

Tested on Ubuntu with native gcc and a cross compiler.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83975</commentid>
    <comment_count>1</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2019-05-29 15:09:56 +0000</bug_when>
    <thetext>So, the files are there, but they are symlinks to the standard location where libtool/automake is installed:

[adelcast@delcastillo3 opkg-0.4.0]$ ls -al conf
total 0
drwxr-xr-x  2 adelcast adelcast 180 May 29 09:50 .
drwxr-xr-x 12 adelcast adelcast 560 May 29 09:50 ..
lrwxrwxrwx  1 adelcast adelcast  32 May 29 09:50 compile -&gt; /usr/share/automake-1.16/compile
lrwxrwxrwx  1 adelcast adelcast  41 May 29 09:50 config.guess -&gt; /usr/share/libtool/build-aux/config.guess
lrwxrwxrwx  1 adelcast adelcast  39 May 29 09:50 config.sub -&gt; /usr/share/libtool/build-aux/config.sub
lrwxrwxrwx  1 adelcast adelcast  32 May 29 09:50 depcomp -&gt; /usr/share/automake-1.16/depcomp
lrwxrwxrwx  1 adelcast adelcast  39 May 29 09:50 install-sh -&gt; /usr/share/libtool/build-aux/install-sh
lrwxrwxrwx  1 adelcast adelcast  38 May 29 09:50 ltmain.sh -&gt; /usr/share/libtool/build-aux/ltmain.sh
lrwxrwxrwx  1 adelcast adelcast  32 May 29 09:50 missing -&gt; /usr/share/automake-1.16/missing

The release package should be installing the files themselves, not symlinks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83976</commentid>
    <comment_count>2</comment_count>
    <who name="Miro Kropáček">miro.kropacek</who>
    <bug_when>2019-05-29 15:18:24 +0000</bug_when>
    <thetext>This is actually an easy one to fix - in the future, use &quot;make dist&quot; to create the archive, not a custom command (as dictated by the autotools guidelines).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83978</commentid>
    <comment_count>3</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2019-05-29 18:27:06 +0000</bug_when>
    <thetext>Thanks, added that my release checklist. I am planning on releasing 0.4.1 by mid-June, will make sure this is fixed there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84159</commentid>
    <comment_count>4</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2019-06-12 21:18:52 +0000</bug_when>
    <thetext>Fixed on 0.4.1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>