<?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>5240</bug_id>
          
          <creation_ts>2013-09-19 21:02:05 +0000</creation_ts>
          <short_desc>do_rootfs fails for libcrypto due to stale cache from version change of openssl recipe</short_desc>
          <delta_ts>2013-09-25 14:32:44 +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>1.4</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>Low</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.5.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Rob Calhoun">rcalhoun-bugzilla</reporter>
          <assigned_to name="Cristian Iorga">cristian.iorga</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</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>37005</commentid>
    <comment_count>0</comment_count>
    <who name="Rob Calhoun">rcalhoun-bugzilla</who>
    <bug_when>2013-09-19 21:02:05 +0000</bug_when>
    <thetext>Starting with poky &quot;dylan&quot;, build image containing openvpn (custom autotools recipe), which has opensll as a DEPENDS. Upgrade to poky branch 1.4_M5 via git and rebuild. Build of image fails, relevant line being:

Computing transaction...error: Can&apos;t install libssl1.0.0-1.0.0j-r15.4@armv7a_vfp_neon: no package provides libcrypto1.0.0 &gt;= 1.0.1e

Fix is &quot;bitbake -c cleanall openssl&quot; followed by re-baking the image.

Core issue appears to be that openssl rev moved backwards in 1.4_M5, with branch 1.4_M5 containing a recipe for openssl_1.0.0j.bb while dylan release had openssl_1.0.1e.bb, resulting in an invalid cache.

http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/meta/recipes-connectivity/openssl?h=1.4_M5

http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-connectivity/openssl?h=dylan

It looks like the commits since 4fb837687dd68363f25fbfc15207dd05d1369661 had some issues so dropping back to 1.0.0j might have been intentional. Bitbake should invalidate the cache when this happens. Baring making a change there, a comment to the release notes re: the need for a clean build of openssl would be nice.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37169</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-09-25 09:36:26 +0000</bug_when>
    <thetext>I don&apos;t think anything went backwards. 1.0.1 (e) &gt; 1.0.0 (j) so the dylan release had a later version than the 1.4M5 milestone release.

Regardless, it shouldn&apos;t have failed like that but it wasn&apos;t due to a version going backwards...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37204</commentid>
    <comment_count>2</comment_count>
    <who name="Rob Calhoun">rcalhoun-bugzilla</who>
    <bug_when>2013-09-25 14:32:44 +0000</bug_when>
    <thetext>Re: moving backwards you are correct. I had mixed up the Poky 1.4_M5 *branch* with the Poky 1.5_M4 *tag* on branch dylan. (I&apos;m a long-time svn user but new to git.)

I&apos;m going to mark this as invalid, there being no point to ticketing against the 1.4_M5 branch.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>