=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for tree-sitter-markdown-0.7.1
cd /scratch/work/textproc/tree-sitter-markdown/work/tree-sitter-markdown-0.7.1/src &&  libtool --mode=compile gcc -O2  -std=c99 -I. -c -fPIC parser.c
libtool: compile:  gcc -O2 -std=c99 -I. -c -fPIC parser.c  -fPIC -DPIC -o .libs/parser.o
libtool: compile:  gcc -O2 -std=c99 -I. -c -fPIC parser.c -o parser.o >/dev/null 2>&1
cd /scratch/work/textproc/tree-sitter-markdown/work/tree-sitter-markdown-0.7.1/src &&  if [ -f scanner.c ]; then libtool --mode=compile gcc -O2  -std=c99 -I. -c -fPIC scanner.c; fi
cd /scratch/work/textproc/tree-sitter-markdown/work/tree-sitter-markdown-0.7.1/src &&  if [ -f scanner.cc ]; then libtool --mode=compile c++ -O2 -I. -c -fPIC scanner.cc; fi
libtool: compile:  c++ -O2 -I. -c -fPIC scanner.cc  -fPIC -DPIC -o .libs/scanner.o
In file included from ./tree_sitter_markdown/./block_context.h:6:0,
                 from ./tree_sitter_markdown/block_context.cc:1,
                 from scanner.cc:15:
./tree_sitter_markdown/block_context.cc: In constructor 'tree_sitter_markdown::BlockContext::BlockContext()':
./tree_sitter_markdown/././shared_type.h:19:26: error: 'UINT16_MAX' was not declared in this scope
 #define LEXED_LENGTH_MAX UINT16_MAX
                          ^
./tree_sitter_markdown/block_context.cc:13:72: note: in expansion of macro 'LEXED_LENGTH_MAX'
 BlockContext::BlockContext(): has_fst_ctn_(false), sym_(SYM_TXT), len_(LEXED_LENGTH_MAX), ind_(LEXED_COLUMN_MAX), pst_(PST_INVALID) {}
                                                                        ^
./tree_sitter_markdown/block_delimiter.cc: In constructor 'tree_sitter_markdown::BlockDelimiter::BlockDelimiter()':
./tree_sitter_markdown/././shared_type.h:19:26: error: 'UINT16_MAX' was not declared in this scope
 #define LEXED_LENGTH_MAX UINT16_MAX
                          ^
./tree_sitter_markdown/block_delimiter.cc:30:61: note: in expansion of macro 'LEXED_LENGTH_MAX'
 BlockDelimiter::BlockDelimiter(): sym_(SYM_NOT_FOUND), len_(LEXED_LENGTH_MAX), ind_(LEXED_COLUMN_MAX), has_pos_(false) {}
                                                             ^
./tree_sitter_markdown/././lexer.h: At global scope:
./tree_sitter_markdown/././shared_type.h:19:26: error: 'UINT16_MAX' was not declared in this scope
 #define LEXED_LENGTH_MAX UINT16_MAX
                          ^
./tree_sitter_markdown/././lexer.h:60:90: note: in expansion of macro 'LEXED_LENGTH_MAX'
   LexedLength adv_rpt_len(const LexedCharacter character, const LexedLength max_length = LEXED_LENGTH_MAX, const bool skip = false);
                                                                                          ^
./tree_sitter_markdown/././shared_type.h:19:26: error: 'UINT16_MAX' was not declared in this scope
 #define LEXED_LENGTH_MAX UINT16_MAX
                          ^
./tree_sitter_markdown/././lexer.h:61:96: note: in expansion of macro 'LEXED_LENGTH_MAX'
   LexedLength adv_rpt_len(bool (*is_character)(LexedCharacter), const LexedLength max_length = LEXED_LENGTH_MAX, const bool skip = false);
                                                                                                ^
