=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> 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 nam-1.15nb9 --- tkcompat.o --- --- tkUnixInit.o --- --- xwd.o --- --- netview.o --- --- tkUnixInit.o --- rm -f tkUnixInit.o; gcc -o tkUnixInit.o -c -Wall -Wno-write-strings -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include tkUnixInit.c --- tkcompat.o --- rm -f tkcompat.o; gcc -o tkcompat.o -c -Wall -Wno-write-strings -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include tkcompat.c --- xwd.o --- rm -f xwd.o; gcc -o xwd.o -c -Wall -Wno-write-strings -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include xwd.c --- netview.o --- rm -f netview.o; c++ -o netview.o -c -Wall -Wno-write-strings -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include netview.cc --- netmodel.o --- rm -f netmodel.o; c++ -o netmodel.o -c -Wall -Wno-write-strings -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include netmodel.cc --- xwd.o --- xwd.c: In function 'ReadColors': xwd.c:139:1: warning: type of 'tk' defaults to 'int' [-Wimplicit-int] ReadColors(tk,cmap,colors) ^~~~~~~~~~ In file included from xwd.c:77:0: /tmp/net/nam/work/.buildlink/include/tk.h:725:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define Tk_Visual(tkwin) (((Tk_FakeWin *) (tkwin))->visual) ^ xwd.c:143:16: note: in expansion of macro 'Tk_Visual' Visual *vis = Tk_Visual(tk); ^~~~~~~~~ /tmp/net/nam/work/.buildlink/include/tk.h:720:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define Tk_Display(tkwin) (((Tk_FakeWin *) (tkwin))->display) ^ xwd.c:181:15: note: in expansion of macro 'Tk_Display' XQueryColors(Tk_Display(tk), cmap, *colors, ncolors); ^~~~~~~~~~ --- edge.o --- rm -f edge.o; c++ -o edge.o -c -Wall -Wno-write-strings -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include edge.cc --- packet.o --- rm -f packet.o; c++ -o packet.o -c -Wall -Wno-write-strings -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include packet.cc --- netmodel.o --- In file included from netmodel.cc:43:0: tag.h: In member function 'int Tag::isMember(unsigned int) const': tag.h:75:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (Tcl_FindHashEntry(mbrHash_, (const char *)id) != NULL); ^ /tmp/net/nam/work/.buildlink/include/tcl.h:2570:53: note: in definition of macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ --- node.o --- rm -f node.o; c++ -o node.o -c -Wall -Wno-write-strings -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include node.cc --- netmodel.o --- netmodel.cc: In member function 'int NetModel::addAddress(int, int) const': netmodel.cc:297:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Tcl_CreateHashEntry(addrHash_, (const char *)addr, &newEntry); ^ /tmp/net/nam/work/.buildlink/include/tcl.h:2573:55: note: in definition of macro 'Tcl_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) ^~~ netmodel.cc:301:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Tcl_SetHashValue(he, (ClientData)id); ^ /tmp/net/nam/work/.buildlink/include/tcl.h:2556:64: note: in definition of macro 'Tcl_SetHashValue' #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) ^~~~~ /tmp/net/nam/work/.buildlink/include/tcl.h:2556:55: error: invalid conversion from 'void*' to 'ClientData {aka int*}' [-fpermissive] #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) ^~~~~~~~~~~~~~~ netmodel.cc:301:3: note: in expansion of macro 'Tcl_SetHashValue' Tcl_SetHashValue(he, (ClientData)id); ^~~~~~~~~~~~~~~~ netmodel.cc: In member function 'int NetModel::addr2id(int) const': netmodel.cc:308:65: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Tcl_HashEntry *he = Tcl_FindHashEntry(addrHash_, (const char *)addr); ^ /tmp/net/nam/work/.buildlink/include/tcl.h:2570:53: note: in definition of macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ netmodel.cc: In member function 'int NetModel::add_group(Group*)': netmodel.cc:1659:66: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (const char *)grp->addr(), ^ /tmp/net/nam/work/.buildlink/include/tcl.h:2573:55: note: in definition of macro 'Tcl_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) ^~~ /tmp/net/nam/work/.buildlink/include/tcl.h:2556:55: error: invalid conversion from 'void*' to 'ClientData {aka int*}' [-fpermissive] #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) ^~~~~~~~~~~~~~~ netmodel.cc:1664:3: note: in expansion of macro 'Tcl_SetHashValue' Tcl_SetHashValue(he, (ClientData)grp); ^~~~~~~~~~~~~~~~ netmodel.cc: In member function 'Group* NetModel::lookupGroup(unsigned int)': netmodel.cc:1672:64: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Tcl_HashEntry *he = Tcl_FindHashEntry(grpHash_, (const char *)addr); ^ /tmp/net/nam/work/.buildlink/include/tcl.h:2570:53: note: in definition of macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ netmodel.cc: In member function 'int NetModel::add_tag(Tag*)': /tmp/net/nam/work/.buildlink/include/tcl.h:2556:55: error: invalid conversion from 'void*' to 'ClientData {aka int*}' [-fpermissive] #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) ^~~~~~~~~~~~~~~ netmodel.cc:2706:5: note: in expansion of macro 'Tcl_SetHashValue' Tcl_SetHashValue(he, (ClientData)tag); ^~~~~~~~~~~~~~~~ netmodel.cc: In member function 'int NetModel::registerObjName(const char*, int)': netmodel.cc:2745:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Tcl_SetHashValue(he, (ClientData)id); ^ /tmp/net/nam/work/.buildlink/include/tcl.h:2556:64: note: in definition of macro 'Tcl_SetHashValue' #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) ^~~~~ /tmp/net/nam/work/.buildlink/include/tcl.h:2556:55: error: invalid conversion from 'void*' to 'ClientData {aka int*}' [-fpermissive] #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) ^~~~~~~~~~~~~~~ netmodel.cc:2745:3: note: in expansion of macro 'Tcl_SetHashValue' Tcl_SetHashValue(he, (ClientData)id); ^~~~~~~~~~~~~~~~ --- main.o --- rm -f main.o; c++ -o main.o -c -Wall -Wno-write-strings -DTCL_TK -DNO_VOID -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_6 -DHAVE_TK_H -DHAVE_LIBTCL8_6 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_LIBZ1_2_3 -DHAVE_ZLIB_H -I. -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include main.cc --- netmodel.o --- *** [netmodel.o] Error code 1 make: stopped in /tmp/net/nam/work/nam-1.15 --- node.o --- In file included from node.cc:40:0: tag.h: In member function 'int Tag::isMember(unsigned int) const': tag.h:75:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (Tcl_FindHashEntry(mbrHash_, (const char *)id) != NULL); ^ /tmp/net/nam/work/.buildlink/include/tcl.h:2570:53: note: in definition of macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ node.cc: In destructor 'virtual Node::~Node()': node.cc:430:10: warning: deleting object of polymorphic class type 'Queue' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete queue_; ^~~~~~ 1 error make: stopped in /tmp/net/nam/work/nam-1.15 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/nam *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/nam