#8056 BuildRequires is not compatible with %{_libdir}
Closed: fixed 2 years ago by fcami. Opened 2 years ago by cheimes.

Ticket was cloned from Red Hat Bugzilla (product Fedora): Bug 1746882

Description of problem:
I'm unable to install build dependencies of FreeIPA with dnf builddep any more.
The command fails because it cannot find a matching package for
/usr/lib/krb5/plugins/kdb/db2.so on X86_64. The path is wrong and should be
/usr/lib64, not /usr/lib. Both FreeIPA and KRB5 spec files use %{_libdir}. The
builddep command used to work a couple of weeks ago.

I suspect an infrastructure and tooling bug, perhaps in rpm or dnf?

Version-Release number of selected component (if applicable):

How reproducible:
always, on F29 and F30

Steps to Reproduce:
1. dnf builddep freeipa-server

Actual results:
No matching package to install: '/usr/lib/krb5/plugins/kdb/db2.so'
Not all dependencies satisfied
Error: Some packages could not be found.

Expected results:
command should work

Additional info:
$ uname -p
$ rpm -qf /usr/lib64/krb5/plugins/kdb/db2.so

spec files from dist git, F29 branch:
$ grep db2.so krb5.spec
$ grep db2.so freeipa.spec
BuildRequires:  %{_libdir}/krb5/plugins/kdb/db2.so

Metadata Update from @cheimes:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1746882

2 years ago

Metadata Update from @cheimes:
- Issue assigned to cheimes

2 years ago


  • 51836c0 Replace %{_libdir} macro in BuildRequires


  • 5de091b Replace %{_libdir} macro in BuildRequires

Metadata Update from @fcami:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.