[MacPorts] #69338: mpfr configure fails on OS X 10.4.11 (i386) due to wrong GMP_NUMB_BITS value
MacPorts
noreply at macports.org
Wed Feb 14 14:46:31 UTC 2024
#69338: mpfr configure fails on OS X 10.4.11 (i386) due to wrong GMP_NUMB_BITS
value
------------------------+------------------------
Reporter: Moresteck | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Resolution: | Keywords: tiger i386
Port: mpfr |
------------------------+------------------------
Description changed by Moresteck:
Old description:
> `config.log` reports that `GMP_NUMB_BITS` is 64 somehow, even though in
> `gmp.h` it's defined as 32.
>
> {{{
> configure:18688: ./conftest
> GMP_NUMB_BITS = 64
> sizeof(mp_limb_t) = 4
> sizeof(mp_limb_t) * CHAR_BIT = 32 != GMP_NUMB_BITS
> configure:18688: $? = 1
> configure: program exited with status 1
> }}}
> {{{
> configure:18694: result: no
> configure:18696: error: GMP_NUMB_BITS and sizeof(mp_limb_t) are not
> consistent.
> You probably need to change some of the GMP or MPFR compile options.
> See 'config.log' for details (search for GMP_NUMB_BITS).
> }}}
>
> Maybe gmp is built incorrectly, or maybe the blame is on mpfr?
>
> Attached are full `config.log`, `build.log` and terminal output from
> trying to install libarchive.
New description:
`config.log` reports that `GMP_NUMB_BITS` is 64 somehow, even though in
`gmp.h` it's defined as 32.
{{{
configure:18688: ./conftest
GMP_NUMB_BITS = 64
sizeof(mp_limb_t) = 4
sizeof(mp_limb_t) * CHAR_BIT = 32 != GMP_NUMB_BITS
configure:18688: $? = 1
configure: program exited with status 1
}}}
{{{
configure:18694: result: no
configure:18696: error: GMP_NUMB_BITS and sizeof(mp_limb_t) are not
consistent.
You probably need to change some of the GMP or MPFR compile options.
See 'config.log' for details (search for GMP_NUMB_BITS).
}}}
Maybe gmp is built incorrectly, or maybe the blame is on mpfr?
Attached are full `config.log`, `main.log` and terminal output from trying
to install libarchive.
--
--
Ticket URL: <https://trac.macports.org/ticket/69338#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list