===> Building for cxref-1.6d
cd cpp   && /opt/pkg/bin/gmake programs
gmake[1]: Entering directory '/Users/pbulk/build/devel/cxref/work/cxref-1.6d/cpp'
clang -c -pipe -Os cccp.c -o cccp.o -I. -I. -DIN_GCC \
 '-DCXREF_CPP_DEFINES="/opt/pkg/share/cxref/cxref-cpp.defines"'
clang -c -pipe -Os cexp.c -o cexp.o -I. -I. -DIN_GCC
cexp.c:2125:10: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
            if (!pedantic < spec_long)
                ^         ~
cexp.c:2125:10: note: add parentheses after the '!' to evaluate the comparison first
            if (!pedantic < spec_long)
                ^
                 (                   )
cexp.c:2125:10: note: add parentheses around left hand side expression to silence this warning
            if (!pedantic < spec_long)
                ^
                (        )
cexp.c:2251:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    mask = MAX_CHAR_TYPE_MASK;
           ^~~~~~~~~~~~~~~~~~
cexp.c:160:36: note: expanded from macro 'MAX_CHAR_TYPE_MASK'
                            ? (~ (~ (HOST_WIDEST_INT) 0 << MAX_CHAR_TYPE_SIZE)) \
                                  ~~~~~~~~~~~~~~~~~~~~~ ^
cexp.c:2438:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    mask = MAX_CHAR_TYPE_MASK;
           ^~~~~~~~~~~~~~~~~~
cexp.c:160:36: note: expanded from macro 'MAX_CHAR_TYPE_MASK'
                            ? (~ (~ (HOST_WIDEST_INT) 0 << MAX_CHAR_TYPE_SIZE)) \
                                  ~~~~~~~~~~~~~~~~~~~~~ ^
3 warnings generated.
clang -c -pipe -Os prefix.c -o prefix.o -I. -I. -DIN_GCC -DPREFIX=\"/\"
clang -c -pipe -Os version.c -o version.o -I. -I. -DIN_GCC
./cxref-cpp-configure clang -o cxref-cpp.defines
clang -L/opt/pkg/lib cccp.o cexp.o prefix.o version.o -o cxref-cpp 
gmake[1]: Leaving directory '/Users/pbulk/build/devel/cxref/work/cxref-1.6d/cpp'
cd src   && /opt/pkg/bin/gmake programs
gmake[1]: Entering directory '/Users/pbulk/build/devel/cxref/work/cxref-1.6d/src'
[ ! -f ../cpp/cxref-cpp ] || clang -c -pipe -Os cxref.c -o cxref.o -I. -I. "-DCXREF_CPP=\"/Users/pbulk/build/devel/cxref/work/cxref-1.6d/cpp/cxref-cpp -cxref-cpp-defines /Users/pbulk/build/devel/cxref/work/cxref-1.6d/cpp/cxref-cpp.defines -lang-c -C -dD -dI\""
[   -f ../cpp/cxref-cpp ] || clang -c -pipe -Os cxref.c -o cxref.o -I. -I.
clang -c -pipe -Os func.c -o func.o -I. -I.
clang -c -pipe -Os type.c -o type.o -I. -I.
clang -c -pipe -Os var.c -o var.o -I. -I.
clang -c -pipe -Os preproc.c -o preproc.o -I. -I.
clang -c -pipe -Os comment.c -o comment.o -I. -I.
clang -c -pipe -Os file.c -o file.o -I. -I.
clang -c -pipe -Os slist.c -o slist.o -I. -I.
clang -c -pipe -Os memory.c -o memory.o -I. -I.
clang -c -pipe -Os xref.c -o xref.o -I. -I.
clang -c -pipe -Os warn-raw.c -o warn-raw.o -I. -I.
clang -c -pipe -Os latex.c -o latex.o -I. -I.
Created latex-style.c
clang -c -pipe -Os latex-style.c -o latex-style.o -I. -I.
clang -c -pipe -Os html.c -o html.o -I. -I.
Created html-style.c
clang -c -pipe -Os html-style.c -o html-style.o -I. -I.
clang -c -pipe -Os rtf.c -o rtf.o -DPAGE=\"A4\" -I. -I.
clang -c -pipe -Os sgml.c -o sgml.o -I. -I.
[ ! "/usr/bin/lex" = "flex" ] || /usr/bin/lex -p -B -F -8 -s ./parse.l
[   "/usr/bin/lex" = "flex" ] || /usr/bin/lex   ./parse.l
Created parse-lex.c
[ ! "/usr/bin/yacc" = "bison" ] || /usr/bin/yacc -d ./parse.y
[   "/usr/bin/yacc" = "bison" ] || /usr/bin/yacc -d  ./parse.y
conflicts: 18 shift/reduce
Created parse-yacc.c
Created parse-yacc.h
clang -c -pipe -Os parse-lex.c -o parse-lex.o -I. -I.
clang -c -pipe -Os parse-yacc.c -o parse-yacc.o -I. -I.
clang -L/opt/pkg/lib cxref.o func.o type.o var.o preproc.o comment.o file.o slist.o memory.o xref.o warn-raw.o latex.o latex-style.o html.o html-style.o rtf.o sgml.o parse-lex.o parse-yacc.o -o cxref 
[ ! -f ../cpp/cxref-cpp ] || clang -c -pipe -Os cxref.c -o cxref-inst.o -I. -I. '-DCXREF_CPP="cxref-cpp -lang-c -C -dD -dI"'
[   -f ../cpp/cxref-cpp ] || clang -c -pipe -Os cxref.c -o cxref-inst.o -I. -I.
clang -L/opt/pkg/lib cxref-inst.o func.o type.o var.o preproc.o comment.o file.o slist.o memory.o xref.o warn-raw.o latex.o latex-style.o html.o html-style.o rtf.o sgml.o parse-lex.o parse-yacc.o -o cxref-inst 
gmake[1]: Leaving directory '/Users/pbulk/build/devel/cxref/work/cxref-1.6d/src'
cd query && /opt/pkg/bin/gmake programs
gmake[1]: Entering directory '/Users/pbulk/build/devel/cxref/work/cxref-1.6d/query'
clang -c -pipe -Os query.c -o query.o -I./../src
clang -c -pipe -Os input.c -o input.o -I./../src
clang -c -pipe -Os output.c -o output.o -I./../src
clang -L/opt/pkg/lib query.o input.o output.o ../src/memory.o ../src/slist.o -o cxref-query 
gmake[1]: Leaving directory '/Users/pbulk/build/devel/cxref/work/cxref-1.6d/query'
cd doc   && /opt/pkg/bin/gmake docs
gmake[1]: Entering directory '/Users/pbulk/build/devel/cxref/work/cxref-1.6d/doc'
[ -f README.c ] || cp ./README.c .
../src/cxref -O. -NREADME-TMP -xref README.c
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:153: cxref: syntax error, unexpected IDENTIFIER, expecting ')'

