Bug 743229
Summary: | %_host set to x86_64-unknown-linux-gnu by default | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Johnny Hughes <jhughes> |
Component: | rpm | Assignee: | Panu Matilainen <pmatilai> |
Status: | CLOSED ERRATA | QA Contact: | Patrik Kis <pkis> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 6.1 | CC: | ajb, bugzilla, david, ffesti, fge, gholms, herrold, jcpunk, lfarkas, pasteur, phil, pkis, toracat, wnefal+redhatbugzilla, yury |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-21 10:51:09 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
Johnny Hughes
2011-10-04 10:14:48 UTC
Note: This is also present in RHEL-6.0 Just wanted to add a note to say it was correct in RHEL 5.x. The i386 build is also incorrect, in a different way. _host i686-pc-linux-gnu In all of the RHEL builds, the _host is: _host i386-redhat-linux-gnu Since RHEL 6.2 External Beta has begun, and this bug remains unresolved, it has been rejected as it is not proposed as exception or blocker. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. devel_ack ... I guess. The defaults are what config.guess upstream gives for RHEL/Fedora, so incorrect is in the eye of the beholder to some degree. But then, parts of the toolchain (at least gcc) is set for <arch>-redhat-linux and various packages expect it that way, and koji appears to override it to <arch>-redhat-linux-gnu anyway, so might as well have rpm defaults match what everything expects. (In reply to comment #4) > The i386 build is also incorrect, in a different way. > > _host i686-pc-linux-gnu > > In all of the RHEL builds, the _host is: > > _host i386-redhat-linux-gnu Hi Panu, do you plan to fix also what is described above? I'm asking because I'm preparing the test for this bug. Is this a bug at all? (In reply to comment #9) > Hi Panu, > > do you plan to fix also what is described above? I'm asking because I'm > preparing the test for this bug. Is this a bug at all? See comment #6, the "correct" value of these is in the eye of the beholder, i686-pc-linux-gnu and x86_64-unknown-linux-gnu are upstream config.guess values. But since there are various things in the distro that expect the <arch>-redhat-linux-gnu host we might as well "fix" rpm to always use those. Here's the Fedora "fix": http://pkgs.fedoraproject.org/cgit/rpm.git/commit/?id=4660edea189ee99d0aa80aee0461f472d00d8d76, probably the same thing will work for RHEL too. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0461.html |