=> 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 nam-1.15nb9 --- tkcompat.o --- --- tkUnixInit.o --- --- xwd.o --- --- netview.o --- --- netmodel.o --- --- edge.o --- --- packet.o --- --- node.o --- --- 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 --- 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 --- 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 --- 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 --- 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 --- 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 --- 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: /pbulk/work/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); ^~~~~~~~~ /pbulk/work/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); ^~~~~~~~~~ --- trace.o --- rm -f trace.o; c++ -o trace.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 trace.cc --- queue.o --- rm -f queue.o; c++ -o queue.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 queue.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); ^ /pbulk/work/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::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); ^ /pbulk/work/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); ^ /pbulk/work/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)) ^~~~~ /pbulk/work/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); ^ /pbulk/work/net/nam/work/.buildlink/include/tcl.h:2570:53: note: in definition of macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ --- 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); ^ /pbulk/work/net/nam/work/.buildlink/include/tcl.h:2570:53: note: in definition of macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ --- netmodel.o --- 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(), ^ /pbulk/work/net/nam/work/.buildlink/include/tcl.h:2573:55: note: in definition of macro 'Tcl_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) ^~~ /pbulk/work/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); ^ /pbulk/work/net/nam/work/.buildlink/include/tcl.h:2570:53: note: in definition of macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ --- node.o --- 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_; ^~~~~~ --- netmodel.o --- netmodel.cc: In member function 'int NetModel::add_tag(Tag*)': /pbulk/work/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); ^ /pbulk/work/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)) ^~~~~ /pbulk/work/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); ^~~~~~~~~~~~~~~~ --- drop.o --- --- netmodel.o --- *** [netmodel.o] Error code 1 make: stopped in /pbulk/work/net/nam/work/nam-1.15 --- drop.o --- rm -f drop.o; c++ -o drop.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 drop.cc --- trace.o --- trace.cc: In constructor 'Trace::Trace(const char*, const char*)': trace.cc:112:9: warning: unused variable 'pos' [-Wunused-variable] off_t pos = nam_stream_->seek(0, SEEK_SET); ^~~ trace.cc: In member function 'void Trace::findLastLine()': trace.cc:342:9: warning: variable 'pos' set but not used [-Wunused-but-set-variable] off_t pos; ^~~ 1 error make: stopped in /pbulk/work/net/nam/work/nam-1.15 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/net/nam *** Error code 1 Stop. make: stopped in /usr/pkgsrc/net/nam