===> Building for link-grammar-5.12.3
Making all in link-grammar
gmake[1]: Entering directory '/Users/pbulk/build/textproc/link-grammar/work/link-grammar-5.12.3/link-grammar'
gmake[2]: Entering directory '/Users/pbulk/build/textproc/link-grammar/work/link-grammar-5.12.3/link-grammar'
  CC       api.lo
  CC       connectors.lo
  CC       dict-common/dialect.lo
  CC       dict-common/dict-affix-impl.lo
  CC       dict-common/dict-common.lo
  CC       dict-common/dict-internals.lo
  CC       dict-common/dict-locale.lo
  CC       dict-common/dict-utils.lo
  CC       dict-common/file-utils.lo
  CC       dict-common/idiom.lo
  CC       dict-common/print-dict.lo
  CC       dict-common/regex-morph.lo
dict-common/regex-morph.c:169:8: error: unknown type name 'once_flag'
static once_flag call_once_flag = ONCE_FLAG_INIT;
       ^
dict-common/regex-morph.c:169:35: error: use of undeclared identifier 'ONCE_FLAG_INIT'
static once_flag call_once_flag = ONCE_FLAG_INIT;
                                  ^
dict-common/regex-morph.c:170:8: error: unknown type name 'tss_t'
static tss_t re_md_key;
       ^
dict-common/regex-morph.c:173:11: error: implicit declaration of function 'tss_create' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        int rc = tss_create(&re_md_key, (tss_dtor_t) pcre2_match_data_free);
                 ^
dict-common/regex-morph.c:173:11: note: did you mean 'Exp_create'?
./dict-ram/dict-ram.h:25:7: note: 'Exp_create' declared here
Exp * Exp_create(Pool_desc *);
      ^
dict-common/regex-morph.c:173:35: error: use of undeclared identifier 'tss_dtor_t'
        int rc = tss_create(&re_md_key, (tss_dtor_t) pcre2_match_data_free);
                                         ^
dict-common/regex-morph.c:174:6: error: use of undeclared identifier 'thrd_success'
        if (thrd_success == rc) return;
            ^
dict-common/regex-morph.c:192:33: error: use of undeclared identifier 'nullptr'
        static pcre2_match_data *pmd = nullptr;
                                       ^
7 errors generated.
gmake[2]: *** [Makefile:1113: dict-common/regex-morph.lo] Error 1
gmake[2]: Leaving directory '/Users/pbulk/build/textproc/link-grammar/work/link-grammar-5.12.3/link-grammar'
gmake[1]: *** [Makefile:1216: all-recursive] Error 1
gmake[1]: Leaving directory '/Users/pbulk/build/textproc/link-grammar/work/link-grammar-5.12.3/link-grammar'
gmake: *** [Makefile:572: all-recursive] Error 1
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/link-grammar
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/link-grammar