+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/troffcvt-1.04nb11/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/troffcvt-1.04nb11/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for troffcvt-1.04nb11 making all in ./lib... rm -f libfile.o cc -c -O -I. -I.././h -I/opt/pkg/include -DSTDARG -DVARARGS -D'STRING_H=' libfile.c rm -f libtcgen.a ar cq libtcgen.a libfile.o rm -f r-font.o cc -c -O -I. -I.././h -I/opt/pkg/include -DSTDARG -DVARARGS -D'STRING_H=' r-font.c rm -f r-read.o cc -c -O -I. -I.././h -I/opt/pkg/include -DSTDARG -DVARARGS -D'STRING_H=' r-read.c r-read.c: In function 'TCRGetToken': r-read.c:129:29: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 129 | && (strcmp (p, "\\comment") == 0 | ^~~~~~ r-read.c:23:1: note: include '' or provide a declaration of 'strcmp' 22 | #include "tcread.h" +++ |+#include 23 | r-read.c: In function 'TCRGetLine': r-read.c:163:20: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 163 | if ((len = strlen (buf)) > 0 && buf[len-1] == '\n') | ^~~~~~ r-read.c:163:20: note: include '' or provide a declaration of 'strlen' r-read.c:163:20: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] r-read.c:163:20: note: include '' or provide a declaration of 'strlen' r-read.c:165:20: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 165 | if ((len = strlen (buf)) > 0 && buf[len-1] == '\r') | ^~~~~~ r-read.c:165:20: note: include '' or provide a declaration of 'strlen' *** Error code 1 Stop. make[1]: stopped making "all" in /home/pbulk/build/textproc/troffcvt/work/troffcvt-1.04/lib making all in ./libunix... rm -f u-libfile.o cc -c -O -I. -I.././h -I/opt/pkg/include -DSTDARG -DVARARGS -D'STRING_H=' -D'PROJLIBDIR="/opt/pkg/lib/troffcvt"' -D'MACROLIBDIR="/usr/lib/tmac"' u-libfile.c u-libfile.c: In function 'UnixSetProgPath': u-libfile.c:35:13: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 35 | n = strlen (path); | ^~~~~~ u-libfile.c:24:1: note: include '' or provide a declaration of 'strlen' 23 | #include "tcunix.h" +++ |+#include 24 | u-libfile.c:35:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 35 | n = strlen (path); | ^~~~~~ u-libfile.c:35:13: note: include '' or provide a declaration of 'strlen' u-libfile.c:48:24: error: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 48 | (void) strncpy (progPath, path, j); | ^~~~~~~ u-libfile.c:48:24: note: include '' or provide a declaration of 'strncpy' u-libfile.c:48:24: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] u-libfile.c:48:24: note: include '' or provide a declaration of 'strncpy' *** Error code 1 Stop. make[1]: stopped making "all" in /home/pbulk/build/textproc/troffcvt/work/troffcvt-1.04/libunix making all in ./troffcvt... cc -O -I. -I.././h -I/opt/pkg/include -DSTDARG -DVARARGS -D'STRING_H=' -D'PROJLIBDIR="/opt/pkg/lib/troffcvt"' -D'MACROLIBDIR="/usr/share/tmac"' -D'MACROFILEPREFIX="tmac."' -I/opt/pkg/include -c main.c main.c: In function 'main': main.c:363:9: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 363 | exit (0); | ^~~~ main.c:62:1: note: include '' or provide a declaration of 'exit' 61 | #include "troffcvt.h" +++ |+#include 62 | main.c:363:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 363 | exit (0); | ^~~~ main.c:363:9: note: include '' or provide a declaration of 'exit' *** Error code 1 Stop. make[1]: stopped making "all" in /home/pbulk/build/textproc/troffcvt/work/troffcvt-1.04/troffcvt making all in ./tblcvt... rm -f tblcvt echo "#!"/opt/pkg/bin/perl > tblcvt cat tblcvt.pl >> tblcvt chmod a+x tblcvt making all in ./post... cc -O -I. -I.././h -I/opt/pkg/include -DSTDARG -DVARARGS -D'STRING_H=' -I/opt/pkg/include -c tc2null.c tc2null.c: In function 'main': tc2null.c:122:21: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 122 | if (strcmp (argv[0], "-E") == 0) | ^~~~~~ tc2null.c:38:1: note: include '' or provide a declaration of 'strcmp' 37 | # include "tctbl.h" +++ |+#include 38 | tc2null.c:145:9: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 145 | exit (0); | ^~~~ tc2null.c:38:1: note: include '' or provide a declaration of 'exit' 37 | # include "tctbl.h" +++ |+#include 38 | tc2null.c:145:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 145 | exit (0); | ^~~~ tc2null.c:145:9: note: include '' or provide a declaration of 'exit' tc2null.c: In function 'TableBegin': tc2null.c:374:19: error: implicit declaration of function 'StrToShort' [-Wimplicit-function-declaration] 374 | tblCols = StrToShort (argv[tblColsArg]); | ^~~~~~~~~~ tc2null.c: In function 'TableColumnInfo': tc2null.c:408:29: error: implicit declaration of function 'StrToLong' [-Wimplicit-function-declaration] 408 | colSep[tblColIdx] = StrToLong (argv[colSepArg]); | ^~~~~~~~~ *** Error code 1 Stop. make[1]: stopped making "all" in /home/pbulk/build/textproc/troffcvt/work/troffcvt-1.04/post making all in ./doc... making all in ./man... rm -f troffcvt.man sed troffcvt.man "s|\$(PROJLIBDIR)|/opt/pkg/lib/troffcvt|" making all in ./misc... rm -f list-html-codes echo "#!"/opt/pkg/bin/perl > list-html-codes cat list-html-codes.pl >> list-html-codes chmod a+x list-html-codes rm -f list-specials echo "#!"/opt/pkg/bin/perl5 > list-specials sed > list-specials "s|\$(TOP)|../.|" chmod a+x list-specials rm -f chk-specials echo "#!"/opt/pkg/bin/perl5 > chk-specials sed > chk-specials "s|\$(TOP)|../.|" chmod a+x chk-specials