Bug 81385
Summary: | rpmdeps adds paths to provides of an rpm | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Public Beta | Reporter: | ajs <ajsfedora> | ||||||
Component: | rpm | Assignee: | Jeff Johnson <jbj> | ||||||
Status: | CLOSED WORKSFORME | QA Contact: | Mike McLean <mikem> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | phoebe | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2003-01-08 22:29:46 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
ajs
2003-01-08 19:12:31 UTC
I need more details to even begin to guess what's happening. Can you attach the output of rpmdeps --rpmfcdebug, and point out the specific file/dependency that is not being generated? Created attachment 89220 [details]
provides result
result of 'find /var/tmp/mza-matlab-6.5-buildroot -type f | xargs
'/usr/lib/rpm/rpmdeps --provides | sort --unique > mza-matlab.provides
Created attachment 89221 [details]
requires result
result of 'find /var/tmp/mza-matlab-6.5-buildroot -type f | xargs
/usr/lib/rpm/rpmdeps --requires | sort --unique > mza-matlab.requires'
Notice that the provides script says that the rpm provides e.g. '../../bin/glnx86/libmex.so(libmex.INTERNAL)' while the requires script wants 'libmex.so' and 'libmex.so(libmex.INTERNAL)'. All of the lines in the provides result that have paths in them generate complaints when I try and install the rpm. I'm in the process of getting the output of 'rpmdeps --rpmfcdebug' the output of 'find /var/tmp/mza-matlab-6.5-buildroot -type f | xargs /usr/lib/rpm/rpmdeps --rpmfcdebug > mza-matlab.rpmfcdebug 2>&1' is about 3 1/2 Meg. Do you still want it as an attachment? Ick. I can see lots of packaging problems here. Add to spec file (or to build system configuration) %_use_internal_dependency_generator 0 %__find_requires /usr/lib/rpm/find-requires %__find_provides /usr/lib/rpm/find-provides and you'll be autogenerating dependencies the Good Old Way. You will lose per-file dependencies, and file classes/colors, but I very much doubt that you care. The --rmfcdebug indicates which files generated which dependencies. The next step is to examine readelf -a output, looking for anomalies. Note if adding to spec file you want %define __find_requires /usr/lib/rpm/find-requires etc. |