In file included from scanner.cc:17:0:
./tree_sitter_markdown/block_scan.cc: In function 'tree_sitter_markdown::BlockScanResult tree_sitter_markdown::scn_blk_hsh(tree_sitter_markdown::Lexer&, tree_sitter_markdown::BlockDelimiterList&, tree_sitter_markdown::LexedColumn, bool, bool)':
./tree_sitter_markdown/block_scan.cc:581:40: error: call to 'tree_sitter_markdown::LexedLength tree_sitter_markdown::Lexer::adv_rpt_len(tree_sitter_markdown::LexedCharacter, tree_sitter_markdown::LexedLength, bool)' uses the default argument for parameter 2, which is not yet defined
   LexedLength len = lxr.adv_rpt_len('#');
                                        ^
./tree_sitter_markdown/block_scan.cc: In function 'tree_sitter_markdown::BlockScanResult tree_sitter_markdown::scn_stx_and_thm_brk_and_lst_itm(tree_sitter_markdown::LexedCharacter, tree_sitter_markdown::Symbol, tree_sitter_markdown::Symbol, tree_sitter_markdown::Symbol, tree_sitter_markdown::Lexer&, tree_sitter_markdown::BlockDelimiterList&, tree_sitter_markdown::LexedColumn, bool, bool)':
./tree_sitter_markdown/block_scan.cc:800:52: error: call to 'tree_sitter_markdown::LexedLength tree_sitter_markdown::Lexer::adv_rpt_len(tree_sitter_markdown::LexedCharacter, tree_sitter_markdown::LexedLength, bool)' uses the default argument for parameter 2, which is not yet defined
   LexedLength dlm_chr_cnt = lxr.adv_rpt_len(dlm_chr);
                                                    ^
./tree_sitter_markdown/block_scan.cc:808:58: error: call to 'tree_sitter_markdown::LexedLength tree_sitter_markdown::Lexer::adv_rpt_len(tree_sitter_markdown::LexedCharacter, tree_sitter_markdown::LexedLength, bool)' uses the default argument for parameter 2, which is not yet defined
     LexedLength dlm_chr_adv_len = lxr.adv_rpt_len(dlm_chr);
                                                          ^
In file included from ./tree_sitter_markdown/./block_context.h:6:0,
                 from ./tree_sitter_markdown/block_context.cc:1,
                 from scanner.cc:15:
./tree_sitter_markdown/inline_delimiter.cc: In constructor 'tree_sitter_markdown::MinimizedInlineDelimiter::MinimizedInlineDelimiter()':
./tree_sitter_markdown/././shared_type.h:19:26: error: 'UINT16_MAX' was not declared in this scope
 #define LEXED_LENGTH_MAX UINT16_MAX
                          ^
./tree_sitter_markdown/inline_delimiter.cc:12:94: note: in expansion of macro 'LEXED_LENGTH_MAX'
 MinimizedInlineDelimiter::MinimizedInlineDelimiter(): yes_(false), sym_(SYM_NOT_FOUND), len_(LEXED_LENGTH_MAX) {}
                                                                                              ^
./tree_sitter_markdown/inline_scan.cc: In function 'tree_sitter_markdown::Symbol tree_sitter_markdown::scn_inl(tree_sitter_markdown::Lexer&, tree_sitter_markdown::InlineDelimiterList&, tree_sitter_markdown::InlineContextStack&, tree_sitter_markdown::BlockDelimiterList&, tree_sitter_markdown::BlockContextStack&)':
./tree_sitter_markdown/././shared_type.h:15:25: error: 'UINT16_MAX' was not declared in this scope
 #define LEXED_INDEX_MAX UINT16_MAX
                         ^
./tree_sitter_markdown/inline_scan.cc:37:24: note: in expansion of macro 'LEXED_INDEX_MAX'
   LexedIndex end_idx = LEXED_INDEX_MAX;
                        ^
