=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for docbook2mdoc-1.1.0 --- xmalloc.o --- --- node.o --- --- parse.o --- --- xmalloc.o --- clang -pipe -Os -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -c xmalloc.c --- node.o --- clang -pipe -Os -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -c node.c --- parse.o --- clang -pipe -Os -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -c parse.c --- xmalloc.o --- xmalloc.c:55:11: warning: implicit declaration of function 'reallocarray' is invalid in C99 [-Wimplicit-function-declaration] if ((p = reallocarray(p, nmemb, size)) == NULL) { ^ xmalloc.c:55:9: warning: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion] if ((p = reallocarray(p, nmemb, size)) == NULL) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. --- parse.o --- parse.c:1038:45: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] if (save_fname == NULL && (fname = dirname(fname)) != NULL && ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/libgen.h:41:21: note: passing argument to parameter here char *dirname(char *); ^ --- reorg.o --- clang -pipe -Os -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -c reorg.c --- macro.o --- clang -pipe -Os -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -c macro.c --- docbook2mdoc.o --- clang -pipe -Os -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -c docbook2mdoc.c --- tree.o --- clang -pipe -Os -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -c tree.c --- parse.o --- 1 warning generated. --- main.o --- clang -pipe -Os -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -c main.c main.c:114:38: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] if (fd == -1 && (bname = basename(fname)) != NULL) ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/libgen.h:40:22: note: passing argument to parameter here char *basename(char *); ^ 1 warning generated. --- docbook2mdoc --- clang -L/opt/pkg/lib -g -o docbook2mdoc xmalloc.o node.o parse.o reorg.o macro.o docbook2mdoc.o tree.o main.o Undefined symbols for architecture arm64: "_reallocarray", referenced from: _xreallocarray in xmalloc.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [docbook2mdoc] Error code 1 bmake: stopped in /Users/pbulk/build/textproc/docbook2mdoc/work/docbook2mdoc-1.1.0 1 error bmake: stopped in /Users/pbulk/build/textproc/docbook2mdoc/work/docbook2mdoc-1.1.0 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/textproc/docbook2mdoc *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/textproc/docbook2mdoc