[MacPorts] #65162: redis @6.2.6_1+universal: error: cannot determine number of significant virtual address bits (was: Installation of redis with +universal on Mac M1 is failing)
MacPorts
noreply at macports.org
Thu May 12 04:02:53 UTC 2022
#65162: redis @6.2.6_1+universal: error: cannot determine number of significant
virtual address bits
-----------------------------+----------------------
Reporter: sudheerhebbale | Owner: dgilman
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: arm64
Port: redis |
-----------------------------+----------------------
Changes (by ryandesign):
* status: new => assigned
* keywords: redis => arm64
* owner: (none) => dgilman
Old description:
> Installation of redis with +universal on Mac M1 fails with the following
> error on the terminal
>
> Error: Failed to build redis: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_redis/redis/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port redis failed
>
> The attached log file contains the details of the error
>
> Install with just x86_64 succeeds
New description:
Installation of redis with +universal on Mac M1 fails with the following
error on the terminal
{{{
Error: Failed to build redis: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_redis/redis/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port redis failed
}}}
The attached log file contains the details of the error
Install with just x86_64 succeeds
--
Comment:
{{{
:info:build checking number of significant virtual address bits... error
:info:build configure: error: cannot determine number of significant
virtual address bits
}}}
{{{
:info:build zmalloc.c:101:17: error: implicit declaration of function
'je_malloc' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build void *ptr = malloc(MALLOC_MIN_SIZE(size)+PREFIX_SIZE);
:info:build ^
:info:build zmalloc.c:75:22: note: expanded from macro 'malloc'
:info:build #define malloc(size) je_malloc(size)
:info:build ^
}}}
--
Ticket URL: <https://trac.macports.org/ticket/65162#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list