Opened 3 years ago

Closed 3 years ago

#61982 closed defect (fixed)

ruby @1.8.7-p374_12 build failure

Reported by: jrquinello (jrquinello) Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jmroot (Joshua Root)
Port: ruby

Description (last modified by jmroot (Joshua Root))

--->  Computing dependencies for ruby
--->  Fetching archive for ruby
--->  Attempting to fetch ruby-1.8.7-p374_12.darwin_15.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/ruby
--->  Attempting to fetch ruby-1.8.7-p374_12.darwin_15.x86_64.tbz2 from https://mse.uk.packages.macports.org/ruby
--->  Attempting to fetch ruby-1.8.7-p374_12.darwin_15.x86_64.tbz2 from https://lil.fr.packages.macports.org/ruby
--->  Building ruby
Error: Failed to build ruby: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ruby/ruby/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.**

The log shows: Error code: CHILDSTATUS 994 2.

could someone help me?

Thanx.

Change History (5)

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

Cc: jmroot added
Description: modified (diff)
Owner: set to kimuraw
Port: ruby added
Status: newassigned
Summary: ruby-1.8.7-p374_12 does not installruby @1.8.7-p374_12 build failure

Please add the main.log to the ticket as an attachment.

comment:2 Changed 3 years ago by jrquinello (jrquinello)

ok.

Last login: Mon Jan 4 12:46:02 on ttys000

➜ ~ sudo port upgrade outdated ---> Computing dependencies for ruby ---> Fetching archive for ruby ---> Attempting to fetch ruby-1.8.7-p374_12.darwin_15.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/ruby ---> Attempting to fetch ruby-1.8.7-p374_12.darwin_15.x86_64.tbz2 from https://lil.fr.packages.macports.org/ruby ---> Attempting to fetch ruby-1.8.7-p374_12.darwin_15.x86_64.tbz2 from https://mse.uk.packages.macports.org/ruby ---> Building ruby Error: Failed to build ruby: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ruby/ruby/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. ➜ ~ sudo port -d -f install expat DEBUG: Copying /Users/jrquinello/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/expat DEBUG: OS darwin/15.6.0 (macOS 10.11) arch i386 DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: universal variant already exists, so not adding the default one DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies DEBUG: Running callback portstartupitem::add_notes DEBUG: Finished running callback portstartupitem::add_notes DEBUG: Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/expat/work DEBUG: dropping privileges: euid changed to 502, egid changed to 501. DEBUG: Starting logging for expat DEBUG: OS X 10.11 (darwin/15.6.0) arch i386 DEBUG: MacPorts 2.6.4 DEBUG: Xcode 8.2.1 DEBUG: SDK 10.11 DEBUG: MACOSX_DEPLOYMENT_TARGET: 10.11 DEBUG: expat has no conflicts DEBUG: Skipping activate (expat @2.2.10_0) since this port is already active DEBUG: Executing org.macports.main (expat) DEBUG: clean phase started at Mon Jan 4 13:01:51 BRST 2021 ---> Cleaning expat DEBUG: Executing org.macports.clean (expat) ---> Removing work directory for expat DEBUG: Removing directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat DEBUG: Removing symlink: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/expat/work DEBUG: Removing directory: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat ---> Scanning binaries for linking errors DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/bugpoint DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/dsymutil DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llc DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/lli DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-ar DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-as DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-bcanalyzer DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-c-test DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-cat DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-cfi-verify DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-config DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-cov DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-cvtres DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-cxxdump DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-cxxfilt DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-cxxmap DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-diff DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-dis DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-dwarfdump DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-dwp DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-elfabi DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-exegesis DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-extract DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-jitlink DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-link DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-lipo DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-lto DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-lto2 DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-mc DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-mca DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-modextract DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-mt DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-nm DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-objcopy DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-objdump DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-opt-report DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-pdbutil DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-profdata DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-rc DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-readobj DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-rtdyld DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-size DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-split DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-stress DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-strings DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-symbolizer DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-undname DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/llvm-xray DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/obj2yaml DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/opt DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/sancov DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/sanstats DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/verify-uselistorder DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/yaml2obj DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/lib/libLTO.dylib DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/lib/libRemarks.dylib DEBUG: Ignoring loadcommand containing @rpath in /opt/local/bin/rustc DEBUG: Ignoring loadcommand containing @rpath in /opt/local/bin/rustc DEBUG: Ignoring loadcommand containing @rpath in /opt/local/bin/rustdoc DEBUG: Ignoring loadcommand containing @rpath in /opt/local/bin/rustdoc DEBUG: Ignoring loadcommand containing @rpath in /opt/local/bin/rustdoc DEBUG: Ignoring loadcommand containing @rpath in /opt/local/lib/librustc_driver-737655e403616555.dylib DEBUG: Ignoring loadcommand containing @rpath in /opt/local/lib/libtest-4d502f1b7f299993.dylib DEBUG: Ignoring loadcommand containing @rpath in /opt/local/lib/rustlib/x86_64-apple-darwin/lib/libtest-4d502f1b7f299993.dylib DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/c-index-test DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/c-index-test DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-apply-replacements DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-change-namespace DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-check DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-check DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-doc DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-extdef-mapping DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-extdef-mapping DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-format DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-format DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-import-test DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-import-test DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-include-fixer DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-offload-bundler DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-offload-bundler DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-query DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-refactor DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-refactor DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-rename DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-rename DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-reorder-fields DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-scan-deps DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-scan-deps DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clang-tidy DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clangd DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/clangd-xpc-test-client DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/diagtool DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/diagtool DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/find-all-symbols DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/bin/modularize DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/lib/libClangdXPCLib.dylib DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/lib/libclang-cpp.dylib DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/llvm-9.0/lib/libclang.dylib DEBUG: Ignoring loadcommand containing @rpath in /opt/local/libexec/qt5/bin/qdoc DEBUG: skipping ppc in /opt/local/share/cmake-3.19/Modules/Internal/CPack/CPack.OSXScriptLauncher.in since this system can't run it anyway ---> No broken files found. ---> No broken ports found. ➜ ~ sudo port -d selfupdate Password: DEBUG: Copying /Users/jrquinello/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs ---> Updating MacPorts base sources using rsync DEBUG: system: /usr/bin/rsync -rtzvl --delete-after rsync://rsync.macports.org/macports/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs

Willkommen auf dem RSYNC-server auf ftp.fau.de. Nicht all unsere Mirror sind per rsync verfuegbar.

Welcome to the RSYNC daemon on ftp.fau.de. Not all of our mirrors are available through rsync.

receiving file list ... done

sent 16 bytes received 55 bytes 20.29 bytes/sec total size is 85731840 speedup is 1207490.70 DEBUG: system: /usr/bin/rsync -rtzvl --delete-after rsync://rsync.macports.org/macports/release/tarballs/base.tar.rmd160 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs

Willkommen auf dem RSYNC-server auf ftp.fau.de. Nicht all unsere Mirror sind per rsync verfuegbar.

Welcome to the RSYNC daemon on ftp.fau.de. Not all of our mirrors are available through rsync.

receiving file list ... done

sent 16 bytes received 62 bytes 22.29 bytes/sec total size is 512 speedup is 6.56 DEBUG: successful verification with key /opt/local/share/macports/macports-pubkey.pem DEBUG: system: /usr/bin/tar -C /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/tmp -xf /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base.tar MacPorts base version 2.6.4 installed, DEBUG: Rebuilding and reinstalling MacPorts if needed MacPorts base version 2.6.4 downloaded. ---> Updating the ports tree Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tar DEBUG: system: /usr/bin/rsync -rtzvl --delete-after --include=/ports.tar --include=/ports.tar.rmd160 --exclude=* rsync://rsync.macports.org/release/tarballs/ /opt/local/var/macports/sources/rsync.macports.org/release/tarballs

Willkommen auf dem RSYNC-server auf ftp.fau.de. Nicht all unsere Mirror sind per rsync verfuegbar.

Welcome to the RSYNC daemon on ftp.fau.de. Not all of our mirrors are available through rsync.

receiving file list ... done ./

sent 68 bytes received 99 bytes 66.80 bytes/sec total size is 81370112 speedup is 487246.18 DEBUG: successful verification with key /opt/local/share/macports/macports-pubkey.pem DEBUG: system: /usr/bin/tar -C /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/tmp -xf /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports.tar DEBUG: system: chmod -R a+r /opt/local/var/macports/sources/rsync.macports.org/release/tarballs DEBUG: system: /opt/local/bin/portindex /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports

Total number of ports parsed: 0 Ports successfully parsed: 0 Ports failed: 0 Up-to-date ports skipped: 25085

---> MacPorts base is already the latest version DEBUG: Setting MacPorts sources ownership to root