The previous 10, current and next 10 symbols are:
-10 |  41 :              ')' : )
 -9 |  59 :              ';' : ;
 -8 | 259 :        TYPE_NAME : FILE
 -7 |  42 :              '*' : *
 -6 | 258 :       IDENTIFIER : fopen
 -5 |  40 :              '(' : (
 -4 | 290 :            CONST : const
 -3 | 294 :             CHAR : char
 -2 |  42 :              '*' : *
 -1 | 258 :       IDENTIFIER : restrict
  0 | 258 :       IDENTIFIER : __filename
  1 |  44 :              ',' : ,
  2 | 290 :            CONST : const
  3 | 294 :             CHAR : char
  4 |  42 :              '*' : *
  5 | 258 :       IDENTIFIER : restrict
  6 | 258 :       IDENTIFIER : __mode
  7 |  41 :              ')' : )
  8 | 318 :              ASM : asm
  9 |  40 :              '(' : (
 10 | 261 :   STRING_LITERAL : "_"

../src/cxref -O. -NREADME-TMP -xref README.c -latex -html-src -rtf -sgml
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:153: cxref: syntax error, unexpected IDENTIFIER, expecting ')'

The previous 10, current and next 10 symbols are:
-10 |  41 :              ')' : )
 -9 |  59 :              ';' : ;
 -8 | 259 :        TYPE_NAME : FILE
 -7 |  42 :              '*' : *
 -6 | 258 :       IDENTIFIER : fopen
 -5 |  40 :              '(' : (
 -4 | 290 :            CONST : const
 -3 | 294 :             CHAR : char
 -2 |  42 :              '*' : *
 -1 | 258 :       IDENTIFIER : restrict
  0 | 258 :       IDENTIFIER : __filename
  1 |  44 :              ',' : ,
  2 | 290 :            CONST : const
  3 | 294 :             CHAR : char
  4 |  42 :              '*' : *
  5 | 258 :       IDENTIFIER : restrict
  6 | 258 :       IDENTIFIER : __mode
  7 |  41 :              ')' : )
  8 | 318 :              ASM : asm
  9 |  40 :              '(' : (
 10 | 261 :   STRING_LITERAL : "_"

mv README.c.tex README_c.tex
mv: README.c.tex: No such file or directory
gmake[1]: *** [Makefile:103: readme] Error 1
gmake[1]: Leaving directory '/Users/pbulk/build/devel/cxref/work/cxref-1.6d/doc'
gmake: *** [Makefile:28: docs] Error 2
*** Error code 2

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

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/cxref