Red Hat Bugzilla – Bug 598639
yum (via. mock) not installing all build dependencies (rpm bindings change)
Last modified: 2014-01-21 18:15:00 EST
+++ This bug was initially created as a clone of Bug #598221 +++
On a quick look, this looks like a yum (or mock?) bug to me.
javasqlite specifically wants both 1.5 and 1.6 java-devel packages installed at build time, and has:
BuildRequires: java-devel = 1:1.6.0
BuildRequires: java-devel = 1.5.0
java-1.6.0-openjdk-devel satisfies the first but not the second, and does not obsolete the package providing the second (java-1.5.0-gcj-devel). However, only java-1.6.0-openjdk-devel got installed according to the root log so failure is expected as build requirements are not met.
Curiously, I cannot reproduce on a F-13 x86_64 host, it builds fine in mock here; both java-1.6.0-openjdk-devel and java-1.5.0-gcj-devel get installed as intended.
--- Additional comment from email@example.com on 2010-06-01 13:15:25 EDT ---
so here's the backstory:
mock gets the requires from the srpm
it calls rpmUtils.miscutils.formatRequire() to return them
rpm-python changed so it is now offering Longs instead of ints as the requiresflags.
this meant that formatRequire breaks and doesn't return the requires versions at all - just the requiresnames. :(
the patch at the top of this comment fixes it and makes all of this work.
Pretty sure this applies to rpm-python 4.8.0 in RHEL-6.
Patch is trivial and harmless anyway.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.