Red Hat Bugzilla – Bug 129034
[PATCH] rpm doesn't understand redhat-on-armv5teb and redhat-on-armv5tel
Last modified: 2007-11-30 17:10:46 EST
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):
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
Expected Results: It should have built properly :)
Created attachment 102385 [details]
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
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 ...