You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Has anyone else been seeing this error on Darwin/Mac OS-X?
(01:16:49) [0 / 51] [Prepa] Creating source manifest for //ruby/tests:args_check_sh_test ... (19 actions, 0 running)
(01:16:49) ERROR: /Users/kig/workspace/bazel/rules_ruby/ruby/tests/BUILD.bazel:194:11: Compiling ruby/tests/example_ext.c failed: (Aborted): wrapped_clang failed: error executing command
(cd /private/var/tmp/_bazel_kig/78d872dc2191ee81b494e94df999b407/sandbox/darwin-sandbox/3/execroot/bazelruby_rules_ruby && \
exec env - \
APPLE_SDK_PLATFORM=MacOSX \
APPLE_SDK_VERSION_OVERRIDE=12.0 \
PATH=/bin:/usr/bin:/usr/local/bin \
XCODE_VERSION_OVERRIDE=13.1.0.13A1030d \
external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -O0 -DDEBUG 'DEBUG_PREFIX_MAP_PWD=.' -iquote . -iquote bazel-out/macos-x86_64-applebin_macos-darwin_x86_64-fastbuild/bin -iquote external/org_ruby_lang_ruby_toolchain -iquote bazel-out/macos-x86_64-applebin_macos-darwin_x86_64-fastbuild/bin/external/org_ruby_lang_ruby_toolchain -isystem external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0 -isystem bazel-out/macos-x86_64-applebin_macos-darwin_x86_64-fastbuild/bin/external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0 -isystem external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/x86_64-darwin20 -isystem bazel-out/macos-x86_64-applebin_macos-darwin_x86_64-fastbuild/bin/external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/x86_64-darwin20 -MD -MF bazel-out/macos-x86_64-applebin_macos-darwin_x86_64-fastbuild/bin/ruby/tests/_objs/example_ext_lib/example_ext.d '-frandom-seed=bazel-out/macos-x86_64-applebin_macos-darwin_x86_64-fastbuild/bin/ruby/tests/_objs/example_ext_lib/example_ext.o' -isysroot __BAZEL_XCODE_SDKROOT__ -F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks -F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/MacOSX.platform/Developer/Library/Frameworks '-mmacosx-version-min=12.0' -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -target x86_64-apple-macosx -c ruby/tests/example_ext.c -o bazel-out/macos-x86_64-applebin_macos-darwin_x86_64-fastbuild/bin/ruby/tests/_objs/example_ext_lib/example_ext.o)
Execution platform: @local_config_platform//:host
Use --sandbox_debug to see verbose messages from the sandbox
In file included from ruby/tests/example_ext.c:1:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/ruby.h:23:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/defines.h:73:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/backward/2/attributes.h:43:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/attr/pure.h:25:
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/assert.h:132:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
^
In file included from ruby/tests/example_ext.c:1:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/ruby.h:24:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/anyargs.h:77:
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/intern/vm.h:64:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
^
In file included from ruby/tests/example_ext.c:1:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/ruby.h:25:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic.h:23:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic/char.h:23:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic/int.h:26:
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic/long.h:70:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
^
In file included from ruby/tests/example_ext.c:1:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/ruby.h:25:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic.h:23:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic/char.h:29:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rstring.h:28:
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rbasic.h:46:14: error: expected parameter declarator
RUBY_ALIGNAS(SIZEOF_VALUE)
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/value.h:41:23: note: expanded from macro 'SIZEOF_VALUE'
# define SIZEOF_VALUE SIZEOF_LONG
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/x86_64-darwin20/ruby/config.h:64:21: note: expanded from macro 'SIZEOF_LONG'
#define SIZEOF_LONG 8
^
In file included from ruby/tests/example_ext.c:1:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/ruby.h:25:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic.h:23:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic/char.h:29:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rstring.h:28:
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rbasic.h:46:14: error: expected ')'
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/value.h:41:23: note: expanded from macro 'SIZEOF_VALUE'
# define SIZEOF_VALUE SIZEOF_LONG
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/x86_64-darwin20/ruby/config.h:64:21: note: expanded from macro 'SIZEOF_LONG'
#define SIZEOF_LONG 8
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rbasic.h:46:1: note: to match this '('
RUBY_ALIGNAS(SIZEOF_VALUE)
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/backward/2/stdalign.h:27:22: note: expanded from macro 'RUBY_ALIGNAS'
#define RUBY_ALIGNAS RBIMPL_ALIGNAS
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/stdalign.h:66:44: note: expanded from macro 'RBIMPL_ALIGNAS'
# define RBIMPL_ALIGNAS(_) __declspec(align(_))
^
In file included from ruby/tests/example_ext.c:1:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/ruby.h:25:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic.h:23:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic/char.h:29:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rstring.h:28:
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rbasic.h:47:1: error: expected function body after function declarator
RBasic {
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rbasic.h:82:23: error: incomplete definition of type 'struct RBasic'
return RBASIC(obj)->klass;
~~~~~~~~~~~^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rbasic.h:82:12: note: forward declaration of 'struct RBasic'
return RBASIC(obj)->klass;
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rbasic.h:34:50: note: expanded from macro 'RBASIC'
#define RBASIC(obj) RBIMPL_CAST((struct RBasic *)(obj))
^
In file included from ruby/tests/example_ext.c:1:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/ruby.h:25:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic.h:23:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic/char.h:29:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rstring.h:30:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/fl_type.h:35:
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/value_type.h:157:28: error: incomplete definition of type 'struct RBasic'
VALUE ret = RBASIC(obj)->flags & RUBY_T_MASK;
~~~~~~~~~~~^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/value_type.h:157:17: note: forward declaration of 'struct RBasic'
VALUE ret = RBASIC(obj)->flags & RUBY_T_MASK;
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rbasic.h:34:50: note: expanded from macro 'RBASIC'
#define RBASIC(obj) RBIMPL_CAST((struct RBasic *)(obj))
^
In file included from ruby/tests/example_ext.c:1:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/ruby.h:25:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic.h:23:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic/char.h:29:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rstring.h:30:
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/fl_type.h:237:23: error: incomplete definition of type 'struct RBasic'
return RBASIC(obj)->flags & flags;
~~~~~~~~~~~^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/fl_type.h:237:12: note: forward declaration of 'struct RBasic'
return RBASIC(obj)->flags & flags;
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rbasic.h:34:50: note: expanded from macro 'RBASIC'
#define RBASIC(obj) RBIMPL_CAST((struct RBasic *)(obj))
^
In file included from ruby/tests/example_ext.c:1:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/ruby.h:25:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic.h:23:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic/char.h:29:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rstring.h:30:
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/fl_type.h:285:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NOALIAS()
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/attr/noalias.h:53:32: note: expanded from macro 'RBIMPL_ATTR_NOALIAS'
# define RBIMPL_ATTR_NOALIAS() __declspec(noalias)
^
In file included from ruby/tests/example_ext.c:1:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/ruby.h:25:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic.h:23:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic/char.h:29:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rstring.h:30:
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/fl_type.h:290:8: error: incomplete definition of type 'struct RBasic'
obj->flags |= flags;
~~~^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/fl_type.h:288:30: note: forward declaration of 'struct RBasic'
rbimpl_fl_set_raw_raw(struct RBasic *obj, VALUE flags)
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/fl_type.h:310:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NOALIAS()
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/attr/noalias.h:53:32: note: expanded from macro 'RBIMPL_ATTR_NOALIAS'
# define RBIMPL_ATTR_NOALIAS() __declspec(noalias)
^
In file included from ruby/tests/example_ext.c:1:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/ruby.h:25:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic.h:23:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic/char.h:29:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rstring.h:30:
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/fl_type.h:315:8: error: incomplete definition of type 'struct RBasic'
obj->flags &= ~flags;
~~~^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/fl_type.h:313:32: note: forward declaration of 'struct RBasic'
rbimpl_fl_unset_raw_raw(struct RBasic *obj, VALUE flags)
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/fl_type.h:335:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NOALIAS()
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/attr/noalias.h:53:32: note: expanded from macro 'RBIMPL_ATTR_NOALIAS'
# define RBIMPL_ATTR_NOALIAS() __declspec(noalias)
^
In file included from ruby/tests/example_ext.c:1:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/ruby.h:25:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic.h:23:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic/char.h:29:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rstring.h:30:
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/fl_type.h:340:8: error: incomplete definition of type 'struct RBasic'
obj->flags ^= flags;
~~~^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/fl_type.h:338:34: note: forward declaration of 'struct RBasic'
rbimpl_fl_reverse_raw_raw(struct RBasic *obj, VALUE flags)
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/fl_type.h:465:43: error: incomplete definition of type 'struct RBasic'
if (RBASIC_CLASS(x) && !(RBASIC(x)->flags & RUBY_FL_SINGLETON)) {
~~~~~~~~~^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/fl_type.h:465:34: note: forward declaration of 'struct RBasic'
if (RBASIC_CLASS(x) && !(RBASIC(x)->flags & RUBY_FL_SINGLETON)) {
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rbasic.h:34:50: note: expanded from macro 'RBASIC'
#define RBASIC(obj) RBIMPL_CAST((struct RBasic *)(obj))
^
In file included from ruby/tests/example_ext.c:1:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/ruby.h:25:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic.h:23:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/arithmetic/char.h:29:
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rstring.h:74:19: error: field has incomplete type 'struct RBasic'
struct RBasic basic;
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rstring.h:74:12: note: forward declaration of 'struct RBasic'
struct RBasic basic;
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rstring.h:109:26: error: incomplete definition of type 'struct RBasic'
VALUE f = RBASIC(str)->flags;
~~~~~~~~~~~^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rstring.h:74:12: note: forward declaration of 'struct RBasic'
struct RBasic basic;
^
In file included from ruby/tests/example_ext.c:1:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/ruby.h:26:
In file included from external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core.h:23:
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rarray.h:88:19: error: field has incomplete type 'struct RBasic'
struct RBasic basic;
^
external/org_ruby_lang_ruby_toolchain/Users/kig/.rbenv/versions/3.0.2/include/ruby-3.0.0/ruby/internal/core/rstring.h:74:12: note: forward declaration of 'struct RBasic'
struct RBasic basic;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Error in child process '/usr/bin/xcrun'. 1
(01:16:49) INFO: Elapsed time: 19.949s, Critical Path: 0.51s
(01:16:49) INFO: 60 processes: 58 internal, 2 darwin-sandbox.
(01:16:49) FAILED: Build did NOT complete successfully
(01:16:49) FAILED: Build did NOT complete successfully
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Has anyone else been seeing this error on Darwin/Mac OS-X?
Beta Was this translation helpful? Give feedback.
All reactions