=>> Building net-mgmt/sysmon build started at Tue Apr 2 01:45:15 BST 2024 port directory: /usr/ports/net-mgmt/sysmon package name: sysmon-0.93_2 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: mk@oxeo.com Makefile datestamp: -rw-r--r-- 1 root wheel 1338 Jan 25 05:29 /usr/ports/net-mgmt/sysmon/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 58c68922c0 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 05 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/05/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for sysmon-0.93_2: 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 XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/sysmon/work/.cache HOME=/wrkdirs/usr/ports/net-mgmt/sysmon/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net-mgmt/sysmon/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/sysmon/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/sysmon/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/sysmon/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/sysmon/work/.cache HOME=/wrkdirs/usr/ports/net-mgmt/sysmon/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net-mgmt/sysmon/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/sysmon/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=" -Wl,-rpath,/usr/local/lib -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=13.2 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 #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> sysmon-0.93_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> sysmon-0.93_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of sysmon-0.93_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by sysmon-0.93_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by sysmon-0.93_2 for building => SHA256 Checksum OK for sysmon-0.93.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by sysmon-0.93_2 for building ===> Extracting for sysmon-0.93_2 => SHA256 Checksum OK for sysmon-0.93.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for sysmon-0.93_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> sysmon-0.93_2 depends on file: /usr/local/lib/libcrypto.so.12 - not found ===> Installing existing package /packages/All/openssl-3.0.13_1,1.pkg [pkg-builder.dan.net.uk] Installing openssl-3.0.13_1,1... [pkg-builder.dan.net.uk] Extracting openssl-3.0.13_1,1: .......... done ===> sysmon-0.93_2 depends on file: /usr/local/lib/libcrypto.so.12 - found ===> Returning to build of sysmon-0.93_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for sysmon-0.93_2 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... yes checking for yywrap in -ll... yes checking for pthread_create in -lpthread... yes 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 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for sysmon-0.93_2 (cd src; make ) 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 heartbeat.c:21:24: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-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. 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 syswatch.c:799:63: warning: incompatible function pointer types passing 'int (void **, void **)' to parameter of type 'int (* _Nonnull)(const void *, const void *)' [-Wincompatible-function-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 where one is of the unique plain 'char' type and the other is not [-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); ^ 2 warnings generated. 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 page.c:154:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(out, svc->message); ^~~~~~~~~~~~ /usr/include/string.h:80: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(out, svc->hostname); ^~~~~~~~~~~~~ /usr/include/string.h:80: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((svc->contact == NULL) || (strlen(svc->contact) == 0)) ^~~~~~~~~~~~ /usr/include/string.h:101: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (svc->contact == NULL || strlen (svc->contact) == 0) ^~~~~~~~~~~~ /usr/include/string.h:101: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] svc->lastmsgid = strdup(msgid); ^ ~~~~~~~~~~~~~ 8 warnings generated. 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 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. 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:695:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 1 warning generated. 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 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 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 loadconfig.c:104:24: 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] 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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strcmp(string,here->name) == 0) ^~~~~~ /usr/include/string.h:86: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strcmp(string,here->name) == 0) ^~~~~~~~~~ /usr/include/string.h:86: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (x = 0;x < strlen(string) ;x++) ^~~~~~ /usr/include/string.h:101: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (y =x; y < strlen(string);y++) ^~~~~~ /usr/include/string.h:101: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buff, string+x+1, (y-x)-1); ^~~~ /usr/include/string.h:107: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buff, string+x+1, (y-x)-1); ^~~~~~~~~~ /usr/include/string.h:107: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(new_string, repl); ^~~~~~~~~~ /usr/include/string.h:80: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(new_string, repl); ^~~~ /usr/include/string.h:80: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncat(new_string, string+x, 1); ^~~~~~~~~~ /usr/include/string.h:105: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncat(new_string, string+x, 1); ^~~~~~~~ /usr/include/string.h:105: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((strcmp(matchme->value->data->hostname, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:86: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] here->value->data->hostname) == 0) && ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:86: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (strcmp(matchme->value->unique_name, here->value->unique_name)==0) && ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:86: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (strcmp(matchme->value->unique_name, here->value->unique_name)==0) && ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:86: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strcmp(here->value->unique_name, text_name) == 0) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:86: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strcmp(here->value->dep_txt_name[x], name) == 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:86: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strcmp(nei_tmp->nei_name, add->unique_name) == 0) ^~~~~~~~~~~~~~~~~ /usr/include/string.h:86: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strcmp(nei_tmp->nei_name, add->unique_name) == 0) ^~~~~~~~~~~~~~~~ /usr/include/string.h:86: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] new_nei->nei_name = strdup(add->unique_name); ^~~~~~~~~~~~~~~~ /usr/include/string.h:91: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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(); ^ 33 warnings generated. 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 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 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:692: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:692: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 where one is of the unique plain 'char' type and the other is not [-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); ^ 4 warnings generated. 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 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 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 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strlen(buffer) < strlen(here->checkent->url_text)) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:101: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strstr(buffer,here->checkent->url_text)) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:124:40: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ 2 warnings generated. 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:465:26: warning: assigning to '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] 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:682: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(thisclient->ip, inet_ntoa(remote.sin_addr)); /* save source ip */ ^~~~~~~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ 3 warnings generated. 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] newent->hostname = strdup(hostname); ^ ~~~~~~~~~~~~~~~~ dnscache.c:254:21: warning: assigning to '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] 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strcmp(hostname, here->hostname) == 0) ^~~~~~~~ /usr/include/string.h:86: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strcmp(hostname, here->hostname) == 0) ^~~~~~~~~~~~~~ /usr/include/string.h:86: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 where one is of the unique plain 'char' type and the other is not [-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. 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 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 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] secretlen = strlen(Secret); ^~~~~~ /usr/include/string.h:101: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] packet[21] = (strlen(here->checkent->username)+2); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:101: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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(packet+packetindex, "sysmon"); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ 7 warnings generated. 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 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 parser.c -o parser.o parser.l:182:10: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] do_set(parser_value, parser_eq); ^~~~~~~~~~~~ ./config.h:779:28: note: passing argument to parameter here void do_set(unsigned char *, unsigned char *); ^ parser.l:182:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] do_set(parser_value, parser_eq); ^~~~~~~~~ ./config.h:779:45: note: passing argument to parameter here void do_set(unsigned char *, unsigned char *); ^ parser.l:516:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] temp_char = do_set_replace(parser_root); ^~~~~~~~~~~ ./config.h:780:46: note: passing argument to parameter here unsigned char *do_set_replace(unsigned char *); ^ parser.l:516:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] temp_char = do_set_replace(parser_root); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.l:1416:2: warning: Need to add and store group [-W#warnings] #warning Need to add and store group ^ parser.l:2003:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] temp_char = do_set_replace(parser_contact); ^~~~~~~~~~~~~~ ./config.h:780:46: note: passing argument to parameter here unsigned char *do_set_replace(unsigned char *); ^ parser.l:2003:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] temp_char = do_set_replace(parser_contact); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.l:2045:2: warning: child does not do anything [-W#warnings] #warning child does not do anything ^ parser.l:2074:12: 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( parser_dep_tmp->nei_name, parser_pos1, parser_pos2 - parser_pos1 ); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ parser.l:2264:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 where one is of the unique plain 'char' type and the other is not [-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 *); ^ 12 warnings generated. 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 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:695: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. 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 pingv6.c:186:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] localstruct->hp = gethostbyname2(checkme->checkent->hostname, AF_INET6); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/netdb.h:267: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:695:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 2 warnings generated. 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 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 dns.c:53:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] alloc_len = strlen(domainname) + 2; ^~~~~~~~~~ /usr/include/string.h:101: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while (x < strlen(domainname)) ^~~~~~~~~~ /usr/include/string.h:101: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (;x============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> sysmon-0.93_2 depends on file: /usr/local/lib/libcrypto.so.12 - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for sysmon-0.93_2 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/net-mgmt/sysmon/work/sysmon-0.93/src/sysmon /wrkdirs/usr/ports/net-mgmt/sysmon/work/stage/usr/local/bin install -s -m 555 /wrkdirs/usr/ports/net-mgmt/sysmon/work/sysmon-0.93/src/sysmond /wrkdirs/usr/ports/net-mgmt/sysmon/work/stage/usr/local/bin install -m 0644 /wrkdirs/usr/ports/net-mgmt/sysmon/work/sysmon-0.93/examples/sysmon.conf.dist /wrkdirs/usr/ports/net-mgmt/sysmon/work/stage/usr/local/etc/sysmon.conf.sample install -m 444 /wrkdirs/usr/ports/net-mgmt/sysmon/work/sysmon-0.93/docs/sysmon.man /wrkdirs/usr/ports/net-mgmt/sysmon/work/stage/usr/local/share/man/man8/sysmon.man.8 install -m 444 /wrkdirs/usr/ports/net-mgmt/sysmon/work/sysmon-0.93/docs/sysmon.conf.man /wrkdirs/usr/ports/net-mgmt/sysmon/work/stage/usr/local/share/man/man8/sysmon.conf.man.8 /bin/mkdir -p /wrkdirs/usr/ports/net-mgmt/sysmon/work/stage/usr/local/share/doc/sysmon install -m 0644 /wrkdirs/usr/ports/net-mgmt/sysmon/work/sysmon-0.93/docs/Changes.html /wrkdirs/usr/ports/net-mgmt/sysmon/work/stage/usr/local/share/doc/sysmon install -m 0644 /wrkdirs/usr/ports/net-mgmt/sysmon/work/sysmon-0.93/docs/binaries.html /wrkdirs/usr/ports/net-mgmt/sysmon/work/stage/usr/local/share/doc/sysmon install -m 0644 /wrkdirs/usr/ports/net-mgmt/sysmon/work/sysmon-0.93/docs/config.html /wrkdirs/usr/ports/net-mgmt/sysmon/work/stage/usr/local/share/doc/sysmon install -m 0644 /wrkdirs/usr/ports/net-mgmt/sysmon/work/sysmon-0.93/docs/docs.html /wrkdirs/usr/ports/net-mgmt/sysmon/work/stage/usr/local/share/doc/sysmon install -m 0644 /wrkdirs/usr/ports/net-mgmt/sysmon/work/sysmon-0.93/docs/index.html /wrkdirs/usr/ports/net-mgmt/sysmon/work/stage/usr/local/share/doc/sysmon install -m 0644 /wrkdirs/usr/ports/net-mgmt/sysmon/work/sysmon-0.93/docs/jclient.jpg /wrkdirs/usr/ports/net-mgmt/sysmon/work/stage/usr/local/share/doc/sysmon install -m 0644 /wrkdirs/usr/ports/net-mgmt/sysmon/work/sysmon-0.93/docs/net-example.png /wrkdirs/usr/ports/net-mgmt/sysmon/work/stage/usr/local/share/doc/sysmon install -m 0644 /wrkdirs/usr/ports/net-mgmt/sysmon/work/sysmon-0.93/docs/sysmon.conf.man.html /wrkdirs/usr/ports/net-mgmt/sysmon/work/stage/usr/local/share/doc/sysmon install -m 0644 /wrkdirs/usr/ports/net-mgmt/sysmon/work/sysmon-0.93/docs/sysmon.jpg /wrkdirs/usr/ports/net-mgmt/sysmon/work/stage/usr/local/share/doc/sysmon install -m 0644 /wrkdirs/usr/ports/net-mgmt/sysmon/work/sysmon-0.93/docs/sysmon.man.html /wrkdirs/usr/ports/net-mgmt/sysmon/work/stage/usr/local/share/doc/sysmon install -m 0644 /wrkdirs/usr/ports/net-mgmt/sysmon/work/sysmon-0.93/docs/reporting.xml-spec.txt /wrkdirs/usr/ports/net-mgmt/sysmon/work/stage/usr/local/share/doc/sysmon ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-02T00:45:15+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=58c68922c0' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for sysmon-0.93_2 ===> Building sysmon-0.93_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for sysmon-0.93_2 build of net-mgmt/sysmon | sysmon-0.93_2 ended at Tue Apr 2 01:53:00 BST 2024 build time: 00:07:45