Bug 82271
Summary: | mkinitrd SRPM needs, but doesn't BuildRequire, dietlibc | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Public Beta | Reporter: | Ed Blackman <ed-keyword-bugzilla.redhat.com.4b59cf> | ||||||
Component: | mkinitrd | Assignee: | Erik Troan <ewt> | ||||||
Status: | CLOSED WONTFIX | QA Contact: | David Lawrence <dkl> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | phoebe | CC: | woodard | ||||||
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-26 15:51:48 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
Ed Blackman
2003-01-20 18:34:53 UTC
Created attachment 89559 [details]
Patch that fixes the problem
Noticed the same problem here.
Created attachment 89560 [details]
patch that fixes the problem
Figured out that it is not just a build require it is a full fledged require.
This problem is also in the Phoebe beta and so we should fix it before 8.1 comes out. Umm, no. It's linked statically, so it's definitely not needed at runtime. And the build time dep can't be added because dietlibc doesn't exist on all arches and rpm doesn't have the concept of arch colouring for build deps. No arch coloring of build dependencies? Then what is this fragment of the kernel-2.4.18-18.8.0.src.rpm spec file doing? Isn't this exactly the kind of thing that would be needed for mkinitrd? %ifarch s390 s390x BuildRequires: gcc >= 2.95.3 %else %ifarch %{all_ppc} BuildRequires: gcc >= 2.96-75 %else BuildRequires: gcc >= 2.96-98 %endif %endif that bit in the kernel doesn't work the way it should -- the dependencies don't get coded in the header (though you could argue it's better then nothing I guess). |