current directory: /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_ruby_rb-redcloth/rb31-redcloth/work/destroot/opt/local/lib/ruby3.1/gems/3.1.0/gems/RedCloth-4.3.3/ext/redcloth_scan
/opt/local/bin/ruby3.1 -I /opt/local/lib/ruby3.1/3.1.0 extconf.rb
checking for main() in -lc... yes
creating Makefile

current directory: /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_ruby_rb-redcloth/rb31-redcloth/work/destroot/opt/local/lib/ruby3.1/gems/3.1.0/gems/RedCloth-4.3.3/ext/redcloth_scan
make DESTDIR\= sitearchdir\=./.gem.20240304-32236-gl6oy2 sitelibdir\=./.gem.20240304-32236-gl6oy2 clean

current directory: /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_ruby_rb-redcloth/rb31-redcloth/work/destroot/opt/local/lib/ruby3.1/gems/3.1.0/gems/RedCloth-4.3.3/ext/redcloth_scan
make DESTDIR\= sitearchdir\=./.gem.20240304-32236-gl6oy2 sitelibdir\=./.gem.20240304-32236-gl6oy2
compiling redcloth_attributes.c
ragel/redcloth_attributes.c.rl:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
redcloth_attribute_parser(machine, self, p, pe)
^
ragel/redcloth_attributes.c.rl:27:11: warning: variable 'act' set but not used [-Wunused-but-set-variable]
  int cs, act;
          ^
ragel/redcloth_attributes.c.rl:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
redcloth_attributes(self, str)
^
ragel/redcloth_attributes.c.rl:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
redcloth_link_attributes(self, str)
^
ext/redcloth_scan/redcloth_attributes.c:403:18: warning: unused variable 'redcloth_attributes_error' [-Wunused-const-variable]
static const int redcloth_attributes_error = 0;
                 ^
5 warnings generated.
compiling redcloth_inline.c
ragel/redcloth_inline.c.rl:100:9: warning: variable 'attr_regs' set but not used [-Wunused-but-set-variable]
  VALUE attr_regs = rb_hash_new();
        ^
ragel/redcloth_inline.c.rl:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
redcloth_inline(self, p, pe, refs)
^
ragel/redcloth_inline.c.rl:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rb_str_cat_escaped(self, str, ts, te)
^
ragel/redcloth_inline.c.rl:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rb_str_cat_escaped_for_preformatted(self, str, ts, te)
^
ragel/redcloth_inline.c.rl:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
redcloth_inline2(self, str, refs)
^
ext/redcloth_scan/redcloth_inline.c:7112:18: warning: unused variable 'redcloth_inline_error' [-Wunused-const-variable]
static const int redcloth_inline_error = 0;
                 ^
ext/redcloth_scan/redcloth_inline.c:7114:18: warning: unused variable 'redcloth_inline_en_code_tag' [-Wunused-const-variable]
static const int redcloth_inline_en_code_tag = 1516;
                 ^
ext/redcloth_scan/redcloth_inline.c:7115:18: warning: unused variable 'redcloth_inline_en_main' [-Wunused-const-variable]
static const int redcloth_inline_en_main = 1270;
                 ^
8 warnings generated.
compiling redcloth_scan.c
ragel/redcloth_scan.c.rl:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
redcloth_transform(self, p, pe, refs)
^
ragel/redcloth_scan.c.rl:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
redcloth_transform2(self, str)
^
ragel/redcloth_scan.c.rl:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
redcloth_to(self, formatter)
^
ext/redcloth_scan/redcloth_scan.c:23028:18: warning: unused variable 'redcloth_scan_error' [-Wunused-const-variable]
static const int redcloth_scan_error = 0;
                 ^
ext/redcloth_scan/redcloth_scan.c:23030:18: warning: unused variable 'redcloth_scan_en_pre_tag' [-Wunused-const-variable]
static const int redcloth_scan_en_pre_tag = 2420;
                 ^
ext/redcloth_scan/redcloth_scan.c:23031:18: warning: unused variable 'redcloth_scan_en_pre_block' [-Wunused-const-variable]
static const int redcloth_scan_en_pre_block = 2423;
                 ^
ext/redcloth_scan/redcloth_scan.c:23032:18: warning: unused variable 'redcloth_scan_en_script_tag' [-Wunused-const-variable]
static const int redcloth_scan_en_script_tag = 2431;
                 ^
ext/redcloth_scan/redcloth_scan.c:23033:18: warning: unused variable 'redcloth_scan_en_noparagraph_line' [-Wunused-const-variable]
static const int redcloth_scan_en_noparagraph_line = 2434;
                 ^
ext/redcloth_scan/redcloth_scan.c:23034:18: warning: unused variable 'redcloth_scan_en_notextile_block' [-Wunused-const-variable]
static const int redcloth_scan_en_notextile_block = 2435;
                 ^
ext/redcloth_scan/redcloth_scan.c:23035:18: warning: unused variable 'redcloth_scan_en_html' [-Wunused-const-variable]
static const int redcloth_scan_en_html = 2443;
                 ^
ext/redcloth_scan/redcloth_scan.c:23036:18: warning: unused variable 'redcloth_scan_en_bc' [-Wunused-const-variable]
static const int redcloth_scan_en_bc = 2449;
                 ^
ext/redcloth_scan/redcloth_scan.c:23037:18: warning: unused variable 'redcloth_scan_en_bq' [-Wunused-const-variable]
static const int redcloth_scan_en_bq = 2457;
                 ^
ext/redcloth_scan/redcloth_scan.c:23038:18: warning: unused variable 'redcloth_scan_en_block' [-Wunused-const-variable]
static const int redcloth_scan_en_block = 2465;
                 ^
ext/redcloth_scan/redcloth_scan.c:23039:18: warning: unused variable 'redcloth_scan_en_footnote' [-Wunused-const-variable]
static const int redcloth_scan_en_footnote = 2475;
                 ^
ext/redcloth_scan/redcloth_scan.c:23040:18: warning: unused variable 'redcloth_scan_en_list_item' [-Wunused-const-variable]
static const int redcloth_scan_en_list_item = 2159;
                 ^
ext/redcloth_scan/redcloth_scan.c:23041:18: warning: unused variable 'redcloth_scan_en_list_content' [-Wunused-const-variable]
static const int redcloth_scan_en_list_content = 2479;
                 ^
ext/redcloth_scan/redcloth_scan.c:23042:18: warning: unused variable 'redcloth_scan_en_dl' [-Wunused-const-variable]
static const int redcloth_scan_en_dl = 2484;
                 ^
ext/redcloth_scan/redcloth_scan.c:23043:18: warning: unused variable 'redcloth_scan_en_main' [-Wunused-const-variable]
static const int redcloth_scan_en_main = 2250;
                 ^
18 warnings generated.
linking shared-object redcloth_scan.bundle
ld: warning: ignoring duplicate libraries: '-lruby.3.1'

current directory: /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_ruby_rb-redcloth/rb31-redcloth/work/destroot/opt/local/lib/ruby3.1/gems/3.1.0/gems/RedCloth-4.3.3/ext/redcloth_scan
make DESTDIR\= sitearchdir\=./.gem.20240304-32236-gl6oy2 sitelibdir\=./.gem.20240304-32236-gl6oy2 install
/usr/bin/install -c -m 0755 redcloth_scan.bundle ./.gem.20240304-32236-gl6oy2
