[MacPorts] #63586: ruby30 @3.0.2_2 +doc+gmp+jemalloc does not build, on macOS 10.11.6
MacPorts
noreply at macports.org
Sun Oct 10 04:04:42 UTC 2021
#63586: ruby30 @3.0.2_2 +doc+gmp+jemalloc does not build, on macOS 10.11.6
------------------------+----------------------
Reporter: snowflake | Owner: kimuraw
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.99
Resolution: | Keywords: jemalloc
Port: ruby30 |
------------------------+----------------------
Changes (by kimuraw):
* keywords: => jemalloc
Comment:
it looks some of port:jemalloc binary distributions do not include #61419.
re-install jemalloc from source code will solve your problem.
{{{
% sudo port -ns upgrade --force jemalloc
% sudo port clean ruby30
% sudo port install ruby30 +jemalloc
}}}
note: "JEMALLOC_NOTHROW" for some jemalloc functions should be
"JEMALLOC_**SYS**_NOTHROW".
{{{
/opt/local/include/jemalloc/jemalloc.h:226:28: error: exception
specification in declaration does not match previous declaration
void JEMALLOC_NOTHROW *je_malloc(size_t size)
^
/opt/local/include/jemalloc/jemalloc.h:69:21: note: expanded from macro
'je_malloc'
# define je_malloc malloc
^
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63586#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list