Skip to content

Instantly share code, notes, and snippets.

@rickhull
Created March 31, 2024 00:47
Show Gist options
  • Save rickhull/72ecb35cb147b4e69b763296f9398984 to your computer and use it in GitHub Desktop.
Save rickhull/72ecb35cb147b4e69b763296f9398984 to your computer and use it in GitHub Desktop.
gem install ruzzy
[nix-shell:~/git/compsci]$ sh install_ruzzy.sh
<internal:/home/rwh/.asdf/installs/ruby/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require': libyaml-0.so.2: cannot open shared object file: No such file or directory - /home/rwh/.asdf/installs/ruby/3.2.2/lib/ruby/3.2.0/x86_64-linux/psych.so (LoadError)
from <internal:/home/rwh/.asdf/installs/ruby/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /home/rwh/.asdf/installs/ruby/3.2.2/lib/ruby/3.2.0/psych.rb:13:in `<top (required)>'
from <internal:/home/rwh/.asdf/installs/ruby/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/home/rwh/.asdf/installs/ruby/3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /home/rwh/.asdf/installs/ruby/3.2.2/lib/ruby/3.2.0/rubygems.rb:608:in `load_yaml'
from /home/rwh/.asdf/installs/ruby/3.2.2/lib/ruby/3.2.0/rubygems/config_file.rb:346:in `load_file'
from /home/rwh/.asdf/installs/ruby/3.2.2/lib/ruby/3.2.0/rubygems/config_file.rb:189:in `initialize'
from /home/rwh/.asdf/installs/ruby/3.2.2/lib/ruby/3.2.0/rubygems/gem_runner.rb:71:in `new'
from /home/rwh/.asdf/installs/ruby/3.2.2/lib/ruby/3.2.0/rubygems/gem_runner.rb:71:in `do_configuration'
from /home/rwh/.asdf/installs/ruby/3.2.2/lib/ruby/3.2.0/rubygems/gem_runner.rb:33:in `run'
from /home/rwh/.asdf/installs/ruby/3.2.2/bin/gem:10:in `<main>'
[nix-shell:~/git/compsci]$ nix-shell -p libyaml
these 2 paths will be fetched (0.05 MiB download, 0.19 MiB unpacked):
/nix/store/k4xz7a1yy6fv238jb4kb01lzs2dqv940-libyaml-0.2.5
/nix/store/92l3704l17ds4k6i3mllkm7ds28bz8c5-libyaml-0.2.5-dev
copying path '/nix/store/k4xz7a1yy6fv238jb4kb01lzs2dqv940-libyaml-0.2.5' from 'https://cache.nixos.org'...
copying path '/nix/store/92l3704l17ds4k6i3mllkm7ds28bz8c5-libyaml-0.2.5-dev' from 'https://cache.nixos.org'...
[nix-shell:~/git/compsci]$ sh install_ruzzy.sh
Fetching ruzzy-0.7.0.gem
Building native extensions. This could take a while...
ERROR: Error installing ruzzy:
ERROR: Failed to build gem native extension.
current directory: /home/rwh/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/ruzzy-0.7.0/ext/cruzzy
/home/rwh/.asdf/installs/ruby/3.2.2/bin/ruby extconf.rb
checking for /run/current-system/sw/bin/clang... yes
checking for /run/current-system/sw/bin/clang++... yes
creating Makefile
current directory: /home/rwh/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/ruzzy-0.7.0/ext/cruzzy
make --environment-overrides V\=1 DESTDIR\= sitearchdir\=./.gem.20240330-131562-bk3jvy sitelibdir\=./.gem.20240330-131562-bk3jvy clean
rm -f
rm -fr cruzzy.so false cruzzy.o *.bak mkmf.log .*.time
current directory: /home/rwh/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/ruzzy-0.7.0/ext/cruzzy
make --environment-overrides V\=1 DESTDIR\= sitearchdir\=./.gem.20240330-131562-bk3jvy sitelibdir\=./.gem.20240330-131562-bk3jvy
/run/current-system/sw/bin/clang -I. -I/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/x86_64-linux -I/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/backward -I/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0 -I. -I/home/rwh/.asdf/installs/ruby/3.2.2/include -fPIC -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef -fPIC -o cruzzy.o -c cruzzy.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-cast-function-type'; did you mean '-Wno-bad-function-cast'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-packed-bitfield-compat'; did you mean '-Wno-keyword-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 cruzzy.c:9:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/ruby.h:25:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/defines.h:73:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/backward/2/attributes.h:42:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/attr/pure.h:25:
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.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()
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.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 cruzzy.c:9:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/ruby.h:27:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/anyargs.h:77:
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/intern/vm.h:379:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.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 cruzzy.c:9:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/ruby.h:28:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic.h:24:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic/char.h:23:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic/int.h:26:
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.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()
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.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 cruzzy.c:9:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/ruby.h:28:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic.h:24:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic/char.h:29:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:28:
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rbasic.h:63:14: error: expected parameter declarator
RUBY_ALIGNAS(SIZEOF_VALUE)
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/value.h:106:23: note: expanded from macro 'SIZEOF_VALUE'
# define SIZEOF_VALUE SIZEOF_LONG
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/x86_64-linux/ruby/config.h:88:21: note: expanded from macro 'SIZEOF_LONG'
#define SIZEOF_LONG 8
^
In file included from cruzzy.c:9:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/ruby.h:28:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic.h:24:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic/char.h:29:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:28:
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rbasic.h:63:14: error: expected ')'
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/value.h:106:23: note: expanded from macro 'SIZEOF_VALUE'
# define SIZEOF_VALUE SIZEOF_LONG
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/x86_64-linux/ruby/config.h:88:21: note: expanded from macro 'SIZEOF_LONG'
#define SIZEOF_LONG 8
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rbasic.h:63:1: note: to match this '('
RUBY_ALIGNAS(SIZEOF_VALUE)
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/backward/2/stdalign.h:27:22: note: expanded from macro 'RUBY_ALIGNAS'
#define RUBY_ALIGNAS RBIMPL_ALIGNAS /**< @copydoc RBIMPL_ALIGNAS */
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/stdalign.h:66:44: note: expanded from macro 'RBIMPL_ALIGNAS'
# define RBIMPL_ALIGNAS(_) __declspec(align(_))
^
In file included from cruzzy.c:9:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/ruby.h:28:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic.h:24:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic/char.h:29:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:28:
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rbasic.h:64:1: error: expected function body after function declarator
RBasic {
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rbasic.h:155:23: error: incomplete definition of type 'struct RBasic'
return RBASIC(obj)->klass;
~~~~~~~~~~~^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rbasic.h:155:12: note: forward declaration of 'struct RBasic'
return RBASIC(obj)->klass;
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rbasic.h:40:57: note: expanded from macro 'RBASIC'
#define RBASIC(obj) RBIMPL_CAST((struct RBasic *)(obj))
^
In file included from cruzzy.c:9:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/ruby.h:28:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic.h:24:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic/char.h:29:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:30:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/fl_type.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/value_type.h:33:
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/error.h:86:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.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 cruzzy.c:9:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/ruby.h:28:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic.h:24:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic/char.h:29:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:30:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/fl_type.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/value_type.h:33:
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/error.h:103:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.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 cruzzy.c:9:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/ruby.h:28:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic.h:24:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic/char.h:29:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:30:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/fl_type.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/value_type.h:33:
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/error.h:118:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.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 cruzzy.c:9:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/ruby.h:28:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic.h:24:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic/char.h:29:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:30:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/fl_type.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/value_type.h:33:
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/error.h:139:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.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 cruzzy.c:9:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/ruby.h:28:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic.h:24:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic/char.h:29:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:30:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/fl_type.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/value_type.h:33:
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/error.h:151:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.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 cruzzy.c:9:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/ruby.h:28:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic.h:24:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic/char.h:29:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:30:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/fl_type.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/value_type.h:33:
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/error.h:176:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.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 cruzzy.c:9:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/ruby.h:28:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic.h:24:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic/char.h:29:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:30:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/fl_type.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/value_type.h:33:
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/error.h:187:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.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 cruzzy.c:9:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/ruby.h:28:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic.h:24:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic/char.h:29:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:30:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/fl_type.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/value_type.h:33:
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/error.h:204:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.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 cruzzy.c:9:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/ruby.h:28:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic.h:24:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic/char.h:29:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:30:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/fl_type.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/value_type.h:33:
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/error.h:216:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.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 cruzzy.c:9:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/ruby.h:28:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic.h:24:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic/char.h:29:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:30:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/fl_type.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/value_type.h:33:
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/error.h:236:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.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 cruzzy.c:9:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/ruby.h:28:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic.h:24:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic/char.h:29:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:30:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/fl_type.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/value_type.h:33:
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/error.h:248:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.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 cruzzy.c:9:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/ruby.h:28:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic.h:24:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/arithmetic/char.h:29:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/core/rstring.h:30:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/fl_type.h:38:
In file included from /home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/value_type.h:33:
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/error.h:287:1: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
RBIMPL_ATTR_NORETURN()
^
/home/rwh/.asdf/installs/ruby/3.2.2/include/ruby-3.2.0/ruby/internal/attr/noreturn.h:29:33: note: expanded from macro 'RBIMPL_ATTR_NORETURN'
# define RBIMPL_ATTR_NORETURN() __declspec(noreturn)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
6 warnings and 20 errors generated.
make: *** [Makefile:248: cruzzy.o] Error 1
make failed, exit code 2
Gem files will remain installed in /home/rwh/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/ruzzy-0.7.0 for inspection.
Results logged to /home/rwh/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/extensions/x86_64-linux/3.2.0/ruzzy-0.7.0/gem_make.out
A new release of RubyGems is available: 3.4.10 → 3.5.7!
Run `gem update --system 3.5.7` to update your installation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment