=>> Building net-mgmt/sysmon build started at Tue Apr 7 19:32:26 UTC 2020 port directory: /usr/ports/net-mgmt/sysmon package name: sysmon-0.93_1 building for: FreeBSD headi386PR245027-default-job-08 13.0-CURRENT FreeBSD 13.0-CURRENT 1300088 i386 maintained by: mk@oxeo.com Makefile ident: $FreeBSD: head/net-mgmt/sysmon/Makefile 436247 2017-03-15 14:45:30Z mat $ Poudriere version: 3.3.0-164-g122329ed Host OSVERSION: 1300076 Jail OSVERSION: 1300088 Job Id: 08 !!! Jail is newer than host. (Jail: 1300088, Host: 1300076) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 OSVERSION=1300088 UNAME_v=FreeBSD 13.0-CURRENT 1300088 UNAME_r=13.0-CURRENT BLOCKSIZE=K 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.3.0-164-g122329ed MASTERMNT=/poudriere/data/.m/headi386PR245027-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen PWD=/poudriere/data/.m/headi386PR245027-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=headi386PR245027-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/poudriere/data/.m/headi386PR245027-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 sysmon-0.93_1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- mk@oxeo.com --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/sysmon/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/sysmon/work HOME=/wrkdirs/usr/ports/net-mgmt/sysmon/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/sysmon/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/sysmon/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/sysmon/work HOME=/wrkdirs/usr/ports/net-mgmt/sysmon/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/sysmon/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/sysmon" EXAMPLESDIR="share/examples/sysmon" DATADIR="share/sysmon" WWWDIR="www/sysmon" ETCDIR="etc/sysmon" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/sysmon DOCSDIR=/usr/local/share/doc/sysmon EXAMPLESDIR=/usr/local/share/examples/sysmon WWWDIR=/usr/local/www/sysmon ETCDIR=/usr/local/etc/sysmon --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 MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} #### /usr/local/etc/poudriere.d/make.conf #### # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 10.0.0 (git@github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.0 (git@github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) Target: i386-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" "-m" "elf_i386_fbsd" "-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 10.0.0 (git@github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=i386 OPSYS=FreeBSD _OSRELEASE=13.0-CURRENT OSREL=13.0 OSVERSION=1300088 PYTHONBASE=/usr/local 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) 524288 stack size (kbytes, -s) 65536 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-- =================================================== ===> License GPLv2 accepted by the user =========================================================================== =================================================== ===> sysmon-0.93_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.14.2.txz [headi386PR245027-default-job-08] Installing pkg-1.14.2... [headi386PR245027-default-job-08] Extracting pkg-1.14.2: .......... done ldconfig: aout support is deprecated ===> sysmon-0.93_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of sysmon-0.93_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by sysmon-0.93_1 for building =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by sysmon-0.93_1 for building => SHA256 Checksum OK for sysmon-0.93.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by sysmon-0.93_1 for building ===> Extracting for sysmon-0.93_1 => SHA256 Checksum OK for sysmon-0.93.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for sysmon-0.93_1 =========================================================================== =================================================== =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for sysmon-0.93_1 configure: loading site script /usr/ports/Templates/config.site 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 ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking for sendmail... /usr/sbin/sendmail checking for flex... /usr/bin/flex checking for lex... (cached) /usr/bin/flex checking CFLAGS for gcc -fstack-protector... -fstack-protector 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 paths.h... (cached) yes checking for refresh in -lcurses... yes checking for refresh in -lncurses... yes checking for inet_ntoa in -lnsl... no checking for yywrap in -lfl... no checking for yywrap in -ll... no checking for pthread_create in -lpthread... yes configure: WARNING: We may not compile as we did not find yywrap. I suggest installing flex. ftp://ftp.gnu.org/gnu/non-gnu/flex/ checking for getpeername in -lsocket... no checking for gethostname in -lresolv... no checking for gethostbyname... (cached) yes checking for gethostbyname2... yes checking for snprintf in -lc... yes checking for snprintf... (cached) yes checking for _snprintf... no checking for revoke in -lbsd... no checking for main in -lkstat... no checking for main in -lssl... yes checking for main in -lcrypto... yes checking for hosts_ctl in -lwrap... yes checking tcpd.h usability... yes checking tcpd.h presence... yes checking for tcpd.h... yes checking for sys/socket.h... (cached) yes checking for netinet/in.h... (cached) yes checking for netinet/icmp6.h... yes checking net-snmp/version.h usability... no checking net-snmp/version.h presence... no checking for net-snmp/version.h... no checking ucd-snmp/version.h usability... no checking ucd-snmp/version.h presence... no checking for ucd-snmp/version.h... no configure: creating ./config.status config.status: creating src/Makefile config.status: WARNING: 'autoconf/Makefile.in' seems to ignore the --datarootdir setting config.status: creating src/defines.h Configuration complete, now: cd src make make install Then read ALL the documentation in docs/ :) If this is your first time using sysmon, please register it. That can be done by typing: make register If you have problems, or have questions that are not in the docs, send e-mail to sysmon-help@puck.nether.net =========================================================================== =================================================== ===> Building for sysmon-0.93_1 --- all --- (cd src; make ) --- heartbeat.o --- --- syswatch.o --- --- heartbeat.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c heartbeat.c -o heartbeat.o --- syswatch.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c syswatch.c -o syswatch.o --- heartbeat.o --- heartbeat.c:21:24: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] hp = my_gethostbyname(HEARTBEAT_HOST, AF_INET); ^~~~~~~~~~~~~~ ./config.h:443:24: note: expanded from macro 'HEARTBEAT_HOST' #define HEARTBEAT_HOST "204.42.254.5" ^~~~~~~~~~~~~~ ./config.h:748:52: note: passing argument to parameter here struct my_hostent *my_gethostbyname(unsigned char *, int); ^ 1 warning generated. --- page.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c page.c -o page.o --- syswatch.o --- syswatch.c:799:63: warning: incompatible pointer types passing 'int (void **, void **)' to parameter of type 'int (* _Nonnull)(const void *, const void *)' [-Wincompatible-pointer-types] qsort(queue_list, numele, sizeof(struct graph_elements *), q_time_cmp); ^~~~~~~~~~ /usr/include/stdlib.h:111:21: note: passing argument to parameter here int (* _Nonnull)(const void *, const void *)); ^ syswatch.c:1207:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] client_send_statechange(handle_this->unique_name, handle_this->checkent->lastcheck, handle_this->retval); ^~~~~~~~~~~~~~~~~~~~~~~~ ./config.h:820:36: note: passing argument to parameter here void client_send_statechange(char *, int , int); ^ --- page.o --- page.c:101:7: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat] svc->deathtime, svc); ^~~~~~~~~~~~~~ page.c:154:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(out, svc->message); ^~~~~~~~~~~~ /usr/include/string.h:77:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ page.c:165:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(out, svc->hostname); ^~~~~~~~~~~~~ /usr/include/string.h:77:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ page.c:215:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] runme = translate_string(svc->command, svc, myhostname); ^~~~~~~~~~~~ page.c:7:30: note: passing argument to parameter 'str' here char *translate_string(char *str, struct hostinfo *svc, char *myhostname) ^ page.c:218:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((svc->contact == NULL) || (strlen(svc->contact) == 0)) ^~~~~~~~~~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ page.c:325:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] out = translate_string(svc->pmesg, svc, myhostname); ^~~~~~~~~~ page.c:7:30: note: passing argument to parameter 'str' here char *translate_string(char *str, struct hostinfo *svc, char *myhostname) ^ page.c:342:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] translate_string(svc->command, svc, myhostname)); ^~~~~~~~~~~~ page.c:7:30: note: passing argument to parameter 'str' here char *translate_string(char *str, struct hostinfo *svc, char *myhostname) ^ page.c:352:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (svc->contact == NULL || strlen (svc->contact) == 0) ^~~~~~~~~~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ page.c:435:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] svc->lastmsgid = strdup(msgid); ^ ~~~~~~~~~~~~~ 9 warnings generated. --- tcp.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c tcp.c -o tcp.o --- udp.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c udp.c -o udp.o udp.c:38:32: warning: 'memset' call operates on objects of type 'struct udpdata' while the size is based on a different type 'struct udpdata *' [-Wsizeof-pointer-memaccess] memset(localstruct, 0, sizeof(localstruct)); ~~~~~~~~~~~ ^~~~~~~~~~~ udp.c:38:32: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset(localstruct, 0, sizeof(localstruct)); ^~~~~~~~~~~ 1 warning generated. --- icmp.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c icmp.c -o icmp.o icmp.c:140:30: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *)&from, &fromlen)) < 0) ^~~~~~~~ /usr/include/sys/socket.h:673:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 1 warning generated. --- pop3.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c pop3.c -o pop3.o --- syswatch.o --- 2 warnings generated. --- umichX500.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c umichX500.c -o umichX500.o --- loadconfig.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c loadconfig.c -o loadconfig.o --- smtp.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c smtp.c -o smtp.o --- loadconfig.o --- loadconfig.c:104:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] setter->name = STRDUP(var,"config variable name"); ^~~ ./config.h:824:20: note: passing argument to parameter here void *STRDUP(char *, char *); ^ loadconfig.c:105:25: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] setter->value = STRDUP(value,"config variable value"); ^~~~~ ./config.h:824:20: note: passing argument to parameter here void *STRDUP(char *, char *); ^ loadconfig.c:118:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(string,here->name) == 0) ^~~~~~ /usr/include/string.h:82:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ loadconfig.c:118:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(string,here->name) == 0) ^~~~~~~~~~ /usr/include/string.h:82:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ loadconfig.c:120:11: warning: returning 'unsigned char *' from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return here->value; ^~~~~~~~~~~ loadconfig.c:141:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (x = 0;x < strlen(string) ;x++) ^~~~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ loadconfig.c:145:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (y =x; y < strlen(string);y++) ^~~~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ loadconfig.c:153:12: warning: passing 'unsigned char [32768]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(buff, string+x+1, (y-x)-1); ^~~~ /usr/include/string.h:103:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ loadconfig.c:153:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(buff, string+x+1, (y-x)-1); ^~~~~~~~~~ /usr/include/string.h:103:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ loadconfig.c:154:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] repl = find_value(buff); ^ ~~~~~~~~~~~~~~~~ loadconfig.c:157:12: warning: passing 'unsigned char [32768]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(new_string, repl); ^~~~~~~~~~ /usr/include/string.h:77:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ loadconfig.c:157:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(new_string, repl); ^~~~ /usr/include/string.h:77:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ loadconfig.c:161:12: warning: passing 'unsigned char [32768]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncat(new_string, string+x, 1); ^~~~~~~~~~ /usr/include/string.h:101:32: note: passing argument to parameter here char *strncat(char * __restrict, const char * __restrict, size_t); ^ loadconfig.c:161:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncat(new_string, string+x, 1); ^~~~~~~~ /usr/include/string.h:101:57: note: passing argument to parameter here char *strncat(char * __restrict, const char * __restrict, size_t); ^ loadconfig.c:166:17: warning: passing 'unsigned char [32768]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return STRDUP(new_string,"config variable replacement value"); ^~~~~~~~~~ ./config.h:824:20: note: passing argument to parameter here void *STRDUP(char *, char *); ^ loadconfig.c:305:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strcmp(matchme->value->data->hostname, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:82:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ loadconfig.c:306:4: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] here->value->data->hostname) == 0) && ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:82:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ loadconfig.c:307:11: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] (strcmp(matchme->value->unique_name, here->value->unique_name)==0) && ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:82:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ loadconfig.c:307:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] (strcmp(matchme->value->unique_name, here->value->unique_name)==0) && ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:82:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ loadconfig.c:330:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] new->unique_id = STRDUP(old->unique_id,"copy of unique ID"); ^~~~~~~~~~~~~~ ./config.h:824:20: note: passing argument to parameter here void *STRDUP(char *, char *); ^ loadconfig.c:346:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] new->lastmsgid = STRDUP(old->lastmsgid,"last msgid"); ^~~~~~~~~~~~~~ ./config.h:824:20: note: passing argument to parameter here void *STRDUP(char *, char *); ^ loadconfig.c:348:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] new->notes = STRDUP(old->notes, "old notes"); ^~~~~~~~~~ ./config.h:824:20: note: passing argument to parameter here void *STRDUP(char *, char *); ^ loadconfig.c:502:16: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] if (subject != SUBJECT) ^ ~~~~~~~ loadconfig.c:600:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(here->value->unique_name, text_name) == 0) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:82:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ loadconfig.c:622:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(here->value->dep_txt_name[x], name) == 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:82:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ loadconfig.c:625:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return find_object_by_name(here->value->dep_txt_name[x]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ loadconfig.c:591:50: note: passing argument to parameter 'text_name' here struct graph_elements *find_object_by_name(char *text_name) ^ loadconfig.c:642:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(nei_tmp->nei_name, add->unique_name) == 0) ^~~~~~~~~~~~~~~~~ /usr/include/string.h:82:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ loadconfig.c:642:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(nei_tmp->nei_name, add->unique_name) == 0) ^~~~~~~~~~~~~~~~ /usr/include/string.h:82:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ loadconfig.c:647:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] new_nei->nei_name = strdup(add->unique_name); ^~~~~~~~~~~~~~~~ /usr/include/string.h:87:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ loadconfig.c:647:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] new_nei->nei_name = strdup(add->unique_name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ loadconfig.c:678:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] find_result = find_object_by_name(here->value->dep_txt_name[x]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ loadconfig.c:591:50: note: passing argument to parameter 'text_name' here struct graph_elements *find_object_by_name(char *text_name) ^ loadconfig.c:709:41: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] find_result = search_dep_list(here2, here->value->unique_name); ^~~~~~~~~~~~~~~~~~~~~~~~ loadconfig.c:613:8: note: passing argument to parameter 'name' here char *name) ^ loadconfig.c:843:2: warning: implicit declaration of function 'sysmon_conf_yylex' is invalid in C99 [-Wimplicit-function-declaration] sysmon_conf_yylex(); ^ --- nntp.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c nntp.c -o nntp.o --- talktcp.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c talktcp.c -o talktcp.o talktcp.c:27:63: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] vals = getsockopt(fd, SOL_SOCKET, SO_ERROR, (void*)&optval, &size); ^~~~~ /usr/include/sys/socket.h:670:72: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ talktcp.c:76:70: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] vals = getsockopt(fd, SOL_SOCKET, SO_ERROR, (void*) &optval, &size); ^~~~~ /usr/include/sys/socket.h:670:72: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ talktcp.c:235:27: warning: 'memset' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess] memset(buffer, 0, sizeof(buffer)); ~~~~~~ ^~~~~~ talktcp.c:235:27: note: did you mean to provide an explicit length? memset(buffer, 0, sizeof(buffer)); ^~~~~~ talktcp.c:328:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] hp = my_gethostbyname(host, AF_INET); ^~~~ ./config.h:748:52: note: passing argument to parameter here struct my_hostent *my_gethostbyname(unsigned char *, int); ^ --- loadconfig.o --- 33 warnings generated. --- imap.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c imap.c -o imap.o --- lib.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c lib.c -o lib.o --- talktcp.o --- 4 warnings generated. --- textfile.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c textfile.c -o textfile.o --- http.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c http.c -o http.o http.c:207:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlen(buffer) < strlen(here->checkent->url_text)) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:211:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strstr(buffer,here->checkent->url_text)) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:120:40: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ 2 warnings generated. --- srvclient.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c srvclient.c -o srvclient.o srvclient.c:42:4: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat] here->value->data->deathtime); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ srvclient.c:199:61: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat] snprintf(buffer, 1000, "<%s>%ld", XML_SNMP_LASTRESP, obj->data->last_snmp_resptime, XML_SNMP_LASTRESP); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d srvclient.c:296:62: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat] snprintf(buffer, 1000, "<%s>%ld", XML_OBJ_CONTACTEDAT, obj->data->lastcontacted, XML_OBJ_CONTACTEDAT); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ %d srvclient.c:305:56: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat] snprintf(buffer, 1000, "<%s>%ld", XML_LASTCHECK, obj->data->lchecktime, XML_LASTCHECK); ~~~ ^~~~~~~~~~~~~~~~~~~~~ %d srvclient.c:308:58: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat] snprintf(buffer, 1000, "<%s>%ld", XML_CHECK_START, obj->data->check_start, XML_CHECK_START); ~~~ ^~~~~~~~~~~~~~~~~~~~~~ %d srvclient.c:311:58: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat] snprintf(buffer, 1000, "<%s>%ld", XML_OUTAGE_TIME, obj->data->deathtime, XML_OUTAGE_TIME); ~~~ ^~~~~~~~~~~~~~~~~~~~ %d srvclient.c:314:59: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat] snprintf(buffer, 1000, "<%s>%ld", XML_LAST_TIME_UP, obj->data->last_up, XML_LAST_TIME_UP); ~~~ ^~~~~~~~~~~~~~~~~~ %d srvclient.c:465:26: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] found_obj->data->notes = strdup(buff+x+1); ^ ~~~~~~~~~~~~~~~~ srvclient.c:775:73: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] msgsock = accept(clienthead->filedes,(struct sockaddr *)&remote,&size); ^~~~~ /usr/include/sys/socket.h:660:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ srvclient.c:827:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(thisclient->ip, inet_ntoa(remote.sin_addr)); /* save source ip */ ^~~~~~~~~~~~~~ /usr/include/string.h:84:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ --- dnscache.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c dnscache.c -o dnscache.o dnscache.c:235:8: warning: address of 'hp' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!&hp) ~ ^~ dnscache.c:244:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] newent->hostname = strdup(hostname); ^ ~~~~~~~~~~~~~~~~ dnscache.c:254:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] newent->hp->h_name = strdup(hp.h_name); ^ ~~~~~~~~~~~~~~~~~ dnscache.c:295:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(hostname, here->hostname) == 0) ^~~~~~~~ /usr/include/string.h:82:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ dnscache.c:295:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(hostname, here->hostname) == 0) ^~~~~~~~~~~~~~ /usr/include/string.h:82:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ dnscache.c:302:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return do_my_gethostbyname(hostname, get_af); ^~~~~~~~ dnscache.c:200:46: note: passing argument to parameter 'hostname' here struct my_hostent *do_my_gethostbyname(char *hostname, int query_af) ^ 6 warnings generated. --- ircd.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c ircd.c -o ircd.o --- sysmon.o --- --- srvclient.o --- 10 warnings generated. --- sysmon.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c sysmon.c -o sysmon.o --- radius.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c radius.c -o radius.o radius.c:250:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] secretlen = strlen(Secret); ^~~~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ radius.c:300:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ptr = (char *) passwd_resp; ^ ~~~~~~~~~~~~~~~~~~~~ radius.c:342:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] gen_ra(packet+4, 16); ^~~~~~~~ radius.c:317:19: note: passing argument to parameter 'data' here void gen_ra(char *data, int len) ^ radius.c:348:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] packet[21] = (strlen(here->checkent->username)+2); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ radius.c:354:43: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] gen_passwd(packet+packetindex+2, &pwlen, here->checkent->password, ^~~~~~~~~~~~~~~~~~~~~~~~ radius.c:263:66: note: passing argument to parameter 'cleartext_pw' here void gen_passwd(unsigned char *passwd_resp, int *resp_len, char *cleartext_pw, ^ radius.c:355:3: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] here->checkent->secret, packet+4); ^~~~~~~~~~~~~~~~~~~~~~ radius.c:264:8: note: passing argument to parameter 'secret' here char *secret, unsigned char *request_authenticator) ^ radius.c:375:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(packet+packetindex, "sysmon"); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:84:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ 7 warnings generated. --- md5.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c md5.c -o md5.o --- snpp.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c snpp.c -o snpp.o --- snmp.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c snmp.c -o snmp.o snmp.c:52:63: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] len = recvfrom(skt, buffer, 4095, 0, (struct sockaddr*)from, &fromlen); ^~~~~~~~ /usr/include/sys/socket.h:673:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ snmp.c:56:2: warning: implicit declaration of function 'print_in_hex' is invalid in C99 [-Wimplicit-function-declaration] print_in_hex(buffer, len); ^ 2 warnings generated. --- pingv6.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c pingv6.c -o pingv6.o --- logging.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c logging.c -o logging.o --- dns.o --- --- pingv6.o --- pingv6.c:186:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- dns.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c dns.c -o dns.o --- pingv6.o --- localstruct->hp = gethostbyname2(checkme->checkent->hostname, AF_INET6); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/netdb.h:264:44: note: passing argument to parameter here struct hostent *gethostbyname2(const char *, int); ^ pingv6.c:386:51: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *)&from, &fromlen)) < 0) ^~~~~~~~ /usr/include/sys/socket.h:673:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 2 warnings generated. --- ssh.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector '-DMAIL="/usr/sbin/sendmail"' -DCFILE='"/usr/local/etc/sysmon.conf"' -DHAVE_SNPRINTF -I/usr/local/include -c ssh.c -o ssh.o --- dns.o --- dns.c:53:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] alloc_len = strlen(domainname) + 2; ^~~~~~~~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ dns.c:57:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while (x < strlen(domainname)) ^~~~~~~~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ dns.c:59:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (;xnei_name, parser_pos1, parser_pos2 - parser_pos1 ); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:103:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ --- client.o --- client.c:182:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] hp = my_gethostbyname(server, AF_INET); ^~~~~~ ./config.h:748:52: note: passing argument to parameter here struct my_hostent *my_gethostbyname(unsigned char *, int); ^ --- parser.o --- parser.l:2264:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] hp = my_gethostbyname(parser_ip, -1); ^~~~~~~~~ ./config.h:748:52: note: passing argument to parameter here struct my_hostent *my_gethostbyname(unsigned char *, int); ^ parser.l:2386:31: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] new_ele->value->unique_name = parser_name; ^ ~~~~~~~~~~~ parser.l:2617:74: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] new_ele->value->dep_txt_name[temp_int] = STRDUP(parser_dep_tmp->nei_name,"NEI name"); ^~~~~~~~~~~~~~~~~~~~~~~~ ./config.h:824:20: note: passing argument to parameter here void *STRDUP(char *, char *); ^ --- client.o --- 1 warning generated. --- sysmon --- /bin/rm -f sysmon cc -L/usr/local//lib -fstack-protector-strong -o sysmon client.o talktcp.o lib.o dnscache.o -lwrap -lpthread -lncurses -lcurses -lssl -lcrypto --- parser.o --- 12 warnings generated. --- sysmond --- /bin/rm -f sysmond core sysmond.core cc -L/usr/local//lib -fstack-protector-strong -o sysmond heartbeat.o syswatch.o page.o tcp.o udp.o icmp.o pop3.o umichX500.o loadconfig.o smtp.o nntp.o talktcp.o imap.o lib.o textfile.o http.o srvclient.o dnscache.o ircd.o sysmon.o radius.o md5.o parser.o snpp.o snmp.o pingv6.o logging.o dns.o ssh.o -lwrap -lpthread -lncurses -lcurses -lssl -lcrypto ld: error: undefined symbol: yywrap >>> referenced by parser.c >>> parser.o:(sysmon_conf_yylex) cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [sysmond] Error code 1 make[2]: stopped in /wrkdirs/usr/ports/net-mgmt/sysmon/work/sysmon-0.93/src 1 error make[2]: stopped in /wrkdirs/usr/ports/net-mgmt/sysmon/work/sysmon-0.93/src *** [all] Error code 2 make[1]: stopped in /wrkdirs/usr/ports/net-mgmt/sysmon/work/sysmon-0.93 1 error make[1]: stopped in /wrkdirs/usr/ports/net-mgmt/sysmon/work/sysmon-0.93 ===> 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/sysmon =>> Cleaning up wrkdir ===> Cleaning for sysmon-0.93_1 build of net-mgmt/sysmon | sysmon-0.93_1 ended at Tue Apr 7 19:32:38 UTC 2020 build time: 00:00:12 !!! build failure encountered !!!