=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for hanzim-1.3nb10 gcc -O2 -DUSE_INTERP_RESULT -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -DUNIX -DLIBDIR=\"/usr/pkg/lib/hanzim\" -c hanzim.c 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 /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /shared/pkgsrc/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 /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tclDecls.h:303:39: 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 /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tclDecls.h:303:39: 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 /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tclDecls.h:303:39: 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 /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tclDecls.h:303:39: 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 /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tclDecls.h:303:39: 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 /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tclDecls.h:303:39: 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 /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tclDecls.h:303:39: 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 /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tclDecls.h:303:39: 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 /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tclDecls.h:303:39: 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 /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tclDecls.h:303:39: 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 /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tcl.h:2418, from /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tk.h:19, from hanzim.h:62, from hanzim.c:15: /shared/pkgsrc/misc/hanzim/work/.buildlink/include/tclDecls.h:303:39: 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, | ~~~~~~~~~~~~~^~~~ gcc -O2 -DUSE_INTERP_RESULT -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -DUNIX -DLIBDIR=\"/usr/pkg/lib/hanzim\" -c hanwin.c gcc -O2 -DUSE_INTERP_RESULT -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -DUNIX -DLIBDIR=\"/usr/pkg/lib/hanzim\" -c hinit.c gcc -O2 -DUSE_INTERP_RESULT -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -DUNIX -DLIBDIR=\"/usr/pkg/lib/hanzim\" -c hutil.c In file included from /usr/include/string.h:127, from hanzim.h:59, from hutil.c:12: hutil.c: In function 'radnum': hutil.c:27:5: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 27 | strncpy(ls,s,strlen(s)-1); | ^~~~~~~ hutil.c:26:10: note: length computed here 26 | if ((s[strlen(s)-1] < '0') || (s[strlen(s)-1] > '9')) { | ^~~~~~~~~ In file included from /usr/include/string.h:127, from hanzim.h:59, from hutil.c:12: hutil.c: In function 'pin_index': hutil.c:111:5: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 111 | strncpy(locstr,s,m); | ^~~~~~~ hutil.c:108:7: note: length computed here 108 | m = strlen(s) - 1; | ^~~~~~~~~ gcc -o hanzim hanwin.o hanzim.o hinit.o hutil.o -ltk -ltcl -lX11 -lm -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib