Last active
March 21, 2023 15:39
-
-
Save ongaeshi/3b566aefc77305c40eb2c4f0debdb7c4 to your computer and use it in GitHub Desktop.
ruby.wasm build Error log: rake build:head-wasm32-unknown-wasi-full-js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tool/config.guess already exists | |
tool/config.sub already exists | |
checking build system type... x86_64-pc-linux-gnu | |
checking host system type... wasm32-unknown-wasi | |
checking target system type... wasm32-unknown-wasi | |
checking for wasm32-wasi-wasm-opt... /home/ongaeshi/WslCode/ruby.wasm/build/toolchain/binaryen/bin/wasm-opt | |
checking wheather $WASI_SDK_PATH is set... no | |
configure: error: WASI_SDK_PATH environment variable is required | |
make: *** No rule to make target 'rbconfig.rb'. Stop. | |
creating Makefile | |
make: Entering directory '/home/ongaeshi/WslCode/ruby.wasm/build/wasm32-unknown-wasi/head-wasm32-unknown-wasi-full-js-ext/js' | |
compiling /home/ongaeshi/WslCode/ruby.wasm/ext/js/js-core.c | |
warning: unknown warning option '-Wduplicated-cond' [-Wunknown-warning-option] | |
warning: unknown warning option '-Wimplicit-fallthrough=0'; did you mean '-Wimplicit-fallthrough'? [-Wunknown-warning-option] | |
warning: unknown warning option '-Wno-packed-bitfield-compat' [-Wunknown-warning-option] | |
warning: unknown warning option '-Wsuggest-attribute=format'; did you mean '-Wproperty-attribute-mismatch'? [-Wunknown-warning-option] | |
warning: unknown warning option '-Wsuggest-attribute=noreturn' [-Wunknown-warning-option] | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/ext/js/js-core.c:3: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby.h:38: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/ruby.h:27: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/anyargs.h:76: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/intern/class.h:24: | |
/home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/value.h:129:1: error: static_assert failed due to requirement '8 == sizeof(long)' "sizeof_long: SIZEOF_LONG == sizeof(long)" | |
RBIMPL_STATIC_ASSERT(sizeof_long, SIZEOF_LONG == sizeof(long)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/static_assert.h:70:5: note: expanded from macro 'RBIMPL_STATIC_ASSERT' | |
RBIMPL_STATIC_ASSERT0(expr, # name ": " # expr) | |
^ ~~~~ | |
/home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/static_assert.h:48:46: note: expanded from macro 'RBIMPL_STATIC_ASSERT0' | |
# define RBIMPL_STATIC_ASSERT0 __extension__ _Static_assert | |
^ | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/ext/js/js-core.c:3: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby.h:38: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/ruby.h:27: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/anyargs.h:76: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/intern/class.h:24: | |
/home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/value.h:131:1: error: static_assert failed due to requirement '8 == sizeof(void *)' "sizeof_voidp: SIZEOF_VOIDP == sizeof(void *)" | |
RBIMPL_STATIC_ASSERT(sizeof_voidp, SIZEOF_VOIDP == sizeof(void *)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/static_assert.h:70:5: note: expanded from macro 'RBIMPL_STATIC_ASSERT' | |
RBIMPL_STATIC_ASSERT0(expr, # name ": " # expr) | |
^ ~~~~ | |
/home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/static_assert.h:48:46: note: expanded from macro 'RBIMPL_STATIC_ASSERT0' | |
# define RBIMPL_STATIC_ASSERT0 __extension__ _Static_assert | |
^ | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/ext/js/js-core.c:3: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby.h:38: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/ruby.h:28: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/arithmetic.h:37: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/arithmetic/st_data_t.h:31: | |
/home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/st.h:58:45: error: 'st_check_for_sizeof_st_index_t' declared as an array with a negative size | |
typedef char st_check_for_sizeof_st_index_t[SIZEOF_VOIDP == (int)sizeof(st_index_t) ? 1 : -1]; | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/x86_64-linux/ruby/config.h:81:22: note: expanded from macro 'SIZEOF_VOIDP' | |
#define SIZEOF_VOIDP 8 | |
^ | |
5 warnings and 3 errors generated. | |
make: *** [Makefile:262: js-core.o] Error 1 | |
make: Leaving directory '/home/ongaeshi/WslCode/ruby.wasm/build/wasm32-unknown-wasi/head-wasm32-unknown-wasi-full-js-ext/js' | |
creating Makefile | |
make: Entering directory '/home/ongaeshi/WslCode/ruby.wasm/build/wasm32-unknown-wasi/head-wasm32-unknown-wasi-full-js-ext/witapi' | |
compiling /home/ongaeshi/WslCode/ruby.wasm/ext/witapi/witapi-core.c | |
warning: unknown warning option '-Wduplicated-cond' [-Wunknown-warning-option] | |
warning: unknown warning option '-Wimplicit-fallthrough=0'; did you mean '-Wimplicit-fallthrough'? [-Wunknown-warning-option] | |
warning: unknown warning option '-Wno-packed-bitfield-compat' [-Wunknown-warning-option] | |
warning: unknown warning option '-Wsuggest-attribute=format'; did you mean '-Wproperty-attribute-mismatch'? [-Wunknown-warning-option] | |
warning: unknown warning option '-Wsuggest-attribute=noreturn' [-Wunknown-warning-option] | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/ext/witapi/witapi-core.c:3: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby.h:38: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/ruby.h:27: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/anyargs.h:76: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/intern/class.h:24: | |
/home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/value.h:129:1: error: static_assert failed due to requirement '8 == sizeof(long)' "sizeof_long: SIZEOF_LONG == sizeof(long)" | |
RBIMPL_STATIC_ASSERT(sizeof_long, SIZEOF_LONG == sizeof(long)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/static_assert.h:70:5: note: expanded from macro 'RBIMPL_STATIC_ASSERT' | |
RBIMPL_STATIC_ASSERT0(expr, # name ": " # expr) | |
^ ~~~~ | |
/home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/static_assert.h:48:46: note: expanded from macro 'RBIMPL_STATIC_ASSERT0' | |
# define RBIMPL_STATIC_ASSERT0 __extension__ _Static_assert | |
^ | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/ext/witapi/witapi-core.c:3: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby.h:38: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/ruby.h:27: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/anyargs.h:76: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/intern/class.h:24: | |
/home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/value.h:131:1: error: static_assert failed due to requirement '8 == sizeof(void *)' "sizeof_voidp: SIZEOF_VOIDP == sizeof(void *)" | |
RBIMPL_STATIC_ASSERT(sizeof_voidp, SIZEOF_VOIDP == sizeof(void *)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/static_assert.h:70:5: note: expanded from macro 'RBIMPL_STATIC_ASSERT' | |
RBIMPL_STATIC_ASSERT0(expr, # name ": " # expr) | |
^ ~~~~ | |
/home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/static_assert.h:48:46: note: expanded from macro 'RBIMPL_STATIC_ASSERT0' | |
# define RBIMPL_STATIC_ASSERT0 __extension__ _Static_assert | |
^ | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/ext/witapi/witapi-core.c:3: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby.h:38: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/ruby.h:28: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/arithmetic.h:37: | |
In file included from /home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/internal/arithmetic/st_data_t.h:31: | |
/home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/ruby/st.h:58:45: error: 'st_check_for_sizeof_st_index_t' declared as an array with a negative size | |
typedef char st_check_for_sizeof_st_index_t[SIZEOF_VOIDP == (int)sizeof(st_index_t) ? 1 : -1]; | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/ongaeshi/WslCode/ruby.wasm/build/x86_64-pc-linux/baseruby-head/opt/include/ruby-3.3.0+0/x86_64-linux/ruby/config.h:81:22: note: expanded from macro 'SIZEOF_VOIDP' | |
#define SIZEOF_VOIDP 8 | |
^ | |
5 warnings and 3 errors generated. | |
make: *** [Makefile:250: witapi-core.o] Error 1 | |
make: Leaving directory '/home/ongaeshi/WslCode/ruby.wasm/build/wasm32-unknown-wasi/head-wasm32-unknown-wasi-full-js-ext/witapi' | |
make: *** No rule to make target 'install'. Stop. | |
rake aborted! | |
Errno::ENOENT: No such file or directory @ rb_check_realpath_internal - /home/ongaeshi/WslCode/ruby.wasm/build/wasm32-unknown-wasi/head-wasm32-unknown-wasi-full-js/install | |
/home/ongaeshi/WslCode/ruby.wasm/lib/ruby_wasm/build_system/product/crossruby.rb:157:in `build' | |
/home/ongaeshi/WslCode/ruby.wasm/lib/ruby_wasm/rake_task.rb:77:in `block in initialize' | |
Tasks: TOP => build:head-wasm32-unknown-wasi-full-js | |
(See full trace by running task with --trace) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
compiling /home/ongaeshi/WslCode/ruby.wasm/build/checkouts/head/ext/openssl/ossl_x509store.c | |
/home/ongaeshi/WslCode/ruby.wasm/build/checkouts/head/ext/openssl/ossl_x509store.c:190:5: error: incomplete definition of type 'struct x509_store_st' | |
X509_STORE_set_ex_data(store, store_ex_verify_cb_idx, (void *)cb); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/ongaeshi/WslCode/ruby.wasm/build/checkouts/head/ext/openssl/openssl_missing.h:31:25: note: expanded from macro 'X509_STORE_set_ex_data' | |
CRYPTO_set_ex_data(&(x)->ex_data, (idx), (data)) | |
~~~^ | |
/home/ongaeshi/WslCode/ruby.wasm/build/wasm32-unknown-wasi/openssl-3.0.5/opt/usr/local/include/openssl/types.h:164:16: note: forward declaration of 'struct x509_store_st' | |
typedef struct x509_store_st X509_STORE; | |
^ | |
1 error generated. | |
make[2]: *** [Makefile:327: ossl_x509store.o] Error 1 | |
make[2]: Leaving directory '/home/ongaeshi/WslCode/ruby.wasm/build/wasm32-unknown-wasi/head-wasm32-unknown-wasi-full-js/ext/openssl' | |
make[1]: *** [exts.mk:209: ext/openssl/static] Error 2 | |
make[1]: Leaving directory '/home/ongaeshi/WslCode/ruby.wasm/build/wasm32-unknown-wasi/head-wasm32-unknown-wasi-full-js' | |
make: *** [uncommon.mk:298: build-ext] Error 2 | |
rake aborted! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment