Bug 140843 - redhat find-requires doesn't filter SUNWprivate whereas rpm does
Summary: redhat find-requires doesn't filter SUNWprivate whereas rpm does
Alias: None
Product: Fedora
Classification: Fedora
Component: redhat-rpm-config (Show other bugs)
(Show other bugs)
Version: 3
Hardware: All Linux
Target Milestone: ---
Assignee: Elliot Lee
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2004-11-25 14:26 UTC by Paul Nasrat
Modified: 2007-11-30 22:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-03-17 20:52:46 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Following patch based pn /usr/lib/rpm/find-requires works as desired (364 bytes, patch)
2004-11-25 14:26 UTC, Paul Nasrat
no flags Details | Diff

Description Paul Nasrat 2004-11-25 14:26:22 UTC
Description of problem:

rpm -ivh --test ../RPMS/java-1.4.2-sun-
error: Failed dependencies:
        libjava.so(SUNWprivate_1.1) is needed by java-1.4.2-sun-
        libjvm.so(SUNWprivate_1.1) is needed by java-1.4.2-sun-
        libnet.so(SUNWprivate_1.1) is needed by java-1.4.2-sun-
        libverify.so(SUNWprivate_1.1) is needed by java-1.4.2-sun-

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


How reproducible:


Steps to Reproduce:
1.  Build java-1.4.2-sun from jpackage nosrc.rpm from jpackage
2.  rpm -ivh java-1.4.2-sun-{1,devel}*rpm

find /var/tmp/java-1.4.2-sun- |

find /var/tmp/java-1.4.2-sun- | /usr/lib/rpm/find-requires

Actual results:


Expected results:


Additional info:

Comment 1 Paul Nasrat 2004-11-25 14:26:22 UTC
Created attachment 107459 [details]
Following patch based pn /usr/lib/rpm/find-requires works as desired

Comment 2 Elliot Lee 2004-12-01 22:46:39 UTC
find-requires/find-provides are very deprecated - rpm uses its own
internal mechanism for this, and while overriding it is possible, it
causes badness like this. Not sure if there is any action to take...?

Comment 3 Paul Nasrat 2004-12-02 18:56:30 UTC
There are cases where disabling it is a valid and desirable choice,
and IIRC with the various JDK's we had some issues as we have very
little control over the contents of them.  In particular we get this
type of thing with the sun JDK as opposed to libname with the

Without internal:

True but the *rpm* find-requires doesn't cause the problem, the
redhat-rpm-config one does.  If you don't want to take a patch
backported from rpm itself can we just remove the redhat defined
find-requires/provides so that if internal disabled we always use the
rpm one so consistent behaviour is seen.

Comment 4 Elliot Lee 2005-04-12 20:43:00 UTC
I'm fine with removing find-requires/find-provides from redhat-rpm-config if
someone merges the changes into upstream rpm. Right now it looks like our
find-requires has a few changes that rpm may or may not.

Comment 5 Paul Nasrat 2005-04-13 09:43:05 UTC
Sure, file a new bug with specific changes, etc.

Comment 6 Ted Kaczmarek 2005-10-09 12:29:40 UTC
Any updates on this?
I hit this with FC4 and the java-1.4.2-sun-src-, but not with the

Note You need to log in before you can comment on or make changes to this bug.