Bug 458648
| Summary: | %configure sets --target | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Stepan Kasal <kasal> | ||||
| Component: | redhat-rpm-config | Assignee: | Panu Matilainen <pmatilai> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 12 | CC: | jcm, jnovy, jonathan, pmatilai, pnasrat, susi.lehtola, yersinia.spiros | ||||
| 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: | 2010-02-02 10:01:38 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: |
|
||||||
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle. Changing version to '10'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fixed upstream now, but on Fedora redhat-rpm-config overrides the default %configure so the change needs to be done there for it to make any difference. *** Bug 516389 has been marked as a duplicate of this bug. *** This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fixed in rawhide as of redhat-rpm-config-9.1.0. |
Created attachment 313947 [details] proposed patch Macro %configure contains --target=%{_target_platform}. It should be better removed. Let me remind that in GNU-style configure scripts, --target means "the plafrom targeted by the tool just built". For example, if you are building a cross-tool, which is about to run on i386 and generate code for arm, then --target=arm-something. In most cases, this is not needed, because the rpm package does not contain any cross-building tool. And in the case that the package is a cross-building tool, this --target definition does not help either, because of the ambivalent tradition of _target* macros in rpm. Moreover, note that %{_target_platform} is used, not %{_target}, so it can easily happen that a) it is not right or b) it is a string different from %{_host} which, though right, can easily confuse the %configure script. It is best to remove --target from %configure. (The spec files for cross-build tools can then easily add the right --target.)