------------------------------------------------------------------------------- -- 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:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- ===> The following configuration options are available for packter-agent-2.5_2: DOCS=on: Build and/or install documentation IPV6=on: IPv6 protocol support PACKTERTC=off: Install Packter TC ===> Use 'make config' to modify these settings SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- PKG_CONFIG=pkgconf XDG_DATA_HOME=/construction/net/packter-agent XDG_CONFIG_HOME=/construction/net/packter-agent XDG_CACHE_HOME=/construction/net/packter-agent/.cache HOME=/construction/net/packter-agent TMPDIR="/tmp" PATH=/construction/net/packter-agent/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/net/packter-agent/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- --enable-ipv6 --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- XDG_DATA_HOME=/construction/net/packter-agent XDG_CONFIG_HOME=/construction/net/packter-agent XDG_CACHE_HOME=/construction/net/packter-agent/.cache HOME=/construction/net/packter-agent TMPDIR="/tmp" PATH=/construction/net/packter-agent/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/net/packter-agent/.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 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -Wno-return-type -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -Wno-return-type -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/packter-agent/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- PORTDOCS="" PACKTERTC="@comment " GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" GTK4_VERSION="4.0.0" OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/packter-agent" EXAMPLESDIR="share/examples/packter-agent" DATADIR="share/packter-agent" WWWDIR="www/packter-agent" ETCDIR="etc/packter-agent" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: SUB_LIST ------------------------------------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/packter-agent DOCSDIR=/usr/local/share/doc/packter-agent EXAMPLESDIR=/usr/local/share/examples/packter-agent WWWDIR=/usr/local/www/packter-agent ETCDIR=/usr/local/etc/packter-agent 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/pkgconf-1.8.1,1.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. Installing /packages/All/indexinfo-0.3.1.pkg Installing /packages/All/libffi-3.4.4.pkg Installing /packages/All/pcre2-10.42.pkg Installing /packages/All/gettext-runtime-0.21.1.pkg 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/readline-8.2.1.pkg Installing /packages/All/libxml2-2.10.4.pkg Installing /packages/All/libiconv-1.17.pkg Installing /packages/All/expat-2.5.0.pkg Installing /packages/All/mpdecimal-2.5.1.pkg Installing /packages/All/openssl-1.1.1u,1.pkg Installing /packages/All/python39-3.9.17.pkg ===== Message from python39-3.9.17: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py39-gdbm databases/py-gdbm@py39 py39-sqlite3 databases/py-sqlite3@py39 py39-tkinter x11-toolkits/py-tkinter@py39 Installing /packages/All/glib-2.76.4,2.pkg Generating GIO modules cache Compiling glib schemas No schema files found: doing nothing. SUCCEEDED 00:00:04 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> packter-agent-2.5_2 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> packter-agent-2.5_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by packter-agent-2.5_2 for building SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> packter-agent-2.5_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by packter-agent-2.5_2 for building => SHA256 Checksum OK for PackterAgent-2.5.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> packter-agent-2.5_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by packter-agent-2.5_2 for building ===> Extracting for packter-agent-2.5_2 => SHA256 Checksum OK for PackterAgent-2.5.tar.gz. Extracted Memory Use: 3.69M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for packter-agent-2.5_2 ===> Applying dragonfly patches for packter-agent-2.5_2 from /xports/net/packter-agent/dragonfly SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> packter-agent-2.5_2 depends on package: pkgconf>=1.3.0_1 - found ===> packter-agent-2.5_2 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> packter-agent-2.5_2 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> packter-agent-2.5_2 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> packter-agent-2.5_2 depends on package: pkgconf>=1.3.0_1 - found ===> packter-agent-2.5_2 depends on file: /usr/local/bin/ccache - found ===> packter-agent-2.5_2 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> packter-agent-2.5_2 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> Configuring for packter-agent-2.5_2 configure: loading site script /xports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU 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 we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking dependency style of cc... gcc3 checking whether cc understands -c and -o together... yes checking pkg-config is at least version 0.9.0... yes checking for GLIB... yes checking for main in -lpcap... yes checking for main in -lcrypto... yes checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes 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 sys/un.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for uint32_t... (cached) yes checking for memset... (cached) yes checking for socket... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands SUCCEEDED 00:00:03 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for packter-agent-2.5_2 --- config.h --- --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in src --- pt_sflow-pt_sock.o --- --- pt_sflow-pt_pcap.o --- --- pt_sflow-pt_snort.o --- --- pt_sflow-pt_datalink.o --- --- pt_sflow-pt_ip.o --- --- pt_sflow-pt_ip6.o --- --- pt_sflow-pt_tcp.o --- --- pt_sflow-pt_udp.o --- --- pt_sflow-pt_icmp.o --- --- pt_sflow-pt_icmp6.o --- --- pt_sflow-pt_iptbhash.o --- --- pt_sflow-pt_mesg.o --- --- pt_sflow-pt_send.o --- --- pt_sflow-pt_sock.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_sock.o -MD -MP -MF .deps/pt_sflow-pt_sock.Tpo -c -o pt_sflow-pt_sock.o `test -f 'pt_sock.c' || echo './'`pt_sock.c --- pt_sflow-pt_pcap.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_pcap.o -MD -MP -MF .deps/pt_sflow-pt_pcap.Tpo -c -o pt_sflow-pt_pcap.o `test -f 'pt_pcap.c' || echo './'`pt_pcap.c --- pt_sflow-pt_snort.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_snort.o -MD -MP -MF .deps/pt_sflow-pt_snort.Tpo -c -o pt_sflow-pt_snort.o `test -f 'pt_snort.c' || echo './'`pt_snort.c --- pt_sflow-pt_datalink.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_datalink.o -MD -MP -MF .deps/pt_sflow-pt_datalink.Tpo -c -o pt_sflow-pt_datalink.o `test -f 'pt_datalink.c' || echo './'`pt_datalink.c --- pt_sflow-pt_ip.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_ip.o -MD -MP -MF .deps/pt_sflow-pt_ip.Tpo -c -o pt_sflow-pt_ip.o `test -f 'pt_ip.c' || echo './'`pt_ip.c --- pt_sflow-pt_ip6.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_ip6.o -MD -MP -MF .deps/pt_sflow-pt_ip6.Tpo -c -o pt_sflow-pt_ip6.o `test -f 'pt_ip6.c' || echo './'`pt_ip6.c --- pt_sflow-pt_tcp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_tcp.o -MD -MP -MF .deps/pt_sflow-pt_tcp.Tpo -c -o pt_sflow-pt_tcp.o `test -f 'pt_tcp.c' || echo './'`pt_tcp.c --- pt_sflow-pt_udp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_udp.o -MD -MP -MF .deps/pt_sflow-pt_udp.Tpo -c -o pt_sflow-pt_udp.o `test -f 'pt_udp.c' || echo './'`pt_udp.c --- pt_sflow-pt_icmp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_icmp.o -MD -MP -MF .deps/pt_sflow-pt_icmp.Tpo -c -o pt_sflow-pt_icmp.o `test -f 'pt_icmp.c' || echo './'`pt_icmp.c --- pt_sflow-pt_iptbhash.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_iptbhash.o -MD -MP -MF .deps/pt_sflow-pt_iptbhash.Tpo -c -o pt_sflow-pt_iptbhash.o `test -f 'pt_iptbhash.c' || echo './'`pt_iptbhash.c --- pt_sflow-pt_mesg.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_mesg.o -MD -MP -MF .deps/pt_sflow-pt_mesg.Tpo -c -o pt_sflow-pt_mesg.o `test -f 'pt_mesg.c' || echo './'`pt_mesg.c --- pt_sflow-pt_icmp6.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_icmp6.o -MD -MP -MF .deps/pt_sflow-pt_icmp6.Tpo -c -o pt_sflow-pt_icmp6.o `test -f 'pt_icmp6.c' || echo './'`pt_icmp6.c --- pt_sflow-pt_send.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_send.o -MD -MP -MF .deps/pt_sflow-pt_send.Tpo -c -o pt_sflow-pt_send.o `test -f 'pt_send.c' || echo './'`pt_send.c --- pt_sflow-pt_pcap.o --- pt_pcap.c: In function 'packter_pcap': pt_pcap.c:74:4: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] if ((device = pcap_lookupdev(errbuf)) == NULL) { ^~ In file included from /usr/include/pcap.h:43, from pt_pcap.c:41: /usr/include/pcap/pcap.h:396:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ --- pt_sflow-pt_tcp.o --- mv -f .deps/pt_sflow-pt_tcp.Tpo .deps/pt_sflow-pt_tcp.Po --- pt_sflow-pt_sock.o --- mv -f .deps/pt_sflow-pt_sock.Tpo .deps/pt_sflow-pt_sock.Po --- pt_sflow-pt_datalink.o --- pt_datalink.c: In function 'packter_lback': pt_datalink.c:64:3: warning: implicit declaration of function 'packter_ip'; did you mean 'packter_ether'? [-Wimplicit-function-declaration] packter_ip((u_char *)(p + NULL_HDRLEN), (u_int)(h->len - NULL_HDRLEN)); ^~~~~~~~~~ packter_ether pt_datalink.c: In function 'packter_ether': pt_datalink.c:97:4: warning: implicit declaration of function 'packter_ip6'; did you mean 'packter_ether'? [-Wimplicit-function-declaration] packter_ip6((u_char *)(p + skiplen), (u_int)(h->len - skiplen)); ^~~~~~~~~~~ packter_ether --- pt_sflow-pt_util.o --- --- pt_sflow-pt_snort.o --- pt_snort.c: In function 'packter_snort': pt_snort.c:90:4: warning: implicit declaration of function 'packter_ether'; did you mean 'packter_snort'? [-Wimplicit-function-declaration] packter_ether(NULL, &(alert.pkth), (u_char *)alert.pkt); ^~~~~~~~~~~~~ packter_snort pt_snort.c:73:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(un.sun_path , sockname, strlen(sockname)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- pt_sflow-pt_ip.o --- mv -f .deps/pt_sflow-pt_ip.Tpo .deps/pt_sflow-pt_ip.Po --- pt_sflow-pt_mesg.o --- mv -f .deps/pt_sflow-pt_mesg.Tpo .deps/pt_sflow-pt_mesg.Po --- pt_sflow-pt_datalink.o --- mv -f .deps/pt_sflow-pt_datalink.Tpo .deps/pt_sflow-pt_datalink.Po --- pt_sflow-pt_init.o --- --- pt_sflow-pt_util.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_util.o -MD -MP -MF .deps/pt_sflow-pt_util.Tpo -c -o pt_sflow-pt_util.o `test -f 'pt_util.c' || echo './'`pt_util.c --- pt_sflow-pt_snort.o --- mv -f .deps/pt_sflow-pt_snort.Tpo .deps/pt_sflow-pt_snort.Po --- pt_sflow-pt_send.o --- pt_send.c: In function 'packter_send': pt_send.c:68:9: warning: implicit declaration of function 'packter_rate'; did you mean 'packter_send'? [-Wimplicit-function-declaration] rate = packter_rate(rate_limit); ^~~~~~~~~~~~ packter_send --- pt_sflow-pt_udp.o --- mv -f .deps/pt_sflow-pt_udp.Tpo .deps/pt_sflow-pt_udp.Po --- pt_netflow-pt_sock.o --- --- pt_netflow-pt_pcap.o --- --- pt_netflow-pt_snort.o --- --- pt_sflow-pt_send.o --- mv -f .deps/pt_sflow-pt_send.Tpo .deps/pt_sflow-pt_send.Po --- pt_sflow-pt_ip6.o --- mv -f .deps/pt_sflow-pt_ip6.Tpo .deps/pt_sflow-pt_ip6.Po --- pt_netflow-pt_datalink.o --- --- pt_netflow-pt_ip.o --- --- pt_netflow-pt_ip6.o --- --- pt_sflow-pt_pcap.o --- mv -f .deps/pt_sflow-pt_pcap.Tpo .deps/pt_sflow-pt_pcap.Po --- pt_netflow-pt_sock.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_sock.o -MD -MP -MF .deps/pt_netflow-pt_sock.Tpo -c -o pt_netflow-pt_sock.o `test -f 'pt_sock.c' || echo './'`pt_sock.c --- pt_netflow-pt_snort.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_snort.o -MD -MP -MF .deps/pt_netflow-pt_snort.Tpo -c -o pt_netflow-pt_snort.o `test -f 'pt_snort.c' || echo './'`pt_snort.c --- pt_netflow-pt_pcap.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_pcap.o -MD -MP -MF .deps/pt_netflow-pt_pcap.Tpo -c -o pt_netflow-pt_pcap.o `test -f 'pt_pcap.c' || echo './'`pt_pcap.c --- pt_sflow-pt_icmp.o --- pt_icmp.c: In function 'packter_icmp': pt_icmp.c:72:2: warning: implicit declaration of function 'packter_mesg'; did you mean 'packter_icmp'? [-Wimplicit-function-declaration] packter_mesg(mesg, srcip, dstip, (ih->icmp_type) * 256, (ih->icmp_code) * 256, flag, mesgbuf); ^~~~~~~~~~~~ packter_icmp pt_icmp.c:73:2: warning: implicit declaration of function 'packter_send'; did you mean 'packter_icmp'? [-Wimplicit-function-declaration] packter_send(mesg); ^~~~~~~~~~~~ packter_icmp --- pt_sflow-pt_init.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_init.o -MD -MP -MF .deps/pt_sflow-pt_init.Tpo -c -o pt_sflow-pt_init.o `test -f 'pt_init.c' || echo './'`pt_init.c --- pt_sflow-pt_icmp.o --- mv -f .deps/pt_sflow-pt_icmp.Tpo .deps/pt_sflow-pt_icmp.Po --- pt_netflow-pt_ip.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_ip.o -MD -MP -MF .deps/pt_netflow-pt_ip.Tpo -c -o pt_netflow-pt_ip.o `test -f 'pt_ip.c' || echo './'`pt_ip.c --- pt_netflow-pt_ip6.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_ip6.o -MD -MP -MF .deps/pt_netflow-pt_ip6.Tpo -c -o pt_netflow-pt_ip6.o `test -f 'pt_ip6.c' || echo './'`pt_ip6.c --- pt_sflow-pt_icmp6.o --- pt_icmp6.c: In function 'packter_icmp6': pt_icmp6.c:70:2: warning: implicit declaration of function 'packter_mesg'; did you mean 'packter_icmp6'? [-Wimplicit-function-declaration] packter_mesg(mesg, srcip, dstip, ^~~~~~~~~~~~ packter_icmp6 pt_icmp6.c:74:2: warning: implicit declaration of function 'packter_send'; did you mean 'packter_icmp6'? [-Wimplicit-function-declaration] packter_send(mesg); ^~~~~~~~~~~~ packter_icmp6 --- pt_netflow-pt_tcp.o --- --- pt_sflow-pt_util.o --- mv -f .deps/pt_sflow-pt_util.Tpo .deps/pt_sflow-pt_util.Po --- pt_netflow-pt_udp.o --- --- pt_netflow-pt_datalink.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_datalink.o -MD -MP -MF .deps/pt_netflow-pt_datalink.Tpo -c -o pt_netflow-pt_datalink.o `test -f 'pt_datalink.c' || echo './'`pt_datalink.c --- pt_sflow-pt_icmp6.o --- mv -f .deps/pt_sflow-pt_icmp6.Tpo .deps/pt_sflow-pt_icmp6.Po --- pt_netflow-pt_icmp.o --- --- pt_netflow-pt_tcp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_tcp.o -MD -MP -MF .deps/pt_netflow-pt_tcp.Tpo -c -o pt_netflow-pt_tcp.o `test -f 'pt_tcp.c' || echo './'`pt_tcp.c --- pt_netflow-pt_udp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_udp.o -MD -MP -MF .deps/pt_netflow-pt_udp.Tpo -c -o pt_netflow-pt_udp.o `test -f 'pt_udp.c' || echo './'`pt_udp.c --- pt_netflow-pt_icmp6.o --- --- pt_netflow-pt_icmp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_icmp.o -MD -MP -MF .deps/pt_netflow-pt_icmp.Tpo -c -o pt_netflow-pt_icmp.o `test -f 'pt_icmp.c' || echo './'`pt_icmp.c --- pt_netflow-pt_icmp6.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_icmp6.o -MD -MP -MF .deps/pt_netflow-pt_icmp6.Tpo -c -o pt_netflow-pt_icmp6.o `test -f 'pt_icmp6.c' || echo './'`pt_icmp6.c --- pt_netflow-pt_pcap.o --- pt_pcap.c: In function 'packter_pcap': pt_pcap.c:74:4: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] if ((device = pcap_lookupdev(errbuf)) == NULL) { ^~ In file included from /usr/include/pcap.h:43, from pt_pcap.c:41: /usr/include/pcap/pcap.h:396:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ --- pt_sflow-pt_init.o --- mv -f .deps/pt_sflow-pt_init.Tpo .deps/pt_sflow-pt_init.Po --- pt_netflow-pt_sock.o --- mv -f .deps/pt_netflow-pt_sock.Tpo .deps/pt_netflow-pt_sock.Po --- pt_netflow-pt_pcap.o --- mv -f .deps/pt_netflow-pt_pcap.Tpo .deps/pt_netflow-pt_pcap.Po --- pt_netflow-pt_iptbhash.o --- --- pt_netflow-pt_ip.o --- mv -f .deps/pt_netflow-pt_ip.Tpo .deps/pt_netflow-pt_ip.Po --- pt_netflow-pt_mesg.o --- --- pt_netflow-pt_ip6.o --- mv -f .deps/pt_netflow-pt_ip6.Tpo .deps/pt_netflow-pt_ip6.Po --- pt_netflow-pt_snort.o --- pt_snort.c: In function 'packter_snort': pt_snort.c:90:4: warning: implicit declaration of function 'packter_ether'; did you mean 'packter_snort'? [-Wimplicit-function-declaration] packter_ether(NULL, &(alert.pkth), (u_char *)alert.pkt); ^~~~~~~~~~~~~ packter_snort pt_snort.c:73:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(un.sun_path , sockname, strlen(sockname)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- pt_netflow-pt_send.o --- --- pt_netflow-pt_iptbhash.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_iptbhash.o -MD -MP -MF .deps/pt_netflow-pt_iptbhash.Tpo -c -o pt_netflow-pt_iptbhash.o `test -f 'pt_iptbhash.c' || echo './'`pt_iptbhash.c --- pt_netflow-pt_snort.o --- mv -f .deps/pt_netflow-pt_snort.Tpo .deps/pt_netflow-pt_snort.Po --- pt_netflow-pt_util.o --- --- pt_netflow-pt_udp.o --- mv -f .deps/pt_netflow-pt_udp.Tpo .deps/pt_netflow-pt_udp.Po --- pt_netflow-pt_mesg.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_mesg.o -MD -MP -MF .deps/pt_netflow-pt_mesg.Tpo -c -o pt_netflow-pt_mesg.o `test -f 'pt_mesg.c' || echo './'`pt_mesg.c --- pt_netflow-pt_init.o --- --- pt_netflow-pt_datalink.o --- pt_datalink.c: In function 'packter_lback': pt_datalink.c:64:3: warning: implicit declaration of function 'packter_ip'; did you mean 'packter_ether'? [-Wimplicit-function-declaration] packter_ip((u_char *)(p + NULL_HDRLEN), (u_int)(h->len - NULL_HDRLEN)); ^~~~~~~~~~ packter_ether pt_datalink.c: In function 'packter_ether': pt_datalink.c:97:4: warning: implicit declaration of function 'packter_ip6'; did you mean 'packter_ether'? [-Wimplicit-function-declaration] packter_ip6((u_char *)(p + skiplen), (u_int)(h->len - skiplen)); ^~~~~~~~~~~ packter_ether --- pt_netflow-pt_icmp.o --- pt_icmp.c: In function 'packter_icmp': pt_icmp.c:72:2: warning: implicit declaration of function 'packter_mesg'; did you mean 'packter_icmp'? [-Wimplicit-function-declaration] packter_mesg(mesg, srcip, dstip, (ih->icmp_type) * 256, (ih->icmp_code) * 256, flag, mesgbuf); ^~~~~~~~~~~~ packter_icmp pt_icmp.c:73:2: warning: implicit declaration of function 'packter_send'; did you mean 'packter_icmp'? [-Wimplicit-function-declaration] packter_send(mesg); ^~~~~~~~~~~~ packter_icmp --- pt_netflow-pt_init.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_init.o -MD -MP -MF .deps/pt_netflow-pt_init.Tpo -c -o pt_netflow-pt_init.o `test -f 'pt_init.c' || echo './'`pt_init.c --- pt_netflow-pt_send.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_send.o -MD -MP -MF .deps/pt_netflow-pt_send.Tpo -c -o pt_netflow-pt_send.o `test -f 'pt_send.c' || echo './'`pt_send.c --- pt_netflow-pt_util.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_util.o -MD -MP -MF .deps/pt_netflow-pt_util.Tpo -c -o pt_netflow-pt_util.o `test -f 'pt_util.c' || echo './'`pt_util.c --- pt_netflow-pt_datalink.o --- mv -f .deps/pt_netflow-pt_datalink.Tpo .deps/pt_netflow-pt_datalink.Po --- pt_thmon-pt_iptbhash.o --- --- pt_thmon-pt_hash.o --- --- pt_netflow-pt_icmp.o --- mv -f .deps/pt_netflow-pt_icmp.Tpo .deps/pt_netflow-pt_icmp.Po --- pt_sflow-pt_iptbhash.o --- mv -f .deps/pt_sflow-pt_iptbhash.Tpo .deps/pt_sflow-pt_iptbhash.Po --- pt_netflow-pt_icmp6.o --- pt_icmp6.c: In function 'packter_icmp6': pt_icmp6.c:70:2: warning: implicit declaration of function 'packter_mesg'; did you mean 'packter_icmp6'? [-Wimplicit-function-declaration] packter_mesg(mesg, srcip, dstip, ^~~~~~~~~~~~ packter_icmp6 pt_icmp6.c:74:2: warning: implicit declaration of function 'packter_send'; did you mean 'packter_icmp6'? [-Wimplicit-function-declaration] packter_send(mesg); ^~~~~~~~~~~~ packter_icmp6 --- pt_thmon-pt_iptbhash.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_thmon-pt_iptbhash.o -MD -MP -MF .deps/pt_thmon-pt_iptbhash.Tpo -c -o pt_thmon-pt_iptbhash.o `test -f 'pt_iptbhash.c' || echo './'`pt_iptbhash.c --- pt_thmon-pt_util.o --- --- pt_agent-pt_agent.o --- --- pt_agent-pt_sock.o --- --- pt_netflow-pt_iptbhash.o --- mv -f .deps/pt_netflow-pt_iptbhash.Tpo .deps/pt_netflow-pt_iptbhash.Po --- pt_netflow-pt_icmp6.o --- mv -f .deps/pt_netflow-pt_icmp6.Tpo .deps/pt_netflow-pt_icmp6.Po --- pt_netflow-pt_mesg.o --- mv -f .deps/pt_netflow-pt_mesg.Tpo .deps/pt_netflow-pt_mesg.Po --- pt_netflow-pt_tcp.o --- mv -f .deps/pt_netflow-pt_tcp.Tpo .deps/pt_netflow-pt_tcp.Po --- pt_thmon-pt_hash.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_thmon-pt_hash.o -MD -MP -MF .deps/pt_thmon-pt_hash.Tpo -c -o pt_thmon-pt_hash.o `test -f 'pt_hash.c' || echo './'`pt_hash.c --- pt_agent-pt_pcap.o --- --- pt_agent-pt_snort.o --- --- pt_agent-pt_agent.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_agent.o -MD -MP -MF .deps/pt_agent-pt_agent.Tpo -c -o pt_agent-pt_agent.o `test -f 'pt_agent.c' || echo './'`pt_agent.c --- pt_netflow-pt_util.o --- mv -f .deps/pt_netflow-pt_util.Tpo .deps/pt_netflow-pt_util.Po --- pt_thmon-pt_util.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_thmon-pt_util.o -MD -MP -MF .deps/pt_thmon-pt_util.Tpo -c -o pt_thmon-pt_util.o `test -f 'pt_util.c' || echo './'`pt_util.c --- pt_agent-pt_datalink.o --- --- pt_agent-pt_ip.o --- --- pt_netflow-pt_init.o --- mv -f .deps/pt_netflow-pt_init.Tpo .deps/pt_netflow-pt_init.Po --- pt_netflow-pt_send.o --- pt_send.c: In function 'packter_send': pt_send.c:68:9: warning: implicit declaration of function 'packter_rate'; did you mean 'packter_send'? [-Wimplicit-function-declaration] rate = packter_rate(rate_limit); ^~~~~~~~~~~~ packter_send mv -f .deps/pt_netflow-pt_send.Tpo .deps/pt_netflow-pt_send.Po --- pt_agent-pt_sock.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_sock.o -MD -MP -MF .deps/pt_agent-pt_sock.Tpo -c -o pt_agent-pt_sock.o `test -f 'pt_sock.c' || echo './'`pt_sock.c --- pt_agent-pt_snort.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_snort.o -MD -MP -MF .deps/pt_agent-pt_snort.Tpo -c -o pt_agent-pt_snort.o `test -f 'pt_snort.c' || echo './'`pt_snort.c --- pt_agent-pt_pcap.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_pcap.o -MD -MP -MF .deps/pt_agent-pt_pcap.Tpo -c -o pt_agent-pt_pcap.o `test -f 'pt_pcap.c' || echo './'`pt_pcap.c --- pt_agent-pt_ip6.o --- --- pt_agent-pt_tcp.o --- --- pt_agent-pt_udp.o --- --- pt_agent-pt_icmp.o --- --- pt_agent-pt_ip.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_ip.o -MD -MP -MF .deps/pt_agent-pt_ip.Tpo -c -o pt_agent-pt_ip.o `test -f 'pt_ip.c' || echo './'`pt_ip.c --- pt_agent-pt_ip6.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_ip6.o -MD -MP -MF .deps/pt_agent-pt_ip6.Tpo -c -o pt_agent-pt_ip6.o `test -f 'pt_ip6.c' || echo './'`pt_ip6.c --- pt_agent-pt_udp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_udp.o -MD -MP -MF .deps/pt_agent-pt_udp.Tpo -c -o pt_agent-pt_udp.o `test -f 'pt_udp.c' || echo './'`pt_udp.c --- pt_agent-pt_tcp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_tcp.o -MD -MP -MF .deps/pt_agent-pt_tcp.Tpo -c -o pt_agent-pt_tcp.o `test -f 'pt_tcp.c' || echo './'`pt_tcp.c --- pt_agent-pt_datalink.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_datalink.o -MD -MP -MF .deps/pt_agent-pt_datalink.Tpo -c -o pt_agent-pt_datalink.o `test -f 'pt_datalink.c' || echo './'`pt_datalink.c --- pt_agent-pt_icmp.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_icmp.o -MD -MP -MF .deps/pt_agent-pt_icmp.Tpo -c -o pt_agent-pt_icmp.o `test -f 'pt_icmp.c' || echo './'`pt_icmp.c --- pt_agent-pt_sock.o --- mv -f .deps/pt_agent-pt_sock.Tpo .deps/pt_agent-pt_sock.Po --- pt_agent-pt_agent.o --- pt_agent.c: In function 'main': pt_agent.c:198:14: warning: implicit declaration of function 'pt_sock' [-Wimplicit-function-declaration] if ((sock = pt_sock(ip, port, use6)) < 0){ ^~~~~~~ --- pt_agent-pt_udp.o --- mv -f .deps/pt_agent-pt_udp.Tpo .deps/pt_agent-pt_udp.Po --- pt_agent-pt_agent.o --- mv -f .deps/pt_agent-pt_agent.Tpo .deps/pt_agent-pt_agent.Po --- pt_agent-pt_snort.o --- pt_snort.c: In function 'packter_snort': pt_snort.c:90:4: warning: implicit declaration of function 'packter_ether'; did you mean 'packter_snort'? [-Wimplicit-function-declaration] packter_ether(NULL, &(alert.pkth), (u_char *)alert.pkt); ^~~~~~~~~~~~~ packter_snort pt_snort.c:73:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(un.sun_path , sockname, strlen(sockname)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/pt_agent-pt_snort.Tpo .deps/pt_agent-pt_snort.Po --- pt_agent-pt_datalink.o --- pt_datalink.c: In function 'packter_lback': pt_datalink.c:64:3: warning: implicit declaration of function 'packter_ip'; did you mean 'packter_ether'? [-Wimplicit-function-declaration] packter_ip((u_char *)(p + NULL_HDRLEN), (u_int)(h->len - NULL_HDRLEN)); ^~~~~~~~~~ packter_ether pt_datalink.c: In function 'packter_ether': pt_datalink.c:97:4: warning: implicit declaration of function 'packter_ip6'; did you mean 'packter_ether'? [-Wimplicit-function-declaration] packter_ip6((u_char *)(p + skiplen), (u_int)(h->len - skiplen)); ^~~~~~~~~~~ packter_ether mv -f .deps/pt_agent-pt_datalink.Tpo .deps/pt_agent-pt_datalink.Po --- pt_agent-pt_icmp6.o --- --- pt_agent-pt_iptbhash.o --- --- pt_agent-pt_icmp.o --- pt_icmp.c: In function 'packter_icmp': pt_icmp.c:72:2: warning: implicit declaration of function 'packter_mesg'; did you mean 'packter_icmp'? [-Wimplicit-function-declaration] packter_mesg(mesg, srcip, dstip, (ih->icmp_type) * 256, (ih->icmp_code) * 256, flag, mesgbuf); ^~~~~~~~~~~~ packter_icmp pt_icmp.c:73:2: warning: implicit declaration of function 'packter_send'; did you mean 'packter_icmp'? [-Wimplicit-function-declaration] packter_send(mesg); ^~~~~~~~~~~~ packter_icmp --- pt_agent-pt_mesg.o --- --- pt_agent-pt_ip6.o --- mv -f .deps/pt_agent-pt_ip6.Tpo .deps/pt_agent-pt_ip6.Po --- pt_agent-pt_send.o --- --- pt_agent-pt_iptbhash.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_iptbhash.o -MD -MP -MF .deps/pt_agent-pt_iptbhash.Tpo -c -o pt_agent-pt_iptbhash.o `test -f 'pt_iptbhash.c' || echo './'`pt_iptbhash.c --- pt_agent-pt_icmp6.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_icmp6.o -MD -MP -MF .deps/pt_agent-pt_icmp6.Tpo -c -o pt_agent-pt_icmp6.o `test -f 'pt_icmp6.c' || echo './'`pt_icmp6.c --- pt_agent-pt_util.o --- --- pt_agent-pt_icmp.o --- mv -f .deps/pt_agent-pt_icmp.Tpo .deps/pt_agent-pt_icmp.Po --- pt_agent-pt_mesg.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_mesg.o -MD -MP -MF .deps/pt_agent-pt_mesg.Tpo -c -o pt_agent-pt_mesg.o `test -f 'pt_mesg.c' || echo './'`pt_mesg.c --- pt_agent-pt_init.o --- --- pt_agent-pt_util.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_util.o -MD -MP -MF .deps/pt_agent-pt_util.Tpo -c -o pt_agent-pt_util.o `test -f 'pt_util.c' || echo './'`pt_util.c --- pt_agent-pt_send.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_send.o -MD -MP -MF .deps/pt_agent-pt_send.Tpo -c -o pt_agent-pt_send.o `test -f 'pt_send.c' || echo './'`pt_send.c --- pt_agent-pt_init.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_agent-pt_init.o -MD -MP -MF .deps/pt_agent-pt_init.Tpo -c -o pt_agent-pt_init.o `test -f 'pt_init.c' || echo './'`pt_init.c --- pt_agent-pt_icmp6.o --- pt_icmp6.c: In function 'packter_icmp6': pt_icmp6.c:70:2: warning: implicit declaration of function 'packter_mesg'; did you mean 'packter_icmp6'? [-Wimplicit-function-declaration] packter_mesg(mesg, srcip, dstip, ^~~~~~~~~~~~ packter_icmp6 pt_icmp6.c:74:2: warning: implicit declaration of function 'packter_send'; did you mean 'packter_icmp6'? [-Wimplicit-function-declaration] packter_send(mesg); ^~~~~~~~~~~~ packter_icmp6 mv -f .deps/pt_agent-pt_icmp6.Tpo .deps/pt_agent-pt_icmp6.Po --- pt_thmon-pt_iptbhash.o --- mv -f .deps/pt_thmon-pt_iptbhash.Tpo .deps/pt_thmon-pt_iptbhash.Po --- pt_agent-pt_tcp.o --- mv -f .deps/pt_agent-pt_tcp.Tpo .deps/pt_agent-pt_tcp.Po --- pt_sflow-pt_sflow_agent.o --- --- pt_sflow-pt_sflow.o --- --- pt_sflow-pt_sflowd.o --- --- pt_sflow-pt_sflow_agent.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_sflow_agent.o -MD -MP -MF .deps/pt_sflow-pt_sflow_agent.Tpo -c -o pt_sflow-pt_sflow_agent.o `test -f 'pt_sflow_agent.c' || echo './'`pt_sflow_agent.c --- pt_sflow-pt_sflow.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_sflow.o -MD -MP -MF .deps/pt_sflow-pt_sflow.Tpo -c -o pt_sflow-pt_sflow.o `test -f 'pt_sflow.c' || echo './'`pt_sflow.c --- pt_agent-pt_mesg.o --- mv -f .deps/pt_agent-pt_mesg.Tpo .deps/pt_agent-pt_mesg.Po --- pt_sflow-pt_sflowd.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_sflow-pt_sflowd.o -MD -MP -MF .deps/pt_sflow-pt_sflowd.Tpo -c -o pt_sflow-pt_sflowd.o `test -f 'pt_sflowd.c' || echo './'`pt_sflowd.c --- pt_agent-pt_pcap.o --- pt_pcap.c: In function 'packter_pcap': pt_pcap.c:74:4: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] if ((device = pcap_lookupdev(errbuf)) == NULL) { ^~ In file included from /usr/include/pcap.h:43, from pt_pcap.c:41: /usr/include/pcap/pcap.h:396:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ --- pt_netflow-pt_netflow_agent.o --- --- pt_agent-pt_init.o --- mv -f .deps/pt_agent-pt_init.Tpo .deps/pt_agent-pt_init.Po --- pt_netflow-pt_netflow.o --- --- pt_agent-pt_pcap.o --- mv -f .deps/pt_agent-pt_pcap.Tpo .deps/pt_agent-pt_pcap.Po --- pt_sflow-pt_sflow_agent.o --- pt_sflow_agent.c: In function 'main': pt_sflow_agent.c:107:2: warning: implicit declaration of function 'packter_init'; did you mean 'packter_pcap'? [-Wimplicit-function-declaration] packter_init(); ^~~~~~~~~~~~ packter_pcap pt_sflow_agent.c:200:10: warning: implicit declaration of function 'packter_rate'; did you mean 'packter_pcap'? [-Wimplicit-function-declaration] rate = packter_rate(rate_limit); ^~~~~~~~~~~~ packter_pcap pt_sflow_agent.c:202:14: warning: implicit declaration of function 'pt_sock'; did you mean 'pt_sflowd'? [-Wimplicit-function-declaration] if ((sock = pt_sock(ip, port, use6)) < 0){ ^~~~~~~ pt_sflowd mv -f .deps/pt_sflow-pt_sflow_agent.Tpo .deps/pt_sflow-pt_sflow_agent.Po --- pt_netflow-pt_netflow_agent.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_netflow_agent.o -MD -MP -MF .deps/pt_netflow-pt_netflow_agent.Tpo -c -o pt_netflow-pt_netflow_agent.o `test -f 'pt_netflow_agent.c' || echo './'`pt_netflow_agent.c --- pt_sflow-pt_sflow.o --- pt_sflow.c: In function 'packter_sflow_read': pt_sflow.c:153:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_sflow.c:53:5: note: declared here int packter_sflow_read(char *buf, int len) ^~~~~~~~~~~~~~~~~~ mv -f .deps/pt_sflow-pt_sflow.Tpo .deps/pt_sflow-pt_sflow.Po --- pt_sflow-pt_sflowd.o --- pt_sflowd.c: In function 'pt_sflowd': pt_sflowd.c:80:11: warning: 'return' with a value, in function returning void return(PACKTER_TRUE); ^ pt_sflowd.c:51:6: note: declared here void pt_sflowd(char *sflow_bind_addr, int sflow_bind_port, int bind_set) ^~~~~~~~~ pt_sflowd.c:94:4: warning: implicit declaration of function 'packter_sflow_read'; did you mean 'packter_sflow'? [-Wimplicit-function-declaration] packter_sflow_read(buf, len); ^~~~~~~~~~~~~~~~~~ packter_sflow mv -f .deps/pt_sflow-pt_sflowd.Tpo .deps/pt_sflow-pt_sflowd.Po --- pt_thmon-pt_util.o --- mv -f .deps/pt_thmon-pt_util.Tpo .deps/pt_thmon-pt_util.Po --- pt_agent-pt_send.o --- pt_send.c: In function 'packter_send': pt_send.c:68:9: warning: implicit declaration of function 'packter_rate'; did you mean 'packter_send'? [-Wimplicit-function-declaration] rate = packter_rate(rate_limit); ^~~~~~~~~~~~ packter_send --- pt_netflow-pt_netflowd.o --- --- pt_netflow-pt_hash.o --- --- pt_thmon-pt_thmon.o --- --- pt_sflow --- --- pt_netflow-pt_netflow.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_netflow.o -MD -MP -MF .deps/pt_netflow-pt_netflow.Tpo -c -o pt_netflow-pt_netflow.o `test -f 'pt_netflow.c' || echo './'`pt_netflow.c --- pt_netflow-pt_netflowd.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_netflowd.o -MD -MP -MF .deps/pt_netflow-pt_netflowd.Tpo -c -o pt_netflow-pt_netflowd.o `test -f 'pt_netflowd.c' || echo './'`pt_netflowd.c --- pt_netflow-pt_hash.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_netflow-pt_hash.o -MD -MP -MF .deps/pt_netflow-pt_hash.Tpo -c -o pt_netflow-pt_hash.o `test -f 'pt_hash.c' || echo './'`pt_hash.c --- pt_agent-pt_send.o --- mv -f .deps/pt_agent-pt_send.Tpo .deps/pt_agent-pt_send.Po --- pt_thmon-pt_thmon.o --- cc -DHAVE_CONFIG_H -I. -I.. -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -MT pt_thmon-pt_thmon.o -MD -MP -MF .deps/pt_thmon-pt_thmon.Tpo -c -o pt_thmon-pt_thmon.o `test -f 'pt_thmon.c' || echo './'`pt_thmon.c --- pt_sflow --- cc -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -o pt_sflow pt_sflow-pt_sflow_agent.o pt_sflow-pt_sflow.o pt_sflow-pt_sflowd.o pt_sflow-pt_sock.o pt_sflow-pt_pcap.o pt_sflow-pt_snort.o pt_sflow-pt_datalink.o pt_sflow-pt_ip.o pt_sflow-pt_ip6.o pt_sflow-pt_tcp.o pt_sflow-pt_udp.o pt_sflow-pt_icmp.o pt_sflow-pt_icmp6.o pt_sflow-pt_iptbhash.o pt_sflow-pt_mesg.o pt_sflow-pt_send.o pt_sflow-pt_util.o pt_sflow-pt_init.o -lcrypto -lpcap -L/usr/local/lib -lglib-2.0 -lintl --- pt_agent-pt_util.o --- mv -f .deps/pt_agent-pt_util.Tpo .deps/pt_agent-pt_util.Po --- pt_netflow-pt_netflowd.o --- pt_netflowd.c: In function 'pt_netflowd': pt_netflowd.c:92:4: warning: implicit declaration of function 'packter_netflow_read'; did you mean 'packter_netflow'? [-Wimplicit-function-declaration] packter_netflow_read(buf, len); ^~~~~~~~~~~~~~~~~~~~ packter_netflow mv -f .deps/pt_netflow-pt_netflowd.Tpo .deps/pt_netflow-pt_netflowd.Po --- pt_agent-pt_ip.o --- mv -f .deps/pt_agent-pt_ip.Tpo .deps/pt_agent-pt_ip.Po --- pt_thmon-pt_hash.o --- pt_hash.c: In function 'packter_destroy_func': pt_hash.c:58:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_hash.c:55:7: note: declared here void *packter_destroy_func(void *data) { ^~~~~~~~~~~~~~~~~~~~ pt_hash.c:65:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_hash.c:55:7: note: declared here void *packter_destroy_func(void *data) { ^~~~~~~~~~~~~~~~~~~~ mv -f .deps/pt_thmon-pt_hash.Tpo .deps/pt_thmon-pt_hash.Po --- pt_netflow-pt_netflow.o --- pt_netflow.c: In function 'packter_netflow_read': pt_netflow.c:68:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:59:5: note: declared here int packter_netflow_read(char *buf, int len) ^~~~~~~~~~~~~~~~~~~~ pt_netflow.c:85:4: warning: implicit declaration of function 'packter_netflow_template_set'; did you mean 'packter_netflow_read'? [-Wimplicit-function-declaration] packter_netflow_template_set(buf, len, srcid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ packter_netflow_read pt_netflow.c:88:4: warning: implicit declaration of function 'packter_netflow_template'; did you mean 'packter_netflow_read'? [-Wimplicit-function-declaration] packter_netflow_template(buf, len, srcid); ^~~~~~~~~~~~~~~~~~~~~~~~ packter_netflow_read pt_netflow.c:94:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:59:5: note: declared here int packter_netflow_read(char *buf, int len) ^~~~~~~~~~~~~~~~~~~~ pt_netflow.c: In function 'packter_netflow_template_set': pt_netflow.c:130:6: warning: implicit declaration of function 'packter_is_exist_key'; did you mean 'packter_send'? [-Wimplicit-function-declaration] if (packter_is_exist_key(key) == PACKTER_TRUE){ ^~~~~~~~~~~~~~~~~~~~ packter_send pt_netflow.c:140:3: warning: implicit declaration of function 'packter_netflow_pointer_init'; did you mean 'packter_netflow_template_set'? [-Wimplicit-function-declaration] packter_netflow_pointer_init(np); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ packter_netflow_template_set pt_netflow.c: In function 'packter_netflow_template': pt_netflow.c:260:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:214:5: note: declared here int packter_netflow_template(const char *buf, const int len, int srcid) ^~~~~~~~~~~~~~~~~~~~~~~~ pt_netflow.c:271:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:214:5: note: declared here int packter_netflow_template(const char *buf, const int len, int srcid) ^~~~~~~~~~~~~~~~~~~~~~~~ pt_netflow.c:279:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:214:5: note: declared here int packter_netflow_template(const char *buf, const int len, int srcid) ^~~~~~~~~~~~~~~~~~~~~~~~ pt_netflow.c:288:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:214:5: note: declared here int packter_netflow_template(const char *buf, const int len, int srcid) ^~~~~~~~~~~~~~~~~~~~~~~~ pt_netflow.c:295:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:214:5: note: declared here int packter_netflow_template(const char *buf, const int len, int srcid) ^~~~~~~~~~~~~~~~~~~~~~~~ pt_netflow.c:311:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:214:5: note: declared here int packter_netflow_template(const char *buf, const int len, int srcid) ^~~~~~~~~~~~~~~~~~~~~~~~ pt_netflow.c:350:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:214:5: note: declared here int packter_netflow_template(const char *buf, const int len, int srcid) ^~~~~~~~~~~~~~~~~~~~~~~~ pt_netflow.c:372:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:214:5: note: declared here int packter_netflow_template(const char *buf, const int len, int srcid) ^~~~~~~~~~~~~~~~~~~~~~~~ pt_netflow.c:385:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:214:5: note: declared here int packter_netflow_template(const char *buf, const int len, int srcid) ^~~~~~~~~~~~~~~~~~~~~~~~ pt_netflow.c:400:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_netflow.c:214:5: note: declared here int packter_netflow_template(const char *buf, const int len, int srcid) ^~~~~~~~~~~~~~~~~~~~~~~~ --- pt_netflow-pt_netflow_agent.o --- pt_netflow_agent.c: In function 'main': pt_netflow_agent.c:114:2: warning: implicit declaration of function 'packter_init'; did you mean 'g_mutex_init'? [-Wimplicit-function-declaration] packter_init(); ^~~~~~~~~~~~ g_mutex_init pt_netflow_agent.c:116:2: warning: implicit declaration of function 'packter_hash_new'; did you mean 'packter_netflow'? [-Wimplicit-function-declaration] packter_hash_new(); ^~~~~~~~~~~~~~~~ packter_netflow pt_netflow_agent.c:201:10: warning: implicit declaration of function 'packter_rate'; did you mean 'packter_netflow'? [-Wimplicit-function-declaration] rate = packter_rate(rate_limit); ^~~~~~~~~~~~ packter_netflow pt_netflow_agent.c:203:14: warning: implicit declaration of function 'pt_sock' [-Wimplicit-function-declaration] if ((sock = pt_sock(ip, port, use6)) < 0){ ^~~~~~~ --- pt_netflow-pt_netflow.o --- mv -f .deps/pt_netflow-pt_netflow.Tpo .deps/pt_netflow-pt_netflow.Po --- pt_netflow-pt_netflow_agent.o --- mv -f .deps/pt_netflow-pt_netflow_agent.Tpo .deps/pt_netflow-pt_netflow_agent.Po --- pt_netflow-pt_hash.o --- pt_hash.c: In function 'packter_destroy_func': pt_hash.c:58:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_hash.c:55:7: note: declared here void *packter_destroy_func(void *data) { ^~~~~~~~~~~~~~~~~~~~ pt_hash.c:65:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ pt_hash.c:55:7: note: declared here void *packter_destroy_func(void *data) { ^~~~~~~~~~~~~~~~~~~~ mv -f .deps/pt_netflow-pt_hash.Tpo .deps/pt_netflow-pt_hash.Po --- pt_netflow --- cc -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -o pt_netflow pt_netflow-pt_netflow_agent.o pt_netflow-pt_netflow.o pt_netflow-pt_netflowd.o pt_netflow-pt_sock.o pt_netflow-pt_pcap.o pt_netflow-pt_snort.o pt_netflow-pt_datalink.o pt_netflow-pt_ip.o pt_netflow-pt_ip6.o pt_netflow-pt_tcp.o pt_netflow-pt_udp.o pt_netflow-pt_icmp.o pt_netflow-pt_icmp6.o pt_netflow-pt_iptbhash.o pt_netflow-pt_mesg.o pt_netflow-pt_send.o pt_netflow-pt_util.o pt_netflow-pt_init.o pt_netflow-pt_hash.o -lcrypto -lpcap -L/usr/local/lib -lglib-2.0 -lintl --- pt_agent-pt_iptbhash.o --- mv -f .deps/pt_agent-pt_iptbhash.Tpo .deps/pt_agent-pt_iptbhash.Po --- pt_agent --- cc -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -o pt_agent pt_agent-pt_agent.o pt_agent-pt_sock.o pt_agent-pt_pcap.o pt_agent-pt_snort.o pt_agent-pt_datalink.o pt_agent-pt_ip.o pt_agent-pt_ip6.o pt_agent-pt_tcp.o pt_agent-pt_udp.o pt_agent-pt_icmp.o pt_agent-pt_icmp6.o pt_agent-pt_iptbhash.o pt_agent-pt_mesg.o pt_agent-pt_send.o pt_agent-pt_util.o pt_agent-pt_init.o -lcrypto -lpcap -L/usr/local/lib -lglib-2.0 -lintl --- pt_thmon-pt_thmon.o --- pt_thmon.c: In function 'packter_pcap': pt_thmon.c:331:4: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] if ((device = pcap_lookupdev(errbuf)) == NULL) { ^~ In file included from /usr/include/pcap.h:43, from pt_thmon.c:42: /usr/include/pcap/pcap.h:396:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ mv -f .deps/pt_thmon-pt_thmon.Tpo .deps/pt_thmon-pt_thmon.Po --- pt_thmon --- cc -DUSE_INET6 -pipe -Wno-return-type -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -o pt_thmon pt_thmon-pt_thmon.o pt_thmon-pt_iptbhash.o pt_thmon-pt_hash.o pt_thmon-pt_util.o -lcrypto -lpcap -L/usr/local/lib -lglib-2.0 -lintl --- config.h --- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for packter-agent-2.5_2 ===> Generating temporary packing list Making install in src test -z "/usr/local/bin" || /bin/mkdir -p "/construction/net/packter-agent/stage/usr/local/bin" install -s -m 555 pt_agent pt_sflow pt_netflow pt_thmon '/construction/net/packter-agent/stage/usr/local/bin' test -z "/usr/local/etc" || /bin/mkdir -p "/construction/net/packter-agent/stage/usr/local/etc" install -m 0644 packter.conf.sample '/construction/net/packter-agent/stage/usr/local/etc' install -m 0644 /construction/net/packter-agent/PackterAgent-2.5/AUTHORS /construction/net/packter-agent/stage/usr/local/share/doc/packter-agent install -m 0644 /construction/net/packter-agent/PackterAgent-2.5/COPYING /construction/net/packter-agent/stage/usr/local/share/doc/packter-agent install -m 0644 /construction/net/packter-agent/PackterAgent-2.5/ChangeLog /construction/net/packter-agent/stage/usr/local/share/doc/packter-agent install -m 0644 /construction/net/packter-agent/PackterAgent-2.5/INSTALL /construction/net/packter-agent/stage/usr/local/share/doc/packter-agent install -m 0644 /construction/net/packter-agent/PackterAgent-2.5/LICENSE /construction/net/packter-agent/stage/usr/local/share/doc/packter-agent install -m 0644 /construction/net/packter-agent/PackterAgent-2.5/NEWS /construction/net/packter-agent/stage/usr/local/share/doc/packter-agent install -m 0644 /construction/net/packter-agent/PackterAgent-2.5/README /construction/net/packter-agent/stage/usr/local/share/doc/packter-agent ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: you need USES=ssl Error: /usr/local/bin/pt_agent is linked to /usr/local/lib/libcrypto.so.11 from security/openssl but it is not declared as a dependency Warning: you need USES=ssl 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:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for packter-agent-2.5_2 file sizes/checksums [12]: 0% file sizes/checksums [12]: 100% Service unavailablepacking files [12]: 0% packing files [12]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:01 TOTAL TIME 00:00:10