<p dir="ltr"><br>
On 3 Jun 2016 10:44 a.m., &quot;Mark Hatle&quot; &lt;<a href="mailto:mark.hatle@windriver.com">mark.hatle@windriver.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On 6/3/16 6:39 AM, Maxin B. John wrote:<br>
&gt; &gt; Refresh the rpm-db60.patch to support db-6.2.23<br>
&gt;<br>
&gt; NAK NAK NAK<br>
&gt;<br>
&gt; Please do NOT merge this set.<br>
&gt;<br>
&gt; 6.2.23 does NOT work with the version of RPM.<br>
&gt;<br>
&gt; They (BDB) changed something with the locking semantics.  If you do anything<br>
&gt; more then a trivial test you will end up with a corrupted database.<br>
&gt;<br>
&gt; The RPM5 community is working on a newer version of RPM5, that will likely adapt<br>
&gt; to the new semantics.  I&#39;ve not yet seen it released.  When it does, -and- if it<br>
&gt; works w/ db 6.2.23, we can consider the upgrade at that time.</p>
<p dir="ltr">Are they thinking of incorporating RPM4&#39;s new database format, or continuing to use db?</p>
<p dir="ltr">I seem to recall hearing both options discussed, but that was a while ago and on the rpm5 mailing list.</p>
<p dir="ltr">&gt;<br>
&gt; --Mark<br>
&gt;<br>
&gt; &gt; Signed-off-by: Maxin B. John &lt;<a href="mailto:maxin.john@intel.com">maxin.john@intel.com</a>&gt;<br>
&gt; &gt; ---<br>
&gt; &gt;  meta/recipes-devtools/rpm/rpm/rpm-db60.patch | 12 ++++++------<br>
&gt; &gt;  1 file changed, 6 insertions(+), 6 deletions(-)<br>
&gt; &gt;<br>
&gt; &gt; diff --git a/meta/recipes-devtools/rpm/rpm/rpm-db60.patch b/meta/recipes-devtools/rpm/rpm/rpm-db60.patch<br>
&gt; &gt; index b4df8b7..403f3cb 100644<br>
&gt; &gt; --- a/meta/recipes-devtools/rpm/rpm/rpm-db60.patch<br>
&gt; &gt; +++ b/meta/recipes-devtools/rpm/rpm/rpm-db60.patch<br>
&gt; &gt; @@ -13,11 +13,11 @@ Index: rpm/<a href="http://configure.ac">configure.ac</a><br>
&gt; &gt;   [RPM_CHECK_LIB(<br>
&gt; &gt;       [Berkeley-DB], [db],<br>
&gt; &gt;  -    [db-6.1], [db_create], [db.h],<br>
&gt; &gt; -+    [db-6.0], [db_create], [db.h],<br>
&gt; &gt; ++    [db-6.2], [db_create], [db.h],<br>
&gt; &gt;       [yes,external], [db6],<br>
&gt; &gt;       [ DBLIBSRCS=&quot;$DBLIBSRCS db3.c&quot;<br>
&gt; &gt;  -      DBXY=db61<br>
&gt; &gt; -+      DBXY=db60<br>
&gt; &gt; ++      DBXY=db62<br>
&gt; &gt;         AM_CONDITIONAL(WITH_DB, [ true ])<br>
&gt; &gt;         AM_CONDITIONAL(WITH_DB_INTERNAL, [ test &quot;.$RPM_CHECK_LIB_LOCATION&quot; = .internal ])<br>
&gt; &gt;         if test &quot;.$RPM_CHECK_LIB_LOCATION&quot; = .internal; then<br>
&gt; &gt; @@ -26,7 +26,7 @@ Index: rpm/<a href="http://configure.ac">configure.ac</a><br>
&gt; &gt;   ])<br>
&gt; &gt;<br>
&gt; &gt;  -if test &quot;.$ac_cv_lib_db_6_1_db_create&quot; != .yes -a &quot;.$ac_cv_lib_db_5_3_db_create&quot; != .yes; then<br>
&gt; &gt; -+if test &quot;.$ac_cv_lib_db_6_0_db_create&quot; != .yes -a &quot;.$ac_cv_lib_db_5_3_db_create&quot; != .yes; then<br>
&gt; &gt; ++if test &quot;.$ac_cv_lib_db_6_2_db_create&quot; != .yes -a &quot;.$ac_cv_lib_db_5_3_db_create&quot; != .yes; then<br>
&gt; &gt;       CPPFLAGS=&quot;${CPPFLAGS_save}&quot;<br>
&gt; &gt;   fi<br>
&gt; &gt;<br>
&gt; &gt; @@ -36,12 +36,12 @@ Index: rpm/<a href="http://configure.ac">configure.ac</a><br>
&gt; &gt;<br>
&gt; &gt;  -dnl # Sqlite 3.8.3.1 from db-6.1.19<br>
&gt; &gt;  -if test &quot;.$ac_cv_lib_db_6_1_db_create&quot; = .yes; then<br>
&gt; &gt; -+dnl # Sqlite 3.8.3.1 from db-6.0.30<br>
&gt; &gt; -+if test &quot;.$ac_cv_lib_db_6_0_db_create&quot; = .yes; then<br>
&gt; &gt; ++dnl # Sqlite 3.8.3.1 from db-6.2.23<br>
&gt; &gt; ++if test &quot;.$ac_cv_lib_db_6_2_db_create&quot; = .yes; then<br>
&gt; &gt;   RPM_CHECK_LIB(<br>
&gt; &gt;       [Berkeley-DB (+SQLite3)], [dbsql],<br>
&gt; &gt;  -    [db_sql-6.1], [sqlite3_open], [dbsql.h],<br>
&gt; &gt; -+    [db_sql-6.0], [sqlite3_open], [dbsql.h],<br>
&gt; &gt; ++    [db_sql-6.2], [sqlite3_open], [dbsql.h],<br>
&gt; &gt;       [yes,external], [db6/sql],<br>
&gt; &gt;       [<br>
&gt; &gt;         AM_CONDITIONAL(WITH_DBSQL, [ true ])<br>
&gt; &gt;<br>
&gt;<br>
&gt; --<br>
&gt; _______________________________________________<br>
&gt; Openembedded-core mailing list<br>
&gt; <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>
&gt; <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</p>