By the way upcoming rpm 4.16 deprecates db backend in favor of ndb (not sure what that uses exactly, but it's not berkeley db), and they're working on sqlite support as well. So a major consumer of bdb should be eliminated, and then we can look at moving bdb out of core, as it never got proper upstream maintenance.
Alex On Wed, 3 Jun 2020 at 10:41, Richard Purdie < [email protected]> wrote: > On Wed, 2020-06-03 at 13:48 +0800, Chen Qi wrote: > > On target, when running `db_verify /var/lib/rpm/Packages', we get > > the following error. > > > > db_verify: BDB0571 library build did not include support for database > verification > > > > Enable the 'verify' PACKAGECONFIG to avoid such issue. > > > > Signed-off-by: Chen Qi <[email protected]> > > --- > > meta/recipes-support/db/db_5.3.28.bb | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/meta/recipes-support/db/db_5.3.28.bb > b/meta/recipes-support/db/db_5.3.28.bb > > index 3a0923ae36..b64c4c089a 100644 > > --- a/meta/recipes-support/db/db_5.3.28.bb > > +++ b/meta/recipes-support/db/db_5.3.28.bb > > @@ -61,7 +61,7 @@ DB5_CONFIG ?= "--enable-o_direct > --disable-cryptography --disable-queue --disabl > > > > EXTRA_OECONF = "${DB5_CONFIG} --enable-shared --enable-cxx > --with-sysroot STRIP=true" > > > > -PACKAGECONFIG ??= "" > > +PACKAGECONFIG ??= "verify" > > PACKAGECONFIG[verify] = "--enable-verify, --disable-verify" > > PACKAGECONFIG[dbm] = "--enable-dbm,--disable-dbm," > > Do we ever need to run this on target? I'm wondering why we need this > and what the implications are (extra size to the binaries?). Perhaps we > just shouldn't ship that binary if verify isn't enabled? > > Cheers, > > Richard > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#139158): https://lists.openembedded.org/g/openembedded-core/message/139158 Mute This Topic: https://lists.openembedded.org/mt/74644508/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
