=> 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 --- 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 --- 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 --- 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] 139 | ReadColors(tk,cmap,colors) | ^~~~~~~~~~ --- 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 --- netmodel.o --- In file included from netmodel.cc:43: netmodel.cc: In member function 'int NetModel::addAddress(int, int) const': /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); | ^~~~~~~~~~~~~~~~ --- 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 --- netmodel.cc: In member function 'int NetModel::add_group(Group*)': /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); | ^~~~~~~~~~~~~~~~ --- node.o --- 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 --- 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)': /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); | ^~~~~~~~~~~~~~~~ --- 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 --- 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; | ^~~ 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