Bug 75933
| Summary: | BuildRequires: not being honored | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | tanner |
| Component: | rpm | Assignee: | Jeff Johnson <jbj> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.3 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2002-10-16 03:28:50 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: | |||
|
Description
tanner
2002-10-15 04:46:53 UTC
What does rpm -q --whatprovides kernel say? $ rpm -q --whatprovides kernel kernel-2.4.18-realtime.6 kernel-2.4.18-realtime.6 kernel-2.4.18-realtime.7 kernel-2.4.18-realtime.7 kernel-2.4.18-realtime.7 kernel-2.4.18-realtime.7 OK, I was looking for a Provides: kernel from a kernel-smp package, that would have explained. So what does "rpmbuild -bc -vv ..." say? The location where the dependency is satisfied looks like D: Requires: kernel YES (db provides) $ rpm -bc -vv freeswan.spec D: opening db index /var/lib/rpm/Packages rdonly mode=0x0 D: locked db index /var/lib/rpm/Packages D: ========== +++ freeswan-1.98b-11.realtime D: opening db index /var/lib/rpm/Depends create mode=0x0 D: opening db index /var/lib/rpm/Providename rdonly mode=0x0 D: Requires: gmp-devel YES (db provides) D: Requires: libcap YES (db provides) D: YES A kernel = 2.4.18 B kernel >= 2.4.18-8.realtime D: Requires: kernel >= 2.4.18-8.realtime YES (db provides) D: opening db index /var/lib/rpm/Conflictname rdonly mode=0x0 D: closed db index /var/lib/rpm/Depends D: closed db index /var/lib/rpm/Conflictname D: closed db index /var/lib/rpm/Providename D: closed db index /var/lib/rpm/Packages OK, the problem has to do with a missing release. The Provides: kernel = 2.4.18 in the match provides all releases of the kernel, which matches your BuildRequires:. You'll need to write your dependency differently, say as BuildRequires: /lib/modules/2.4.18.realtime.8 |