Bug 474083
| Summary: | gmp spec needs autoconf on s390x | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Brad Hinson <bhinson> | ||||
| Component: | gmp | Assignee: | Stepan Kasal <kasal> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 10 | CC: | kasal, varekova | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | s390x | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2008-12-03 11:46:42 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: | 467765 | ||||||
| Attachments: |
|
||||||
Running autoconf without aclocal and automake can break things. You have to run "aclocal && autoconf && automake -i" or you can use "autoreconf --install --force" which calls all of them and then "libtool --force". And it is more decent to do this in %build then in % prep, since the CPU requirements of these tools are much higher than for unpacking the tarball and applying the patches. Fixed in gmp-4.2.4-2. |
Created attachment 325325 [details] Add autoconf in %prep Description of problem: During rpmbuild on s390x, ./configure fails with: [snip] checking size of mp_limb_t... 8 configure: error: Oops, mp_limb_t is 64 bits, but the assembler code in this configuration expects 32 bits. You appear to have set $CFLAGS, perhaps you also need to tell GMP the intended ABI, see "ABI and ISA" in the manual. This is solved by adding 'autoconf' in spec in %prep (see attached spec file patch). Version-Release number of selected component (if applicable): gmp-4.2.2-8.fc10