From owner-freebsd-pkg-fallout@freebsd.org Tue Dec 29 07:23:14 2020 Return-Path: Delivered-To: freebsd-pkg-fallout@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 578A24D337F for ; Tue, 29 Dec 2020 07:23:14 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4D4m9G1zrmz3PTj for ; Tue, 29 Dec 2020 07:23:14 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 442BE4D363F; Tue, 29 Dec 2020 07:23:14 +0000 (UTC) Delivered-To: pkg-fallout@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 43EEF4D363E for ; Tue, 29 Dec 2020 07:23:14 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D4m9G1X1Jz3PnH for ; Tue, 29 Dec 2020 07:23:14 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy18.nyi.freebsd.org (beefy18.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:f3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2746827C71 for ; Tue, 29 Dec 2020 07:23:14 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy18.nyi.freebsd.org (localhost [127.0.0.1]) by beefy18.nyi.freebsd.org (8.16.1/8.16.1) with ESMTP id 0BT7NE7H004465 for ; Tue, 29 Dec 2020 07:23:14 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy18.nyi.freebsd.org (8.16.1/8.16.1/Submit) id 0BT7NElR004455; Tue, 29 Dec 2020 07:23:14 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Tue, 29 Dec 2020 07:23:14 GMT From: pkg-fallout@FreeBSD.org Message-Id: <202012290723.0BT7NElR004455@beefy18.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - main-amd64-default][net-mgmt/p0f2] Failed for p0f2-2.0.8_1 in build X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2020 07:23:14 -0000 You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: ports@FreeBSD.org Last committer: jkim@FreeBSD.org Ident: $FreeBSD: head/net-mgmt/p0f2/Makefile 508294 2019-08-07 05:13:43Z jkim $ Log URL: http://beefy18.nyi.freebsd.org/data/main-amd64-default/p559329_s93900fc69/logs/p0f2-2.0.8_1.log Build URL: http://beefy18.nyi.freebsd.org/build.html?mastername=main-amd64-default&build=p559329_s93900fc69 Log: =>> Building net-mgmt/p0f2 build started at Tue Dec 29 07:23:10 UTC 2020 port directory: /usr/ports/net-mgmt/p0f2 package name: p0f2-2.0.8_1 building for: FreeBSD main-amd64-default-job-01 13.0-CURRENT FreeBSD 13.0-CURRENT 1300133 amd64 maintained by: ports@FreeBSD.org Makefile ident: $FreeBSD: head/net-mgmt/p0f2/Makefile 508294 2019-08-07 05:13:43Z jkim $ Poudriere version: 3.2.8-8-gaf08dbda Host OSVERSION: 1300121 Jail OSVERSION: 1300133 Job Id: 01 !!! Jail is newer than host. (Jail: 1300133, Host: 1300121) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh OSVERSION=1300133 UNAME_v=FreeBSD 13.0-CURRENT 1300133 UNAME_r=13.0-CURRENT 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 LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-8-gaf08dbda MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=main-amd64-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for p0f2-2.0.8_1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/p0f2/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/p0f2/work HOME=/wrkdirs/usr/ports/net-mgmt/p0f2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/p0f2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/p0f2/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/p0f2/work HOME=/wrkdirs/usr/ports/net-mgmt/p0f2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/p0f2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes 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 " 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" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/p0f2" EXAMPLESDIR="share/examples/p0f2" DATADIR="share/p0f2" WWWDIR="www/p0f2" ETCDIR="etc/p0f2" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/p0f2 DOCSDIR=/usr/local/share/doc/p0f2 EXAMPLESDIR=/usr/local/share/examples/p0f2 WWWDIR=/usr/local/www/p0f2 ETCDIR=/usr/local/etc/p0f2 --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### /usr/local/etc/poudriere.d/make.conf #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=amd64 OPSYS=FreeBSD _OSRELEASE=13.0-CURRENT OSREL=13.0 OSVERSION=1300133 PYTHONBASE=/usr/local HAVE_COMPAT_IA32_KERN=YES CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 ---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) 1024 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-- =================================================== ===> NOTICE: The p0f2 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port =========================================================================== =================================================== ===> p0f2-2.0.8_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.16.1.txz [main-amd64-default-job-01] Installing pkg-1.16.1... [main-amd64-default-job-01] Extracting pkg-1.16.1: .......... done ===> p0f2-2.0.8_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of p0f2-2.0.8_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The p0f2 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by p0f2-2.0.8_1 for building =========================================================================== =================================================== ===> NOTICE: PCAP_API pcap_t *pcap_open_offline(const char *, char *); ^ p0f.c:1680:42: warning: passing '_u8 [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(pt=pcap_open_offline(use_dump, errbuf))) ^~~~~~ /usr/include/pcap/pcap.h:410:56: note: passing argument to parameter here PCAP_API pcap_t *pcap_open_offline(const char *, char *); ^ p0f.c:1699:31: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] if (!use_iface) use_iface=pcap_lookupdev(errbuf); ^ /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))) ^ p0f.c:1699:46: warning: passing '_u8 [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!use_iface) use_iface=pcap_lookupdev(errbuf); ^~~~~~ /usr/include/pcap/pcap.h:325:37: note: passing argument to parameter here PCAP_API char *pcap_lookupdev(char *) ^ p0f.c:1699:30: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!use_iface) use_iface=pcap_lookupdev(errbuf); ^~~~~~~~~~~~~~~~~~~~~~~ p0f.c:1702:31: warning: assigning to '_u8 *' (aka 'unsigned char *') from 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] if (!use_iface) use_iface = "lo"; ^ ~~~~ p0f.c:1708:29: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(pt=pcap_open_live(use_iface,PACKET_SNAPLEN,use_promisc,capture_timeout,errbuf))) ^~~~~~~~~ /usr/include/pcap/pcap.h:406:45: note: passing argument to parameter here PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); ^ p0f.c:1708:82: warning: passing '_u8 [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(pt=pcap_open_live(use_iface,PACKET_SNAPLEN,use_promisc,capture_timeout,errbuf))) ^~~~~~ /usr/include/pcap/pcap.h:406:68: note: passing argument to parameter here PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); ^ p0f.c:1714:30: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (pcap_compile(pt, &flt, use_rule, 1, 0)) ^~~~~~~~ /usr/include/pcap/pcap.h:455:71: note: passing argument to parameter here PCAP_API int pcap_compile(pcap_t *, struct bpf_program *, const char *, int, ^ p0f.c:1715:16: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strchr(use_rule,'(')) { ^~~~~~~~ /usr/include/string.h:78:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ p0f.c:1736:37: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(dumper=pcap_dump_open(pt, write_dump))) { ^~~~~~~~~~ /usr/include/pcap/pcap.h:485:62: note: passing argument to parameter here PCAP_API pcap_dumper_t *pcap_dump_open(pcap_t *, const char *); ^ p0f.c:1757:19: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] pw = getpwnam(set_user); ^~~~~~~~ /usr/include/pwd.h:150:37: note: passing argument to parameter here struct passwd *getpwnam(const char *); ^ p0f.c:1760:28: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (use_cache && chown(use_cache,pw->pw_uid,pw->pw_gid)) ^~~~~~~~~ /usr/include/unistd.h:327:24: note: passing argument to parameter here int chown(const char *, uid_t, gid_t); ^ gmake[2]: Leaving directory '/wrkdirs/usr/ports/net-mgmt/p0f2/work/p0f' ./Build tools Your system type is: FreeBSD Please help with p0f 2: http://lcamtuf.coredump.cx/p0f-help/ GNU make found at /usr/local/bin/gmake, trying to use it... gmake[2]: Entering directory '/wrkdirs/usr/ports/net-mgmt/p0f2/work/p0f' gmake[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DUSE_BPF=\"pcap-bpf.h\" -I/usr/include/pcap -I/usr/local/include/pcap -I/usr/local/include -fstack-protector-strong test/sendack.c -o test/sendack cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DUSE_BPF=\"pcap-bpf.h\" -I/usr/include/pcap -I/usr/local/include/pcap -I/usr/local/include -fstack-protector-strong test/sendack2.c -o test/sendack2 cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -DUSE_BPF=\"pcap-bpf.h\" -I/usr/include/pcap -I/usr/local/include/pcap -I/usr/local/include -fstack-protector-strong test/sendsyn.c -o test/sendsyn gmake[2]: Leaving directory '/wrkdirs/usr/ports/net-mgmt/p0f2/work/p0f' 120 warnings generated. p0f-query.c:79:13: warning: passing '_u8 [20]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(sc->genre,genre,19); ^~~~~~~~~ /usr/include/string.h:103:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ p0f-query.c:79:23: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(sc->genre,genre,19); ^~~~~ /usr/include/string.h:103:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ p0f-query.c:80:13: warning: passing '_u8 [40]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(sc->detail,detail,39); ^~~~~~~~~~ /usr/include/string.h:103:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ p0f-query.c:80:24: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(sc->detail,detail,39); ^~~~~~ /usr/include/string.h:103:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ p0f-query.c:83:21: warning: passing '_u8 [30]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (link) strncpy(sc->link,link,29); ^~~~~~~~ /usr/include/string.h:103:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ p0f-query.c:83:30: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (link) strncpy(sc->link,link,29); ^~~~ /usr/include/string.h:103:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ p0f-query.c:84:20: warning: passing '_u8 [30]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (tos) strncpy(sc->tos,tos,29); ^~~~~~~ /usr/include/string.h:103:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ p0f-query.c:84:28: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (tos) strncpy(sc->tos,tos,29); ^~~ /usr/include/string.h:103:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ p0f-query.c:77:22: warning: 'memset' call operates on objects of type 'struct p0f_response' while the size is based on a different type 'struct p0f_response *' [-Wsizeof-pointer-memaccess] memset(sc,0,sizeof(sc)); ~~ ^~ p0f-query.c:77:22: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset(sc,0,sizeof(sc)); ^~ p0f-query.c:134:13: warning: passing '_u8 [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(s.version, VER, sizeof(s.version)-1); ^~~~~~~~~ /usr/include/string.h:103:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ p0f-query.c:232:18: warning: passing '_u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; ^~~~~ /usr/include/string.h:82:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ p0f-query.c:232:24: warning: passing '_u8 [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; ^~~~~~~~~~~~ /usr/include/string.h:82:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ 12 warnings generated. ld: error: duplicate symbol: file_cksum >>> defined at p0f.c >>> /tmp/p0f-16d46b.o:(file_cksum) >>> defined at p0f-query.c >>> /tmp/p0f-query-4bc5c2.o:(.bss+0x18) ld: error: duplicate symbol: matched_packets >>> defined at p0f.c >>> /tmp/p0f-16d46b.o:(matched_packets) >>> defined at p0f-query.c >>> /tmp/p0f-query-4bc5c2.o:(.bss+0x20) ld: error: duplicate symbol: operating_mode >>> defined at p0f.c >>> /tmp/p0f-16d46b.o:(operating_mode) >>> defined at p0f-query.c >>> /tmp/p0f-query-4bc5c2.o:(.bss+0x16) ld: error: duplicate symbol: packet_count >>> defined at p0f.c >>> /tmp/p0f-16d46b.o:(packet_count) >>> defined at p0f-query.c >>> /tmp/p0f-query-4bc5c2.o:(.bss+0x1C) ld: error: duplicate symbol: st_time >>> defined at p0f.c >>> /tmp/p0f-16d46b.o:(st_time) >>> defined at p0f-query.c >>> /tmp/p0f-query-4bc5c2.o:(.bss+0x2C) cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [mk/FreeBSD:26: p0f] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/net-mgmt/p0f2/work/p0f' gmake[1]: *** [Makefile:11: all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/net-mgmt/p0f2/work/p0f' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/net-mgmt/p0f2