[Rpm-maint] [rpm-software-management/rpm] rpm 4.16.90 breaks perl-RPM4's testsuite (actually it's the sqlite backend) (#1693)

soig notifications at github.com
Sat Jun 5 14:51:49 UTC 2021


Strange, the same error happens with nbd backend too.
What's puzzling is that   URPM::Transaction->DESTROY and RPM4::Transaction->DESTROY looks similar and both free the transaction:

- https://metacpan.org/release/URPM/source/URPM.xs#L2582
- https://metacpan.org/source/TVIGNAUD/RPM4-0.44/src/RPM4.xs#L1417

After looking again, the bug is the reverse of what I though:

- ndb/sqlite behaviour is sane as the transaction was run with JUSTDB!
- It's actually the bdb backend that exposes a bogus behaviour as the pkg can be found in the db whereas the transaction was run with JUSTDB flag!

See https://metacpan.org/source/TVIGNAUD/RPM4-0.44/t/05transaction.t#L79

I've inherited that code that I just maintain (because other tools rely on it) since the switch from jbj rpm 4.4 to rpm.org 4.6 but there's definitive oddness here! 

[dbg3.txt](https://github.com/rpm-software-management/rpm/files/6602596/dbg3.txt)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1693#issuecomment-855251000
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210605/74bb6cf3/attachment.html>


More information about the Rpm-maint mailing list