Bug 129034

Summary: [PATCH] rpm doesn't understand redhat-on-armv5teb and redhat-on-armv5tel
Product: [Fedora] Fedora Reporter: Lennert Buytenhek <buytenh>
Component: rpmAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED UPSTREAM QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: 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:
Description Flags
Suggested fix.
none
Suggested diff to the spec file.
none
Suggested fix, new version.
none
Suggested diff to the spec file, new version. none

Description Lennert Buytenhek 2004-08-03 12:07:39 UTC
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:

Comment 1 Lennert Buytenhek 2004-08-03 12:09:13 UTC
Created attachment 102385 [details]
Suggested fix.

Comment 2 Lennert Buytenhek 2004-08-10 16:20:46 UTC
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.

Comment 3 Lennert Buytenhek 2004-08-24 01:10:33 UTC
Created attachment 103009 [details]
Suggested fix, new version.

The little-endian arch is more appropriately named armv5tel.  Update patch to
reflect this.

Comment 4 Lennert Buytenhek 2004-08-24 01:11:32 UTC
Created attachment 103010 [details]
Suggested diff to the spec file, new version.

Update to armv5tel.

Comment 5 Jeff Johnson 2005-10-26 00:59:58 UTC
Added in rpm-4.4.3-0.24 (when built). I have no way at all of testing however ...