+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hanzim-1.3nb11/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hanzim-1.3nb11/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for hanzim-1.3nb11 --- hanzim.o --- --- hanwin.o --- --- hanzim.o --- cc -pipe -O2 -DUSE_INTERP_RESULT -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -DUNIX -DLIBDIR=\"/usr/pkg/lib/hanzim\" -c hanzim.c --- hanwin.o --- cc -pipe -O2 -DUSE_INTERP_RESULT -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -DUNIX -DLIBDIR=\"/usr/pkg/lib/hanzim\" -c hanwin.c --- hanzim.o --- hanzim.c: In function 'main': hanzim.c:218:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 218 | fprintf(stderr, "\nHanzim: %s\n", interp->result); | ^~~~~~~ In file included from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /home/pbulk/build/misc/hanzim/work/.buildlink/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ hanzim.c: In function 'Tcl_UnixAppInit': hanzim.c:389:46: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 389 | Tcl_CreateCommand(interp, "sameRadList", sameRadList, | ^~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) In file included from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /home/pbulk/build/misc/hanzim/work/.buildlink/include/tclDecls.h:303:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 303 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ hanzim.c:391:46: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 391 | Tcl_CreateCommand(interp, "sameRemList", sameRemList, | ^~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) In file included from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /home/pbulk/build/misc/hanzim/work/.buildlink/include/tclDecls.h:303:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 303 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ hanzim.c:393:47: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 393 | Tcl_CreateCommand(interp, "samePronList", samePronList, | ^~~~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) In file included from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /home/pbulk/build/misc/hanzim/work/.buildlink/include/tclDecls.h:303:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 303 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ hanzim.c:395:44: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 395 | Tcl_CreateCommand(interp, "LcompList", LcompList, | ^~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) In file included from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /home/pbulk/build/misc/hanzim/work/.buildlink/include/tclDecls.h:303:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 303 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ hanzim.c:397:44: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 397 | Tcl_CreateCommand(interp, "RcompList", RcompList, | ^~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) In file included from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /home/pbulk/build/misc/hanzim/work/.buildlink/include/tclDecls.h:303:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 303 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ hanzim.c:399:42: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 399 | Tcl_CreateCommand(interp, "radList", radList, | ^~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) In file included from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /home/pbulk/build/misc/hanzim/work/.buildlink/include/tclDecls.h:303:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 303 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ hanzim.c:401:41: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 401 | Tcl_CreateCommand(interp, "pyChar", pyChar, | ^~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) In file included from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /home/pbulk/build/misc/hanzim/work/.buildlink/include/tclDecls.h:303:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 303 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ hanzim.c:403:43: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 403 | Tcl_CreateCommand(interp, "randChar", randChar, | ^~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) In file included from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /home/pbulk/build/misc/hanzim/work/.buildlink/include/tclDecls.h:303:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 303 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ hanzim.c:405:43: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 405 | Tcl_CreateCommand(interp, "charinfo", charinfo, | ^~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) In file included from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /home/pbulk/build/misc/hanzim/work/.buildlink/include/tclDecls.h:303:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 303 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ hanzim.c:407:44: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 407 | Tcl_CreateCommand(interp, "yingHanCh", yingHanCh, | ^~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) In file included from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /home/pbulk/build/misc/hanzim/work/.buildlink/include/tclDecls.h:303:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 303 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ hanzim.c:409:45: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 409 | Tcl_CreateCommand(interp, "searchDefn", searchDefn, | ^~~~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) In file included from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /home/pbulk/build/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /home/pbulk/build/misc/hanzim/work/.buildlink/include/tclDecls.h:303:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 303 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ --- hinit.o --- cc -pipe -O2 -DUSE_INTERP_RESULT -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -DUNIX -DLIBDIR=\"/usr/pkg/lib/hanzim\" -c hinit.c hinit.c: In function 'kanhe': hinit.c:268:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 268 | fread(zeroes, sizeof(int), 3, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hinit.c:269:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 269 | fread(zerocs, sizeof(char), 3, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hinit.c:270:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 270 | fread(&version, sizeof(float), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hinit.c:271:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 271 | fread(&tnchars, sizeof(int), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hinit.c:272:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 272 | fread(&tncomps, sizeof(int), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hinit.c:279:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 279 | fread(&nr,sizeof(int),1,fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ hinit.c:280:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 280 | fread(&nl,sizeof(int),1,fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ hinit.c:285:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 285 | fread(cht->Rpart.ent,sizeof(int),nr,fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hinit.c:286:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 286 | fread(cht->Lpart.ent,sizeof(int),nl,fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- hutil.o --- cc -pipe -O2 -DUSE_INTERP_RESULT -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -DUNIX -DLIBDIR=\"/usr/pkg/lib/hanzim\" -c hutil.c --- hanzim --- cc -o hanzim hanwin.o hanzim.o hinit.o hutil.o -ltk -ltcl -lX11 -lm -lpthread -lrt -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64