See https://pagure.io/releng/issue/11092 for more background.
As noted there, in Fedora 36+ /var/lib/rpm is now a symlink to /usr/lib/sysimage/rpm.
Whereas https://github.com/containerbuildsystem/atomic-reactor/blob/master/atomic_reactor/plugins/rpmqa.py#L20 still seem to hardcode RPMDB_PATH to /var/lib/rpm, which then causes the x86_64 container builds of fedora-toolbox to fail. (We are not sure yet why aarch64 is not affected.) It should be easy to test changing the path or rather adapting to the new location - though Kevin also wonders if not using rpmqa could be a temporary workaround?
See https://pagure.io/releng/issue/11092 for more background.
As noted there, in Fedora 36+
/var/lib/rpmis now a symlink to/usr/lib/sysimage/rpm.Whereas https://github.com/containerbuildsystem/atomic-reactor/blob/master/atomic_reactor/plugins/rpmqa.py#L20 still seem to hardcode RPMDB_PATH to
/var/lib/rpm, which then causes the x86_64 container builds of fedora-toolbox to fail. (We are not sure yet why aarch64 is not affected.) It should be easy to test changing the path or rather adapting to the new location - though Kevin also wonders if not using rpmqa could be a temporary workaround?