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
...
compiling gdbm.c
gdbm.c:267:13: error: implicit declaration of function 'rb_sys_fail_str' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
rb_sys_fail_str(file);
^
gdbm.c:267:13: note: did you mean 'rb_sys_fail'?
/private/var/folders/9_/plmb2sws0k1_8s29w7d6hqfh0000gn/T/ruby-build.20210731110816.23145.DiKqjg/rubinius-5.0/build/rubinius/machine/include/capi/ruby/ ruby.h:2061:17: note: 'rb_sys_fail' declared here
NORETURN(void rb_sys_fail(const char* mesg));
^
/private/var/folders/9_/plmb2sws0k1_8s29w7d6hqfh0000gn/T/ruby-build.20210731110816.23145.DiKqjg/rubinius-5.0/build/rubinius/machine/include/capi/ruby/ config.h:6:48: note: expanded from macro 'NORETURN'
#define NORETURN(x) __attribute__ ((noreturn)) x
^
gdbm.c:752:11: error: implicit declaration of function 'RARRAY_CONST_PTR' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ptr = RARRAY_CONST_PTR(pair);
^
gdbm.c:752:9: warning: incompatible integer to pointer conversion assigning to 'const intptr_t *' (aka 'const long *') from 'int' [-Wint-conversion]
ptr = RARRAY_CONST_PTR(pair);
^ ~~~~~~~~~~~~~~~~~~~~~~
1 warning and 2 errors generated.
make: *** [gdbm.o] Error 1
rake aborted!
Command failed with status (2): [make...]
/private/var/folders/9_/plmb2sws0k1_8s29w7d6hqfh0000gn/T/ruby-build.20210731110816.23145.DiKqjg/rubinius-5.0/rakelib/core.rake:167:in `block in build_extension'
/private/var/folders/9_/plmb2sws0k1_8s29w7d6hqfh0000gn/T/ruby-build.20210731110816.23145.DiKqjg/rubinius-5.0/rakelib/core.rake:139:in `chdir'
/private/var/folders/9_/plmb2sws0k1_8s29w7d6hqfh0000gn/T/ruby-build.20210731110816.23145.DiKqjg/rubinius-5.0/rakelib/core.rake:139:in `build_extension'
/private/var/folders/9_/plmb2sws0k1_8s29w7d6hqfh0000gn/T/ruby-build.20210731110816.23145.DiKqjg/rubinius-5.0/rakelib/core.rake:229:in `block (3 levels) in < top (required)>'
/private/var/folders/9_/plmb2sws0k1_8s29w7d6hqfh0000gn/T/ruby-build.20210731110816.23145.DiKqjg/rubinius-5.0/rakelib/core.rake:228:in `block (2 levels) in < top (required)>'
Tasks: TOP => install => build:build => core:build => codedb:extensions
(See full trace by running task with --trace)
rbenv install rbx-4.20
...
creating Makefile
compiling gdbm.c
gdbm.c:267:13: error: implicit declaration of function 'rb_sys_fail_str' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
rb_sys_fail_str(file);
^
gdbm.c:267:13: note: did you mean 'rb_sys_fail'?
/private/var/folders/9_/plmb2sws0k1_8s29w7d6hqfh0000gn/T/ruby-build.20210731122444.98084.9E4eDA/rubinius-4.20/build/rubinius/machine/include/capi/ruby/ ruby.h:2061:17: note: 'rb_sys_fail' declared here
NORETURN(void rb_sys_fail(const char* mesg));
^
/private/var/folders/9_/plmb2sws0k1_8s29w7d6hqfh0000gn/T/ruby-build.20210731122444.98084.9E4eDA/rubinius-4.20/build/rubinius/machine/include/capi/ruby/ config.h:6:48: note: expanded from macro 'NORETURN'
#define NORETURN(x) __attribute__ ((noreturn)) x
^
gdbm.c:752:11: error: implicit declaration of function 'RARRAY_CONST_PTR' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ptr = RARRAY_CONST_PTR(pair);
^
gdbm.c:752:9: warning: incompatible integer to pointer conversion assigning to 'const intptr_t *' (aka 'const long *') from 'int' [-Wint-conversion]
ptr = RARRAY_CONST_PTR(pair);
^ ~~~~~~~~~~~~~~~~~~~~~~
1 warning and 2 errors generated.
make: *** [gdbm.o] Error 1
rake aborted!
Command failed with status (2): [make...]
/private/var/folders/9_/plmb2sws0k1_8s29w7d6hqfh0000gn/T/ruby-build.20210731122444.98084.9E4eDA/rubinius-4.20/rakelib/core.rake:167:in `block in build_extension'
/private/var/folders/9_/plmb2sws0k1_8s29w7d6hqfh0000gn/T/ruby-build.20210731122444.98084.9E4eDA/rubinius-4.20/rakelib/core.rake:139:in `chdir'
/private/var/folders/9_/plmb2sws0k1_8s29w7d6hqfh0000gn/T/ruby-build.20210731122444.98084.9E4eDA/rubinius-4.20/rakelib/core.rake:139:in `build_extension'
/private/var/folders/9_/plmb2sws0k1_8s29w7d6hqfh0000gn/T/ruby-build.20210731122444.98084.9E4eDA/rubinius-4.20/rakelib/core.rake:229:in `block (3 levels) in <top (required)>'
/private/var/folders/9_/plmb2sws0k1_8s29w7d6hqfh0000gn/T/ruby-build.20210731122444.98084.9E4eDA/rubinius-4.20/rakelib/core.rake:228:in `block (2 levels) in <top (required)>'
Tasks: TOP => install => build:build => core:build => codedb:extensions
(See full trace by running task with --trace)
4. What version of Rubinius?
rbx-5.0
4.20
5. What version of operating system?
Darwin MacBook-Pro.local 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64 x86_64
6. What is your operating system distribution, if your operating system has more than one?
1. What command did you run?
I ran:
rbenv install rbx-5.0
rbenv install rbx-4.20
2. What behavior did you expect?
I expected ...
3. What behavior did you get instead?
I observed
rbenv install rbx-5.0
rbenv install rbx-4.20
4. What version of Rubinius?
5. What version of operating system?
6. What is your operating system distribution, if your operating system has more than one?
macOS Intel
7. How did you build your version of Rubinius?
The text was updated successfully, but these errors were encountered: