Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 140843 - redhat find-requires doesn't filter SUNWprivate whereas rpm does
redhat find-requires doesn't filter SUNWprivate whereas rpm does
Product: Fedora
Classification: Fedora
Component: redhat-rpm-config (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Elliot Lee
Depends On:
  Show dependency treegraph
Reported: 2004-11-25 09:26 EST by Paul Nasrat
Modified: 2007-11-30 17:10 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-03-17 15:52:46 EST
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 09:26 EST, Paul Nasrat
no flags Details | Diff

  None (edit)
Description Paul Nasrat 2004-11-25 09:26:22 EST
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 09:26:22 EST
Created attachment 107459 [details]
Following patch based pn /usr/lib/rpm/find-requires works as desired
Comment 2 Elliot Lee 2004-12-01 17:46:39 EST
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 13:56:30 EST
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 16:43:00 EDT
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 05:43:05 EDT
Sure, file a new bug with specific changes, etc.
Comment 6 Ted Kaczmarek 2005-10-09 08:29:40 EDT
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.