------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- ===> The following configuration options are available for sniffit-0.5: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- XDG_DATA_HOME=/construction/net/sniffit XDG_CONFIG_HOME=/construction/net/sniffit XDG_CACHE_HOME=/construction/net/sniffit/.cache HOME=/construction/net/sniffit TMPDIR="/tmp" PATH=/construction/net/sniffit/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/net/sniffit/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 DEFAULT_AUTOCONF=2.71 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- XDG_DATA_HOME=/construction/net/sniffit XDG_CONFIG_HOME=/construction/net/sniffit XDG_CACHE_HOME=/construction/net/sniffit/.cache HOME=/construction/net/sniffit TMPDIR="/tmp" PATH=/construction/net/sniffit/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/net/sniffit/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 DEFAULT_AUTOCONF=2.71 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -Wno-discarded-qualifiers -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -Wno-discarded-qualifiers -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- DESTDIR=/construction/net/sniffit/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/sniffit" EXAMPLESDIR="share/examples/sniffit" DATADIR="share/sniffit" WWWDIR="www/sniffit" ETCDIR="etc/sniffit" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: SUB_LIST ------------------------------------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/sniffit DOCSDIR=/usr/local/share/doc/sniffit EXAMPLESDIR=/usr/local/share/examples/sniffit WWWDIR=/usr/local/www/sniffit ETCDIR=/usr/local/etc/sniffit SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/ncurses-6.4.pkg ===== Message from ncurses-6.4: -- To get the terminfo database please install the terminfo-db package: pkg install terminfo-db Installing /packages/All/autoconf-switch-20220527.pkg Installing /packages/All/indexinfo-0.3.1.pkg Installing /packages/All/gettext-runtime-0.21.1.pkg Installing /packages/All/m4-1.4.19,1.pkg Installing /packages/All/perl5-5.32.1_3.pkg Installing /packages/All/autoconf-2.71.pkg Installing /packages/All/automake-1.16.5.pkg Installing /packages/All/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. SUCCEEDED 00:00:05 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> sniffit-0.5 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> sniffit-0.5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by sniffit-0.5 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> sniffit-0.5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by sniffit-0.5 for building => SHA256 Checksum OK for resurrecting-open-source-projects-sniffit-sniffit-0.5_GH0.tar.gz. SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> sniffit-0.5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by sniffit-0.5 for building ===> Extracting for sniffit-0.5 ===> sniffit-0.5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by sniffit-0.5 for building => SHA256 Checksum OK for resurrecting-open-source-projects-sniffit-sniffit-0.5_GH0.tar.gz. Extracted Memory Use: 0.33M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for sniffit-0.5 ===> Applying ports patches for sniffit-0.5 from /xports/net/sniffit/files SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> sniffit-0.5 depends on file: /usr/local/lib/libncurses.so.6 - found ===> sniffit-0.5 depends on package: autoconf>=2.71 - found ===> sniffit-0.5 depends on package: automake>=1.16.5 - found ===> sniffit-0.5 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> sniffit-0.5 depends on file: /usr/local/lib/libncurses.so.6 - found ===> sniffit-0.5 depends on package: autoconf>=2.71 - found ===> sniffit-0.5 depends on package: automake>=1.16.5 - found ===> sniffit-0.5 depends on file: /usr/local/bin/ccache - found ===> Configuring for sniffit-0.5 configure.ac:12: installing './compile' configure.ac:28: installing './config.guess' configure.ac:28: installing './config.sub' configure.ac:62: installing './install-sh' configure.ac:62: installing './missing' src/Makefile.am: installing './depcomp' configure: loading site script /xports/Templates/config.site checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether cc accepts -g... yes checking for cc option to enable C11 features... none needed checking whether cc understands -c and -o together... yes checking for main in -lncurses... yes checking for pcap_open_live in -lpcap... yes checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for vfork.h... (cached) no checking for arpa/inet.h... (cached) yes checking for fcntl.h... (cached) yes checking for netdb.h... (cached) yes checking for netinet/in.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/time.h... (cached) yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for ncurses.h... yes checking for pcap.h... yes checking for size_t... (cached) yes checking for pid_t... (cached) yes checking for fork... (cached) yes checking for vfork... (cached) yes checking for working fork... yes checking for working vfork... (cached) yes checking build system type... x86_64-portbld-dragonfly6.5 checking host system type... x86_64-portbld-dragonfly6.5 checking for GNU libc compatible malloc... (cached) yes checking for GNU libc compatible realloc... yes checking for alarm... (cached) yes checking for bzero... (cached) yes checking for gethostbyname... (cached) yes checking for socket... yes checking for strchr... (cached) yes checking for strdup... (cached) yes checking for strstr... (cached) yes checking for shmget... (cached) yes checking for atexit... (cached) yes checking size of unsigned short int... 2 checking size of unsigned long int... 8 unsigned long is NOT 4 bytes... hmmm... checking size of unsigned int... 4 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of cc... gcc3 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands SUCCEEDED 00:00:09 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for sniffit-0.5 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in src --- sn_packets.o --- --- sn_generation.o --- --- sn_interface.o --- --- sn_cfgfile.o --- --- sn_logfile.o --- --- sn_resolv.o --- --- sniffit.o --- --- sn_packets.o --- cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -pipe -Wno-discarded-qualifiers -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -MT sn_packets.o -MD -MP -MF .deps/sn_packets.Tpo -c -o sn_packets.o sn_packets.c --- sn_generation.o --- cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -pipe -Wno-discarded-qualifiers -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -MT sn_generation.o -MD -MP -MF .deps/sn_generation.Tpo -c -o sn_generation.o sn_generation.c --- sn_cfgfile.o --- cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -pipe -Wno-discarded-qualifiers -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -MT sn_cfgfile.o -MD -MP -MF .deps/sn_cfgfile.Tpo -c -o sn_cfgfile.o sn_cfgfile.c --- sn_resolv.o --- cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -pipe -Wno-discarded-qualifiers -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -MT sn_resolv.o -MD -MP -MF .deps/sn_resolv.Tpo -c -o sn_resolv.o sn_resolv.c --- sn_logfile.o --- cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -pipe -Wno-discarded-qualifiers -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -MT sn_logfile.o -MD -MP -MF .deps/sn_logfile.Tpo -c -o sn_logfile.o sn_logfile.c --- sniffit.o --- cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -pipe -Wno-discarded-qualifiers -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -MT sniffit.o -MD -MP -MF .deps/sniffit.Tpo -c -o sniffit.o sniffit.c --- sn_interface.o --- cc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -pipe -Wno-discarded-qualifiers -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -MT sn_interface.o -MD -MP -MF .deps/sn_interface.Tpo -c -o sn_interface.o sn_interface.c --- sn_resolv.o --- mv -f .deps/sn_resolv.Tpo .deps/sn_resolv.Po --- sn_packets.o --- sn_packets.c: In function 'unwrap_packet': sn_packets.c:68:18: warning: passing argument 1 of 'in_cksum' from incompatible pointer type [-Wincompatible-pointer-types] if(in_cksum((sp+PROTO_HEAD),unwrapped->IP_len) != IPhead.checksum) ~~~^~~~~~~~~~~~ sn_packets.c:14:41: note: expected 'short unsigned int *' but argument is of type 'unsigned char *' unsigned short in_cksum(unsigned short *addr,int len) ~~~~~~~~~~~~~~~~^~~~ mv -f .deps/sn_packets.Tpo .deps/sn_packets.Po --- sn_cfgfile.o --- sn_cfgfile.c: In function 'clean_string': sn_cfgfile.c:131:7: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] if( (isalnum(string[i]))||(string[i]=='.') ) ^~~~~~~ sn_cfgfile.c: In function 'clean_filename': sn_cfgfile.c:155:8: warning: implicit declaration of function 'iscntrl' [-Wimplicit-function-declaration] if( !(iscntrl(string[i])) && !(isspace(string[i])) ) ^~~~~~~ sn_cfgfile.c:155:33: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] if( !(iscntrl(string[i])) && !(isspace(string[i])) ) ^~~~~~~ mv -f .deps/sn_cfgfile.Tpo .deps/sn_cfgfile.Po --- sn_interface.o --- sn_interface.c: In function 'mask_status': sn_interface.c:195:3: warning: assignment to 'unsigned char *' from incompatible pointer type '_32_bit *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] ad=&(mask->source_ip); ^ sn_interface.c:201:3: warning: assignment to 'unsigned char *' from incompatible pointer type '_32_bit *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] ad=&(mask->destination_ip); ^ sn_interface.c: In function 'interaction': sn_interface.c:470:8: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] isprint(*(connection_data+i))? ^~~~~~~ mv -f .deps/sn_interface.Tpo .deps/sn_interface.Po --- sn_generation.o --- sn_generation.c: In function 'exec_generate': sn_generation.c:66:1: warning: implicit declaration of function 'input_field' [-Wimplicit-function-declaration] input_field(msg,NULL,0); ^~~~~~~~~~~ sn_generation.c:67:1: warning: implicit declaration of function 'forced_refresh'; did you mean 'slk_refresh'? [-Wimplicit-function-declaration] forced_refresh(); ^~~~~~~~~~~~~~ slk_refresh sn_generation.c: In function 'sp_fix_IP_packet': sn_generation.c:205:22: warning: implicit declaration of function 'in_cksum'; did you mean 'inchstr'? [-Wimplicit-function-declaration] sp_help_ip->checksum=in_cksum((unsigned short *) (sp->buffer), ^~~~~~~~ inchstr mv -f .deps/sn_generation.Tpo .deps/sn_generation.Po --- sn_logfile.o --- sn_logfile.c: In function 'open_logfile': sn_logfile.c:96:8: warning: passing argument 1 of 'fchmod' makes integer from pointer without a cast [-Wint-conversion] fchmod(LogFILE, S_IWUSR|S_IRUSR); ^~~~~~~ In file included from sn_logfile.c:9: /usr/include/sys/stat.h:291:12: note: expected 'int' but argument is of type 'FILE *' {aka 'struct __FILE *'} int fchmod(int, mode_t); ^~~ mv -f .deps/sn_logfile.Tpo .deps/sn_logfile.Po --- sniffit.o --- In file included from sn_plugins.h:23, from sniffit.c:35: dns_plugin.plug: In function 'PL_DNS_plugin': dns_plugin.plug:87:12: warning: assignment to 'struct PL_DNS_header *' from incompatible pointer type 'struct DNS_header *' [-Wincompatible-pointer-types] dns_dnshead= (struct DNS_header *) (dns_buffer+udp_start+sizeof(struct UDP_header)); ^ sniffit.c: In function 'strlower': sniffit.c:127:22: warning: implicit declaration of function 'isupper' [-Wimplicit-function-declaration] *(string + i) = (isupper (*(string + i)) ? tolower (*(string + i)) : *(string + i)); ^~~~~~~ sniffit.c:127:48: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] *(string + i) = (isupper (*(string + i)) ? tolower (*(string + i)) : *(string + i)); ^~~~~~~ sniffit.c: In function 'record_buf': sniffit.c:386:11: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] if (isprint (data[i])) ^~~~~~~ sniffit.c: In function 'packethandler': sniffit.c:1107:43: warning: passing argument 2 of 'pcap_dump' from incompatible pointer type [-Wincompatible-pointer-types] pcap_dump((unsigned char *) dev_dump, p_header, sp); ^~~~~~~~ In file included from /usr/include/pcap.h:43, from sniffit.c:24: /usr/include/pcap/pcap.h:744:35: note: expected 'const struct pcap_pkthdr *' but argument is of type 'const struct packetheader *' PCAP_API void pcap_dump(u_char *, const struct pcap_pkthdr *, const u_char *); ^~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.c:1108:12: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] return 1; ^ sniffit.c:1189:10: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] return 1; ^ sniffit.c:1193:10: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] return 1; ^ sniffit.c:1259:14: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] return 1; ^ In file included from sniffit.c:1270: sn_analyse.c:13:9: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] return 1; ^ sn_analyse.c:29:10: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] return 1; ^ sn_analyse.c:43:37: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] if((dummy&FIN)||(dummy&RST)) return 1; /* needed, cauz entry don't exist */ ^ sn_analyse.c:200:8: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] return 1; ^ sn_analyse.c:201:8: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] return 1; /* DON'T FORGET THEM!!!! */ ^ sniffit.c:1339:14: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] return 1; ^ sniffit.c:1372:14: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] return 1; ^ In file included from sniffit.c:1458: sn_conn_desc.c: In function 'check_mask': sn_conn_desc.c:24:12: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] if( (isalnum(data[i]) || ispunct(data[i]) || data[i]==' ')&&(j<(*DESC_LEN)-1) ) ^~~~~~~ sn_conn_desc.c:24:32: warning: implicit declaration of function 'ispunct' [-Wimplicit-function-declaration] if( (isalnum(data[i]) || ispunct(data[i]) || data[i]==' ')&&(j<(*DESC_LEN)-1) ) ^~~~~~~ sn_conn_desc.c:27:15: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] {if( (isspace(data[i]) && data[i]!=' ')&&(j<(*DESC_LEN)-1) ) ^~~~~~~ sniffit.c: In function 'main': sniffit.c:1522:20: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal (SIGINT, my_exit); /* graceful termination in different ways */ ^~~~~~~ In file included from /usr/include/signal.h:38, from sniffit.c:7: /usr/include/sys/signal.h:310:17: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' __sighandler_t *signal(int, __sighandler_t *); ^~~~~~ sniffit.c:1523:20: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal (SIGHUP, my_exit); ^~~~~~~ In file included from /usr/include/signal.h:38, from sniffit.c:7: /usr/include/sys/signal.h:310:17: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' __sighandler_t *signal(int, __sighandler_t *); ^~~~~~ sniffit.c:1524:20: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal (SIGTERM, my_exit); ^~~~~~~ In file included from /usr/include/signal.h:38, from sniffit.c:7: /usr/include/sys/signal.h:310:17: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' __sighandler_t *signal(int, __sighandler_t *); ^~~~~~ sniffit.c:1773:5: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] if((dev = pcap_lookupdev (ebuf)) == NULL) ^~ In file included from /usr/include/pcap.h:43, from sniffit.c:24: /usr/include/pcap/pcap.h:396:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ sniffit.c:1800:20: warning: extra tokens at end of #ifdef directive #ifdef PLUGIN0_INIT() ^ sniffit.c:1804:20: warning: extra tokens at end of #ifdef directive #ifdef PLUGIN1_INIT() ^ sniffit.c:1808:20: warning: extra tokens at end of #ifdef directive #ifdef PLUGIN2_INIT() ^ sniffit.c:1812:20: warning: extra tokens at end of #ifdef directive #ifdef PLUGIN3_INIT() ^ sniffit.c:1816:20: warning: extra tokens at end of #ifdef directive #ifdef PLUGIN4_INIT() ^ sniffit.c:1820:20: warning: extra tokens at end of #ifdef directive #ifdef PLUGIN5_INIT() ^ sniffit.c:1824:20: warning: extra tokens at end of #ifdef directive #ifdef PLUGIN6_INIT() ^ sniffit.c:1828:20: warning: extra tokens at end of #ifdef directive #ifdef PLUGIN7_INIT() ^ sniffit.c:1832:20: warning: extra tokens at end of #ifdef directive #ifdef PLUGIN8_INIT() ^ sniffit.c:1836:20: warning: extra tokens at end of #ifdef directive #ifdef PLUGIN9_INIT() ^ sniffit.c:1867:18: warning: assignment to 'int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] DATAlength = timing + sizeof (int); ^ sniffit.c:1868:23: warning: assignment to 'char *' from incompatible pointer type 'int *' [-Wincompatible-pointer-types] connection_data = DATAlength + sizeof (int); ^ sniffit.c:1869:18: warning: assignment to 'int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] LISTlength = connection_data + LENGTH_OF_INTERPROC_DATA; ^ sniffit.c:1870:12: warning: assignment to 'struct snif_mask *' from incompatible pointer type 'int *' [-Wincompatible-pointer-types] mask = LISTlength + sizeof (int); ^ sniffit.c:1871:26: warning: assignment to 'char *' from incompatible pointer type 'struct snif_mask *' [-Wincompatible-pointer-types] logged_connections = mask + sizeof (struct snif_mask); ^ sniffit.c:1874:25: warning: assignment to 'unsigned int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] TCP_nr_of_packets = running_connections + (sizeof (struct shared_conn_data) * CONNECTION_CAPACITY); ^ sniffit.c:1875:28: warning: assignment to 'long unsigned int *' from incompatible pointer type 'unsigned int *' [-Wincompatible-pointer-types] TCP_bytes_in_packets = TCP_nr_of_packets + sizeof (int); ^ sniffit.c:1876:26: warning: assignment to 'unsigned int *' from incompatible pointer type 'long unsigned int *' [-Wincompatible-pointer-types] ICMP_nr_of_packets = TCP_bytes_in_packets + sizeof (unsigned long); ^ sniffit.c:1878:28: warning: assignment to 'long unsigned int *' from incompatible pointer type 'unsigned int *' [-Wincompatible-pointer-types] UDP_bytes_in_packets = UDP_nr_of_packets + sizeof (int); ^ sniffit.c:1879:24: warning: assignment to 'unsigned int *' from incompatible pointer type 'long unsigned int *' [-Wincompatible-pointer-types] IP_nr_of_packets = UDP_bytes_in_packets + sizeof (unsigned long); ^ sniffit.c:1894:11: warning: passing argument 3 of 'pcap_loop' from incompatible pointer type [-Wincompatible-pointer-types] interactive_packethandler, NULL) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pcap.h:43, from sniffit.c:24: /usr/include/pcap/pcap.h:567:39: note: expected 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} but argument is of type 'void (* (*)(char *, const struct packetheader *, const unsigned char *))(u_char *, const struct pcap_pkthdr *, const u_char *)' {aka 'void (* (*)(char *, const struct packetheader *, const unsigned char *))(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} PCAP_API int pcap_loop(pcap_t *, int, pcap_handler, u_char *); ^~~~~~~~~~~~ sniffit.c:1927:41: warning: passing argument 3 of 'pcap_loop' from incompatible pointer type [-Wincompatible-pointer-types] switch (pcap_loop (dev_desc, CNT, packethandler, (unsigned char *) &ipaddr)) ^~~~~~~~~~~~~ In file included from /usr/include/pcap.h:43, from sniffit.c:24: /usr/include/pcap/pcap.h:567:39: note: expected 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} but argument is of type 'void (* (*)(unsigned char *, const struct packetheader *, const unsigned char *))(u_char *, const struct pcap_pkthdr *, const u_char *)' {aka 'void (* (*)(unsigned char *, const struct packetheader *, const unsigned char *))(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} PCAP_API int pcap_loop(pcap_t *, int, pcap_handler, u_char *); ^~~~~~~~~~~~ mv -f .deps/sniffit.Tpo .deps/sniffit.Po --- sniffit --- cc -lncurses -lpcap -pipe -Wno-discarded-qualifiers -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -L/usr/local/lib -Wl,-rpath=/usr/local/lib -o sniffit sn_packets.o sn_generation.o sn_interface.o sn_cfgfile.o sn_logfile.o sn_resolv.o sniffit.o -lpcap -lncurses SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> sniffit-0.5 depends on file: /usr/local/lib/libncurses.so.6 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for sniffit-0.5 ===> sniffit-0.5 depends on file: /usr/local/lib/libncurses.so.6 - found ===> Generating temporary packing list install -s -m 555 /construction/net/sniffit/sniffit-sniffit-0.5/src/sniffit /construction/net/sniffit/stage/usr/local/sbin install -m 444 /construction/net/sniffit/sniffit-sniffit-0.5/man/sniffit.5 /construction/net/sniffit/stage/usr/local/share/man/man5 install -m 444 /construction/net/sniffit/sniffit-sniffit-0.5/man/sniffit.8 /construction/net/sniffit/stage/usr/local/share/man/man8 install -m 0644 /construction/net/sniffit/sniffit-sniffit-0.5/docs/PLUGIN-HOWTO /construction/net/sniffit/stage/usr/local/share/doc/sniffit install -m 0644 /construction/net/sniffit/sniffit-sniffit-0.5/docs/README.FIRST /construction/net/sniffit/stage/usr/local/share/doc/sniffit install -m 0644 /construction/net/sniffit/sniffit-sniffit-0.5/docs/UPDATE-CHECK /construction/net/sniffit/stage/usr/local/share/doc/sniffit install -m 0644 /construction/net/sniffit/sniffit-sniffit-0.5/docs/sniffit-FAQ /construction/net/sniffit/stage/usr/local/share/doc/sniffit install -m 0644 /construction/net/sniffit/sniffit-sniffit-0.5/examples/sample_config_file /construction/net/sniffit/stage/usr/local/share/examples/sniffit ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for sniffit-0.5 file sizes/checksums [8]: 0% file sizes/checksums [8]: 100% Service unavailablepacking files [8]: 0% packing files [8]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:01 TOTAL TIME 00:00:22