=>> Building net/miruo build started at Mon Apr 1 20:32:12 BST 2024 port directory: /usr/ports/net/miruo package name: miruo-0.9.6b building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: meta@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 319 Mar 8 2023 /usr/ports/net/miruo/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: c014f9c79a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 03 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 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.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/03/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 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-- meta@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net/miruo/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/miruo/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/miruo/work/.cache HOME=/wrkdirs/usr/ports/net/miruo/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net/miruo/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/miruo/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" 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/miruo/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/miruo/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/miruo/work/.cache HOME=/wrkdirs/usr/ports/net/miruo/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net/miruo/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/miruo/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 -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/miruo" EXAMPLESDIR="share/examples/miruo" DATADIR="share/miruo" WWWDIR="www/miruo" ETCDIR="etc/miruo" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/miruo DOCSDIR=/usr/local/share/doc/miruo EXAMPLESDIR=/usr/local/share/examples/miruo WWWDIR=/usr/local/www/miruo ETCDIR=/usr/local/etc/miruo --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 #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---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=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> miruo-0.9.6b depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> miruo-0.9.6b depends on file: /usr/local/sbin/pkg - found ===> Returning to build of miruo-0.9.6b =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by miruo-0.9.6b for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by miruo-0.9.6b for building => SHA256 Checksum OK for KLab-miruo-0.9.6b_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by miruo-0.9.6b for building ===> Extracting for miruo-0.9.6b => SHA256 Checksum OK for KLab-miruo-0.9.6b_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for miruo-0.9.6b =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for miruo-0.9.6b 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 a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes 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 for style of include used by make... GNU checking dependency style of cc... gcc3 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 limits.h... (cached) yes checking for netinet/in.h... (cached) yes checking for stdint.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 unistd.h... (cached) yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking sys/epoll.h usability... no checking sys/epoll.h presence... no checking for sys/epoll.h... no checking for an ANSI C-conforming const... yes checking for int64_t... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for uint16_t... (cached) yes checking for uint32_t... (cached) yes checking for uint64_t... (cached) yes checking for uint8_t... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking for working memcmp... yes checking for sys/select.h... (cached) yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for gettimeofday... (cached) yes checking for inet_ntoa... (cached) yes checking for memset... (cached) yes checking for select... (cached) yes checking for strerror... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for miruo-0.9.6b /usr/bin/make all-am cc -DHAVE_CONFIG_H -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT miruo.o -MD -MP -MF .deps/miruo.Tpo -c -o miruo.o miruo.c miruo.c:130:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(r=strtok(NULL, " ")){ ~^~~~~~~~~~~~~~~~~~ miruo.c:130:12: note: place parentheses around the assignment to silence this warning while(r=strtok(NULL, " ")){ ^ ( ) miruo.c:130:12: note: use '==' to turn this assignment into an equality comparison while(r=strtok(NULL, " ")){ ^ == miruo.c:147:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(r=strtok(NULL, " ")){ ~^~~~~~~~~~~~~~~~~~ miruo.c:147:10: note: place parentheses around the assignment to silence this warning while(r=strtok(NULL, " ")){ ^ ( ) miruo.c:147:10: note: use '==' to turn this assignment into an equality comparison while(r=strtok(NULL, " ")){ ^ == miruo.c:169:13: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(str, "%lluGB", val / 1024 / 1024 / 1024); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ miruo.c:169:28: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] sprintf(str, "%lluGB", val / 1024 / 1024 / 1024); ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ %lu miruo.c:171:13: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(str, "%lluMB", val / 1024 / 1024); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ miruo.c:171:28: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] sprintf(str, "%lluMB", val / 1024 / 1024); ~~~~ ^~~~~~~~~~~~~~~~~ %lu miruo.c:173:13: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(str, "%lluKB", val / 1024); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ miruo.c:173:28: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] sprintf(str, "%lluKB", val / 1024); ~~~~ ^~~~~~~~~~ %lu miruo.c:175:13: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(str, "%lluB", val); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ miruo.c:175:27: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] sprintf(str, "%lluB", val); ~~~~ ^~~ %lu miruo.c:270:17: warning: passing 'uint8_t[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buf, "mss=%u", d0); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ miruo.c:273:17: warning: passing 'uint8_t[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buf, "wscale=%u", d0); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ miruo.c:276:17: warning: passing 'uint8_t[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buf, "sackOK"); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ miruo.c:279:17: warning: passing 'uint8_t[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buf, "sack 1"); /* len = 10 */ ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ miruo.c:282:17: warning: passing 'uint8_t[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buf, "timestamp %u %u", d0, d1); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ miruo.c:285:17: warning: passing 'uint8_t[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buf, "len=%hhu opt[%hhu]", l, t); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ miruo.c:291:14: warning: passing 'uint8_t[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(optstr, ", "); ^~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ miruo.c:293:12: warning: passing 'uint8_t[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(optstr, buf); ^~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ miruo.c:293:20: warning: passing 'uint8_t[32]' (aka 'unsigned char[32]') 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] strcat(optstr, buf); ^~~ /usr/include/string.h:80:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ miruo.c:295:9: warning: returning 'uint8_t[256]' (aka 'unsigned char[256]') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return(optstr); ^~~~~~~~ miruo.c:414:30: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] printf("option[%02d]: %02x\n", h->option[i]); ~~~^ miruo.c:442:43: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] fprintf(stderr, "debug time=%d.%06d\n", tv[2].tv_sec, tv[2].tv_usec); ~~ ^~~~~~~~~~~~ %ld miruo.c:442:57: warning: format specifies type 'int' but the argument has type 'suseconds_t' (aka 'long') [-Wformat] fprintf(stderr, "debug time=%d.%06d\n", tv[2].tv_sec, tv[2].tv_usec); ~~~~ ^~~~~~~~~~~~~ %06ld miruo.c:577:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(optlen = h->ihl - sizeof(iphdraw)){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ miruo.c:577:13: note: place parentheses around the assignment to silence this warning if(optlen = h->ihl - sizeof(iphdraw)){ ^ ( ) miruo.c:577:13: note: use '==' to turn this assignment into an equality comparison if(optlen = h->ihl - sizeof(iphdraw)){ ^ == miruo.c:673:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(opt.tsegpool.free = tp->next){ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ miruo.c:673:24: note: place parentheses around the assignment to silence this warning if(opt.tsegpool.free = tp->next){ ^ ( ) miruo.c:673:24: note: use '==' to turn this assignment into an equality comparison if(opt.tsegpool.free = tp->next){ ^ == miruo.c:806:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(s = opt.tsespool.free){ ~~^~~~~~~~~~~~~~~~~~~ miruo.c:806:8: note: place parentheses around the assignment to silence this warning if(s = opt.tsespool.free){ ^ ( ) miruo.c:806:8: note: use '==' to turn this assignment into an equality comparison if(s = opt.tsespool.free){ ^ == miruo.c:807:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(opt.tsespool.free = s->next){ ~~~~~~~~~~~~~~~~~~^~~~~~~~~ miruo.c:807:26: note: place parentheses around the assignment to silence this warning if(opt.tsespool.free = s->next){ ^ ( ) miruo.c:807:26: note: use '==' to turn this assignment into an equality comparison if(opt.tsespool.free = s->next){ ^ == miruo.c:813:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(s = malloc(sizeof(tcpsession))){ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ miruo.c:813:10: note: place parentheses around the assignment to silence this warning if(s = malloc(sizeof(tcpsession))){ ^ ( ) miruo.c:813:10: note: use '==' to turn this assignment into an equality comparison if(s = malloc(sizeof(tcpsession))){ ^ == miruo.c:852:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c->next = opt.tsespool.free){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~ miruo.c:852:16: note: place parentheses around the assignment to silence this warning if(c->next = opt.tsespool.free){ ^ ( ) miruo.c:852:16: note: use '==' to turn this assignment into an equality comparison if(c->next = opt.tsespool.free){ ^ == miruo.c:868:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(opt.tsact = n){ ~~~~~~~~~~^~~ miruo.c:868:18: note: place parentheses around the assignment to silence this warning if(opt.tsact = n){ ^ ( ) miruo.c:868:18: note: use '==' to turn this assignment into an equality comparison if(opt.tsact = n){ ^ == miruo.c:902:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c->next = opt.tsact){ ~~~~~~~~^~~~~~~~~~~ miruo.c:902:14: note: place parentheses around the assignment to silence this warning if(c->next = opt.tsact){ ^ ( ) miruo.c:902:14: note: use '==' to turn this assignment into an equality comparison if(c->next = opt.tsact){ ^ == miruo.c:930:77: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] sprintf(ts[0], "%02d:%02d:%02d.%03u", t->tm_hour, t->tm_min, t->tm_sec, c->segment.ts.tv_usec / 1000); ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ %03ld miruo.c:962:42: warning: format specifies type 'char *' but the argument has type 'void *' [-Wformat] fprintf(fp, "%s%s%s\n", cl[0], lnklist_iter_next(sg->dpimsg), cl[1]); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ miruo.c:1030:74: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] sprintf(ts, "%02d:%02d:%02d.%03u", t->tm_hour, t->tm_min, t->tm_sec, sg->ts.tv_usec / 1000); ~~~~ ^~~~~~~~~~~~~~~~~~~~~ %03ld miruo.c:1126:35: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sprintf(tstr, "%02d:%02d:%02d", ctm/3600, (ctm % 3600)/60, ctm % 60); ~~~~ ^~~~~~~~ %02lu miruo.c:1126:45: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sprintf(tstr, "%02d:%02d:%02d", ctm/3600, (ctm % 3600)/60, ctm % 60); ~~~~ ^~~~~~~~~~~~~~~ %02lu miruo.c:1126:62: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sprintf(tstr, "%02d:%02d:%02d", ctm/3600, (ctm % 3600)/60, ctm % 60); ~~~~ ^~~~~~~~ %02lu miruo.c:1130:47: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] fprintf(stderr, "Total Sessions : %llu\n", opt.count_ts_total); ~~~~ ^~~~~~~~~~~~~~~~~~ %lu miruo.c:1131:47: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] fprintf(stderr, " Lookup : %llu\n", opt.count_ts_view); ~~~~ ^~~~~~~~~~~~~~~~~ %lu miruo.c:1132:47: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] fprintf(stderr, " LongConnect : %llu\n", opt.count_ts_long); ~~~~ ^~~~~~~~~~~~~~~~~ %lu miruo.c:1133:47: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] fprintf(stderr, " LongDelay : %llu\n", opt.count_sg_delay); ~~~~ ^~~~~~~~~~~~~~~~~~ %lu miruo.c:1134:47: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] fprintf(stderr, " Retransmit : %llu\n", opt.count_sg_retrans); ~~~~ ^~~~~~~~~~~~~~~~~~~~ %lu miruo.c:1135:47: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] fprintf(stderr, " Timeout : %llu\n", opt.count_ts_timeout); ~~~~ ^~~~~~~~~~~~~~~~~~~~ %lu miruo.c:1136:47: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] fprintf(stderr, " Error : %llu\n", opt.count_ts_error); ~~~~ ^~~~~~~~~~~~~~~~~~ %lu miruo.c:1137:47: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] fprintf(stderr, " RST : %llu\n", opt.count_rstbreak + opt.count_rstclose); ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu miruo.c:1138:47: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] fprintf(stderr, " fragment : %llu\n", opt.count_ip_fragment); ~~~~ ^~~~~~~~~~~~~~~~~~~~~ %lu miruo.c:1150:47: warning: format specifies type 'unsigned int' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] fprintf(stderr, "DropSession : %u\n", opt.count_ts_drop); ~~ ^~~~~~~~~~~~~~~~~ %lu miruo.c:1151:47: warning: format specifies type 'unsigned int' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] fprintf(stderr, "DropSegment : %u\n", opt.count_sg_drop); ~~ ^~~~~~~~~~~~~~~~~ %lu miruo.c:1154:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(mi = get_memmory()){ ~~~^~~~~~~~~~~~~~~ miruo.c:1154:7: note: place parentheses around the assignment to silence this warning if(mi = get_memmory()){ ^ ( ) miruo.c:1154:7: note: use '==' to turn this assignment into an equality comparison if(mi = get_memmory()){ ^ == miruo.c:1155:40: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] fprintf(stderr, "VSZ : %lluKB\n", mi->vsz / 1024); ~~~~ ^~~~~~~~~~~~~~ %lu miruo.c:1156:40: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat] fprintf(stderr, "RSS : %lluKB\n", mi->res / 1024); ~~~~ ^~~~~~~~~~~~~~ %lu miruo.c:1181:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c->view = view){ ~~~~~~~~^~~~~~ miruo.c:1181:14: note: place parentheses around the assignment to silence this warning if(c->view = view){ ^ ( ) miruo.c:1181:14: note: use '==' to turn this assignment into an equality comparison if(c->view = view){ ^ == miruo.c:1199:77: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] sprintf(ts, "%02d:%02d:%02d.%03u", tm->tm_hour, tm->tm_min, tm->tm_sec, opt.ntv.tv_usec/1000); ~~~~ ^~~~~~~~~~~~~~~~~~~~ %03ld miruo.c:1271:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p = tcp_retransmit_segment(c, t)){ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ miruo.c:1271:8: note: place parentheses around the assignment to silence this warning if(p = tcp_retransmit_segment(c, t)){ ^ ( ) miruo.c:1271:8: note: use '==' to turn this assignment into an equality comparison if(p = tcp_retransmit_segment(c, t)){ ^ == miruo.c:1305:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c = add_tcpsession(s)){ ~~^~~~~~~~~~~~~~~~~~~ miruo.c:1305:10: note: place parentheses around the assignment to silence this warning if(c = add_tcpsession(s)){ ^ ( ) miruo.c:1305:10: note: use '==' to turn this assignment into an equality comparison if(c = add_tcpsession(s)){ ^ == miruo.c:1318:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(c = add_tcpsession(s)){ ~~^~~~~~~~~~~~~~~~~~~ miruo.c:1318:10: note: place parentheses around the assignment to silence this warning if(c = add_tcpsession(s)){ ^ ( ) miruo.c:1318:10: note: use '==' to turn this assignment into an equality comparison if(c = add_tcpsession(s)){ ^ == miruo.c:1589:41: warning: passing 'int *' to parameter of type 'uint32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] p = read_header_tcp(&th, (u_char *)p, &l); ^~ miruo.c:588:58: note: passing argument to parameter 'l' here u_char *read_header_tcp(tcphdr *h, uint8_t *p, uint32_t *l) ^ miruo.c:1643:9: warning: implicitly declaring library function 'isspace' with type 'int (int)' [-Wimplicit-function-declaration] if(!isspace(*sp)) { ^ miruo.c:1643:9: note: include the header or explicitly provide a declaration for 'isspace' miruo.c:1666:16: warning: passing 'uint8_t *' (aka '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] strncpy(buf, sg->payload, sg->plen < sizeof(buf) ? sg->plen : sizeof(buf) - 1); ^~~~~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ miruo.c:2074:14: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] if(p = pcap_lookupdev(errmsg)){ ^ /usr/include/pcap/pcap.h:326:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here 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' #define PCAP_DEPRECATED(func, msg) __attribute__((deprecated(msg))) ^ miruo.c:2074:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p = pcap_lookupdev(errmsg)){ ~~^~~~~~~~~~~~~~~~~~~~~~~~ miruo.c:2074:12: note: place parentheses around the assignment to silence this warning if(p = pcap_lookupdev(errmsg)){ ^ ( ) miruo.c:2074:12: note: use '==' to turn this assignment into an equality comparison if(p = pcap_lookupdev(errmsg)){ ^ == miruo.c:2098:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p = pcap_datalink_val_to_name(opt.lktype)){ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ miruo.c:2098:8: note: place parentheses around the assignment to silence this warning if(p = pcap_datalink_val_to_name(opt.lktype)){ ^ ( ) miruo.c:2098:8: note: use '==' to turn this assignment into an equality comparison if(p = pcap_datalink_val_to_name(opt.lktype)){ ^ == miruo.c:2101:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p = pcap_datalink_val_to_description(opt.lktype)){ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ miruo.c:2101:8: note: place parentheses around the assignment to silence this warning if(p = pcap_datalink_val_to_description(opt.lktype)){ ^ ( ) miruo.c:2101:8: note: use '==' to turn this assignment into an equality comparison if(p = pcap_datalink_val_to_description(opt.lktype)){ ^ == 63 warnings generated. mv -f .deps/miruo.Tpo .deps/miruo.Po cc -DHAVE_CONFIG_H -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT lnklist.o -MD -MP -MF .deps/lnklist.Tpo -c -o lnklist.o lnklist.c mv -f .deps/lnklist.Tpo .deps/lnklist.Po cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o miruo miruo.o lnklist.o -lpcap =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for miruo-0.9.6b ===> Generating temporary packing list test -z "/usr/local/sbin" || /bin/mkdir -p "/wrkdirs/usr/ports/net/miruo/work/stage/usr/local/sbin" install -s -m 555 miruo '/wrkdirs/usr/ports/net/miruo/work/stage/usr/local/sbin' ====> 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=2024-04-01T19:32:12+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=c014f9c79a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for miruo-0.9.6b ===> Building miruo-0.9.6b =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for miruo-0.9.6b build of net/miruo | miruo-0.9.6b ended at Mon Apr 1 20:32:24 BST 2024 build time: 00:00:13