From nobody Wed Oct 25 06:07:37 2023 X-Original-To: pkg-fallout@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SFdkf2Jkcz4y4lQ for ; Wed, 25 Oct 2023 06:07:38 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SFdkf0Xz2z4SXV for ; Wed, 25 Oct 2023 06:07:38 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698214058; a=rsa-sha256; cv=none; b=qywcRnZlnYN0d9+K7LxUAY7PuxnsOu4ecF0SlI+KUZ2j8zwl1uBIa9xalaBibYSXrMM/eR HNDCAJVnzVFwk1eGxVIyzRyHjGtJ3JfiJnghTSc1/Gg3nipv/iORbxP0T5iY1XNkJv8Zoy P7r1C+XUcFc5qjVldbIhy+229h6o/tz7Ct1EhA3fZTdNDh/+1Ylltsel1rHCcxxMsf0hC8 Bn4DdoHqqqTSA/XfxfPf640w4HIk10lpYtfouTkx980qVZdWYWs3ncG4eIarVC/JbcoCEp r74dBUlIxK0SSlPvlcaReQ3wswEzhqaa5XBbkNfUNn1Dj8DUBuKqJBmq7GCi+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698214058; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=P4+CQHwgfDaxXy+seP3x3Sdis6JDaOTIbvxIeyjU6A8=; b=co2GT1n6I2/nZh8A6U+4X0vlDiw6rWJYtWjh96F45CX+uB2R39R8Va8J1Spn6jFIUj/1mR 47KXCH1AcdMCQqeY/hD5T6h7ET8arV0kW+VWxDy/tOLhw83J0BTkqmsNQfIwFSrUqp9uuZ 3oRyNT92th/YZzAtV6e4TLIyPUzdwQP7XxXRJPMslwYIeqLcZHmb7rZnbRZNCSSsZuoRuo CgDwMTWKWcq6SM0zZQO87F2mB5eaoIs7BY1Ovw4c1omTHOeJcwaAWwZP3wdt6hyKkqNCs2 m/4kbEGrlRAdj92bvf7nOvl9o/U1WDTauzXjQM7niSxmX5yABtoKPbVyfok8TA== Received: from beefy18.nyi.freebsd.org (beefy18.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:21]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4SFdkd6d8tzstV for ; Wed, 25 Oct 2023 06:07:37 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from root (uid 0) (envelope-from pkg-fallout@FreeBSD.org) id 42f9 by beefy18.nyi.freebsd.org (DragonFly Mail Agent v0.13+ on beefy18.nyi.freebsd.org); Wed, 25 Oct 2023 06:07:37 +0000 To: urisso@bsd.com.br Subject: [package - main-amd64-default][security/snortsam] Failed for snortsam-2.70_1 in build Cc: pkg-fallout@FreeBSD.org Date: Wed, 25 Oct 2023 06:07:37 +0000 Message-Id: <6538b0a9.42f9.4fbce9e4@beefy18.nyi.freebsd.org> From: List-Id: Fallout logs from package building List-Archive: https://lists.freebsd.org/archives/freebsd-pkg-fallout List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg-fallout@freebsd.org 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: urisso@bsd.com.br Log URL: https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/pca0de55e8468_s82ea0132c8/logs/snortsam-2.70_1.log Build URL: https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=pca0de55e8468_s82ea0132c8 Log: =>> Building security/snortsam build started at Wed Oct 25 06:07:32 UTC 2023 port directory: /usr/ports/security/snortsam package name: snortsam-2.70_1 building for: FreeBSD main-amd64-default-job-11 15.0-CURRENT FreeBSD 15.0-CURRENT 1500002 amd64 maintained by: urisso@bsd.com.br Makefile ident: Poudriere version: 3.2.8-23-ga7f8d188 Host OSVERSION: 1500000 Jail OSVERSION: 1500002 Job Id: 11 !!! Jail is newer than host. (Jail: 1500002, Host: 1500000) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500002 UNAME_v=FreeBSD 15.0-CURRENT 1500002 UNAME_r=15.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-23-ga7f8d188 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 snortsam-2.70_1: DEBUG=off: Build with debugging support DOCS=on: Build and/or install documentation IPFW=on: checks if configured tables are available SAMTOOL=on: install samtool ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- urisso@bsd.com.br --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/security/snortsam/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/snortsam/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/snortsam/work/.cache HOME=/wrkdirs/usr/ports/security/snortsam/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/snortsam/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/snortsam/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/security/snortsam/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/snortsam/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/snortsam/work/.cache HOME=/wrkdirs/usr/ports/security/snortsam/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/snortsam/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/snortsam/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 " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" B SD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/snortsam" EXAMPLESDIR="share/examples/snortsam" DATADIR="share/snortsam" WWWDIR="www/snortsam" ETCDIR="etc/snortsam" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/snortsam DOCSDIR=/usr/local/share/doc/snortsam EXAMPLESDIR=/usr/local/share/examples/snortsam WWWDIR=/usr/local/www/snortsam ETCDIR=/usr/local/etc/snortsam --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=3 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd15.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_53255a77=yes CC_OUTPUT_921dbbb2_911cfe02=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes CC_OUTPUT_921dbbb2_af59ad06=yes CC_OUTPUT_921dbbb2_a15f3fcf=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=amd64 OPSYS=FreeBSD _OSRELEASE=15.0-CURRENT OSREL=15.0 OSVERSION=1500002 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-- =================================================== =========================================================================== =================================================== ===> snortsam-2.70_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.8.pkg [main-amd64-default-job-11] Installing pkg-1.20.8... [main-amd64-default-job-11] Extracting pkg-1.20.8: .......... done ===> snortsam-2.70_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of snortsam-2.70_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by snortsam-2.70_1 for building =========================================================================== =================================================== ===> Fetching all distfiles required by snortsam-2.70_1 for building => SHA256 Checksum OK for snortsam-src-2.70.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by snortsam-2.70_1 for building ===> Extracting for snortsam-2.70_1 => SHA256 Checksum OK for snortsam-src-2.70.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for snortsam-2.70_1 ===> Applying FreeBSD patches for snortsam-2.70_1 from /usr/ports/security/snortsam/files =========================================================================== =================================================== =========================================================================== =================================================== ^ twofish.c:228:27: warning: passing 'char *' to parameter of type 'u_int8_t *' (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] { _TwoFish_BlockCrypt(in,out,TwoFish_BLOCK_SIZE,decrypt,tfdata); /* de/encrypt it. */ ^~~ ./twofish.h:267:49: note: passing argument to parameter 'out' here void _TwoFish_BlockCrypt(u_int8_t *in,u_int8_t *out,unsigned long size,int decrypt,TWOFISH *tfdata); ^ twofish.c:234:23: warning: passing 'char *' to parameter of type 'u_int8_t *' (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] _TwoFish_BlockCrypt(in,out,len,decrypt,tfdata); /* ...then we de/encrypt that too. */ ^~ ./twofish.h:267:36: note: passing argument to parameter 'in' here void _TwoFish_BlockCrypt(u_int8_t *in,u_int8_t *out,unsigned long size,int decrypt,TWOFISH *tfdata); ^ twofish.c:234:26: warning: passing 'char *' to parameter of type 'u_int8_t *' (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] _TwoFish_BlockCrypt(in,out,len,decrypt,tfdata); /* ...then we de/encrypt that too. */ ^~~ ./twofish.h:267:49: note: passing argument to parameter 'out' here void _TwoFish_BlockCrypt(u_int8_t *in,u_int8_t *out,unsigned long size,int decrypt,TWOFISH *tfdata); ^ twofish.c:280:16: warning: assigning to 'u_int8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tfdata->output=out; /* output straight into output buffer. */ ^~~~ twofish.c:301:16: warning: assigning to 'u_int8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tfdata->output=out; /* output straight into output buffer. */ ^~~~ twofish.c:333:17: warning: assigning to 'u_int8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { tfdata->output=outp; /* (do we really need a function for this?) */ ^~~~~ twofish.c:440:19: warning: assigning to 'u_int8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { tfdata->output=*out; /* set output buffer. */ ^~~~~ twofish.c:449:54: warning: passing 'char *' to parameter of type 'u_int8_t *' (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] _TwoFish_BlockCrypt((u_int8_t *)&(tfdata->header),*out,olen,FALSE,tfdata); /* encrypt first block (without flush on 16 byte boundary). */ ^~~~ ./twofish.h:267:49: note: passing argument to parameter 'out' here void _TwoFish_BlockCrypt(u_int8_t *in,u_int8_t *out,unsigned long size,int decrypt,TWOFISH *tfdata); ^ twofish.c:452:22: warning: passing 'char *' to parameter of type 'u_int8_t *' (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] { _TwoFish_BinHex(*out,olen,TRUE); /* ...convert output to binhex... */ ^~~~ twofish.c:366:32: note: passing argument to parameter 'buf' here void _TwoFish_BinHex(u_int8_t *buf,unsigned long len,bool bintohex) ^ twofish.c:455:18: warning: assigning to 'u_int8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tfdata->output=*out; ^~~~~ twofish.c:503:22: warning: passing 'char *' to parameter of type 'u_int8_t *' (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] { _TwoFish_BinHex(in,ilen,FALSE); /* ...convert input to values... */ ^~ twofish.c:366:32: note: passing argument to parameter 'buf' here void _TwoFish_BinHex(u_int8_t *buf,unsigned long len,bool bintohex) ^ twofish.c:513:33: warning: passing 'u_int8_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] olen=_TwoFish_CryptRawCBC(in,tbuf,ilen,TRUE,tfdata)-TwoFish_BLOCK_SIZE; /* decrypt the whole thing. */ ^~~~ twofish.c:223:51: note: passing argument to parameter 'out' here unsigned long _TwoFish_CryptRawCBC(char *in,char *out,unsigned long len,bool decrypt,TWOFISH *tfdata) ^ twofish.c:515:18: warning: assigning to 'u_int8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tfdata->output=*out; ^~~~~ 14 warnings generated. cc -O2 -DFreeBSD -DBSD -c ssp_fwexec.c cc -O2 -DFreeBSD -DBSD -c ssp_ciscoacl.c cc -O2 -DFreeBSD -DBSD -c ssp_cisco_nullroute.c cc -O2 -DFreeBSD -DBSD -c ssp_email.c cc -O2 -DFreeBSD -DBSD -c ssp_opsec.c cc -O2 -DFreeBSD -DBSD -c ssp_fwsam.c ssp_fwsam.c:158:9: warning: passing '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] strcpy(CPpacket+CP_MODSTR,"All"); /* set modules to ALL (add individual FW modules later) */ ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ 1 warning generated. cc -O2 -DFreeBSD -DBSD -c ssp_pix.c cc -O2 -DFreeBSD -DBSD -c ssp_netscreen.c cc -O2 -DFreeBSD -DBSD -c ssp_wgrd.c ssp_wgrd.c:162:13: warning: address of array 'wgrdp->command' will always evaluate to 'true' [-Wpointer-bool-conversion] if(wgrdp->command) ~~ ~~~~~~~^~~~~~~ 1 warning generated. cc -O2 -DFreeBSD -DBSD -c ssp_snmp_interface_down.c cc -O2 -DFreeBSD -DBSD -c ssp_forward.c ssp_forward.c:69:10: warning: passing '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] strncpy(newkey+6,station->stationkey,TwoFish_KEY_LENGTH-6); /* append old key */ ^~~~~~~~ /usr/include/string.h:112:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ ssp_forward.c:85:31: warning: passing 'unsigned char[34]' 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] safecopy(station->stationkey,newkey); ^~~~~~ ./snortsam.h:218:52: note: expanded from macro 'safecopy' #define safecopy(dst,src) _safecp(dst,sizeof(dst),src) ^~~ ./snortsam.h:460:48: note: passing argument to parameter 'src' here void _safecp(char *dst,unsigned long max,char *src); ^ ssp_forward.c:87:35: warning: passing 'unsigned char[34]' 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] station->stationfish=TwoFishInit(newkey); ^~~~~~ ./twofish.h:133:28: note: passing argument to parameter 'userkey' here TWOFISH *TwoFishInit(char *userkey); ^ 3 warnings generated. cc -O2 -DFreeBSD -DBSD -c ssp_cisco_nullroute2.c cc -O2 -DFreeBSD -DBSD -c ssp_ipf.c ssp_ipf.c:125:35: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] { case FWSAM_HOW_IN: if(bd->mode&FWSAM_WHO == FWSAM_WHO_SRC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ssp_ipf.c:125:35: note: place parentheses around the '==' expression to silence this warning { case FWSAM_HOW_IN: if(bd->mode&FWSAM_WHO == FWSAM_WHO_SRC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ssp_ipf.c:125:35: note: place parentheses around the & expression to evaluate it first { case FWSAM_HOW_IN: if(bd->mode&FWSAM_WHO == FWSAM_WHO_SRC) ~~~~~~~~^~~~~~~~~~ ssp_ipf.c:137:37: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] case FWSAM_HOW_OUT: if(bd->mode&FWSAM_WHO == FWSAM_WHO_SRC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ssp_ipf.c:137:37: note: place parentheses around the '==' expression to silence this warning case FWSAM_HOW_OUT: if(bd->mode&FWSAM_WHO == FWSAM_WHO_SRC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ssp_ipf.c:137:37: note: place parentheses around the & expression to evaluate it first case FWSAM_HOW_OUT: if(bd->mode&FWSAM_WHO == FWSAM_WHO_SRC) ~~~~~~~~^~~~~~~~~~ ssp_ipf.c:150:22: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] { if(bd->mode&FWSAM_WHO == FWSAM_WHO_SRC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ssp_ipf.c:150:22: note: place parentheses around the '==' expression to silence this warning { if(bd->mode&FWSAM_WHO == FWSAM_WHO_SRC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ssp_ipf.c:150:22: note: place parentheses around the & expression to evaluate it first { if(bd->mode&FWSAM_WHO == FWSAM_WHO_SRC) ~~~~~~~~^~~~~~~~~~ ssp_ipf.c:162:22: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] { if(bd->mode&FWSAM_WHO == FWSAM_WHO_SRC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ssp_ipf.c:162:22: note: place parentheses around the '==' expression to silence this warning { if(bd->mode&FWSAM_WHO == FWSAM_WHO_SRC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ssp_ipf.c:162:22: note: place parentheses around the & expression to evaluate it first { if(bd->mode&FWSAM_WHO == FWSAM_WHO_SRC) ~~~~~~~~^~~~~~~~~~ 4 warnings generated. cc -O2 -DFreeBSD -DBSD -c ssp_ipfw2.c ssp_ipfw2.c:169:25: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if ((system(ipfw2cmd) && 0xff) ) ^ ~~~~ ssp_ipfw2.c:169:25: note: use '&' for a bitwise operation if ((system(ipfw2cmd) && 0xff) ) ^~ & ssp_ipfw2.c:169:25: note: remove constant to silence this warning if ((system(ipfw2cmd) && 0xff) ) ~^~~~~~~ 1 warning generated. cc -O2 -DFreeBSD -DBSD -c ssp_pf2.c ssp_pf2.c:90:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ssp_pf2.c:270:37: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(ipsrc, sizeof(ipsrc) - 1, inettoa(bd->blockip)); ^~~~~~~~~~~~~~~~~~~~ ssp_pf2.c:270:37: note: treat the string as an argument to avoid this snprintf(ipsrc, sizeof(ipsrc) - 1, inettoa(bd->blockip)); ^ "%s", ssp_pf2.c:295:19: error: use of undeclared identifier 'DIOCGETSTATUS' if (ioctl(pfdev, DIOCGETSTATUS, &status)) { ^ ssp_pf2.c:313:4: warning: call to undeclared function 'change_table'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] change_table(pfdev, 1, pfp->tablein, pfp->anchorname, ipsrc); ^ ssp_pf2.c:330:4: warning: call to undeclared function 'change_table'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] change_table(pfdev, 0, pfp->tablein, pfp->anchorname, ipsrc); ^ ssp_pf2.c:420:19: error: use of undeclared identifier 'DIOCKILLSTATES' if (ioctl(pfdev, DIOCKILLSTATES, &psk)) { ^ ssp_pf2.c:442:19: error: use of undeclared identifier 'DIOCKILLSTATES' if (ioctl(pfdev, DIOCKILLSTATES, &psk)) { ^ 4 warnings and 3 errors generated. *** Error code 1 Stop. make[3]: stopped in /wrkdirs/usr/ports/security/snortsam/work/snortsam-src-2.70/src *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/security/snortsam/work/snortsam-src-2.70/src *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/security/snortsam/work/snortsam-src-2.70/src *** Error code 1 Stop. make: stopped in /usr/ports/security/snortsam