WARNING: [license.mk] Every package should define a LICENSE. ===> Building for unroff-1.0.2nb1 clang -DBSD -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/elk -DDEFAULT_DIR=\"/opt/pkg/share/unroff\" -DDEFAULT_FORMAT=\"html\" -c args.c clang -DBSD -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/elk -DDEFAULT_DIR=\"/opt/pkg/share/unroff\" -DDEFAULT_FORMAT=\"html\" -c buffer.c clang -DBSD -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/elk -DDEFAULT_DIR=\"/opt/pkg/share/unroff\" -DDEFAULT_FORMAT=\"html\" -c error.c error.c:46:12: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] return errno > 0 && errno < sys_nerr ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/errno.h:81:15: note: expanded from macro 'errno' #define errno (*__error()) ^ 1 warning generated. clang -DBSD -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/elk -DDEFAULT_DIR=\"/opt/pkg/share/unroff\" -DDEFAULT_FORMAT=\"html\" -c event.c event.c:72:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. clang -DBSD -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/elk -DDEFAULT_DIR=\"/opt/pkg/share/unroff\" -DDEFAULT_FORMAT=\"html\" -c expr.c clang -DBSD -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/elk -DDEFAULT_DIR=\"/opt/pkg/share/unroff\" -DDEFAULT_FORMAT=\"html\" -c gcroot.c clang -DBSD -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/elk -DDEFAULT_DIR=\"/opt/pkg/share/unroff\" -DDEFAULT_FORMAT=\"html\" -c insert.c insert.c:25:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. clang -DBSD -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/elk -DDEFAULT_DIR=\"/opt/pkg/share/unroff\" -DDEFAULT_FORMAT=\"html\" -c malloc.c clang -DBSD -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/elk -DDEFAULT_DIR=\"/opt/pkg/share/unroff\" -DDEFAULT_FORMAT=\"html\" -c parse.c clang -DBSD -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/elk -DDEFAULT_DIR=\"/opt/pkg/share/unroff\" -DDEFAULT_FORMAT=\"html\" -c prim.c prim.c:245:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (*p == '}') level--; ^ 1 warning generated. clang -DBSD -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/elk -DDEFAULT_DIR=\"/opt/pkg/share/unroff\" -DDEFAULT_FORMAT=\"html\" -c scmtable.c clang -DBSD -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/elk -DDEFAULT_DIR=\"/opt/pkg/share/unroff\" -DDEFAULT_FORMAT=\"html\" -c stream.c clang -DBSD -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/elk -DDEFAULT_DIR=\"/opt/pkg/share/unroff\" -DDEFAULT_FORMAT=\"html\" -c subst.c subst.c:54:7: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] s = tmpnam(0); ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:186:1: note: 'tmpnam' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead.") ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ 1 warning generated. clang -DBSD -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/elk -DDEFAULT_DIR=\"/opt/pkg/share/unroff\" -DDEFAULT_FORMAT=\"html\" -c table.c clang -DBSD -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/elk -DDEFAULT_DIR=\"/opt/pkg/share/unroff\" -DDEFAULT_FORMAT=\"html\" -c unroff.c clang -s -o unroff args.o buffer.o error.o event.o expr.o gcroot.o insert.o malloc.o parse.o prim.o scmtable.o stream.o subst.o table.o unroff.o -L/opt/pkg/lib -L/opt/pkg/lib -lelk -lm ld: warning: option -s is obsolete and being ignored duplicate symbol '_tolower' in: args.o buffer.o duplicate symbol '_tolower' in: args.o error.o duplicate symbol '_tolower' in: args.o event.o duplicate symbol '_tolower' in: args.o expr.o duplicate symbol '_tolower' in: args.o insert.o duplicate symbol '_tolower' in: args.o gcroot.o duplicate symbol '_tolower' in: args.o prim.o duplicate symbol '_tolower' in: args.o parse.o duplicate symbol '_tolower' in: args.o scmtable.o duplicate symbol '_tolower' in: args.o malloc.o duplicate symbol '_tolower' in: args.o subst.o duplicate symbol '_tolower' in: args.o table.o duplicate symbol '_tolower' in: args.o stream.o duplicate symbol '_tolower' in: args.o unroff.o ld: 14 duplicate symbols for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [unroff] Error code 1 bmake: stopped making "all" in /Users/pbulk/build/textproc/unroff/work/unroff-1.0/src bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/textproc/unroff/work/unroff-1.0/src *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/unroff *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/unroff