#3617 Fedora changed rpmdb location which breaks buildroot listing
Closed: Fixed by tkopecek. Opened by tkopecek.

New location is /usr/lib/sysimage/rpm but old still contains empty db, so koji is not raising any error, but getting empty list of rpms from /var/lib/rpm.


https://src.fedoraproject.org/rpms/rpm/pull-request/21

Metadata Update from @tkopecek:
- Custom field Size adjusted to None

/var/lib/rpm/.migratedb could be used for check of new location. Or better improve getPackageList to be independent of rpmdb location.

See e.g. https://koji.fedoraproject.org/koji/rpmlist?buildrootID=39783784&type=component - buildroots for fedora builds are empty now.
@mikem @kevin @ngompa

Compare with more fresh https://koji.fedoraproject.org/koji/rpmlist?buildrootID=39783510&type=component for el8 build.

Simple fix for now: #3618

Metadata Update from @jcupova:
- Issue tagged with: testing-ready

/var/lib/rpm/.migratedb could be used for check of new location. Or better improve getPackageList to be independent of rpmdb location.

Yeah, don't check for the file, because that will not exist in the future. Making the rpmdb location independent is better.

Metadata Update from @jcupova:
- Issue tagged with: testing-done

Commit fb202273 fixes this issue

Commit 39fc11a4 relates to this ticket

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/3617

Please continue any further discussion there.

Metadata
Related Pull Requests