[MacPorts] #64957: ruby31 @3.1.1 compiling yjit.c — ./yjit_asm.c:188:27: error: use of undeclared identifier 'MAP_ANONYMOUS' MAP_PRIVATE | MAP_ANONYMOUS

MacPorts noreply at macports.org
Thu Apr 7 08:13:05 UTC 2022


#64957: ruby31 @3.1.1 compiling yjit.c — ./yjit_asm.c:188:27: error: use of
undeclared identifier 'MAP_ANONYMOUS' MAP_PRIVATE | MAP_ANONYMOUS
------------------------+---------------------------
 Reporter:  cave-canem  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.7.1
 Keywords:  Mavericks   |       Port:  ruby31 @3.1.1
------------------------+---------------------------
 {{{
 port installed active and ruby30
 The following ports are currently installed:
   ruby30 @3.0.3_1+doc+gmp+jemalloc (active)
 }}}


 {{{
 sudo port -vd install ruby31 +doc +gmp +jemalloc
 ...
 compiling vm_trace.c
 compiling yjit.c
 compiling ./missing/explicit_bzero.c
 In file included from yjit.c:29:
 ./yjit_asm.c:188:27: error: use of undeclared identifier 'MAP_ANONYMOUS'
             MAP_PRIVATE | MAP_ANONYMOUS,
                           ^
 ./yjit_asm.c:201:27: error: use of undeclared identifier 'MAP_ANONYMOUS'
             MAP_PRIVATE | MAP_ANONYMOUS,
                           ^
 compiling ./missing/setproctitle.c
 2 errors generated.
 make: *** [Makefile:434: yjit.o] Error 1
 make: *** Waiting for unfinished jobs....
 make: Leaving directory '/opt/MacPorts/var/macports/build/_opt_macports-
 ports_lang_ruby31/ruby31/work/ruby-3.1.1'
 Command failed:  cd "/opt/MacPorts/var/macports/build/_opt_macports-
 ports_lang_ruby31/ruby31/work/ruby-3.1.1" && /usr/bin/make -j4 -w all
 Exit code: 2
 Error: Failed to build ruby31: command execution failed
 DEBUG: Error code: CHILDSTATUS 9188 2
 DEBUG: Backtrace: command execution failed
     while executing
 "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
     invoked from within
 "command_exec -callback portprogress::target_progress_callback build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 Error: See /opt/MacPorts/var/macports/logs/_opt_macports-
 ports_lang_ruby31/ruby31/main.log for details.
 }}}

 '''Detailed log in attachment.'''

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


More information about the macports-tickets mailing list