./tree_sitter_markdown/inline_scan.cc: In function 'bool tree_sitter_markdown::scn_ext_aut_lnk(tree_sitter_markdown::Lexer&, tree_sitter_markdown::InlineDelimiterList&, tree_sitter_markdown::InlineContextStack&, tree_sitter_markdown::BlockDelimiterList&, tree_sitter_markdown::BlockContextStack&, const Iterator&)':
./tree_sitter_markdown/././shared_type.h:20:42: error: 'UINT16_MAX' was not declared in this scope
 #define INLINE_DELIMITER_CUSTOM_DATA_MAX UINT16_MAX
                                          ^
./tree_sitter_markdown/inline_scan.cc:12:52: note: in expansion of macro 'INLINE_DELIMITER_CUSTOM_DATA_MAX'
 #define DEFAULT_EXT_AUT_LNK_PAREN_BALANCE_COUNTER (INLINE_DELIMITER_CUSTOM_DATA_MAX / 2)
                                                    ^
./tree_sitter_markdown/inline_scan.cc:393:32: note: in expansion of macro 'DEFAULT_EXT_AUT_LNK_PAREN_BALANCE_COUNTER'
       if (ctx_itr->ctm_dat() > DEFAULT_EXT_AUT_LNK_PAREN_BALANCE_COUNTER) {
                                ^
./tree_sitter_markdown/././shared_type.h:20:42: error: 'UINT16_MAX' was not declared in this scope
 #define INLINE_DELIMITER_CUSTOM_DATA_MAX UINT16_MAX
                                          ^
./tree_sitter_markdown/inline_scan.cc:12:52: note: in expansion of macro 'INLINE_DELIMITER_CUSTOM_DATA_MAX'
 #define DEFAULT_EXT_AUT_LNK_PAREN_BALANCE_COUNTER (INLINE_DELIMITER_CUSTOM_DATA_MAX / 2)
                                                    ^
./tree_sitter_markdown/inline_scan.cc:432:63: note: in expansion of macro 'DEFAULT_EXT_AUT_LNK_PAREN_BALANCE_COUNTER'
                     inl_ctx_stk.back().dlm_itr()->set_ctm_dat(DEFAULT_EXT_AUT_LNK_PAREN_BALANCE_COUNTER);
                                                               ^
./tree_sitter_markdown/././shared_type.h:20:42: error: 'UINT16_MAX' was not declared in this scope
 #define INLINE_DELIMITER_CUSTOM_DATA_MAX UINT16_MAX
                                          ^
./tree_sitter_markdown/inline_scan.cc:12:52: note: in expansion of macro 'INLINE_DELIMITER_CUSTOM_DATA_MAX'
 #define DEFAULT_EXT_AUT_LNK_PAREN_BALANCE_COUNTER (INLINE_DELIMITER_CUSTOM_DATA_MAX / 2)
                                                    ^
./tree_sitter_markdown/inline_scan.cc:451:57: note: in expansion of macro 'DEFAULT_EXT_AUT_LNK_PAREN_BALANCE_COUNTER'
               inl_ctx_stk.back().dlm_itr()->set_ctm_dat(DEFAULT_EXT_AUT_LNK_PAREN_BALANCE_COUNTER);
                                                         ^
In file included from scanner.cc:21:0:
./tree_sitter_markdown/inline_scan.cc: In function 'bool tree_sitter_markdown::scn_inl_btk(tree_sitter_markdown::Lexer&, tree_sitter_markdown::InlineDelimiterList&, tree_sitter_markdown::InlineContextStack&, tree_sitter_markdown::BlockDelimiterList&, tree_sitter_markdown::BlockContextStack&, const Iterator&)':
./tree_sitter_markdown/inline_scan.cc:647:44: error: call to 'tree_sitter_markdown::LexedLength tree_sitter_markdown::Lexer::adv_rpt_len(tree_sitter_markdown::LexedCharacter, tree_sitter_markdown::LexedLength, bool)' uses the default argument for parameter 2, which is not yet defined
   LexedLength btk_len = lxr.adv_rpt_len('`');
                                            ^
./tree_sitter_markdown/inline_scan.cc: In function 'bool tree_sitter_markdown::scn_inl_rbt(tree_sitter_markdown::Lexer&, tree_sitter_markdown::InlineDelimiterList&, tree_sitter_markdown::InlineContextStack&, tree_sitter_markdown::BlockDelimiterList&, tree_sitter_markdown::BlockContextStack&, const Iterator&)':
./tree_sitter_markdown/inline_scan.cc:998:46: error: call to 'tree_sitter_markdown::LexedLength tree_sitter_markdown::Lexer::adv_rpt_len(tree_sitter_markdown::LexedCharacter, tree_sitter_markdown::LexedLength, bool)' uses the default argument for parameter 2, which is not yet defined
     LexedLength rbt_len = lxr.adv_rpt_len(']');
                                              ^
./tree_sitter_markdown/inline_scan.cc: In function 'bool tree_sitter_markdown::scn_inl_tld(tree_sitter_markdown::Lexer&, tree_sitter_markdown::InlineDelimiterList&, tree_sitter_markdown::InlineContextStack&, tree_sitter_markdown::BlockDelimiterList&, tree_sitter_markdown::BlockContextStack&, const Iterator&)':
./tree_sitter_markdown/inline_scan.cc:1148:44: error: call to 'tree_sitter_markdown::LexedLength tree_sitter_markdown::Lexer::adv_rpt_len(tree_sitter_markdown::LexedCharacter, tree_sitter_markdown::LexedLength, bool)' uses the default argument for parameter 2, which is not yet defined
   LexedLength tld_len = lxr.adv_rpt_len('~');
                                            ^
./tree_sitter_markdown/inline_scan.cc: In function 'bool tree_sitter_markdown::scn_dlm_run(tree_sitter_markdown::LexedCharacter, tree_sitter_markdown::Symbol, tree_sitter_markdown::Symbol, bool (*)(tree_sitter_markdown::LexedCharacter, tree_sitter_markdown::LexedCharacter), bool (*)(tree_sitter_markdown::LexedCharacter, tree_sitter_markdown::LexedCharacter), bool (tree_sitter_markdown::InlineContext::*)() const, tree_sitter_markdown::Lexer&, tree_sitter_markdown::InlineDelimiterList&, tree_sitter_markdown::InlineContextStack&, tree_sitter_markdown::BlockDelimiterList&, tree_sitter_markdown::BlockContextStack&, const Iterator&)':
./tree_sitter_markdown/inline_scan.cc:1448:48: error: call to 'tree_sitter_markdown::LexedLength tree_sitter_markdown::Lexer::adv_rpt_len(tree_sitter_markdown::LexedCharacter, tree_sitter_markdown::LexedLength, bool)' uses the default argument for parameter 2, which is not yet defined
   LexedLength run_len = lxr.adv_rpt_len(dlm_chr);
                                                ^
In file included from ./tree_sitter_markdown/./block_context.h:6:0,
                 from ./tree_sitter_markdown/block_context.cc:1,
                 from scanner.cc:15:
./tree_sitter_markdown/lexer.cc: In member function 'void tree_sitter_markdown::Lexer::init(TSLexer*)':
./tree_sitter_markdown/././shared_type.h:15:25: error: 'UINT16_MAX' was not declared in this scope
 #define LEXED_INDEX_MAX UINT16_MAX
                         ^
./tree_sitter_markdown/lexer.cc:27:14: note: in expansion of macro 'LEXED_INDEX_MAX'
   end_col_ = LEXED_INDEX_MAX;
              ^
./tree_sitter_markdown/././shared_type.h:18:29: error: 'INT32_MAX' was not declared in this scope
 #define LEXED_CHARACTER_MAX INT32_MAX
                             ^
./tree_sitter_markdown/lexer.cc:30:14: note: in expansion of macro 'LEXED_CHARACTER_MAX'
   end_chr_ = LEXED_CHARACTER_MAX;
              ^
./tree_sitter_markdown/lexer.cc: In member function 'void tree_sitter_markdown::Lexer::adv(bool)':
./tree_sitter_markdown/././shared_type.h:15:25: error: 'UINT16_MAX' was not declared in this scope
 #define LEXED_INDEX_MAX UINT16_MAX
                         ^
./tree_sitter_markdown/lexer.cc:102:23: note: in expansion of macro 'LEXED_INDEX_MAX'
   if (buf_bgn_idx_ == LEXED_INDEX_MAX) {
                       ^
In file included from /usr/include/g++/cassert:43:0,
                 from scanner.cc:2:
./tree_sitter_markdown/lexer.cc: In member function 'void tree_sitter_markdown::Lexer::bgn_buf()':
./tree_sitter_markdown/././shared_type.h:15:25: error: 'UINT16_MAX' was not declared in this scope
 #define LEXED_INDEX_MAX UINT16_MAX
                         ^
./tree_sitter_markdown/lexer.cc:166:3: note: in expansion of macro 'TREE_SITTER_MARKDOWN_ASSERT'
   TREE_SITTER_MARKDOWN_ASSERT(buf_bgn_idx_ == LEXED_INDEX_MAX);
   ^
./tree_sitter_markdown/lexer.cc:166:47: note: in expansion of macro 'LEXED_INDEX_MAX'
   TREE_SITTER_MARKDOWN_ASSERT(buf_bgn_idx_ == LEXED_INDEX_MAX);
                                               ^
./tree_sitter_markdown/lexer.cc: In member function 'bool tree_sitter_markdown::Lexer::ret_sym(tree_sitter_markdown::TokenType)':
./tree_sitter_markdown/././shared_type.h:17:26: error: 'UINT16_MAX' was not declared in this scope
 #define LEXED_COLUMN_MAX UINT16_MAX
                          ^
./tree_sitter_markdown/lexer.cc:245:3: note: in expansion of macro 'TREE_SITTER_MARKDOWN_ASSERT'
   TREE_SITTER_MARKDOWN_ASSERT(end_col_ != LEXED_COLUMN_MAX);
   ^
./tree_sitter_markdown/lexer.cc:245:43: note: in expansion of macro 'LEXED_COLUMN_MAX'
   TREE_SITTER_MARKDOWN_ASSERT(end_col_ != LEXED_COLUMN_MAX);
                                           ^
./tree_sitter_markdown/././shared_type.h:18:29: error: 'INT32_MAX' was not declared in this scope
 #define LEXED_CHARACTER_MAX INT32_MAX
                             ^
./tree_sitter_markdown/lexer.cc:247:3: note: in expansion of macro 'TREE_SITTER_MARKDOWN_ASSERT'
   TREE_SITTER_MARKDOWN_ASSERT(end_chr_ != LEXED_CHARACTER_MAX);
   ^
./tree_sitter_markdown/lexer.cc:247:43: note: in expansion of macro 'LEXED_CHARACTER_MAX'
   TREE_SITTER_MARKDOWN_ASSERT(end_chr_ != LEXED_CHARACTER_MAX);
                                           ^
In file included from ./tree_sitter_markdown/./block_context.h:6:0,
                 from ./tree_sitter_markdown/block_context.cc:1,
                 from scanner.cc:15:
./tree_sitter_markdown/shared_type.cc: In constructor 'tree_sitter_markdown::LexedPosition::LexedPosition()':
./tree_sitter_markdown/././shared_type.h:15:25: error: 'UINT16_MAX' was not declared in this scope
 #define LEXED_INDEX_MAX UINT16_MAX
                         ^
./tree_sitter_markdown/shared_type.cc:15:38: note: in expansion of macro 'LEXED_INDEX_MAX'
 LexedPosition::LexedPosition(): idx_(LEXED_INDEX_MAX), row_(LEXED_ROW_MAX), col_(LEXED_COLUMN_MAX) {}
                                      ^
*** Error code 1

Stop.
make[1]: stopped in /tree/pkgsrc/textproc/tree-sitter-markdown
*** Error code 1

Stop.
make: stopped in /tree/pkgsrc/textproc/tree-sitter-markdown