<?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>9523</bug_id>
          
          <creation_ts>2016-04-26 14:58:37 +0000</creation_ts>
          <short_desc>openssl: dangling libcrypto.a symlink</short_desc>
          <delta_ts>2016-06-01 13:46:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>connectivity</component>
          <version>2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Patrick Ohly">patrick.ohly</reporter>
          <assigned_to name="Maxin B. John">maxin.john</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>wenzong.fan</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>61690</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick Ohly">patrick.ohly</who>
    <bug_when>2016-04-26 14:58:37 +0000</bug_when>
    <thetext>do_install_ptest in openssl.inc links to ${base_libdir}/libcrypto.a but the actual file is in ${libdir}/libcrypto.a.

I&apos;m also unsure whether package dependencies really cause openssl-staticdev (which has the actual file) to be pulled in when installing openssl-ptest. Is that guaranteed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62540</commentid>
    <comment_count>1</comment_count>
    <who name="Maxin B. John">maxin.john</who>
    <bug_when>2016-05-31 15:12:52 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; do_install_ptest in openssl.inc links to ${base_libdir}/libcrypto.a but the
&gt; actual file is in ${libdir}/libcrypto.a.

Yes, We need to fix this link.

&gt; I&apos;m also unsure whether package dependencies really cause openssl-staticdev
&gt; (which has the actual file) to be pulled in when installing openssl-ptest.
&gt; Is that guaranteed?

This seems to be &quot;automagically&quot; figured out by the build system 
(extract from openssl.spec file)

# cat /home/maxin/poky/build/tmp/work/core2-64-poky-linux-musl/openssl/1.0.2h-r0/openssl.spec

&lt;snip&gt;
%package -n openssl-ptest
Summary: Secure Socket Layer - Package test files
Group: devel
Requires: libssl1.0.0 &gt;= 1.0.2h
Requires: openssl-conf
Requires: openssl-misc
Requires: perl-module-filehandle
Requires: bc
Requires: make
Requires: musl &gt;= 1.1.14+git0+63e3a1661f
Requires: openssl
Requires: perl
Requires: libcrypto1.0.0 &gt;= 1.0.2h
Requires: openssl-staticdev
Requires: libc.so()(64bit)
Requires: libcrypto.so.1.0.0()(64bit)
Requires: libcrypto.so.1.0.0(OPENSSL_1.0.2d)(64bit)
Requires: rtld(GNU_HASH)
Requires: /bin/sh
Requires: libssl.so.1.0.0()(64bit)
Requires: libssl.so.1.0.0(OPENSSL_1.0.2d)(64bit)
Suggests: ptest-runner</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62557</commentid>
    <comment_count>2</comment_count>
    <who name="Maxin B. John">maxin.john</who>
    <bug_when>2016-06-01 13:46:37 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=cdd764c005dc4352fa7a7d627495ac4e92215772</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>