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