On Mon, Mar 16, 2020 at 10:38:07AM +0000, Paul Howarth wrote:
On Mon, 16 Mar 2020 11:22:40 +0100
Vít Ondruch <vondruch(a)redhat.com> wrote:
> I always thought that one should not call `rpm` during rpmbuild.
> Nevertheless I am not sure what was the reason? Probably locking of
> RPM db? Can somebody elaborate?
It couldn't be guaranteed to work in the case that the buildroot was
populated using a different version of rpm that used a different
version of libdb. That's not an issue that crops up much these days as
libdb hasn't been version-updated for years (due to licensing issues
Except that now we are going to move to sqlite... :)
(See rpm 4.16 change posted today)
IIRC) and mock with bootstrap mode enabled would populate the
buildroot
using the target's version of rpm anyway these days.
and koji does not use bootstrap mode.
kevin