Bug 235195
Summary: | _target_cpu used for two unrelated purposes | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stepan Kasal <kasal> |
Component: | rpm | Assignee: | Panu Matilainen <pmatilai> |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | triage |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | bzcl34nup | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-05-07 01:25:20 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
Stepan Kasal
2007-04-04 13:11:21 UTC
The value for %{_target_cpu} et al is reset when the arch for the build is changed. It should not (but there's nothing stopping you from attempting) be changed from a spec file. rpm-4.4.9 has added a "readonly" primitive for macro so that not only is the attempt to change %_target_cpu prevented, but also there is an error message reporting that there was an attempt to change a macro that should not be changed. Whether %{_host_cpu} or %{build_cpu} or %{_target_cpu} is pretty much a matter of convention. No matter which of those is used, a %define during spec file parse will not change necessary data by re-reading per-platform macro files. BuildArchitecture: is the means by which per-platform macrofiles are re-read. UPSTREAM or WONTFIX, your call. User pnasrat's account has been closed Reassigning to owner after bugzilla made a mess, sorry about the noise... Based on the date this bug was created, it appears to have been reported against rawhide during the development of a Fedora release that is no longer maintained. In order to refocus our efforts as a project we are flagging all of the open bugs for releases which are no longer maintained. If this bug remains in NEEDINFO thirty (30) days from now, we will automatically close it. If you can reproduce this bug in a maintained Fedora version (7, 8, or rawhide), please change this bug to the respective version and change the status to ASSIGNED. (If you're unable to change the bug's version or status, add a comment to the bug and someone will change it for you.) Thanks for your help, and we apologize again that we haven't handled these issues to this point. The process we're following is outlined here: http://fedoraproject.org/wiki/BugZappers/F9CleanUp We will be following the process here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this doesn't happen again. This bug has been in NEEDINFO for more than 30 days since feedback was first requested. As a result we are closing it. If you can reproduce this bug in the future against a maintained Fedora version please feel free to reopen it against that version. The process we're following is outlined here: http://fedoraproject.org/wiki/BugZappers/F9CleanUp |