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 474083 - gmp spec needs autoconf on s390x
Summary: gmp spec needs autoconf on s390x
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gmp
Version: 10
Hardware: s390x
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Stepan Kasal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2008-12-02 02:19 UTC by Brad Hinson
Modified: 2008-12-03 11:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-12-03 11:46:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Add autoconf in %prep (125 bytes, patch)
2008-12-02 02:19 UTC, Brad Hinson
no flags Details | Diff

Description Brad Hinson 2008-12-02 02:19:38 UTC
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

Comment 1 Stepan Kasal 2008-12-03 11:46:42 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.