From owner-freebsd-pkg-fallout@freebsd.org Fri Sep 20 04:40:54 2019 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 53138F1A41 for ; Fri, 20 Sep 2019 04:40:54 +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 46ZLd22Jrbz3CX6 for ; Fri, 20 Sep 2019 04:40:54 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4F53BF1A40; Fri, 20 Sep 2019 04:40:54 +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 4F120F1A3F for ; Fri, 20 Sep 2019 04:40:54 +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) server-signature RSA-PSS (4096 bits) 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 46ZLd2235kz3CX5 for ; Fri, 20 Sep 2019 04:40:54 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy12.nyi.freebsd.org (beefy12.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:ef]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 29A0B20445 for ; Fri, 20 Sep 2019 04:40:54 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy12.nyi.freebsd.org (localhost [127.0.0.1]) by beefy12.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id x8K4eqcE098708 for ; Fri, 20 Sep 2019 04:40:52 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy12.nyi.freebsd.org (8.15.2/8.15.2/Submit) id x8K4eqrR098707; Fri, 20 Sep 2019 04:40:52 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Fri, 20 Sep 2019 04:40:52 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201909200440.x8K4eqrR098707@beefy12.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - head-armv7-default][security/snortsam] Failed for snortsam-2.70_1 in build X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Sep 2019 04:40:54 -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: urisso@bsd.com.br Last committer: bapt@FreeBSD.org Ident: $FreeBSD: head/security/snortsam/Makefile 375111 2014-12-20 19:37:44Z bapt $ Log URL: http://beefy12.nyi.freebsd.org/data/head-armv7-default/p512195_s352432/logs/snortsam-2.70_1.log Build URL: http://beefy12.nyi.freebsd.org/build.html?mastername=head-armv7-default&build=p512195_s352432 Log: =>> Building security/snortsam build started at Fri Sep 20 04:40:48 UTC 2019 port directory: /usr/ports/security/snortsam package name: snortsam-2.70_1 building for: FreeBSD head-armv7-default-job-18 13.0-CURRENT FreeBSD 13.0-CURRENT 1300047 arm maintained by: urisso@bsd.com.br Makefile ident: $FreeBSD: head/security/snortsam/Makefile 375111 2014-12-20 19:37:44Z bapt $ Poudriere version: 3.2.8-5-gc81843e5 Host OSVERSION: 1300040 Jail OSVERSION: 1300047 Job Id: 18 !!! Jail is newer than host. (Jail: 1300047, Host: 1300040) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_p=armv7 UNAME_m=arm ABI_FILE=/usr/lib/crt1.o OSVERSION=1300047 UNAME_v=FreeBSD 13.0-CURRENT 1300047 UNAME_r=13.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local QEMU_EMULATING=1 USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-5-gc81843e5 MASTERMNT=/usr/local/poudriere/data/.m/head-armv7-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/head-armv7-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=head-armv7-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/head-armv7-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 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 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 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 NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="/nxb-bin/usr/bin/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/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--- .sinclude "/etc/make.nxb.conf" USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=arm MACHINE_ARCH=armv7 ARCH=${MACHINE_ARCH} #### /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 # stable/10 includes src.conf too late but make.conf is in sys.mk .if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*} # Disable build of llib now that head no longer has lint(1) LINT= true .endif #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_9d218390=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _ALTCCVERSION_9d218390=none _CXXINTERNAL_9c45a5b1=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-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_9d218390_58173849=yes CC_OUTPUT_9d218390_9bdba57c=yes CC_OUTPUT_9d218390_6a4fe7f5=yes CC_OUTPUT_9d218390_6bcac02b=yes CC_OUTPUT_9d218390_67d20829=yes CC_OUTPUT_9d218390_bfa62e83=yes CC_OUTPUT_9d218390_f0b4d593=yes CC_OUTPUT_9d218390_308abb44=yes CC_OUTPUT_9d218390_f00456e5=yes CC_OUTPUT_9d218390_65ad290d=yes CC_OUTPUT_9d218390_f2776b26=yes CC_OUTPUT_9d218390_b2657cc3=yes CC_OUTPUT_9d218390_380987f7=yes CC_OUTPUT_9d218390_160933ec=yes CC_OUTPUT_9d218390_fb62803b=yes _OBJC_CCVERSION_9d218390=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _OBJC_ALTCCVERSION_9d218390=none ARCH=armv7 OPSYS=FreeBSD _OSRELEASE=13.0-CURRENT OSREL=13.0 OSVERSION=1300047 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=262144 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- ---Begin make.nxb.conf--- CC=/nxb-bin/usr/bin/cc CPP=/nxb-bin/usr/bin/cpp CXX=/nxb-bin/usr/bin/c++ AS=/nxb-bin/usr/bin/as NM=/nxb-bin/usr/bin/nm LD=/nxb-bin/usr/bin/ld OBJCOPY=/nxb-bin/usr/bin/objcopy SIZE=/nxb-bin/usr/bin/size STRIPBIN=/nxb-bin/usr/bin/strip SED=/nxb-bin/usr/bin/sed RANLIB=/nxb-bin/usr/bin/ranlib YACC=/nxb-bin/usr/bin/yacc MAKE=/nxb-bin/usr/bin/make STRINGS=/nxb-bin/usr/bin/strings AWK=/nxb-bin/usr/bin/awk FLEX=/nxb-bin/usr/bin/flex ---End make.nxb.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.11.1.txz [head-armv7-default-job-18] Installing pkg-1.11.1... [head-armv7-default-job-18] Extracting pkg-1.11.1: .......... done ===> snortsam-2.70_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of snortsam-2.70_1 ( ) snortsam.c:903:14: note: use '==' to turn this assignment into an equality comparison { if(hoste=gethostbyname(val)) ^ == snortsam.c:941:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] { if(hoste=gethostbyname(val)) ~~~~~^~~~~~~~~~~~~~~~~~~ snortsam.c:941:14: note: place parentheses around the assignment to silence this warning { if(hoste=gethostbyname(val)) ^ ( ) snortsam.c:941:14: note: use '==' to turn this assignment into an equality comparison { if(hoste=gethostbyname(val)) ^ == snortsam.c:986:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] { if(hoste=gethostbyname(val)) ~~~~~^~~~~~~~~~~~~~~~~~~ snortsam.c:986:14: note: place parentheses around the assignment to silence this warning { if(hoste=gethostbyname(val)) ^ ( ) snortsam.c:986:14: note: use '==' to turn this assignment into an equality comparison { if(hoste=gethostbyname(val)) ^ == snortsam.c:1063:14: warning: passing 'unsigned char [34]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] safecopy(al->initialkey,val3); ^~~~~~~~~~~~~~ ./snortsam.h:217:36: note: expanded from macro 'safecopy' #define safecopy(dst,src) _safecp(dst,sizeof(dst),src) ^~~ snortsam.c:208:20: note: passing argument to parameter 'dst' here void _safecp(char *dst,unsigned long max,char *src) ^ snortsam.c:1709:11: warning: passing 'unsigned char [34]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] safecopy(sens->currentkey,ap->initialkey); /* set the key to the initial key as defined in accept list */ ^~~~~~~~~~~~~~~~ ./snortsam.h:217:36: note: expanded from macro 'safecopy' #define safecopy(dst,src) _safecp(dst,sizeof(dst),src) ^~~ snortsam.c:208:20: note: passing argument to parameter 'dst' here void _safecp(char *dst,unsigned long max,char *src) ^ snortsam.c:1709:28: warning: passing 'unsigned char [34]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] safecopy(sens->currentkey,ap->initialkey); /* set the key to the initial key as defined in accept list */ ^~~~~~~~~~~~~~ ./snortsam.h:217:52: note: expanded from macro 'safecopy' #define safecopy(dst,src) _safecp(dst,sizeof(dst),src) ^~~ snortsam.c:208:48: note: passing argument to parameter 'src' here void _safecp(char *dst,unsigned long max,char *src) ^ snortsam.c:1710:30: warning: passing 'unsigned char [34]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sens->snortfish=TwoFishInit(sens->currentkey); /* create a TwoFish for the sensor */ ^~~~~~~~~~~~~~~~ ./twofish.h:133:28: note: passing argument to parameter 'userkey' here TWOFISH *TwoFishInit(char *userkey); ^ snortsam.c:1748:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(newkey+6,snortbox->currentkey,TwoFish_KEY_LENGTH-6); /* append old key */ ^~~~~~~~ /usr/include/string.h:103:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ snortsam.c:1748:19: warning: passing 'unsigned char [34]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(newkey+6,snortbox->currentkey,TwoFish_KEY_LENGTH-6); /* append old key */ ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:103:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ snortsam.c:1764:11: warning: passing 'unsigned char [34]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] safecopy(snortbox->currentkey,newkey); /* update key string */ ^~~~~~~~~~~~~~~~~~~~ ./snortsam.h:217:36: note: expanded from macro 'safecopy' #define safecopy(dst,src) _safecp(dst,sizeof(dst),src) ^~~ snortsam.c:208:20: note: passing argument to parameter 'dst' here void _safecp(char *dst,unsigned long max,char *src) ^ snortsam.c:1764:32: warning: passing 'unsigned char [34]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] safecopy(snortbox->currentkey,newkey); /* update key string */ ^~~~~~ ./snortsam.h:217:52: note: expanded from macro 'safecopy' #define safecopy(dst,src) _safecp(dst,sizeof(dst),src) ^~~ snortsam.c:208:48: note: passing argument to parameter 'src' here void _safecp(char *dst,unsigned long max,char *src) ^ snortsam.c:1766:34: warning: passing 'unsigned char [34]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snortbox->snortfish=TwoFishInit(newkey); /* generate new TwoFish */ ^~~~~~ ./twofish.h:133:28: note: passing argument to parameter 'userkey' here TWOFISH *TwoFishInit(char *userkey); ^ snortsam.c:2062:136: warning: format specifies type 'unsigned long' but the argument has type 'long long' [-Wformat] { snprintf(msg,sizeof(msg)-1,"Ignoring blocks from %s for %lu more seconds (rollbacksleeptime).",inettoa(snortbox->snortip.s_addr),(unsigned long)rbsleeptime-t); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lld snortsam.c:2140:6: error: conflicting types for 'parsefile' void parsefile(char *cfgfile,bool first,char *callingfile,unsigned long callingline) ^ ./snortsam.h:471:6: note: previous declaration is here void parsefile(char *cfgfile,bool first,char *callingfile,unsigned long callingline); ^ snortsam.c:2162:13: warning: if statement has empty body [-Wempty-body] if(p>buf); ^ snortsam.c:2162:13: note: put the semicolon on a separate line to silence this warning snortsam.c:2301:19: warning: result of comparison of constant -1 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] if(histversion== -1) /* If we don't know yet what version the file is... */ ~~~~~~~~~~~^ ~~ snortsam.c:2457:13: warning: passing 'unsigned char [34]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] { safecopy(snortbox->currentkey,acceptp->initialkey); /* try intial key */ ^~~~~~~~~~~~~~~~~~~~ ./snortsam.h:217:36: note: expanded from macro 'safecopy' #define safecopy(dst,src) _safecp(dst,sizeof(dst),src) ^~~ snortsam.c:208:20: note: passing argument to parameter 'dst' here void _safecp(char *dst,unsigned long max,char *src) ^ snortsam.c:2457:34: warning: passing 'unsigned char [34]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] { safecopy(snortbox->currentkey,acceptp->initialkey); /* try intial key */ ^~~~~~~~~~~~~~~~~~~ ./snortsam.h:217:52: note: expanded from macro 'safecopy' #define safecopy(dst,src) _safecp(dst,sizeof(dst),src) ^~~ snortsam.c:208:48: note: passing argument to parameter 'src' here void _safecp(char *dst,unsigned long max,char *src) ^ snortsam.c:2459:35: warning: passing 'unsigned char [34]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] snortbox->snortfish=TwoFishInit(snortbox->currentkey); /* get a new TwoFish */ ^~~~~~~~~~~~~~~~~~~~ ./twofish.h:133:28: note: passing argument to parameter 'userkey' here TWOFISH *TwoFishInit(char *userkey); ^ snortsam.c:2811:27: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] safecopy(buf,SNORTSAM_REV+11); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./snortsam.h:217:52: note: expanded from macro 'safecopy' #define safecopy(dst,src) _safecp(dst,sizeof(dst),src) ^~~ snortsam.c:2811:27: note: use array indexing to silence this warning safecopy(buf,SNORTSAM_REV+11); ^ & [ ./snortsam.h:217:52: note: expanded from macro 'safecopy' #define safecopy(dst,src) _safecp(dst,sizeof(dst),src) ^ snortsam.c:2812:25: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] buf[strlen(SNORTSAM_REV+11)-2]=0; ~~~~~~~~~~~~^~~ snortsam.c:2812:25: note: use array indexing to silence this warning buf[strlen(SNORTSAM_REV+11)-2]=0; ^ & [ ] snortsam.c:2904:13: warning: passing 'unsigned char [34]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] safecopy(acceptp->initialkey,defaultkey); ^~~~~~~~~~~~~~~~~~~ ./snortsam.h:217:36: note: expanded from macro 'safecopy' #define safecopy(dst,src) _safecp(dst,sizeof(dst),src) ^~~ snortsam.c:208:20: note: passing argument to parameter 'dst' here void _safecp(char *dst,unsigned long max,char *src) ^ snortsam.c:3012:59: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] callersock=accept(mysock,(struct sockaddr *)&(sockaddr),&i); /* Check if someone called (new connections) */ ^~ /usr/include/sys/socket.h:660:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ snortsam.c:3112:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(snortbox=*snortboxpointer) ~~~~~~~~^~~~~~~~~~~~~~~~~ snortsam.c:3112:17: note: place parentheses around the assignment to silence this warning while(snortbox=*snortboxpointer) ^ ( ) snortsam.c:3112:17: note: use '==' to turn this assignment into an equality comparison while(snortbox=*snortboxpointer) ^ == 23 warnings and 2 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