Opened 3 years ago

Closed 3 years ago

#64957 closed defect (fixed)

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

Reported by: cave-canem Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: mavericks Cc: cave-canem
Port: ruby31

Description

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.

Attachments (1)

main.log.tar.xz (14.1 KB) - added by cave-canem 3 years ago.
main.log

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by cave-canem

Attachment: main.log.tar.xz added

main.log

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Cc: kimuraw removed
Owner: set to kimuraw
Port: @3.1.1 removed
Status: newassigned

comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: mavericks added; Mavericks removed

This was previously reported as #64349.

comment:3 Changed 3 years ago by evanmiller (Evan Miller)

Resolution: fixed
Status: assignedclosed

In 1bfd510aa3dbb5b139021b7bdd29d65874c265d5/macports-ports (master):

ruby31: fix build on 10.10 and earlier

Closes: #64957

Note: See TracTickets for help on using tickets.