=> 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 --- 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 --- 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 --- 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 --- 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 --- 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 --- 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 --- xwd.o --- xwd.c: In function 'ReadColors': xwd.c:139:1: warning: type of 'tk' defaults to 'int' [-Wimplicit-int] 139 | ReadColors(tk,cmap,colors) | ^~~~~~~~~~ In file included from xwd.c:77: /pbulk/work/net/nam/work/.buildlink/include/tk.h:725:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 725 | #define Tk_Visual(tkwin) (((Tk_FakeWin *) (tkwin))->visual) | ^ xwd.c:143:16: note: in expansion of macro 'Tk_Visual' 143 | 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] 720 | #define Tk_Display(tkwin) (((Tk_FakeWin *) (tkwin))->display) | ^ xwd.c:181:15: note: in expansion of macro 'Tk_Display' 181 | XQueryColors(Tk_Display(tk), cmap, *colors, ncolors); | ^~~~~~~~~~ --- 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 --- node.o --- In file included from node.cc:40: tag.h: In member function 'int Tag::isMember(unsigned int) const': tag.h:75:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 75 | 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' 2570 | (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) | ^~~ node.cc: In destructor 'virtual Node::~Node()': node.cc:430:3: warning: deleting object of polymorphic class type 'Queue' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 430 | delete queue_; | ^~~~~~~~~~~~~ --- netmodel.o --- In file included from netmodel.cc:43: tag.h: In member function 'int Tag::isMember(unsigned int) const': tag.h:75:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 75 | 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' 2570 | (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) | ^~~ --- trace.o --- --- queue.o --- --- drop.o --- --- 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 --- 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 --- 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 --- animation.o --- --- agent.o --- --- animation.o --- rm -f animation.o; c++ -o animation.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 animation.cc --- agent.o --- rm -f agent.o; c++ -o agent.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 agent.cc --- netmodel.o --- netmodel.cc: In member function 'int NetModel::addAddress(int, int) const': netmodel.cc:297:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 297 | 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' 2573 | (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) | ^~~ netmodel.cc:301:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 301 | Tcl_SetHashValue(he, (ClientData)id); | ^~~~~~~~~~~~~~ /pbulk/work/net/nam/work/.buildlink/include/tcl.h:2556:64: note: in definition of macro 'Tcl_SetHashValue' 2556 | #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] 2556 | #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) | ^~~~~~~~~~~~~~~ | | | void* netmodel.cc:301:3: note: in expansion of macro 'Tcl_SetHashValue' 301 | Tcl_SetHashValue(he, (ClientData)id); | ^~~~~~~~~~~~~~~~ netmodel.cc: In member function 'int NetModel::addr2id(int) const': netmodel.cc:308:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 308 | 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' 2570 | (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) | ^~~ --- feature.o --- --- netmodel.o --- netmodel.cc: In member function 'int NetModel::add_group(Group*)': netmodel.cc:1659:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1659 | (const char *)grp->addr(), | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/net/nam/work/.buildlink/include/tcl.h:2573:55: note: in definition of macro 'Tcl_CreateHashEntry' 2573 | (*((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] 2556 | #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) | ^~~~~~~~~~~~~~~ | | | void* netmodel.cc:1664:3: note: in expansion of macro 'Tcl_SetHashValue' 1664 | Tcl_SetHashValue(he, (ClientData)grp); | ^~~~~~~~~~~~~~~~ netmodel.cc: In member function 'Group* NetModel::lookupGroup(unsigned int)': netmodel.cc:1672:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1672 | 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' 2570 | (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) | ^~~ 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] 2556 | #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) | ^~~~~~~~~~~~~~~ | | | void* netmodel.cc:2706:5: note: in expansion of macro 'Tcl_SetHashValue' 2706 | Tcl_SetHashValue(he, (ClientData)tag); | ^~~~~~~~~~~~~~~~ netmodel.cc: In member function 'int NetModel::registerObjName(const char*, int)': netmodel.cc:2745:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2745 | Tcl_SetHashValue(he, (ClientData)id); | ^~~~~~~~~~~~~~ /pbulk/work/net/nam/work/.buildlink/include/tcl.h:2556:64: note: in definition of macro 'Tcl_SetHashValue' 2556 | #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] 2556 | #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) | ^~~~~~~~~~~~~~~ | | | void* netmodel.cc:2745:3: note: in expansion of macro 'Tcl_SetHashValue' 2745 | Tcl_SetHashValue(he, (ClientData)id); | ^~~~~~~~~~~~~~~~ --- feature.o --- rm -f feature.o; c++ -o feature.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 feature.cc --- netmodel.o --- *** [netmodel.o] Error code 1 make: stopped in /pbulk/work/net/nam/work/nam-1.15 --- trace.o --- trace.cc: In constructor 'Trace::Trace(const char*, const char*)': trace.cc:112:9: warning: unused variable 'pos' [-Wunused-variable] 112 | 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] 342 | off_t pos; | ^~~ --- animation.o --- In file included from animation.cc:37: animation.cc: In static member function 'static Animation* Animation::find(unsigned int)': animation.cc:51:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 51 | Tcl_HashEntry *he = Tcl_FindHashEntry(AniHash_, (const char *)id); | ^~~~~~~~~~~~~~~~ /pbulk/work/net/nam/work/.buildlink/include/tcl.h:2570:53: note: in definition of macro 'Tcl_FindHashEntry' 2570 | (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) | ^~~ animation.cc: In constructor 'Animation::Animation(double, long int)': animation.cc:81:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 81 | (const char *)id_, &newEntry); | ^~~~~~~~~~~~~~~~~ /pbulk/work/net/nam/work/.buildlink/include/tcl.h:2573:55: note: in definition of macro 'Tcl_CreateHashEntry' 2573 | (*((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] 2556 | #define Tcl_SetHashValue(h, value) ((h)->clientData = (void *)(value)) | ^~~~~~~~~~~~~~~ | | | void* animation.cc:84:3: note: in expansion of macro 'Tcl_SetHashValue' 84 | Tcl_SetHashValue(he, (ClientData)this); | ^~~~~~~~~~~~~~~~ animation.cc: In destructor 'virtual Animation::~Animation()': animation.cc:105:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 105 | Tcl_HashEntry *he = Tcl_FindHashEntry(AniHash_, (const char *)id_); | ^~~~~~~~~~~~~~~~~ /pbulk/work/net/nam/work/.buildlink/include/tcl.h:2570:53: note: in definition of macro 'Tcl_FindHashEntry' 2570 | (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) | ^~~ *** [animation.o] Error code 1 make: stopped in /pbulk/work/net/nam/work/nam-1.15 2 errors 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