Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 246803
Summary: | rpm: please add arm support | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lennert Buytenhek <buytenh> | ||||||||||
Component: | rpm | Assignee: | Panu Matilainen <pmatilai> | ||||||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
Severity: | low | Docs Contact: | |||||||||||
Priority: | low | ||||||||||||
Version: | rawhide | ||||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | arm9 | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2007-07-23 11:38:56 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: | 245418 | ||||||||||||
Attachments: |
|
Description
Lennert Buytenhek
2007-07-05 01:53:20 UTC
Created attachment 158570 [details]
Spec file diff for ARM.
Created attachment 158571 [details]
ARM config.guess tweak.
Ah.. the reason why config.guess tweak didn't get applied is that it's not version controlled but is inherited from system libtool at build. I can carry the config.guess patch temporarily in rawhide but the proper fix is to get the config.guess tweak to libtool itself. The s/-gnu$/%{_gnu}/ hack doesn't look right to me as it basically creates a cyclic %_gnu definition. A better fix might be to figure it out in configure.ac and make macros.in have something like %_gnu @RPMCANONGNU@ ? Created attachment 159729 [details]
Implement RPMCANONGNU.
Thanks for your comments!
This patch implements your RPMCANONGNU suggestion -- how does it look?
It seems to do the trick for me on ARM, and doesn't seem to break x86_64
at least.
I submitted the config.guess ARM EABI patch to upstream some time ago: http://savannah.gnu.org/patch/?5634 Could you carry it until it gets merged into upstream (at which point it'll end up in libtool semi-automatically)? I'll pester the upstream maintainer about merging it a bit more. Note that the redhat-rpm-config %configure macro copies config.guess from /usr/lib/rpm/redhat into the build directory, and the copy of config.guess in redhat-rpm-config was already updated to recognise ARM EABI. And so, packages that use %configure will get that version of config.guess automatically. However, the RH rpm spec file doesn't use %configure, so it builds with its own version of config.guess. Both issues should be fixed in next rawhide build (currently building), holler if not... Created attachment 160696 [details]
Remaining rpm ARM spec file fixes.
The attached spec file diff is still necessary. With this applied,
things look good to me. I'm doing a test build now to make sure.
Thanks again.
|