=>> Building net-mgmt/pads build started at Mon May 5 08:16:32 EDT 2025 port directory: /usr/ports/net-mgmt/pads package name: pads-1.2_7 building for: FreeBSD 13amd64-weekly-desktop-job-04 13.4-RELEASE-p4 FreeBSD 13.4-RELEASE-p4 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 458 Aug 3 2024 /usr/ports/net-mgmt/pads/Makefile Ports top last git commit: 57a50b106b87 Ports top unclean checkout: yes Port dir last git commit: d958fc769b98 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1402000 Jail OSVERSION: 1304000 Job Id: 04 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1304000 UNAME_v=FreeBSD 13.4-RELEASE-p4 UNAME_r=13.4-RELEASE-p4 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/mnt/data/.m/13amd64-weekly-desktop/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen GID=0 OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 UID=0 PWD=/mnt/data/.m/13amd64-weekly-desktop/04/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13amd64-weekly-desktop SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/mnt/data/.m/13amd64-weekly-desktop/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/pads/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/pads/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/pads/work/.cache HOME=/wrkdirs/usr/ports/net-mgmt/pads/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/pads/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/pads/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/pads/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/pads/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/pads/work/.cache HOME=/wrkdirs/usr/ports/net-mgmt/pads/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/pads/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/pads/work/.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 PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing " 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" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/pads" EXAMPLESDIR="share/examples/pads" DATADIR="share/pads" WWWDIR="www/pads" ETCDIR="etc/pads" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/pads DOCSDIR=/usr/local/share/doc/pads EXAMPLESDIR=/usr/local/share/examples/pads WWWDIR=/usr/local/www/pads ETCDIR=/usr/local/etc/pads --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### # Work around some weirdness when fetching golang modules GO_TAGS+=netcgo .if ${.CURDIR:M*/www/chromium*} MAKE_JOBS_NUMBER=24 .endif .if ${.CURDIR:M*/www/ungoogled-chromium*} MAKE_JOBS_NUMBER=24 .endif .if ${.CURDIR:M*/lang/rust*} MAKE_JOBS_NUMBER=10 .endif .if ${.CURDIR:M*/lang/gcc*} MAKE_JOBS_NUMBER=10 .endif .if ${.CURDIR:M*/www/iridium*} MAKE_JOBS_NUMBER=16 .endif .if ${.CURDIR:M*/devel/electron*} MAKE_JOBS_NUMBER=20 .endif .if ${.CURDIR:M*/databases/mongodb*} MAKE_JOBS_NUMBER=12 .endif .if ${.CURDIR:M*/devel/llvm*} MAKE_JOBS_NUMBER=16 .endif # Speed things up a bit MAKE_JOBS_NUMBER?=8 #### #### #MAKE_JOBS_NUMBER?=4 # Alows us to build ports non-interactivly DISABLE_LICENSES=yes LICENSES_ACCEPTED+= DCC # Enable SNDIO on anything that supports it #OPTIONS_SET+=PULSEAUDIO OPTIONS_SET+=SNDIO # Yes we have MS Windows x11-fonts_webfonts_SET+=EXTRAFONTS CLEARTYPE # Desktop Specific Options sysutils_gksu_UNSET+=NAUTILUS x11-wm_compiz-fusion_UNSET+=EMERALD accessibility_redshift_SET+=GUI VIDMODE # These ports default to other audio servers, audio_espeak_UNSET+=PORTAUDIO www_qt5-webengine_UNSET+=ALSA www_qt6-webengine_UNSET+=ALSA audio_rhvoice_UNSET+=AO comms_morse_UNSET+=OSS audio_harp_UNSET+=OSS # Somehow these options are being set and result in ports being rebuilt needlessly becuase they are actually turned off audio_alsa-plugins_SET+=FFMPEG JACK PULSEAUDIO SAMPLERATE SPEEX #### Misc Poudriere #### .include "/etc/make.conf.ports_env" ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> NOTICE: The pads port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> pads-1.2_7 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.0.6.pkg [13amd64-weekly-desktop-job-04] Installing pkg-2.0.6... [13amd64-weekly-desktop-job-04] Extracting pkg-2.0.6: .......... done ===> pads-1.2_7 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of pads-1.2_7 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The pads port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by pads-1.2_7 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The pads port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by pads-1.2_7 for building => SHA256 Checksum OK for pads-1.2.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> NOTICE: The pads port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by pads-1.2_7 for building ===> Extracting for pads-1.2_7 => SHA256 Checksum OK for pads-1.2.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Patching for pads-1.2_7 ===> Applying FreeBSD patches for pads-1.2_7 from /usr/ports/net-mgmt/pads/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> pads-1.2_7 depends on shared library: libpcre.so - not found ===> Installing existing package /packages/All/pcre-8.45_4.pkg [13amd64-weekly-desktop-job-04] Installing pcre-8.45_4... [13amd64-weekly-desktop-job-04] Extracting pcre-8.45_4: .......... done ===== Message from pcre-8.45_4: -- ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: EOLed by upstream, use devel/pcre2 instead. ===> pads-1.2_7 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so) ===> Returning to build of pads-1.2_7 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Configuring for pads-1.2_7 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking for style of include used by make... GNU checking dependency style of cc... none checking for ranlib... ranlib Configurating Passive Asset Dection System ... checking how to run the C preprocessor... cpp checking for egrep... grep -E 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 pcre.h usability... yes checking pcre.h presence... yes checking for pcre.h... yes checking for pcre_compile in -lpcre... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for pcap_open_live in -lpcap... yes checking for stdio.h... (cached) yes checking for stdarg.h... (cached) yes checking for signal.h... (cached) yes checking for time.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking return type of signal handlers... void checking for strlcpy... (cached) yes checking for strlcat... (cached) yes GCC FreeBSD is supported. checking build system type... amd64-portbld-freebsd13.4 checking host system type... amd64-portbld-freebsd13.4 configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating etc/Makefile config.status: creating lib/Makefile config.status: creating lib/bstring/Makefile config.status: creating src/Makefile config.status: creating src/output/Makefile config.status: creating config.h config.status: executing depfiles commands =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building for pads-1.2_7 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in doc Making all in etc Making all in lib --- all-recursive --- Making all in bstring --- bstrlib.o --- --- bstraux.o --- --- util.o --- --- bstrlib.o --- cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I/usr/local/include -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -c bstrlib.c --- bstraux.o --- cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I/usr/local/include -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -c bstraux.c --- util.o --- cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I/usr/local/include -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -c util.c --- libbstring.a --- rm -f libbstring.a ar cru libbstring.a bstrlib.o bstraux.o util.o ranlib libbstring.a Making all in src --- all-recursive --- Making all in output --- output.o --- --- output-screen.o --- --- output-csv.o --- --- output-fifo.o --- --- output.o --- cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I../../lib -I/usr/local/include -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -c output.c --- output-csv.o --- cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I../../lib -I/usr/local/include -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -c output-csv.c --- output-screen.o --- cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I../../lib -I/usr/local/include -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -c output-screen.c --- output-fifo.o --- cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I../../lib -I/usr/local/include -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -c output-fifo.c --- output-csv.o --- output-csv.c:87:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 87 | if ((fp = fopen(bdata(output_csv_conf.filename), "r")) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:258:36: note: passing argument to parameter here 258 | FILE *fopen(const char * __restrict, const char * __restrict); | ^ --- output.o --- output.c:148:11: warning: cast to 'Asset *' (aka 'struct _Asset *') from smaller integer type 'int' [-Wint-to-pointer-cast] 148 | rec = (Asset *)find_asset(ip_addr, port, proto); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- output-csv.o --- output-csv.c:90:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 90 | if ((output_csv_conf.file = fopen(bdata(output_csv_conf.filename), "w")) != NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:258:36: note: passing argument to parameter here 258 | FILE *fopen(const char * __restrict, const char * __restrict); | ^ --- output-fifo.o --- output-fifo.c:112:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 112 | mkfifo (bdata(fifo_file), S_IFIFO | 0755); | ^~~~~~~~~~~~~~~~ ../../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' --- output.o --- output.c:187:12: warning: cast to 'ArpAsset *' (aka 'struct _ArpAsset *') from smaller integer type 'int' [-Wint-to-pointer-cast] --- output-fifo.o --- 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:389:24: note: passing argument to parameter here --- output.o --- 187 | list = (ArpAsset *)get_arp_pointer(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- output-screen.o --- output-screen.c:118:28: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] --- output-fifo.o --- 389 | int mkfifo(const char *, mode_t); | ^ --- output-screen.o --- 117 | fprintf(stdout, "[*] Asset Found: IP Address - %s / MAC Address - %s (%s)\n", | ~~ | %d 118 | inet_ntoa(rec->ip_addr), hex2mac(rec->mac_addr), bdata(rec->mac_resolved)); --- output-csv.o --- output-csv.c:104:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] --- output-screen.o --- | ^~~~~~~~~~~~~~~~~~~~~~ --- output-fifo.o --- output-fifo.c:115:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] --- output-csv.o --- 104 | if ((output_csv_conf.file = fopen(bdata(output_csv_conf.filename), "a")) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- output-fifo.o --- 115 | if ((output_fifo_conf.file = fopen(bdata(fifo_file), "w+")) == NULL) | ^~~~~~~~~~~~~~~~ --- output-csv.o --- ../../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' --- output-fifo.o --- ../../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' 134 | #define bdata(b) (bdataofs (b, 0)) --- output-csv.o --- 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:258:36: note: passing argument to parameter here --- output-fifo.o --- | ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:258:36: note: passing argument to parameter here --- output-csv.o --- 258 | FILE *fopen(const char * __restrict, const char * __restrict); | ^ --- output-fifo.o --- 258 | FILE *fopen(const char * __restrict, const char * __restrict); | ^ --- output-screen.o --- output-screen.c:121:28: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 120 | fprintf(stdout, "[*] Asset Found: IP Address - %s / MAC Address - %s\n", | ~~ | %d 121 | inet_ntoa(rec->ip_addr), hex2mac(rec->mac_addr)); | ^~~~~~~~~~~~~~~~~~~~~~ --- output.o --- output.c:233:11: warning: cast to 'Asset *' (aka 'struct _Asset *') from smaller integer type 'int' [-Wint-to-pointer-cast] 233 | rec = (Asset *)find_asset(ip_addr, port, proto); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- output-csv.o --- output-csv.c:132:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 132 | if ((fp = fopen(bdata(output_csv_conf.filename), "r")) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' --- output-fifo.o --- output-fifo.c:142:32: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] --- output-csv.o --- 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:258:36: note: passing argument to parameter here --- output-fifo.o --- 140 | fprintf(output_fifo_conf.file, "01,%s,%d,%d,%s,%s,%d\n", | ~~ | %ld --- output-csv.o --- 258 | FILE *fopen(const char * __restrict, const char * __restrict); | ^ --- output-fifo.o --- 141 | inet_ntoa(rec->ip_addr), ntohs(rec->port), rec->proto, bdata(rec->service), 142 | bdata(rec->application), rec->discovered); | ^~~~~~~~~~~~~~~ output-fifo.c:169:7: warning: format specifies type 'char *' but the argument has type 'bstring' (aka 'struct tagbstring *') [-Wformat] 168 | fprintf(output_fifo_conf.file, "02,%s,%s,%s,%d\n", inet_ntoa(rec->ip_addr), | ~~ 169 | rec->mac_resolved, hex2mac(&rec->mac_addr), rec->discovered); | ^~~~~~~~~~~~~~~~~ output-fifo.c:169:26: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 168 | fprintf(output_fifo_conf.file, "02,%s,%s,%s,%d\n", inet_ntoa(rec->ip_addr), | ~~ | %d --- output-csv.o --- output-csv.c:189:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] --- output-fifo.o --- 169 | rec->mac_resolved, hex2mac(&rec->mac_addr), rec->discovered); | ^~~~~~~~~~~~~~~~~~~~~~~ --- output-csv.o --- 189 | if ((inet_aton(bdata(list->entry[0]), &ip_addr)) == -1) | ^~~~~~~~~~~~~~~~~~~~~ ../../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/arpa/inet.h:153:29: note: passing argument to parameter here --- output-fifo.o --- output-fifo.c:169:51: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] --- output-csv.o --- 153 | int inet_aton(const char *, struct in_addr *); | ^ --- output-fifo.o --- 168 | fprintf(output_fifo_conf.file, "02,%s,%s,%s,%d\n", inet_ntoa(rec->ip_addr), | ~~ | %ld 169 | rec->mac_resolved, hex2mac(&rec->mac_addr), rec->discovered); | ^~~~~~~~~~~~~~~ output-fifo.c:172:7: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] --- output-csv.o --- output-csv.c:192:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] --- output-fifo.o --- 171 | fprintf(output_fifo_conf.file, "02,%s,unknown,%s,%d\n", inet_ntoa(rec->ip_addr), | ~~ | %d --- output-csv.o --- 192 | if ((port = htons(atoi(bdata(list->entry[1])))) == -1) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ../../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' --- output-fifo.o --- 172 | hex2mac(&rec->mac_addr), rec->discovered); | ^~~~~~~~~~~~~~~~~~~~~~~ --- output-csv.o --- 134 | #define bdata(b) (bdataofs (b, 0)) | ^ /usr/include/netinet/in.h:119:26: note: expanded from macro 'htons' 119 | #define htons(x) __htons(x) --- output-fifo.o --- output-fifo.c:172:32: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] --- output-csv.o --- | ~~~~~~~~^~ /usr/include/sys/_endian.h:91:31: note: expanded from macro '__htons' 91 | #define __htons(x) (__bswap16(x)) | ~~~~~~~~~~^~ --- output-fifo.o --- 171 | fprintf(output_fifo_conf.file, "02,%s,unknown,%s,%d\n", inet_ntoa(rec->ip_addr), | ~~ | %ld --- output-csv.o --- /usr/include/sys/_endian.h:83:40: note: expanded from macro '__bswap16' 83 | #define __bswap16(x) __builtin_bswap16(x) --- output-fifo.o --- 172 | hex2mac(&rec->mac_addr), rec->discovered); | ^~~~~~~~~~~~~~~ --- output-csv.o --- | ^ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ output-csv.c:195:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 195 | if ((proto = atoi(bdata(list->entry[2]))) == -1) | ^~~~~~~~~~~~~~~~~~~~~ ../../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/stdlib.h:93:23: note: passing argument to parameter here 93 | int atoi(const char *); | ^ --- output-fifo.o --- output-fifo.c:199:58: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 198 | fprintf(output_fifo_conf.file, "03,%s,%d,%d,%d\n", | ~~ | %ld 199 | inet_ntoa(rec->ip_addr), ntohs(rec->port), rec->proto, time(NULL)); | ^~~~~~~~~~ --- output-csv.o --- output-csv.c:204:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 204 | if ((discovered = atol(bdata(list->entry[5]))) == -1) | ^~~~~~~~~~~~~~~~~~~~~ ../../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/stdlib.h:94:24: note: passing argument to parameter here 94 | long atol(const char *); | ^ output-csv.c:253:32: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 251 | fprintf(output_csv_conf.file, "%s,%d,%d,%s,%s,%d\n", | ~~ | %ld 252 | inet_ntoa(rec->ip_addr), ntohs(rec->port), rec->proto, bdata(rec->service), 253 | bdata(rec->application), rec->discovered); | ^~~~~~~~~~~~~~~ output-csv.c:281:33: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 280 | fprintf(output_csv_conf.file, "%s,0,0,ARP (%s),%s,%d\n", inet_ntoa(rec->ip_addr), | ~~ | %d 281 | bdata(rec->mac_resolved), hex2mac(rec->mac_addr), rec->discovered); | ^~~~~~~~~~~~~~~~~~~~~~ output-csv.c:281:57: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 280 | fprintf(output_csv_conf.file, "%s,0,0,ARP (%s),%s,%d\n", inet_ntoa(rec->ip_addr), | ~~ | %ld 281 | bdata(rec->mac_resolved), hex2mac(rec->mac_addr), rec->discovered); | ^~~~~~~~~~~~~~~ output-csv.c:284:7: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 283 | fprintf(output_csv_conf.file, "%s,0,0,ARP,%s,%d\n", inet_ntoa(rec->ip_addr), | ~~ | %d 284 | hex2mac(rec->mac_addr), rec->discovered); | ^~~~~~~~~~~~~~~~~~~~~~ output-csv.c:284:31: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 283 | fprintf(output_csv_conf.file, "%s,0,0,ARP,%s,%d\n", inet_ntoa(rec->ip_addr), | ~~ | %ld 284 | hex2mac(rec->mac_addr), rec->discovered); | ^~~~~~~~~~~~~~~ --- output-screen.o --- 2 warnings generated. --- output-fifo.o --- 9 warnings generated. --- output.o --- 3 warnings generated. --- output-csv.o --- 13 warnings generated. --- liboutput.a --- rm -f liboutput.a ar cru liboutput.a output.o output-screen.o output-csv.o output-fifo.o ranlib liboutput.a --- pads.o --- --- storage.o --- --- identification.o --- --- packet.o --- --- monnet.o --- --- mac-resolution.o --- --- configuration.o --- --- util.o --- --- pads.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -c pads.c --- packet.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -c packet.c --- identification.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -c identification.c --- storage.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -c storage.c --- monnet.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -c monnet.c --- mac-resolution.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -c mac-resolution.c --- configuration.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -c configuration.c --- util.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I/usr/local/include -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -c util.c --- monnet.o --- monnet.c:59:6: warning: implicitly declaring library function 'strlcpy' with type 'unsigned long (char *, const char *, unsigned long)' [-Wimplicit-function-declaration] 59 | strlcpy(network, tmp, sizeof(network)); | ^ monnet.c:59:6: note: include the header or explicitly provide a declaration for 'strlcpy' monnet.c:84:2: warning: expression result unused [-Wunused-value] 84 | *cmdline++; | ^~~~~~~~~~ monnet.c:161:28: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration] 161 | rec = (struct mon_net*)malloc(sizeof(struct mon_net)); | ^ monnet.c:161:28: note: include the header or explicitly provide a declaration for 'malloc' --- configuration.o --- configuration.c:47:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 47 | if ((fp = fopen(bdata(filename), "r")) == NULL) { | ^~~~~~~~~~~~~~~ ../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:258:36: note: passing argument to parameter here 258 | FILE *fopen(const char * __restrict, const char * __restrict); | ^ --- mac-resolution.o --- mac-resolution.c:63:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 63 | if ((fp = fopen(bdata(filename), "r")) == NULL) { | ^~~~~~~~~~~~~~~ ../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:258:36: note: passing argument to parameter here 258 | FILE *fopen(const char * __restrict, const char * __restrict); | ^ --- identification.o --- identification.c:60:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 60 | if ((fp = fopen(bdata(filename), "r")) == NULL) { | ^~~~~~~~~~~~~~~ ../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:258:36: note: passing argument to parameter here 258 | FILE *fopen(const char * __restrict, const char * __restrict); | ^ --- packet.o --- packet.c:225:11: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 225 | payload = (u_char *)(packet + sizeof(struct tcphdr) + len); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- util.o --- util.c:63:10: warning: expression result unused [-Wunused-value] 63 | for (size; size >= 0; size--) { | ^~~~ --- monnet.o --- 3 warnings generated. --- mac-resolution.o --- mac-resolution.c:105:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 105 | if (sscanf(bdata(line), "%02X:%02X:%02X %80[^,\n],\n", &m1, &m2, &m3, vendor) != 4) | ^~~~~~~~~~~ ../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:286:36: note: passing argument to parameter here 286 | int sscanf(const char * __restrict, const char * __restrict, ...); | ^ --- util.o --- util.c:126:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 126 | if ((fp = fopen(bdata(pid_file), "w")) != NULL) { | ^~~~~~~~~~~~~~~ ../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:258:36: note: passing argument to parameter here --- mac-resolution.o --- mac-resolution.c:105:75: warning: 'sscanf' may overflow; destination buffer in argument 6 has size 80, but the corresponding specifier may require size 81 [-Wfortify-source] --- util.o --- 258 | FILE *fopen(const char * __restrict, const char * __restrict); | ^ --- mac-resolution.o --- 105 | if (sscanf(bdata(line), "%02X:%02X:%02X %80[^,\n],\n", &m1, &m2, &m3, vendor) != 4) | ^ --- util.o --- util.c:138:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 138 | if ((this_group = getgrnam(bdata(group))) == NULL) | ^~~~~~~~~~~~ ../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/grp.h:70:36: note: passing argument to parameter here 70 | struct group *getgrnam(const char *); | ^ util.c:140:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 140 | if ((this_user = getpwnam(bdata(user))) == NULL) --- identification.o --- identification.c:148:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] --- util.o --- | ^~~~~~~~~~~ ../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' --- identification.o --- 148 | if ((sig->regex = pcre_compile (bdata(pcre_string), 0, &err, &erroffset, NULL)) == NULL) { --- util.o --- 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ --- identification.o --- | ^~~~~~~~~~~~~~~~~~ ../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' --- util.o --- /usr/include/pwd.h:149:37: note: passing argument to parameter here --- identification.o --- 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ --- util.o --- 149 | struct passwd *getpwnam(const char *); --- identification.o --- /usr/local/include/pcre.h:540:46: note: passing argument to parameter here --- util.o --- | ^ --- identification.o --- 540 | PCRE_EXP_DECL pcre *pcre_compile(const char *, int, const char **, int *, | ^ --- mac-resolution.o --- mac-resolution.c:218:43: warning: format specifies type 'char *' but the argument has type 'unsigned int' [-Wformat] 218 | printf("Mac: %s\nVendor: %s\n\n", list->mac, bdata(list->vendor)); | ~~ ^~~~~~~~~ | %u --- pads.o --- pads.c:213:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 213 | if (!(gc.handle = pcap_open_offline(bdata(gc.pcap_file), errbuf))) { | ^~~~~~~~~~~~~~~~~~~ ../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/pcap/pcap.h:410:48: note: passing argument to parameter here 410 | PCAP_API pcap_t *pcap_open_offline(const char *, char *); | ^ pads.c:229:28: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 229 | if (!(gc.dev = pcap_lookupdev(errbuf))) | ^ /usr/include/pcap/pcap.h:326:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here 326 | PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the first device"); | ^ /usr/include/pcap/funcattrs.h:227:53: note: expanded from macro 'PCAP_DEPRECATED' 227 | #define PCAP_DEPRECATED(func, msg) __attribute__((deprecated(msg))) | ^ --- identification.o --- identification.c:315:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 315 | strlcpy(app, bdata(sig->title.app), MAX_APP); | ^~~~~~~~~~~~~~~~~~~~~ ../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/string.h:98:59: note: passing argument to parameter here 98 | size_t strlcpy(char * __restrict, const char * __restrict, size_t); | ^ identification.c:320:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 320 | strlcat(app, bdata(sig->title.ver), MAX_VER); | ^~~~~~~~~~~~~~~~~~~~~ ../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/string.h:97:59: note: passing argument to parameter here 97 | size_t strlcat(char * __restrict, const char * __restrict, size_t); | ^ --- pads.o --- pads.c:271:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 271 | if (!(gc.dumper = pcap_dump_open(gc.handle, bdata(gc.dump_file)))) | ^~~~~~~~~~~~~~~~~~~ ../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/pcap/pcap.h:485:62: note: passing argument to parameter here 485 | PCAP_API pcap_dumper_t *pcap_dump_open(pcap_t *, const char *); | ^ --- identification.o --- identification.c:326:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 326 | strlcat(app, bdata(sig->title.misc), MAX_MISC); | ^~~~~~~~~~~~~~~~~~~~~~ ../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/string.h:97:59: note: passing argument to parameter here 97 | size_t strlcat(char * __restrict, const char * __restrict, size_t); | ^ --- util.o --- util.c:389:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 389 | if ((this_group = getgrnam(bdata(newgroup))) == NULL) | ^~~~~~~~~~~~~~~ ../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/grp.h:70:36: note: passing argument to parameter here --- storage.o --- storage.c:214:20: warning: cast to 'bstring' (aka 'struct tagbstring *') from smaller integer type 'int' [-Wint-to-pointer-cast] --- util.o --- 70 | struct group *getgrnam(const char *); | ^ --- storage.o --- 214 | mac_resolved = (bstring) get_vendor(mac_addr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- util.o --- util.c:392:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 392 | if ((this_user = getpwnam(bdata(newuser))) == NULL) | ^~~~~~~~~~~~~~ ../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/pwd.h:149:37: note: passing argument to parameter here 149 | struct passwd *getpwnam(const char *); | ^ --- pads.o --- pads.c:326:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 326 | if ((unlink(bdata(gc.pid_file))) != 0) | ^~~~~~~~~~~~~~~~~~ ../lib/bstring/bstrlib.h:134:29: note: expanded from macro 'bdata' 134 | #define bdata(b) (bdataofs (b, 0)) | ^~~~~~~~~~~~~~~~~ /usr/include/unistd.h:370:25: note: passing argument to parameter here 370 | int unlink(const char *); | ^ --- util.o --- util.c:439:12: warning: implicitly declaring library function 'isspace' with type 'int (int)' [-Wimplicit-function-declaration] 439 | while (isspace(*mac)) | ^ util.c:439:12: note: include the header or explicitly provide a declaration for 'isspace' --- identification.o --- identification.c:419:28: warning: format specifies type 'char *' but the argument has type 'pcre *' (aka 'struct real_pcre8_or_16 *') [-Wformat] 419 | printf("3: %s\n", list->regex); | ~~ ^~~~~~~~~~~ --- pads.o --- pads.c:438:26: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 438 | gc.pcap_filter = (char *)copy_argv(argv); | ^~~~~~~~~~~~~~~~~~~~~~~ --- storage.o --- storage.c:472:15: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 470 | printf("%d: %s,%d,%d,%d,%s,%s,%d\n", | ~~ | %ld 471 | id, inet_ntoa(rec->ip_addr), ntohs(rec->port), 472 | rec->proto, rec->discovered, | ^~~~~~~~~~~~~~~ storage.c:485:14: warning: incompatible pointer types passing 'char (*)[6]' to parameter of type 'const struct ether_addr *' [-Wincompatible-pointer-types] 485 | ether_ntoa(&arp->mac_addr), arp->discovered); | ^~~~~~~~~~~~~~ /usr/include/net/ethernet.h:477:44: note: passing argument to parameter here 477 | char *ether_ntoa(const struct ether_addr *); | ^ storage.c:485:31: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 484 | printf("%d: %s,%s,%d\n", id, inet_ntoa(arp->ip_addr), | ~~ | %ld 485 | ether_ntoa(&arp->mac_addr), arp->discovered); | ^~~~~~~~~~~~~~~ --- pads-report --- cat ./pads-report.pl >> pads-report chmod +x pads-report --- packet.o --- 1 warning generated. --- configuration.o --- 1 warning generated. --- mac-resolution.o --- 4 warnings generated. --- pads.o --- 5 warnings generated. --- storage.o --- 4 warnings generated. --- util.o --- 7 warnings generated. --- identification.o --- 6 warnings generated. --- pads --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -fstack-protector-strong -L/usr/local/lib -Wl,-R/usr/local/lib -lpcre -o pads pads.o storage.o identification.o packet.o monnet.o mac-resolution.o configuration.o util.o ../lib/bstring/libbstring.a output/liboutput.a -lpcap =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Staging for pads-1.2_7 ===> Generating temporary packing list Making install in doc test -z "/usr/local/share/man/man8" || /wrkdirs/usr/ports/net-mgmt/pads/work/pads-1.2/install-sh -d "/wrkdirs/usr/ports/net-mgmt/pads/work/stage/usr/local/share/man/man8" install -m 0644 './pads.8' '/wrkdirs/usr/ports/net-mgmt/pads/work/stage/usr/local/share/man/man8/pads.8' install -m 0644 './pads.conf.8' '/wrkdirs/usr/ports/net-mgmt/pads/work/stage/usr/local/share/man/man8/pads.conf.8' install -m 0644 './pads-report.8' '/wrkdirs/usr/ports/net-mgmt/pads/work/stage/usr/local/share/man/man8/pads-report.8' test -z "/usr/local/share/pads" || /wrkdirs/usr/ports/net-mgmt/pads/work/pads-1.2/install-sh -d "/wrkdirs/usr/ports/net-mgmt/pads/work/stage/usr/local/share/pads" install -m 0644 'AUTHORS' '/wrkdirs/usr/ports/net-mgmt/pads/work/stage/usr/local/share/pads/AUTHORS' install -m 0644 'ChangeLog' '/wrkdirs/usr/ports/net-mgmt/pads/work/stage/usr/local/share/pads/ChangeLog' install -m 0644 'COPYING' '/wrkdirs/usr/ports/net-mgmt/pads/work/stage/usr/local/share/pads/COPYING' install -m 0644 'CREDITS' '/wrkdirs/usr/ports/net-mgmt/pads/work/stage/usr/local/share/pads/CREDITS' install -m 0644 'INSTALL' '/wrkdirs/usr/ports/net-mgmt/pads/work/stage/usr/local/share/pads/INSTALL' install -m 0644 'README' '/wrkdirs/usr/ports/net-mgmt/pads/work/stage/usr/local/share/pads/README' Making install in etc test -z "/usr/local/etc" || /wrkdirs/usr/ports/net-mgmt/pads/work/pads-1.2/install-sh -d "/wrkdirs/usr/ports/net-mgmt/pads/work/stage/usr/local/etc" install -m 0644 'pads.conf' '/wrkdirs/usr/ports/net-mgmt/pads/work/stage/usr/local/etc/pads.conf' install -m 0644 'pads-signature-list' '/wrkdirs/usr/ports/net-mgmt/pads/work/stage/usr/local/etc/pads-signature-list' install -m 0644 'pads-ether-codes' '/wrkdirs/usr/ports/net-mgmt/pads/work/stage/usr/local/etc/pads-ether-codes' Making install in lib Making install in bstring Making install in src Making install in output test -z "/usr/local/bin" || /wrkdirs/usr/ports/net-mgmt/pads/work/pads-1.2/install-sh -d "/wrkdirs/usr/ports/net-mgmt/pads/work/stage/usr/local/bin" install -s -m 555 'pads' '/wrkdirs/usr/ports/net-mgmt/pads/work/stage/usr/local/bin/pads' test -z "/usr/local/bin" || /wrkdirs/usr/ports/net-mgmt/pads/work/pads-1.2/install-sh -d "/wrkdirs/usr/ports/net-mgmt/pads/work/stage/usr/local/bin" install -m 555 'pads-report' '/wrkdirs/usr/ports/net-mgmt/pads/work/stage/usr/local/bin/pads-report' ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-05-05T12:16:32+0000' 'PKG_NOTE_ports_top_git_hash=57a50b106b87' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=d958fc769b98' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building packages for pads-1.2_7 ===> Building pads-1.2_7 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for pads-1.2_7 build of net-mgmt/pads | pads-1.2_7 ended at Mon May 5 08:16:39 EDT 2025 build time: 00:00:08