=> Building security/ossec-hids-local Started : Thursday, 30 AUG 2018 at 20:43:13 UTC Platform: 5.3-DEVELOPMENT DragonFly 5.3-DEVELOPMENT #141: Thu Aug 30 12:52:40 PDT 2018 root@test.backplane.com:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.3-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.3-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for ossec-hids-local-2.8.3_1: DOCS=on: Build and/or install documentation MYSQL=off: MySQL database support PGSQL=off: PostgreSQL database support ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/security/ossec-hids-local XDG_CONFIG_HOME=/construction/security/ossec-hids-local HOME=/construction/security/ossec-hids-local TMPDIR="/tmp" PATH=/construction/security/ossec-hids-local/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/construction/security/ossec-hids-local XDG_CONFIG_HOME=/construction/security/ossec-hids-local HOME=/construction/security/ossec-hids-local TMPDIR="/tmp" PATH=/construction/security/ossec-hids-local/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -ferror-limit=0 -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib -Wl,-rpath,/usr/local/lib" LIBS="" CXX="c++" CXXFLAGS=" -pipe -ferror-limit=0 -O2 -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" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/security/ossec-hids-local/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTNAME=ossec-hids PORTDOCS="" PORTEXAMPLES="" OSREL=5.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/ossec-hids" EXAMPLESDIR="share/examples/ossec-hids" DATADIR="share/ossec-hids" WWWDIR="www/ossec-hids" ETCDIR="etc/ossec-hids" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PORTNAME=ossec-hids PRECMD=ossechids_start_precmd PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ossec-hids DOCSDIR=/usr/local/share/doc/ossec-hids EXAMPLESDIR=/usr/local/share/examples/ossec-hids WWWDIR=/usr/local/www/ossec-hids ETCDIR=/usr/local/etc/ossec-hids -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=12 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500316 OSVERSION=9999999 OSREL=5.3 _OSRELEASE=5.3-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> ossec-hids-local-2.8.3_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz Installing pkg-1.10.5_1... Extracting pkg-1.10.5_1: .......... done ===> ossec-hids-local-2.8.3_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ossec-hids-local-2.8.3_1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by ossec-hids-local-2.8.3_1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by ossec-hids-local-2.8.3_1 for building => SHA256 Checksum OK for ossec-ossec-hids-v2.8.3_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by ossec-hids-local-2.8.3_1 for building ===> Extracting for ossec-hids-local-2.8.3_1 => SHA256 Checksum OK for ossec-ossec-hids-v2.8.3_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for ossec-hids-local-2.8.3_1 ===> Applying ports patches for ossec-hids-local-2.8.3_1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> ossec-hids-local-2.8.3_1 depends on file: /usr/local/lib/libcrypto.so.43 - not found ===> Installing existing package /packages/All/libressl-2.7.4.txz Installing libressl-2.7.4... Extracting libressl-2.7.4: .......... done ===> ossec-hids-local-2.8.3_1 depends on file: /usr/local/lib/libcrypto.so.43 - found ===> Returning to build of ossec-hids-local-2.8.3_1 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> ossec-hids-local-2.8.3_1 depends on shared library: libreadline.so.7 - not found ===> Installing existing package /packages/All/readline-7.0.3_1.txz Installing readline-7.0.3_1... `-- Installing indexinfo-0.3.1... `-- Extracting indexinfo-0.3.1: .... done `-- Installing ncurses-6.0.0s20171223_1... `-- Extracting ncurses-6.0.0s20171223_1: .......... done Extracting readline-7.0.3_1: .......... done ===> ossec-hids-local-2.8.3_1 depends on shared library: libreadline.so.7 - found (/usr/local/lib/libreadline.so.7) ===> Returning to build of ossec-hids-local-2.8.3_1 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for ossec-hids-local-2.8.3_1 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for ossec-hids-local-2.8.3_1 INFO: Little endian set. *** Making zlib (by Jean-loup Gailly and Mark Adler) *** cd zlib-1.2.8/; ./configure; make libz.a; Checking for gcc... Checking for shared library support... Building shared library libz.so.1.2.8 with gcc. Checking for off64_t... No. Checking for fseeko... Yes. Checking for strerror... Yes. Checking for unistd.h... Yes. Checking for stdarg.h... Yes. Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf(). Checking for vsnprintf() in stdio.h... Yes. Checking for return value of vsnprintf()... Yes. Checking for attribute(visibility) support... Yes. gcc -O3 -DHAVE_HIDDEN -c adler32.c gcc -O3 -DHAVE_HIDDEN -c crc32.c gcc -O3 -DHAVE_HIDDEN -c deflate.c gcc -O3 -DHAVE_HIDDEN -c infback.c gcc -O3 -DHAVE_HIDDEN -c inffast.c gcc -O3 -DHAVE_HIDDEN -c inflate.c gcc -O3 -DHAVE_HIDDEN -c inftrees.c gcc -O3 -DHAVE_HIDDEN -c trees.c gcc -O3 -DHAVE_HIDDEN -c zutil.c gcc -O3 -DHAVE_HIDDEN -c compress.c gcc -O3 -DHAVE_HIDDEN -c uncompr.c gcc -O3 -DHAVE_HIDDEN -c gzclose.c gcc -O3 -DHAVE_HIDDEN -c gzlib.c gcc -O3 -DHAVE_HIDDEN -c gzread.c gcc -O3 -DHAVE_HIDDEN -c gzwrite.c ar rc libz.a adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o cp -pr zlib-1.2.8/libz.a . cp -pr zlib-1.2.8/zlib.h zlib-1.2.8/zconf.h ../headers/ *** Making cJSON (by Dave Gamble) *** cc -g -Wall -I../../ -I../../headers -DLOCAL -DARGV0=\"cJSON\" -DOSSECHIDS -c cJSON.c cJSON.c: In function 'cJSON_strcasecmp': cJSON.c:41:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!s1) return (s1==s2)?0:1;if (!s2) return 1; ^~ cJSON.c:41:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!s1) return (s1==s2)?0:1;if (!s2) return 1; ^~ cJSON.c: In function 'print_object': cJSON.c:499:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (fmt) *ptr++='\n';*ptr=0; ^~ cJSON.c:499:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (fmt) *ptr++='\n';*ptr=0; ^ cJSON.c: In function 'cJSON_DetachItemFromArray': cJSON.c:526:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (c->prev) c->prev->next=c->next;if (c->next) c->next->prev=c->prev;if (c==array->child) array->child=c->next;c->prev=c->next=0;return c;} ^~ cJSON.c:526:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (c->prev) c->prev->next=c->next;if (c->next) c->next->prev=c->prev;if (c==array->child) array->child=c->next;c->prev=c->next=0;return c;} ^~ ar -crus libcJSON.a *.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') cp -pr cJSON.h ../../headers/ cp -pr libcJSON.a ../ *** Making Lua 5.2 (by team at PUC-Rio in Brazi) *** Copyright © 1994–2014 Lua.org, PUC-Rio. cd src && make posix make all SYSCFLAGS="-DLUA_USE_POSIX" cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c lapi.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c lcode.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c lctype.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c ldebug.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c ldo.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c ldump.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c lfunc.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c lgc.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c llex.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c lmem.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c lobject.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c lopcodes.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c lparser.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c lstate.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c lstring.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c ltable.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c ltm.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c lundump.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c lvm.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c lzio.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c lauxlib.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c lbaselib.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c lbitlib.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c lcorolib.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c ldblib.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c liolib.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c lmathlib.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c loslib.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c lstrlib.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c ltablib.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c loadlib.c cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c linit.c ar rcu liblua.a lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o lbitlib.o lcorolib.o ldblib.o liolib.o lmathlib.o loslib.o lstrlib.o ltablib.o loadlib.o linit.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib liblua.a cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c lua.c cc -o ossec-lua lua.o liblua.a -lm cc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_POSIX -c luac.c cc -o ossec-luac luac.o liblua.a -lm *** Making os_xml *** cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"os_xml\" -DOSSECHIDS -c *.c os_xml_variables.c: In function 'OS_ApplyVariables': os_xml_variables.c:209:49: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 101 [-Wformat-truncation=] "XMLERR: Unknown variable" ^~~~~~~~~~~~~~~~~~~~~~~~~~ ": '%s'.", lvar); ~~~~ os_xml_variables.c:210:53: note: format string is defined here ": '%s'.", lvar); ^~ os_xml_variables.c:208:33: note: 'snprintf' output between 30 and 285 bytes into a destination of size 128 snprintf(_lxml->err,XML_ERR_LENGTH, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "XMLERR: Unknown variable" ~~~~~~~~~~~~~~~~~~~~~~~~~~ ": '%s'.", lvar); ~~~~~~~~~~~~~~~~ ar -crus os_xml.a *.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') *** Making os_regex *** cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"os_regex\" -DOSSECHIDS -c *.c os_regex_str.c: In function 'OS_StrIsNum': os_regex_str.c:26:7: warning: nonnull argument 'str' compared to NULL [-Wnonnull-compare] if(str == NULL) ^ ar -crus os_regex.a *.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') *** Making os_net *** cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"os_net\" -DOSSECHIDS -c os_net.c ar -crus os_net.a os_net.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') *** Making os_crypto *** cc -g -Wall -I../../ -I../../headers -DLOCAL -DARGV0=\"blowfish_op\" -DOSSECHIDS -c bf_op.c bf_skey.c bf_enc.c ar cru bf_op.a bf_op.o bf_skey.o bf_enc.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib bf_op.a cc -g -Wall -I../../ -I../../headers -DLOCAL -DARGV0=\"md5_op\" -DOSSECHIDS -c md5.c md5_op.c ar cru md5_op.a md5_op.o md5.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib md5_op.a cc -g -Wall -I../../ -I../../headers -DLOCAL -DARGV0=\"sha1_op\" -DOSSECHIDS -c sha1_op.c ar cru sha1_op.a sha1_op.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib sha1_op.a cc -g -Wall -I../../ -I../../headers -DLOCAL -DARGV0=\"md5_sha1_op\" -DOSSECHIDS -c ../md5/md5.c md5_sha1_op.c ar cru md5_op.a md5_sha1_op.o ../md5/md5.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib md5_op.a cc -g -Wall -I../../ -I../../headers -DLOCAL -DARGV0=\"shared\" -DOSSECHIDS -c *.c keys.c: In function '__chash': keys.c:118:29: warning: '%s' directive output may be truncated writing up to 32 bytes into a region of size between 17 and 49 [-Wformat-truncation=] snprintf(_finalstr, 49, "%s%s", filesum2, filesum1); ^~ ~~~~~~~~ keys.c:118:2: note: 'snprintf' output between 1 and 65 bytes into a destination of size 49 snprintf(_finalstr, 49, "%s%s", filesum2, filesum1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msgs.c: In function 'CreateSecMSG': msgs.c:502:36: warning: '%s' directive output may be truncated writing up to 6145 bytes into a region of size between 6112 and 6144 [-Wformat-truncation=] snprintf(_finmsg, OS_MAXSTR,"%s%s",md5sum,_tmpmsg); ^~ ~~~~~~~ msgs.c:502:5: note: 'snprintf' output between 1 and 6178 bytes into a destination of size 6144 snprintf(_finmsg, OS_MAXSTR,"%s%s",md5sum,_tmpmsg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar cru shared.a *.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib shared.a ar cru os_crypto.a blowfish/bf_op.o blowfish/bf_skey.o blowfish/bf_enc.o md5/md5_op.o md5/md5.o sha1/sha1_op.o md5_sha1/md5_sha1_op.o shared/*.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib os_crypto.a *** Making shared *** cc -c -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"shared-libs\" -DOSSECHIDS *.c In file included from ../headers/shared.h:227, from file_op.c:18: file_op.c: In function 'rename_ex': ../error_messages/error_messages.h:50:23: warning: too many arguments for format [-Wformat-extra-args] #define RENAME_ERROR "%s(1124): ERROR: Unable to rename file: '%s'." ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../error_messages/error_messages.h:50:23: note: in definition of macro 'RENAME_ERROR' #define RENAME_ERROR "%s(1124): ERROR: Unable to rename file: '%s'." ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ validate_op.c: In function 'OS_IsValidTime': validate_op.c:703:28: warning: '%s' directive output may be truncated writing up to 6 bytes into a region of size between 5 and 11 [-Wformat-truncation=] snprintf(ret, 12, "%c%s%s", ng == 0?'.':'!', first_hour, second_hour); ^~ ~~~~~~~~~~~ validate_op.c:703:5: note: 'snprintf' output between 2 and 14 bytes into a destination of size 12 snprintf(ret, 12, "%c%s%s", ng == 0?'.':'!', first_hour, second_hour); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ validate_op.c:698:31: warning: '%s' directive output may be truncated writing up to 6 bytes into a region of size between 5 and 11 [-Wformat-truncation=] snprintf(ret, 12, "!%s%s", second_hour, first_hour); ^~ ~~~~~~~~~~ validate_op.c:698:9: note: 'snprintf' output between 2 and 14 bytes into a destination of size 12 snprintf(ret, 12, "!%s%s", second_hour, first_hour); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar cru lib_shared.a *.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib lib_shared.a *** Making config *** cc -c -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"ossec-config\" -DOSSECHIDS *.c ar cru lib_config.a *.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib lib_config.a *** Making os_maild *** cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"ossec-maild\" -DOSSECHIDS maild.c config.c os_maild_client.c sendmail.c mail_list.c ../config/lib_config.a ../shared/lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a -o ossec-maild os_maild_client.c: In function 'OS_RecvMailQ': os_maild_client.c:81:13: warning: 'strncat' specified bound 16 equals source length [-Wstringop-overflow=] strncat(logs, "Old md5sum was: ", 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_maild_client.c:92:13: warning: 'strncat' specified bound 16 equals source length [-Wstringop-overflow=] strncat(logs, "New md5sum is : ", 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_maild_client.c:103:13: warning: 'strncat' specified bound 17 equals source length [-Wstringop-overflow=] strncat(logs, "Old sha1sum was: ", 17); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_maild_client.c:114:13: warning: 'strncat' specified bound 17 equals source length [-Wstringop-overflow=] strncat(logs, "New sha1sum is : ", 17); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendmail.c: In function 'OS_Sendmail': sendmail.c:38:19: warning: '%s' directive output may be truncated writing up to 129 bytes into a region of size 118 [-Wformat-truncation=] #define SUBJECT "Subject: %s\r\n" ^~~~~~~~~~~~~~~~~ sendmail.c:547:32: note: in expansion of macro 'SUBJECT' snprintf(snd_msg, 127, SUBJECT, _g_subject); ^~~~~~~ sendmail.c:547:9: note: 'snprintf' output between 12 and 141 bytes into a destination of size 127 snprintf(snd_msg, 127, SUBJECT, _g_subject); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** Making os_dbd *** Compiling DB support with: cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"ossec-dbd\" -DOSSECHIDS *.c ../config/lib_config.a ../shared/lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a -o ossec-dbd *** Making os_csyslogd *** cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"ossec-csyslogd\" -DOSSECHIDS *.c ../config/lib_config.a ../shared/lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a ../external/libcJSON.a -lm -o ossec-csyslogd *** Making agentlessd *** cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"ossec-agentlessd\" -DOSSECHIDS *.c ../config/lib_config.a ../shared/lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a ../os_crypto/os_crypto.a -o ossec-agentlessd agentlessd.c: In function 'check_diff_file': agentlessd.c:254:45: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size between 1015 and 2039 [-Wformat-truncation=] snprintf(diff_cmd, 2048, "diff \"%s\" \"%s\" > \"%s/%s->%s/diff.%d\" " ^~ agentlessd.c:256:28: tmp_location, old_location, ~~~~~~~~~~~~ agentlessd.c:254:5: note: 'snprintf' output 70 or more bytes (assuming 2118) into a destination of size 2048 snprintf(diff_cmd, 2048, "diff \"%s\" \"%s\" > \"%s/%s->%s/diff.%d\" " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "2>/dev/null", ~~~~~~~~~~~~~~ tmp_location, old_location, ~~~~~~~~~~~~~~~~~~~~~~~~~~~ DIFF_DIR_PATH, host, script, date_of_change); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** Making os_execd *** cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"ossec-execd\" -DOSSECHIDS execd.c exec.c config.c ../shared/lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a -o ossec-execd cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"ossec-execd\" -DOSSECHIDS -c execd.c exec.c config.c *** Making analysisd *** cd ./cdb; make cc -I../ -g -Wall -I../../ -I../../headers -DLOCAL -DARGV0=\"cdb\" -DOSSECHIDS -c cdb.c cdb_hash.c cdb_make.c uint32_pack.c uint32_unpack.c ar cru cdb.a cdb.o cdb_hash.o cdb_make.o uint32_pack.o uint32_unpack.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ar cru cdb_make.a cdb.o cdb_hash.o cdb_make.o uint32_pack.o uint32_unpack.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib cdb.a ranlib cdb_make.a cd ./alerts; make cc -I../ -g -Wall -I../../ -I../../headers -DLOCAL -DARGV0=\"alerts\" -DOSSECHIDS -c mail.c log.c exec.c getloglocation.c ar cru alerts.a mail.o log.o exec.o getloglocation.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib alerts.a cd ./decoders; make cd plugins; make; cc -g -Wall -I../../../ -I../../../headers -DLOCAL -DARGV0=\"ossec-analysisd\" -DOSSECHIDS -I../../ -c *.c cc -g -Wall -I../../ -I../../headers -DLOCAL -DARGV0=\"ossec-analysisd\" -DOSSECHIDS -I../ -c *.c ar cru decoders.a *.o plugins/*.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib decoders.a cd ./compiled_rules; make; ./register_rule.sh build *Build completed. cc -g -Wall -I../../ -I../../headers -DLOCAL -DARGV0=\"ossec-analysisd\" -DOSSECHIDS -I../ -c *.c cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"ossec-analysisd\" -DOSSECHIDS -I./ analysisd.c stats.c lists.c lists_list.c rules.c rules_list.c config.c fts.c dodiff.c eventinfo.c eventinfo_list.c cleanevent.c active-response.c picviz.c prelude.c zeromq_output.c compiled_rules/*.o ../config/lib_config.a decoders/decoders.a cdb/cdb.a cdb/cdb_make.a alerts/alerts.a ../os_xml/os_xml.a ../os_regex/os_regex.a ../os_net/os_net.a ../shared/lib_shared.a ../os_zlib/os_zlib.c ../external/libz.a ../external/libcJSON.a -lm -o ossec-analysisd lists.c: In function 'Lists_OP_LoadList': lists.c:50:50: warning: '%s' directive output may be truncated writing up to 6143 bytes into a region of size 6137 [-Wformat-truncation=] snprintf(b_filename, OS_MAXSTR-1, "rules/%s", a_filename); ^~ ~~~~~~~~~~ lists.c:50:9: note: 'snprintf' output between 7 and 6150 bytes into a destination of size 6143 snprintf(b_filename, OS_MAXSTR-1, "rules/%s", a_filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lists.c:51:46: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(a_filename, OS_MAXSTR-1, "%s", b_filename); ^ lists.c:51:9: note: 'snprintf' output between 1 and 6144 bytes into a destination of size 6143 snprintf(a_filename, OS_MAXSTR-1, "%s", b_filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lists.c:56:46: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(a_filename, OS_MAXSTR-1, "%s", b_filename); ^ lists.c:56:9: note: 'snprintf' output between 1 and 6144 bytes into a destination of size 6143 snprintf(a_filename, OS_MAXSTR-1, "%s", b_filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lists.c:58:42: warning: '.cdb' directive output may be truncated writing 4 bytes into a region of size between 0 and 6143 [-Wformat-truncation=] snprintf(b_filename, OS_MAXSTR-1, "%s.cdb", a_filename); ^~~~ lists.c:58:5: note: 'snprintf' output between 5 and 6148 bytes into a destination of size 6143 snprintf(b_filename, OS_MAXSTR-1, "%s.cdb", a_filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ picviz.c: In function 'OS_PicvizLog': picviz.c:48:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!picviz_fp) ^~ picviz.c:52:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' hostname = lf->hostname ? lf->hostname : ""; ^~~~~~~~ cd ./cdb; make cc -I../ -g -Wall -I../../ -I../../headers -DLOCAL -DARGV0=\"cdb\" -DOSSECHIDS -c cdb.c cdb_hash.c cdb_make.c uint32_pack.c uint32_unpack.c ar cru cdb.a cdb.o cdb_hash.o cdb_make.o uint32_pack.o uint32_unpack.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ar cru cdb_make.a cdb.o cdb_hash.o cdb_make.o uint32_pack.o uint32_unpack.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib cdb.a ranlib cdb_make.a cd ./decoders; make logtest cd plugins; make; cc -g -Wall -I../../../ -I../../../headers -DLOCAL -DARGV0=\"ossec-analysisd\" -DOSSECHIDS -I../../ -c *.c cc -g -Wall -I../../ -I../../headers -DLOCAL -DARGV0=\"ossec-analysisd\" -DOSSECHIDS -DTESTRULE -I../ -c *.c ar cru decoders.a *.o plugins/*.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib decoders.a cd ./compiled_rules; make; ./register_rule.sh build *Build completed. cc -g -Wall -I../../ -I../../headers -DLOCAL -DARGV0=\"ossec-analysisd\" -DOSSECHIDS -I../ -c *.c cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"ossec-analysisd\" -DOSSECHIDS -DTESTRULE -I./ testrule.c analysisd.c stats.c lists.c lists_list.c rules.c rules_list.c config.c fts.c dodiff.c eventinfo.c eventinfo_list.c cleanevent.c active-response.c picviz.c prelude.c zeromq_output.c compiled_rules/*.o ../config/lib_config.a decoders/decoders.a cdb/cdb.a cdb/cdb_make.a alerts/alerts.a ../os_xml/os_xml.a ../os_regex/os_regex.a ../os_net/os_net.a ../shared/lib_shared.a ../os_zlib/os_zlib.c ../external/libz.a ../external/libcJSON.a -lm -o ossec-logtest lists.c: In function 'Lists_OP_LoadList': lists.c:50:50: warning: '%s' directive output may be truncated writing up to 6143 bytes into a region of size 6137 [-Wformat-truncation=] snprintf(b_filename, OS_MAXSTR-1, "rules/%s", a_filename); ^~ ~~~~~~~~~~ lists.c:50:9: note: 'snprintf' output between 7 and 6150 bytes into a destination of size 6143 snprintf(b_filename, OS_MAXSTR-1, "rules/%s", a_filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lists.c:51:46: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(a_filename, OS_MAXSTR-1, "%s", b_filename); ^ lists.c:51:9: note: 'snprintf' output between 1 and 6144 bytes into a destination of size 6143 snprintf(a_filename, OS_MAXSTR-1, "%s", b_filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lists.c:56:46: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(a_filename, OS_MAXSTR-1, "%s", b_filename); ^ lists.c:56:9: note: 'snprintf' output between 1 and 6144 bytes into a destination of size 6143 snprintf(a_filename, OS_MAXSTR-1, "%s", b_filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lists.c:58:42: warning: '.cdb' directive output may be truncated writing 4 bytes into a region of size between 0 and 6143 [-Wformat-truncation=] snprintf(b_filename, OS_MAXSTR-1, "%s.cdb", a_filename); ^~~~ lists.c:58:5: note: 'snprintf' output between 5 and 6148 bytes into a destination of size 6143 snprintf(b_filename, OS_MAXSTR-1, "%s.cdb", a_filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ picviz.c: In function 'OS_PicvizLog': picviz.c:48:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!picviz_fp) ^~ picviz.c:52:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' hostname = lf->hostname ? lf->hostname : ""; ^~~~~~~~ cd ./cdb; make cc -I../ -g -Wall -I../../ -I../../headers -DLOCAL -DARGV0=\"cdb\" -DOSSECHIDS -c cdb.c cdb_hash.c cdb_make.c uint32_pack.c uint32_unpack.c ar cru cdb.a cdb.o cdb_hash.o cdb_make.o uint32_pack.o uint32_unpack.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ar cru cdb_make.a cdb.o cdb_hash.o cdb_make.o uint32_pack.o uint32_unpack.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib cdb.a ranlib cdb_make.a cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"ossec-analysisd\" -DOSSECHIDS -DTESTRULE -I./ makelists.c lists_make.c stats.c lists.c lists_list.c rules.c rules_list.c config.c fts.c dodiff.c eventinfo.c eventinfo_list.c cleanevent.c active-response.c picviz.c prelude.c zeromq_output.c compiled_rules/*.o ../config/lib_config.a decoders/decoders.a cdb/cdb.a cdb/cdb_make.a alerts/alerts.a ../os_xml/os_xml.a ../os_regex/os_regex.a ../os_net/os_net.a ../shared/lib_shared.a ../os_zlib/os_zlib.c ../external/libz.a ../external/libcJSON.a -lm -o ossec-makelists lists.c: In function 'Lists_OP_LoadList': lists.c:50:50: warning: '%s' directive output may be truncated writing up to 6143 bytes into a region of size 6137 [-Wformat-truncation=] snprintf(b_filename, OS_MAXSTR-1, "rules/%s", a_filename); ^~ ~~~~~~~~~~ lists.c:50:9: note: 'snprintf' output between 7 and 6150 bytes into a destination of size 6143 snprintf(b_filename, OS_MAXSTR-1, "rules/%s", a_filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lists.c:51:46: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(a_filename, OS_MAXSTR-1, "%s", b_filename); ^ lists.c:51:9: note: 'snprintf' output between 1 and 6144 bytes into a destination of size 6143 snprintf(a_filename, OS_MAXSTR-1, "%s", b_filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lists.c:56:46: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(a_filename, OS_MAXSTR-1, "%s", b_filename); ^ lists.c:56:9: note: 'snprintf' output between 1 and 6144 bytes into a destination of size 6143 snprintf(a_filename, OS_MAXSTR-1, "%s", b_filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lists.c:58:42: warning: '.cdb' directive output may be truncated writing 4 bytes into a region of size between 0 and 6143 [-Wformat-truncation=] snprintf(b_filename, OS_MAXSTR-1, "%s.cdb", a_filename); ^~~~ lists.c:58:5: note: 'snprintf' output between 5 and 6148 bytes into a destination of size 6143 snprintf(b_filename, OS_MAXSTR-1, "%s.cdb", a_filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ picviz.c: In function 'OS_PicvizLog': picviz.c:48:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!picviz_fp) ^~ picviz.c:52:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' hostname = lf->hostname ? lf->hostname : ""; ^~~~~~~~ *** Making logcollector *** cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"ossec-logcollector\" -DOSSECHIDS -DARGV0=\"ossec-logcollector\" *.c ../config/lib_config.a ../shared/lib_shared.a ../os_xml/os_xml.a ../os_regex/os_regex.a ../os_net/os_net.a ../os_crypto/os_crypto.a -o ossec-logcollector read_syslog.c: In function 'read_syslog': read_syslog.c:110:37: warning: '%s' directive output may be truncated writing up to 6144 bytes into a region of size 4096 [-Wformat-truncation=] snprintf(buf, OUTSIZE, "%s", str); ^~ ~~~ read_syslog.c:110:13: note: 'snprintf' output between 1 and 6145 bytes into a destination of size 4096 snprintf(buf, OUTSIZE, "%s", str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** Making remoted *** cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"ossec-remoted\" -DOSSECHIDS *.c ../config/lib_config.a ../os_zlib/os_zlib.c ../external/libz.a ../os_crypto/os_crypto.a ../shared/lib_shared.a ../os_net/os_net.a ../os_xml/os_xml.a ../os_regex/os_regex.a -pthread -o ossec-remoted *** Making client-agent *** cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"ossec-agentd\" -DOSSECHIDS *.c ../config/lib_config.a ../os_zlib/os_zlib.c ../external/libz.a ../os_crypto/os_crypto.a ../shared/lib_shared.a ../os_xml/os_xml.a ../os_regex/os_regex.a ../os_net/os_net.a -DCLIENT -o ossec-agentd notify.c: In function 'run_notify': notify.c:154:58: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 984 and 1016 [-Wformat-truncation=] snprintf(tmp_msg, OS_SIZE_1024, "#!-%s / %s\n%s\n%s", ^~ uname, md5sum, shared_files, keep_alive_random); ~~~~~~~~~~~~~~~~~ notify.c:154:9: note: 'snprintf' output 9 or more bytes (assuming 1064) into a destination of size 1024 snprintf(tmp_msg, OS_SIZE_1024, "#!-%s / %s\n%s\n%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uname, md5sum, shared_files, keep_alive_random); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ notify.c:159:53: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1019 [-Wformat-truncation=] snprintf(tmp_msg, OS_SIZE_1024, "#!-%s\n%s\n%s", ^~ uname, shared_files, keep_alive_random); ~~~~~~~~~~~~~~~~~ notify.c:159:9: note: 'snprintf' output 6 or more bytes (assuming 1029) into a destination of size 1024 snprintf(tmp_msg, OS_SIZE_1024, "#!-%s\n%s\n%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uname, shared_files, keep_alive_random); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ start_agent.c: In function 'start_agent': start_agent.c:236:58: warning: '%s' directive output may be truncated writing up to 6145 bytes into a region of size 6136 [-Wformat-truncation=] snprintf(fmsg, OS_MAXSTR, "%c:%s:%s", LOCALFILE_MQ, ^~ "ossec", msg); ~~~ start_agent.c:236:25: note: 'snprintf' output between 9 and 6154 bytes into a destination of size 6144 snprintf(fmsg, OS_MAXSTR, "%c:%s:%s", LOCALFILE_MQ, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "ossec", msg); ~~~~~~~~~~~~~ *** Making addagent *** cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"manage_agents\" -DOSSECHIDS *.c ../shared/lib_shared.a ../os_regex/os_regex.a ../os_zlib/os_zlib.c ../external/libz.a ../os_crypto/os_crypto.a ../os_net/os_net.a -o manage_agents manage_agents.c: In function 'add_agent': manage_agents.c:294:37: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] snprintf(str1, STR_SIZE, "%d%s%d",time3-time2, name, rand1); ^~ ~~~~ manage_agents.c:294:9: note: 'snprintf' output between 3 and 280 bytes into a destination of size 66 snprintf(str1, STR_SIZE, "%d%s%d",time3-time2, name, rand1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ manage_agents.c:295:37: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] snprintf(str2, STR_SIZE, "%d%s%s%d", time2-time1, ip, id, rand2); ^~ ~~ manage_agents.c:295:9: note: 'snprintf' output between 3 and 537 bytes into a destination of size 66 snprintf(str2, STR_SIZE, "%d%s%s%d", time2-time1, ip, id, rand2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ manage_keys.c: In function 'k_bulkload': manage_keys.c:486:38: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] snprintf(str1, STR_SIZE, "%d%s%d",time3-time2, name, rand1); ^~ ~~~~ manage_keys.c:486:10: note: 'snprintf' output between 3 and 280 bytes into a destination of size 66 snprintf(str1, STR_SIZE, "%d%s%d",time3-time2, name, rand1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ manage_keys.c:487:38: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] snprintf(str2, STR_SIZE, "%d%s%s%d", time2-time1, ip, id, rand2); ^~ ~~ manage_keys.c:487:10: note: 'snprintf' output between 3 and 537 bytes into a destination of size 66 snprintf(str2, STR_SIZE, "%d%s%s%d", time2-time1, ip, id, rand2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** Making util *** cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"util\" -DOSSECHIDS ../addagent/manage_agents.c ../addagent/manage_keys.c ../addagent/validate.c ../addagent/read_from_user.c ../addagent/b64.c syscheck_update.c ../os_zlib/os_zlib.c ../external/libz.a ../os_crypto/os_crypto.a ../shared/lib_shared.a ../os_regex/os_regex.a ../os_net/os_net.a -o syscheck_update ../addagent/manage_agents.c: In function 'add_agent': ../addagent/manage_agents.c:294:37: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] snprintf(str1, STR_SIZE, "%d%s%d",time3-time2, name, rand1); ^~ ~~~~ ../addagent/manage_agents.c:294:9: note: 'snprintf' output between 3 and 280 bytes into a destination of size 66 snprintf(str1, STR_SIZE, "%d%s%d",time3-time2, name, rand1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../addagent/manage_agents.c:295:37: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] snprintf(str2, STR_SIZE, "%d%s%s%d", time2-time1, ip, id, rand2); ^~ ~~ ../addagent/manage_agents.c:295:9: note: 'snprintf' output between 3 and 537 bytes into a destination of size 66 snprintf(str2, STR_SIZE, "%d%s%s%d", time2-time1, ip, id, rand2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../addagent/manage_keys.c: In function 'k_bulkload': ../addagent/manage_keys.c:486:38: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] snprintf(str1, STR_SIZE, "%d%s%d",time3-time2, name, rand1); ^~ ~~~~ ../addagent/manage_keys.c:486:10: note: 'snprintf' output between 3 and 280 bytes into a destination of size 66 snprintf(str1, STR_SIZE, "%d%s%d",time3-time2, name, rand1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../addagent/manage_keys.c:487:38: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] snprintf(str2, STR_SIZE, "%d%s%s%d", time2-time1, ip, id, rand2); ^~ ~~ ../addagent/manage_keys.c:487:10: note: 'snprintf' output between 3 and 537 bytes into a destination of size 66 snprintf(str2, STR_SIZE, "%d%s%s%d", time2-time1, ip, id, rand2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"util\" -DOSSECHIDS clear_stats.c ../os_zlib/os_zlib.c ../external/libz.a ../os_crypto/os_crypto.a ../shared/lib_shared.a ../os_regex/os_regex.a ../os_net/os_net.a -o clear_stats clear_stats.c: In function 'main': clear_stats.c:182:51: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 6144 [-Wformat-truncation=] snprintf(full_path, OS_MAXSTR, "%s/%s", dir_path, ^ clear_stats.c:182:17: note: 'snprintf' output between 2 and 6401 bytes into a destination of size 6144 snprintf(full_path, OS_MAXSTR, "%s/%s", dir_path, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ entry->d_name); ~~~~~~~~~~~~~~ cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"util\" -DOSSECHIDS list_agents.c ../os_zlib/os_zlib.c ../external/libz.a ../os_crypto/os_crypto.a ../shared/lib_shared.a ../os_regex/os_regex.a ../os_net/os_net.a -o list_agents cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"util\" -DOSSECHIDS verify-agent-conf.c ../config/lib_config.a ../os_zlib/os_zlib.c ../external/libz.a ../os_crypto/os_crypto.a ../shared/lib_shared.a ../os_regex/os_regex.a ../os_net/os_net.a ../os_xml/os_xml.a -o verify-agent-conf cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"util\" -DOSSECHIDS ../addagent/manage_agents.c ../addagent/manage_keys.c ../addagent/validate.c ../addagent/read_from_user.c ../addagent/b64.c agent_control.c ../os_zlib/os_zlib.c ../external/libz.a ../os_crypto/os_crypto.a ../shared/lib_shared.a ../os_regex/os_regex.a ../os_net/os_net.a -o agent_control ../addagent/manage_agents.c: In function 'add_agent': ../addagent/manage_agents.c:294:37: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] snprintf(str1, STR_SIZE, "%d%s%d",time3-time2, name, rand1); ^~ ~~~~ ../addagent/manage_agents.c:294:9: note: 'snprintf' output between 3 and 280 bytes into a destination of size 66 snprintf(str1, STR_SIZE, "%d%s%d",time3-time2, name, rand1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../addagent/manage_agents.c:295:37: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] snprintf(str2, STR_SIZE, "%d%s%s%d", time2-time1, ip, id, rand2); ^~ ~~ ../addagent/manage_agents.c:295:9: note: 'snprintf' output between 3 and 537 bytes into a destination of size 66 snprintf(str2, STR_SIZE, "%d%s%s%d", time2-time1, ip, id, rand2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../addagent/manage_keys.c: In function 'k_bulkload': ../addagent/manage_keys.c:486:38: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] snprintf(str1, STR_SIZE, "%d%s%d",time3-time2, name, rand1); ^~ ~~~~ ../addagent/manage_keys.c:486:10: note: 'snprintf' output between 3 and 280 bytes into a destination of size 66 snprintf(str1, STR_SIZE, "%d%s%d",time3-time2, name, rand1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../addagent/manage_keys.c:487:38: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] snprintf(str2, STR_SIZE, "%d%s%s%d", time2-time1, ip, id, rand2); ^~ ~~ ../addagent/manage_keys.c:487:10: note: 'snprintf' output between 3 and 537 bytes into a destination of size 66 snprintf(str2, STR_SIZE, "%d%s%s%d", time2-time1, ip, id, rand2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agent_control.c: In function 'main': agent_control.c:322:42: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(final_ip, 128, "%s%s",keys.keyentries[agt_id]->ip->ip, ^ agent_control.c:322:13: note: 'snprintf' output 1 or more bytes (assuming 129) into a destination of size 128 snprintf(final_ip, 128, "%s%s",keys.keyentries[agt_id]->ip->ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ final_mask); ~~~~~~~~~~~ cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"util\" -DOSSECHIDS ../addagent/manage_agents.c ../addagent/manage_keys.c ../addagent/validate.c ../addagent/read_from_user.c ../addagent/b64.c syscheck_control.c ../os_zlib/os_zlib.c ../external/libz.a ../os_crypto/os_crypto.a ../shared/lib_shared.a ../os_regex/os_regex.a ../os_net/os_net.a -o syscheck_control ../addagent/manage_agents.c: In function 'add_agent': ../addagent/manage_agents.c:294:37: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] snprintf(str1, STR_SIZE, "%d%s%d",time3-time2, name, rand1); ^~ ~~~~ ../addagent/manage_agents.c:294:9: note: 'snprintf' output between 3 and 280 bytes into a destination of size 66 snprintf(str1, STR_SIZE, "%d%s%d",time3-time2, name, rand1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../addagent/manage_agents.c:295:37: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] snprintf(str2, STR_SIZE, "%d%s%s%d", time2-time1, ip, id, rand2); ^~ ~~ ../addagent/manage_agents.c:295:9: note: 'snprintf' output between 3 and 537 bytes into a destination of size 66 snprintf(str2, STR_SIZE, "%d%s%s%d", time2-time1, ip, id, rand2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../addagent/manage_keys.c: In function 'k_bulkload': ../addagent/manage_keys.c:486:38: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] snprintf(str1, STR_SIZE, "%d%s%d",time3-time2, name, rand1); ^~ ~~~~ ../addagent/manage_keys.c:486:10: note: 'snprintf' output between 3 and 280 bytes into a destination of size 66 snprintf(str1, STR_SIZE, "%d%s%d",time3-time2, name, rand1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../addagent/manage_keys.c:487:38: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] snprintf(str2, STR_SIZE, "%d%s%s%d", time2-time1, ip, id, rand2); ^~ ~~ ../addagent/manage_keys.c:487:10: note: 'snprintf' output between 3 and 537 bytes into a destination of size 66 snprintf(str2, STR_SIZE, "%d%s%s%d", time2-time1, ip, id, rand2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ syscheck_control.c: In function 'main': syscheck_control.c:355:42: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(final_ip, 128, "%s%s",keys.keyentries[i]->ip->ip, ^ syscheck_control.c:355:13: note: 'snprintf' output 1 or more bytes (assuming 129) into a destination of size 128 snprintf(final_ip, 128, "%s%s",keys.keyentries[i]->ip->ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ final_mask); ~~~~~~~~~~~ cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"util\" -DOSSECHIDS ../addagent/manage_agents.c ../addagent/manage_keys.c ../addagent/validate.c ../addagent/read_from_user.c ../addagent/b64.c rootcheck_control.c ../os_zlib/os_zlib.c ../external/libz.a ../os_crypto/os_crypto.a ../shared/lib_shared.a ../os_regex/os_regex.a ../os_net/os_net.a -o rootcheck_control ../addagent/manage_agents.c: In function 'add_agent': ../addagent/manage_agents.c:294:37: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] snprintf(str1, STR_SIZE, "%d%s%d",time3-time2, name, rand1); ^~ ~~~~ ../addagent/manage_agents.c:294:9: note: 'snprintf' output between 3 and 280 bytes into a destination of size 66 snprintf(str1, STR_SIZE, "%d%s%d",time3-time2, name, rand1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../addagent/manage_agents.c:295:37: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] snprintf(str2, STR_SIZE, "%d%s%s%d", time2-time1, ip, id, rand2); ^~ ~~ ../addagent/manage_agents.c:295:9: note: 'snprintf' output between 3 and 537 bytes into a destination of size 66 snprintf(str2, STR_SIZE, "%d%s%s%d", time2-time1, ip, id, rand2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../addagent/manage_keys.c: In function 'k_bulkload': ../addagent/manage_keys.c:486:38: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] snprintf(str1, STR_SIZE, "%d%s%d",time3-time2, name, rand1); ^~ ~~~~ ../addagent/manage_keys.c:486:10: note: 'snprintf' output between 3 and 280 bytes into a destination of size 66 snprintf(str1, STR_SIZE, "%d%s%d",time3-time2, name, rand1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../addagent/manage_keys.c:487:38: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] snprintf(str2, STR_SIZE, "%d%s%s%d", time2-time1, ip, id, rand2); ^~ ~~ ../addagent/manage_keys.c:487:10: note: 'snprintf' output between 3 and 537 bytes into a destination of size 66 snprintf(str2, STR_SIZE, "%d%s%s%d", time2-time1, ip, id, rand2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck_control.c: In function 'main': rootcheck_control.c:318:42: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(final_ip, 128, "%s%s",keys.keyentries[i]->ip->ip, ^ rootcheck_control.c:318:13: note: 'snprintf' output 1 or more bytes (assuming 129) into a destination of size 128 snprintf(final_ip, 128, "%s%s",keys.keyentries[i]->ip->ip, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ final_mask); ~~~~~~~~~~~ cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"util\" -DOSSECHIDS ossec-regex.c ../os_zlib/os_zlib.c ../external/libz.a ../os_crypto/os_crypto.a ../shared/lib_shared.a ../os_regex/os_regex.a ../os_net/os_net.a -o ossec-regex *** Making rootcheck *** cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"ossec-rootcheck\" -DOSSECHIDS -c check_open_ports.c check_rc_pids.c check_rc_trojans.c run_rk_check.c check_rc_dev.c check_rc_ports.c check_rc_policy.c common.c common_rcl.c win-common.c unix-process.c check_rc_files.c check_rc_readproc.c os_string.c check_rc_if.c check_rc_sys.c rootcheck.c config.c -D_GNU_SOURCE check_rc_pids.c: In function 'check_rc_pids': check_rc_pids.c:377:40: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 974 [-Wformat-truncation=] snprintf(op_msg, OS_SIZE_1024, "No hidden process by Kernel-level " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_rc_pids.c:379:63: "Analyzed %d processes.", ps, _total); ~~ check_rc_pids.c:378:55: note: format string is defined here "rootkits.\n %s is not trojaned. " ^~ check_rc_pids.c:377:9: note: 'snprintf' output between 90 and 1124 bytes into a destination of size 1024 snprintf(op_msg, OS_SIZE_1024, "No hidden process by Kernel-level " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "rootkits.\n %s is not trojaned. " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Analyzed %d processes.", ps, _total); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check_rc_trojans.c: In function 'check_rc_trojans': check_rc_trojans.c:119:48: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 998 [-Wformat-truncation=] snprintf(op_msg, OS_SIZE_1024, "Trojaned version of file " ^~~~~~~~~~~~~~~~~~~~~~~~~~~ check_rc_trojans.c:121:41: file_path, ~~~~~~~~~ check_rc_trojans.c:120:27: note: format string is defined here "'%s' detected. Signature used: '%s' (%s).", ^~ check_rc_trojans.c:119:17: note: 'snprintf' output 61 or more bytes (assuming 1085) into a destination of size 1024 snprintf(op_msg, OS_SIZE_1024, "Trojaned version of file " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "'%s' detected. Signature used: '%s' (%s).", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file_path, ~~~~~~~~~~ string_to_look, ~~~~~~~~~~~~~~~ *message == '\0'? ~~~~~~~~~~~~~~~~~ "Generic":message); ~~~~~~~~~~~~~~~~~~ check_rc_files.c: In function 'check_rc_files': check_rc_files.c:200:44: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 979 [-Wformat-truncation=] snprintf(op_msg, OS_SIZE_1024, "Rootkit '%s' detected " ^~~~~~~~~~~~~~~~~~~~~~~~ "by the presence of file '%s'.",name, file_path); ~~~~~~~~~ check_rc_files.c:201:48: note: format string is defined here "by the presence of file '%s'.",name, file_path); ^~ check_rc_files.c:200:13: note: 'snprintf' output 48 or more bytes (assuming 1072) into a destination of size 1024 snprintf(op_msg, OS_SIZE_1024, "Rootkit '%s' detected " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "by the presence of file '%s'.",name, file_path); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar cru rootcheck_lib.a *.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') ranlib rootcheck_lib.a *** Making syscheckd *** cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"ossec-syscheckd\" -DOSSECHIDS syscheck.c config.c seechanges.c run_realtime.c create_db.c run_check.c ../config/lib_config.a ../rootcheck/rootcheck_lib.a ../shared/lib_shared.a ../os_xml/os_xml.a ../os_regex/os_regex.a ../os_net/os_net.a ../os_crypto/os_crypto.a -o ossec-syscheckd seechanges.c: In function 'gen_diff_alert': seechanges.c:111:36: warning: '%s' directive output may be truncated writing up to 6144 bytes into a region of size 4095 [-Wformat-truncation=] snprintf(diff_alert, 4096 -1, "%s%s", ^~ buf, n>=19? ~~~ seechanges.c:111:5: note: 'snprintf' output 1 or more bytes (assuming 6145) into a destination of size 4095 snprintf(diff_alert, 4096 -1, "%s%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buf, n>=19? ~~~~~~~~~~~ "\nMore changes..": ~~~~~~~~~~~~~~~~~~~ ""); ~~~ seechanges.c: In function 'seechanges_addfile': seechanges.c:376:17: warning: '%s' directive output may be truncated writing up to 6144 bytes into a region of size 2042 [-Wformat-truncation=] "diff \"%s\" \"%s\" > \"%s\" 2> /dev/null", ^~ new_tmp, ~~~~~~~ seechanges.c:373:5: note: 'snprintf' output between 29 and 18461 bytes into a destination of size 2048 snprintf( ^~~~~~~~~ diff_cmd, ~~~~~~~~~ 2048, ~~~~~ "diff \"%s\" \"%s\" > \"%s\" 2> /dev/null", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ new_tmp, ~~~~~~~~ old_tmp, ~~~~~~~~ diff_tmp ~~~~~~~~ ); ~ *** Making monitord *** cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"ossec-monitord\" -DOSSECHIDS compress_log.c main.c manage_files.c monitor_agents.c monitord.c sign_log.c generate_reports.c ../os_maild/sendcustomemail.c ../config/lib_config.a ../shared/lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a ../os_crypto/os_crypto.a ../os_zlib/os_zlib.c ../external/libz.a -o ossec-monitord cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"ossec-monitord\" -DOSSECHIDS -UARGV0 -DARGV0=\"ossec-reportd\" report.c ../config/lib_config.a ../shared/lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a ../os_crypto/os_crypto.a ../os_zlib/os_zlib.c ../external/libz.a -o ossec-reportd *** Making os_auth *** cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"ossec-authd\" -DOSSECHIDS main-server.c ssl.c ../addagent/validate.c ../config/lib_config.a ../shared/lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a ../os_crypto/os_crypto.a ../os_zlib/os_zlib.c ../external/libz.a -o ossec-authd cc -g -Wall -I../ -I../headers -DLOCAL -DARGV0=\"ossec-authd\" -DOSSECHIDS main-client.c ssl.c ../addagent/validate.c ../config/lib_config.a ../shared/lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a ../os_crypto/os_crypto.a ../os_zlib/os_zlib.c ../external/libz.a -o agent-auth cp -pr ossec-maild ../../bin cp -pr ossec-dbd ../../bin cp -pr ossec-csyslogd ../../bin cp -pr ossec-agentlessd ../../bin cp -pr ossec-execd ../../bin cp -pr ossec-analysisd ../../bin cp -pr ossec-logtest ../../bin cp -pr ossec-makelists ../../bin cp -pr ossec-logcollector ../../bin cp -pr ossec-remoted ../../bin cp -pr ossec-agentd ../../bin cp -pr manage_agents ../../bin cp -pr manage_agents ../../bin cp -pr syscheck_update clear_stats list_agents syscheck_control rootcheck_control agent_control verify-agent-conf ossec-regex ../../bin cp -pr ossec-syscheckd ../../bin cp -pr ossec-monitord ../../bin cp -pr ossec-reportd ../../bin cp -pr ossec-authd ../../bin cp -pr agent-auth ossec-authd ../../bin -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> ossec-hids-local-2.8.3_1 depends on executable: expect - not found ===> Installing existing package /packages/All/expect-5.45.4,1.txz Installing expect-5.45.4,1... `-- Installing tcl86-8.6.8... `-- Extracting tcl86-8.6.8: .......... done Extracting expect-5.45.4,1: .......... done ===> ossec-hids-local-2.8.3_1 depends on executable: expect - found ===> Returning to build of ossec-hids-local-2.8.3_1 ===> ossec-hids-local-2.8.3_1 depends on file: /usr/local/lib/libcrypto.so.43 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for ossec-hids-local-2.8.3_1 ===> Generating temporary packing list ===> Creating groups. ===> Creating users /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/ossec-luac /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/agent_control /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/ossec-lua /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/ossec-dbd /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/ossec-regex /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/ossec-monitord /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/ossec-makelists /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/verify-agent-conf /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/ossec-analysisd /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/ossec-agentlessd /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/syscheck_control /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/ossec-execd /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/manage_agents /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/ossec-csyslogd /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/ossec-syscheckd /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/ossec-logtest /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/ossec-authd /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/ossec-logcollector /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/list_agents /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/ossec-maild /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/clear_stats /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/ossec-remoted /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/ossec-reportd /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/rootcheck_control /usr/bin/strip /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/bin/syscheck_update /bin/cp /construction/security/ossec-hids-local/ossec-hids-2.8.3/etc/ossec-local.conf /construction/security/ossec-hids-local/stage/usr/local/ossec-hids/etc/ossec.conf.sample ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for ossec-hids-local-2.8.3_1 file sizes/checksums [130]: .. done packing files [130]: .. done packing directories [27]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 30 AUG 2018 at 20:43:55 UTC Duration: 00:00:42