Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 134374 - find-requires: match internal RPM behavior
find-requires: match internal RPM behavior
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2004-10-01 14:58 EDT by Bill Nottingham
Modified: 2014-03-16 22:48 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-01 17:41:03 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch that removes filtering (536 bytes, patch)
2004-10-01 14:59 EDT, Bill Nottingham
no flags Details | Diff

  None (edit)
Description Bill Nottingham 2004-10-01 14:58:54 EDT
RPM's internal dependency generator does not filter non-GLIBC/GCC
symbol versions, so find-requires probably shouldn't either.
Comment 1 Bill Nottingham 2004-10-01 14:59:33 EDT
Created attachment 104643 [details]
patch that removes filtering
Comment 2 Jeff Johnson 2004-10-01 17:41:03 EDT
find-requires dead and gone. if anything, I will remove
find-requires and find-provides from rpm.
Comment 3 Jeff Johnson 2004-10-01 17:45:59 EDT
Look at /usr/lib/rpm/rpmdeps for the replacement (which
uses the same internal dependency generator as rpm).

colors are not set if/when find-{requires,provides}
are used, and there is other missing
data in packages as well.
Comment 4 Bill Nottingham 2004-10-01 18:01:18 EDT
I'll bite. rpmdeps doesn't output any information related to colors at
all, so how is it missing when something else is used?
Comment 5 Jeff Johnson 2004-10-03 10:19:55 EDT
rpmdeps is a replacement for find-requires that uses the
internal dependency extraction (which filters GLIBC_PRIVATE).

rpmdeps does not generate colors, nor can colors be generated
external to rpm without breaking/changing the ancient find-requires

So the only way to add coloring to package files is to use the internal
dependency generator, which has been in "production" since RHL 9.

There is --debug in rpmdeps if you need tool to identify what colors
are assigned. Other options could be added if that is your quest.
My goal writing rpmdeps was to supply a replacement for find-requires
that filtered using the internal dependency extractor, not otherwise.

Note that there is much much more than adding a color tag going
on internally. There are other properties, like ensuring that
dependencies are sorted, and that dependencies are attached per-file,
in a forward <-> backward compatible way that make any attempt
to create the information in helper using an API more than a bit
Comment 6 Bill Nottingham 2004-10-03 23:22:49 EDT
Hm, OK. Unfortunately, I have a need to filter deps; I see this
leading to problems. :/
Comment 7 Jeff Johnson 2004-10-04 10:04:48 EDT
What problems?

You identify what you want filtered, I add internal to rpm.

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