The ports tree has been updated. To upgrade your installed ports, you should run

port upgrade outdated

➜ ~ sudo port upgrade outdated ---> Computing dependencies for ruby ---> Fetching archive for ruby ---> Attempting to fetch ruby-1.8.7-p374_12.darwin_15.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/ruby ---> Attempting to fetch ruby-1.8.7-p374_12.darwin_15.x86_64.tbz2 from https://lil.fr.packages.macports.org/ruby ---> Attempting to fetch ruby-1.8.7-p374_12.darwin_15.x86_64.tbz2 from https://mse.uk.packages.macports.org/ruby ---> Building ruby Error: Failed to build ruby: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ruby/ruby/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. ➜ ~ cd /opt/local/var/macports/logs/ ➜ logs ls _opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ruby ➜ logs cd _opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ruby ➜ _opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ruby ls ruby ➜ _opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ruby cd ruby ➜ ruby ls main.log ➜ ruby nano main.log

GNU nano 5.4 main.log

:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools' :debug:build LIBRARY_PATH='/opt/local/lib' :debug:build MACOSX_DEPLOYMENT_TARGET='10.11' :info:build Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ta> :debug:build system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarb> :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_> :info:build /usr/bin/clang -pipe -Os -arch x86_64 -fno-common -pipe -fno-common -DRUBY_EXPORT -arch x86_64 -I. -I. > :info:build main.c:30:54: error: too few arguments to function call, expected at least 2, have 0 :info:build static void objcdummyfunction( void ) { objc_msgSend(); } :info:build :info:build /usr/include/objc/message.h:85:1: note: 'objc_msgSend' declared here :info:build OBJC_EXPORT id objc_msgSend(id self, SEL op, ...) :info:build :info:build /usr/include/objc/objc-api.h:181:25: note: expanded from macro 'OBJC_EXPORT' :info:build # define OBJC_EXPORT OBJC_EXTERN OBJC_VISIBLE :info:build :info:build /usr/include/objc/objc-api.h:164:28: note: expanded from macro 'OBJC_EXTERN' :info:build # define OBJC_EXTERN extern :info:build :info:build 1 error generated. :info:build make: * [main.o] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_r> :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_relea> :info:build Exit code: 2 :error:build Failed to build ruby: command execution failed :debug:build Error code: CHILDSTATUS 3714 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname" :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports>

Last edited 3 years ago by jrquinello (jrquinello) (previous) (diff)

comment:3 Changed 3 years ago by kimuraw (kimura wataru)

Status: assignedaccepted

the following change fixes thisl problem. I confirmed port:ruby with the patch on macOS 10.12 passed ruby's test-all.

I'll test the patch on macOS 10.15/11.x and merge into macports at next weekend.

--- main.c.orig	2021-01-02 11:01:46.000000000 +0900
+++ main.c	2021-01-05 21:08:20.000000000 +0900
@@ -27,7 +27,7 @@
 /* to link startup code with ObjC support */
 #if (defined(__APPLE__) || defined(__NeXT__)) && defined(__MACH__)
 #include <objc/message.h>
-static void objcdummyfunction( void ) { objc_msgSend(); }
+static void objcdummyfunction( void ) { objc_msgSend(NULL, NULL); }
 #endif
 
 int

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

The prototype for objc_msgSend seems to have changed recently, see this article for example: https://www.mikeash.com/pyblog/objc_msgsends-new-prototype.html

It's not clear to me what this code in ruby is meant to accomplish, but perhaps it would be best to replace #include <objc/message.h> with void objc_msgSend(void); in the patch that I added previously?

comment:5 Changed 3 years ago by kimura wataru <kimuraw@…>

Resolution: fixed
Status: acceptedclosed

In 7a33fa70e2f49344815988d46aa2408a0a9e53b2/macports-ports (master):

lang/ruby: fix build failure at main.c on macOS 14 or earlier

fixes #61982

from objc4-* in opensource.apple.com,

  • objc_msgSend(void) and OBJC_OLD_DISPATCH_PROTOTYPES introduced sinse macOS 10.8 (objc4-532)
  • OBJC_OLD_DISPATCH_PROTOTYPES always *1* between macOS 10.8 and 10.14 -> uses objc_msgSend(id, SEL, ...)

tested macOS:

  • 11.1
  • 10.15.5
  • 10.12.6
  • 10.6.8 (i386)
Note: See TracTickets for help on using tickets.