[MacPorts] #63586: ruby30 @3.0.2_2 +doc+gmp+jemalloc does not build, on macOS 10.11.6

MacPorts noreply at macports.org
Thu Oct 7 21:25:49 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
 Keywords:             |       Port:  ruby30
-----------------------+----------------------
 The bug may be in jemalloc, which is not a default variant.

 {{{
 make[2]: Entering directory
 `/opt/local/var/macports/build/_Users_davidevans_macports_sources_github
 .com_macports_macports-
 ports_lang_ruby30/ruby30/work/ruby-3.0.2/ext/-test-/cxxanyargs'
 compiling cxxanyargs.cpp
 In file included from cxxanyargs.cpp:1:
 In file included from ../../.././include/ruby/ruby.h:23:
 In file included from ../../.././include/ruby/defines.h:80:
 In file included from ../../.././include/ruby/missing.h:26:
 /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
                     ^
 /usr/include/stdlib.h:152:7: note: previous declaration is here
 void    *malloc(size_t);
          ^
 In file included from cxxanyargs.cpp:1:
 In file included from ../../.././include/ruby/ruby.h:23:
 In file included from ../../.././include/ruby/defines.h:80:
 In file included from ../../.././include/ruby/missing.h:26:
 /opt/local/include/jemalloc/jemalloc.h:229:28: error: exception
 specification in declaration does not match previous declaration
     void JEMALLOC_NOTHROW       *je_calloc(size_t num, size_t size)
                                  ^
 /opt/local/include/jemalloc/jemalloc.h:63:21: note: expanded from macro
 'je_calloc'
 #  define je_calloc calloc
                     ^
 /usr/include/stdlib.h:140:7: note: previous declaration is here
 void    *calloc(size_t, size_t);
          ^
 In file included from cxxanyargs.cpp:1:
 In file included from ../../.././include/ruby/ruby.h:23:
 In file included from ../../.././include/ruby/defines.h:80:
 In file included from ../../.././include/ruby/missing.h:26:
 /opt/local/include/jemalloc/jemalloc.h:231:38: error: exception
 specification in declaration does not match previous declaration
 JEMALLOC_EXPORT int JEMALLOC_NOTHROW    je_posix_memalign(void **memptr,
                                         ^
 /opt/local/include/jemalloc/jemalloc.h:77:29: note: expanded from macro
 'je_posix_memalign'
 #  define je_posix_memalign posix_memalign
                             ^
 /usr/include/stdlib.h:156:7: note: previous declaration is here
 int      posix_memalign(void **, size_t, size_t)
 __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_0);
          ^
 In file included from cxxanyargs.cpp:1:
 In file included from ../../.././include/ruby/ruby.h:23:
 In file included from ../../.././include/ruby/defines.h:80:
 In file included from ../../.././include/ruby/missing.h:26:
 /opt/local/include/jemalloc/jemalloc.h:238:28: error: exception
 specification in declaration does not match previous declaration
     void JEMALLOC_NOTHROW       *je_realloc(void *ptr, size_t size)
                                  ^
 /opt/local/include/jemalloc/jemalloc.h:79:22: note: expanded from macro
 'je_realloc'
 #  define je_realloc realloc
 }}}
                      ^

-- 
Ticket URL: <https://trac.macports.org/ticket/63586>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list