Opened 4 years ago
Last modified 3 years ago
#65290 assigned defect
ruby31 @3.1.2 Error: Undefined symbols for architecture x86_64:
| Reported by: | cave-canem | Owned by: | kimuraw (kimura wataru) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.7.2 |
| Keywords: | Mavericks | Cc: | cave-canem, mascguy (Christopher Nielsen) |
| Port: | ruby31 |
Description
sudo port -vd install ruby31 +doc +gmp +jemalloc
...
compiling enc/trans/newline.c
compiling version.c
linking miniruby
Undefined symbols for architecture x86_64:
"_SecRandomCopyBytes", referenced from:
_ruby_fill_random_bytes in random.o
_Init_RandomSeedCore in random.o
_fill_random_seed in random.o
_random_raw_seed in random.o
"_kSecRandomDefault", referenced from:
_ruby_fill_random_bytes in random.o
_Init_RandomSeedCore in random.o
_fill_random_seed in random.o
_random_raw_seed in random.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [miniruby] Error 1
make: Leaving directory `/opt/MacPorts/var/macports/build/_opt_macports-ports_lang_ruby31/ruby31/work/ruby-3.1.2'
Command failed: cd "/opt/MacPorts/var/macports/build/_opt_macports-ports_lang_ruby31/ruby31/work/ruby-3.1.2" && /usr/bin/make -j4 -w all
Exit code: 2
Error: Failed to build ruby31: command execution failed
DEBUG: Error code: CHILDSTATUS 79900 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.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port ruby31 failed
See the detailed log in the attachment
Attachments (1)
Change History (4)
Changed 4 years ago by cave-canem
| Attachment: | main.log.tar.xz added |
|---|
comment:1 Changed 3 years ago by kimura wataru <kimuraw@…>
comment:2 Changed 3 years ago by mascguy (Christopher Nielsen)
| Cc: | mascguy added |
|---|
comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)
| Cc: | kimuraw removed |
|---|---|
| Owner: | set to kimuraw |
| Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.

main.log