Bug 129034
| Summary: | [PATCH] rpm doesn't understand redhat-on-armv5teb and redhat-on-armv5tel | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Lennert Buytenhek <buytenh> | ||||||||||
| Component: | rpm | Assignee: | Paul Nasrat <nobody+pnasrat> | ||||||||||
| Status: | CLOSED UPSTREAM | QA Contact: | Mike McLean <mikem> | ||||||||||
| Severity: | medium | Docs Contact: | |||||||||||
| Priority: | medium | ||||||||||||
| Version: | rawhide | CC: | nobody+pnasrat | ||||||||||
| Target Milestone: | --- | Keywords: | EasyFix, Patch | ||||||||||
| Target Release: | --- | ||||||||||||
| Hardware: | xscale | ||||||||||||
| OS: | Linux | ||||||||||||
| Whiteboard: | |||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2005-10-26 00:59:58 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: | |||||||||||||
| Bug Depends On: | |||||||||||||
| Bug Blocks: | 129587 | ||||||||||||
| Attachments: |
|
||||||||||||
Created attachment 102385 [details]
Suggested fix.
Created attachment 102575 [details]
Suggested diff to the spec file.
This patch teaches the spec file to pick up the correct /usr/lib/rpm/arch dir.
Created attachment 103009 [details]
Suggested fix, new version.
The little-endian arch is more appropriately named armv5tel. Update patch to
reflect this.
Created attachment 103010 [details]
Suggested diff to the spec file, new version.
Update to armv5tel.
Added in rpm-4.4.3-0.24 (when built). I have no way at all of testing however ... |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510 Description of problem: config.guess supplied with rpm 4.3.1 automatically sets the vendor to unknown if the arch is arm*, preventing bootstrapping of Fedora 2 on the armv5te(b) architectures. Also, rpm won't install noarch RPMS on darmv5te and armv5teb architectures by default. Version-Release number of selected component (if applicable): 4.3.1 How reproducible: Always Steps to Reproduce: Hand-build an initial set of packages for the armv5te(b) architecture, and then try to rpmbuild --rebuild the rpm 4.3.1 source rpm. Actual Results: Bails out, because /usr/src/unknown instead of /usr/src/redhat is made by the build+install process. This happens because the supplied config.guess forces vendor to be unknown if arch is arm*, returning armv5te(b)-unknown-linux-gnu instead of armv5te(b)-redhat-linux-gnu. Expected Results: It should have built properly :) Additional info: