<86>May 5 11:42:32 userdel[3466523]: delete user 'rooter' <86>May 5 11:42:32 userdel[3466523]: removed group 'rooter' owned by 'rooter' <86>May 5 11:42:32 userdel[3466523]: removed shadow group 'rooter' owned by 'rooter' <86>May 5 11:42:32 groupadd[3466792]: group added to /etc/group: name=rooter, GID=1286 <86>May 5 11:42:32 groupadd[3466792]: group added to /etc/gshadow: name=rooter <86>May 5 11:42:32 groupadd[3466792]: new group: name=rooter, GID=1286 <86>May 5 11:42:32 useradd[3466838]: new user: name=rooter, UID=1286, GID=1286, home=/root, shell=/bin/bash <86>May 5 11:42:32 userdel[3466902]: delete user 'builder' <86>May 5 11:42:32 userdel[3466902]: removed group 'builder' owned by 'builder' <86>May 5 11:42:32 userdel[3466902]: removed shadow group 'builder' owned by 'builder' <86>May 5 11:42:32 groupadd[3467068]: group added to /etc/group: name=builder, GID=1287 <86>May 5 11:42:32 groupadd[3467068]: group added to /etc/gshadow: name=builder <86>May 5 11:42:32 groupadd[3467068]: new group: name=builder, GID=1287 <86>May 5 11:42:32 useradd[3467136]: new user: name=builder, UID=1287, GID=1287, home=/usr/src, shell=/bin/bash warning: ignored self-provides: ossec-hids-server = 3.1.0-alt1 <13>May 5 11:42:39 rpmi: GeoIP-Lite-Country-1:20180327-alt1 1522192520 installed <13>May 5 11:42:39 rpmi: libGeoIP-1.6.12-alt1 1516269293 installed <13>May 5 11:42:39 rpmi: lua5.3-5.3.5-alt2 p9+237798.100.1.1 1568845217 installed <13>May 5 11:42:39 rpmi: libjson-c4-0.13.1-alt2 p9+254507.100.1.1 1593876138 installed <13>May 5 11:42:39 rpmi: openldap-common-2.4.59-alt0.p9.1 p9+281540.300.5.1 1629898589 installed <13>May 5 11:42:39 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>May 5 11:42:39 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>May 5 11:42:39 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <13>May 5 11:42:39 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>May 5 11:42:39 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>May 5 11:42:39 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 5 11:42:39 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 5 11:42:39 rpmi: ca-certificates-2021.10.06-alt1 p9+289862.100.1.1 1637033643 installed <13>May 5 11:42:39 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>May 5 11:42:39 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>May 5 11:42:39 rpmi: libcrypto1.1-1.1.1u-alt1 p9+322202.100.1.1 1685863283 installed <13>May 5 11:42:39 rpmi: libssl1.1-1.1.1u-alt1 p9+322202.100.1.1 1685863283 installed <86>May 5 11:42:40 groupadd[3483470]: group added to /etc/group: name=_keytab, GID=499 <86>May 5 11:42:40 groupadd[3483470]: group added to /etc/gshadow: name=_keytab <86>May 5 11:42:40 groupadd[3483470]: new group: name=_keytab, GID=499 <13>May 5 11:42:40 rpmi: libkrb5-1.17.2-alt5 p9+325691.100.1.1 1690460821 installed <86>May 5 11:42:40 groupadd[3483621]: group added to /etc/group: name=sasl, GID=498 <86>May 5 11:42:40 groupadd[3483621]: group added to /etc/gshadow: name=sasl <86>May 5 11:42:40 groupadd[3483621]: new group: name=sasl, GID=498 <13>May 5 11:42:40 rpmi: libsasl2-3-2.1.27-alt2.1 p9+256192.100.1.1 1597226707 installed <13>May 5 11:42:40 rpmi: libldap-2.4.59-alt0.p9.1 p9+281540.300.5.1 1629898589 installed <13>May 5 11:42:40 rpmi: libpq5-12.18-alt0.M90P.1 p9+340804.100.1.1 1708062937 installed <13>May 5 11:42:40 rpmi: libecpg6-12.18-alt0.M90P.1 p9+340804.100.1.1 1708062937 installed <13>May 5 11:42:40 rpmi: libmysqlclient21-8.0.26-alt2 p9+285672.100.2.1 1633105645 installed <13>May 5 11:42:40 rpmi: libmysqlclient21-devel-8.0.26-alt2 p9+285672.100.2.1 1633105645 installed <13>May 5 11:42:40 rpmi: postgresql-devel-12.18-alt0.M90P.1 p9+340804.100.1.1 1708062937 installed <13>May 5 11:42:40 rpmi: libjson-c-devel-0.13.1-alt2 p9+254507.100.1.1 1593876138 installed <13>May 5 11:42:40 rpmi: liblua5.3-devel-5.3.5-alt2 p9+237798.100.1.1 1568845217 installed <13>May 5 11:42:40 rpmi: libGeoIP-devel-1.6.12-alt1 1516269293 installed <13>May 5 11:42:40 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed warning: ignored self-provides: ossec-hids-server = 3.1.0-alt1 Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/ossec-hids-3.1.0-alt1.nosrc.rpm (w1.gzdio) warning: ignored self-provides: ossec-hids-server = 3.1.0-alt1 Installing ossec-hids-3.1.0-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.14614 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ossec-hids-3.1.0 + echo 'Source #0 (ossec-hids-3.1.0.tar):' Source #0 (ossec-hids-3.1.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/ossec-hids-3.1.0.tar + cd ossec-hids-3.1.0 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (ossec-hids-2.9.3-alt-fhs-compliance.patch):' Patch #1 (ossec-hids-2.9.3-alt-fhs-compliance.patch): + /usr/bin/patch -p1 patching file src/init/ossec-client.sh Hunk #1 succeeded at 7 with fuzz 2. patching file src/init/ossec-server.sh Hunk #1 succeeded at 8 with fuzz 1. Hunk #4 succeeded at 247 (offset 17 lines). Hunk #5 succeeded at 276 (offset 17 lines). + echo 'Patch #2 (ossec-hids-2.9.3-alt-email-conf.patch):' Patch #2 (ossec-hids-2.9.3-alt-email-conf.patch): + /usr/bin/patch -p1 patching file etc/ossec-server.conf + sed -i 's|/var/ossec|/var/lib/ossec|' src/LOCATION + sed -i 's|/var/ossec|/var/lib/ossec|' src/headers/defs.h + sed -i 's|/var/ossec|/var/lib/ossec|' src/Makefile + sed -i 's|/var/ossec|/var/lib/ossec|' doc/nmap.txt + sed -i 's|/var/ossec|/var/lib/ossec|' contrib/ossec-testing/runtests.py + sed -i 's|/var/ossec|/var/lib/ossec|' contrib/add_localfile.sh + sed -i 's|/var/ossec|\/usr|' src/systemd/server/ossec-agentless.service src/systemd/server/ossec-analysisd.service src/systemd/server/ossec-csyslog.service src/systemd/server/ossec-dbd.service src/systemd/server/ossec-execd.service src/systemd/server/ossec-logcollector.service src/systemd/server/ossec-maild.service src/systemd/server/ossec-monitord.service src/systemd/server/ossec-remoted.service src/systemd/server/ossec-syscheckd.service + rm -rf contrib/specs/ + rm -rf contrib/debian-packages/ + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.6389 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ossec-hids-3.1.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2' + LDFLAGS='-fPIE -pie -Wl,-z,relro' + SH_LDFLAGS='-fPIE -pie -Wl,-z,relro' + export CFLAGS LDFLAGS SH_LDFLAGS + pushd ./src ~/RPM/BUILD/ossec-hids-3.1.0/src ~/RPM/BUILD/ossec-hids-3.1.0 + mkdir -p clients/ + make -j8 TARGET=agent V=1 cd external/zlib-1.2.11/ && ./configure && make libz.a cd external/lua-5.2.3/ && make posix cd src && make posix make all SYSCFLAGS="-DLUA_USE_POSIX" Checking for gcc... make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/config.c -o client-agent/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/sendmsg.c -o client-agent/sendmsg.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/intcheck_op.c -o client-agent/intcheck_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/event-forward.c -o client-agent/event-forward.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Checking for shared library support... make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/main.c -o client-agent/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/receiver-win.c -o client-agent/receiver-win.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/receiver.c -o client-agent/receiver.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/agentd.c -o client-agent/agentd.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -Wno-implicit-fallthrough -c os_crypto/blowfish/bf_skey.c -o os_crypto/blowfish/bf_skey.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Building shared library libz.so.1.2.11 with gcc. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -Wno-implicit-fallthrough -c os_crypto/blowfish/bf_op.c -o os_crypto/blowfish/bf_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Checking for size_t... Yes. Checking for off64_t... Yes. Checking for fseeko... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/start_agent.c -o client-agent/start_agent.o client-agent/start_agent.c: In function 'start_agent': client-agent/start_agent.c:155: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); ~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from client-agent/start_agent.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 9 and 6154 bytes into a destination of size 6144 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/notify.c -o client-agent/notify.o client-agent/notify.c: In function 'run_notify': client-agent/notify.c:124: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); ~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from client-agent/notify.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 9 or more bytes (assuming 1064) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client-agent/notify.c:127: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); ~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from client-agent/notify.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 1029) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lctype.o lctype.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_crypto/md5/md5_op.c -o os_crypto/md5/md5_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Checking for strerror... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_crypto/md5/md5.c -o os_crypto/md5/md5.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lcode.o lcode.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_zlib/os_zlib.c -o os_zlib/os_zlib.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lapi.o lapi.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -Wno-implicit-fallthrough -c os_crypto/blowfish/bf_enc.c -o os_crypto/blowfish/bf_enc.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Checking for unistd.h... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_crypto/md5_sha1/md5_sha1_op.c -o os_crypto/md5_sha1/md5_sha1_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o ldebug.o ldebug.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' Checking for stdarg.h... Yes. make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o ldump.o ldump.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lfunc.o lfunc.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf(). make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/rootcheck-config.c -o config/rootcheck-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Checking for vsnprintf() in stdio.h... Yes. make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o ldo.o ldo.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/localfile-config.c -o config/localfile-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Checking for return value of vsnprintf()... Yes. Checking for attribute(visibility) support... Yes. make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lmem.o lmem.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o llex.o llex.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lgc.o lgc.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lopcodes.o lopcodes.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/remote-config.c -o config/remote-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lstate.o lstate.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o adler32.o adler32.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c external/cJSON/cJSON.c -o external/cJSON/cJSON.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/reports-config.c -o config/reports-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -Wno-implicit-fallthrough -c os_crypto/sha1/sha1_op.c -o os_crypto/sha1/sha1_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lstring.o lstring.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lobject.o lobject.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o crc32.o crc32.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/config.c -o config/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/active-response.c -o config/active-response.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o ltm.o ltm.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/syscheck-config.c -o config/syscheck-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lundump.o lundump.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/agentlessd-config.c -o config/agentlessd-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/email-alerts-config.c -o config/email-alerts-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/global-config.c -o config/global-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/alerts-config.c -o config/alerts-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o ltable.o ltable.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/rules-config.c -o config/rules-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/dbd-config.c -o config/dbd-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/csyslogd-config.c -o config/csyslogd-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lzio.o lzio.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/fs_op.c -o shared/fs_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/client-config.c -o config/client-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/store_op.c -o shared/store_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/regex_op.c -o shared/regex_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/mem_op.c -o shared/mem_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lparser.o lparser.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/debug_op.c -o shared/debug_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/read-alert.c -o shared/read-alert.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lbaselib.o lbaselib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lbitlib.o lbitlib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o deflate.o deflate.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lvm.o lvm.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/wait_op.c -o shared/wait_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/file_op.c -o shared/file_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/string_op.c -o shared/string_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lcorolib.o lcorolib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lauxlib.o lauxlib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/mq_op.c -o shared/mq_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/list_op.c -o shared/list_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/privsep_op.c -o shared/privsep_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/help.c -o shared/help.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/report_op.c -o shared/report_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lmathlib.o lmathlib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/custom_output_search_replace.c -o shared/custom_output_search_replace.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o liolib.o liolib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/math_op.c -o shared/math_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/dirtree_op.c -o shared/dirtree_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o ldblib.o ldblib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o infback.o infback.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o loslib.o loslib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/file-queue.c -o shared/file-queue.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/pthreads_op.c -o shared/pthreads_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o ltablib.o ltablib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/hash_op.c -o shared/hash_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inffast.o inffast.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o linit.o linit.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/sig_op.c -o shared/sig_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o loadlib.o loadlib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/randombytes.c -o shared/randombytes.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/read-agents.c -o shared/read-agents.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lstrlib.o lstrlib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' 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 ranlib liblua.a make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o luac.o luac.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lua.o lua.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/agent_op.c -o shared/agent_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -o ossec-luac luac.o liblua.a -lm make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -o ossec-lua lua.o liblua.a -lm make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_match.c -o os_regex/os_regex_match.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/validate_op.c -o shared/validate_op.o shared/validate_op.c: In function '__gethour': shared/validate_op.c:519:38: warning: '%02d' directive output may be truncated writing between 2 and 11 bytes into a region of size 6 [-Wformat-truncation=] snprintf(ossec_hour, 6, "%02d:%02d", chour, cmin); ^~~~ shared/validate_op.c:519:37: note: directive argument in the range [-2147483636, 2147483647] snprintf(ossec_hour, 6, "%02d:%02d", chour, cmin); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from shared/validate_op.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 6 and 24 bytes into a destination of size 6 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shared/validate_op.c: In function 'OS_IsValidTime': shared/validate_op.c:600: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); ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from shared/validate_op.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 14 bytes into a destination of size 12 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shared/validate_op.c:595: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); ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from shared/validate_op.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 14 bytes into a destination of size 12 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_match.c -o os_regex/os_match.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex.c -o os_regex/os_regex.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_str.c -o os_regex/os_regex_str.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_free_pattern.c -o os_regex/os_regex_free_pattern.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_startswith.c -o os_regex/os_regex_startswith.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_match_free_pattern.c -o os_regex/os_match_free_pattern.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_maps.c -o os_regex/os_regex_maps.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_free_substrings.c -o os_regex/os_regex_free_substrings.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_strbreak.c -o os_regex/os_regex_strbreak.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_match_compile.c -o os_regex/os_match_compile.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/rules_op.c -o shared/rules_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_net/os_net.c -o os_net/os_net.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_match_execute.c -o os_regex/os_match_execute.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_execute.c -o os_regex/os_regex_execute.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_compile.c -o os_regex/os_regex_compile.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inflate.o inflate.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml_variables.c -o os_xml/os_xml_variables.o os_xml/os_xml_variables.c: In function 'OS_ApplyVariables': os_xml/os_xml_variables.c:179:42: 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/os_xml_variables.c:180:46: note: format string is defined here ": '%s'.", lvar); ^~ In file included from /usr/include/stdio.h:862, from os_xml/os_xml_variables.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 30 and 285 bytes into a destination of size 128 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/main-client.c -o os_auth/main-client.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/ssl.c -o os_auth/ssl.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml_writer.c -o os_xml/os_xml_writer.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml_node_access.c -o os_xml/os_xml_node_access.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml.c -o os_xml/os_xml.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/check_cert.c -o os_auth/check_cert.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inftrees.o inftrees.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml_access.c -o os_xml/os_xml_access.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/config.c -o logcollector/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o zutil.o zutil.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_ossecalert.c -o logcollector/read_ossecalert.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_djb_multilog.c -o logcollector/read_djb_multilog.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/logcollector.c -o logcollector/logcollector.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o compress.o compress.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/validate.c -o addagent/validate.o addagent/validate.c: In function 'OS_AddNewAgent': addagent/validate.c:61:31: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 8 [-Wformat-truncation=] snprintf(nid, 8, "%d", m); ^~ addagent/validate.c:61:30: note: directive argument in the range [-1073741824, 1073741823] snprintf(nid, 8, "%d", m); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/validate.c:11: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/validate.c:62:33: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 8 [-Wformat-truncation=] snprintf(nid_p, 8, "%d", m - 1); ^~ addagent/validate.c:62:32: note: directive argument in the range [-1073741825, 1073741822] snprintf(nid_p, 8, "%d", m - 1); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/validate.c:11: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_postgresql_log.c -o logcollector/read_postgresql_log.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_win_event_channel.c -o logcollector/read_win_event_channel.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_win_el.c -o logcollector/read_win_el.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o uncompr.o uncompr.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/main.c -o logcollector/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzclose.o gzclose.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_mssql_log.c -o logcollector/read_mssql_log.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_command.c -o logcollector/read_command.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_syslog.c -o logcollector/read_syslog.o logcollector/read_syslog.c: In function 'read_syslog': logcollector/read_syslog.c:91: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); ^~ ~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from logcollector/read_syslog.c:12: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output between 1 and 6145 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzlib.o gzlib.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o trees.o trees.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_mysql_log.c -o logcollector/read_mysql_log.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_fullcommand.c -o logcollector/read_fullcommand.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_nmapg.c -o logcollector/read_nmapg.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_multiline.c -o logcollector/read_multiline.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_snortfull.c -o logcollector/read_snortfull.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/run_realtime.c -o syscheckd/run_realtime.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/win-registry.c -o syscheckd/win-registry.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/syscheck.c -o syscheckd/syscheck.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzread.o gzread.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/config.c -o syscheckd/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/seechanges.c -o syscheckd/seechanges.o syscheckd/seechanges.c: In function 'seechanges_addfile': syscheckd/seechanges.c:394:21: 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, ~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from syscheckd/seechanges.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 29 and 18461 bytes into a destination of size 2048 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ syscheckd/seechanges.c:126:37: 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 ? ~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from syscheckd/seechanges.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 1 and 6160 bytes into a destination of size 4095 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/create_db.c -o syscheckd/create_db.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/run_check.c -o syscheckd/run_check.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzwrite.o gzwrite.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/unix-process.c -o rootcheck/unix-process.o rootcheck/unix-process.c: In function 'os_get_process_list': rootcheck/unix-process.c:27:40: warning: ' -p ' directive output may be truncated writing 4 bytes into a region of size between 0 and 1024 [-Wformat-truncation=] snprintf(command, OS_SIZE_1024, "%s -p %d 2> /dev/null", ps, mpid); ^~~~ rootcheck/unix-process.c:27:37: note: directive argument in the range [1, 32769] snprintf(command, OS_SIZE_1024, "%s -p %d 2> /dev/null", ps, mpid); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/unix-process.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 19 and 1047 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/win-process.c -o rootcheck/win-process.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' 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 make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/config.c -o rootcheck/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_files.c -o rootcheck/check_rc_files.o rootcheck/check_rc_files.c: In function 'check_rc_files': rootcheck/check_rc_files.c:168: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); ~~~~~~~~~ rootcheck/check_rc_files.c:169:48: note: format string is defined here "by the presence of file '%s'.", name, file_path); ^~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_files.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 48 or more bytes (assuming 1072) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_if.c -o rootcheck/check_rc_if.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_open_ports.c -o rootcheck/check_open_ports.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_ports.c -o rootcheck/check_rc_ports.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_trojans.c -o rootcheck/check_rc_trojans.o rootcheck/check_rc_trojans.c: In function 'check_rc_trojans': rootcheck/check_rc_trojans.c:94: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 " ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_trojans.c:96:26: file_path, ~~~~~~~~~ rootcheck/check_rc_trojans.c:95:28: note: format string is defined here "'%s' detected. Signature used: '%s' (%s).", ^~ rootcheck/check_rc_trojans.c:94:48: note: assuming directive output of 7 bytes snprintf(op_msg, OS_SIZE_1024, "Trojaned version of file " ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_trojans.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 61 or more bytes (assuming 1092) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/win-common.c -o rootcheck/win-common.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/os_string.c -o rootcheck/os_string.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_readproc.c -o rootcheck/check_rc_readproc.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_sys.c -o rootcheck/check_rc_sys.o rootcheck/check_rc_sys.c: In function 'read_sys_dir': rootcheck/check_rc_sys.c:92:52: warning: '%s' directive output may be truncated writing up to 4097 bytes into a region of size 998 [-Wformat-truncation=] snprintf(op_msg, OS_SIZE_1024, "Anomaly detected in file " ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_sys.c:294:23: read_sys_file(f_name, do_read); ~~~~~~ rootcheck/check_rc_sys.c:93:32: note: format string is defined here "'%s'. File size doesn't match what we found. " ^~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 99 and 4196 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_sys.c:121:51: warning: '%s' directive output may be truncated writing up to 4097 bytes into a region of size 1018 [-Wformat-truncation=] snprintf(op_msg, OS_SIZE_1024, "File '%s' is owned by root " ^~ rootcheck/check_rc_sys.c:294:23: read_sys_file(f_name, do_read); ~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 62 and 4159 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_sys.c:39:67: warning: '%s' directive output may be truncated writing up to 4097 bytes into a region of size 998 [-Wformat-truncation=] snprintf(op_msg, OS_SIZE_1024, "Anomaly detected in file '%s'. " ^~ rootcheck/check_rc_sys.c:294:23: read_sys_file(f_name, do_read); ~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 106 and 4203 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/common_rcl.c -o rootcheck/common_rcl.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/run_rk_check.c -o rootcheck/run_rk_check.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_dev.c -o rootcheck/check_rc_dev.o rootcheck/check_rc_dev.c: In function 'read_dev_dir': rootcheck/check_rc_dev.c:42:47: warning: '%s' directive output may be truncated writing up to 4097 bytes into a region of size 1018 [-Wformat-truncation=] snprintf(op_msg, OS_SIZE_1024, "File '%s' present on /dev." ^~ rootcheck/check_rc_dev.c:135:23: read_dev_file(f_name); ~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_dev.c:11: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 47 and 4144 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/common.c -o rootcheck/common.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/config.c -o os_execd/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_policy.c -o rootcheck/check_rc_policy.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/win_execd.c -o os_execd/win_execd.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/rootcheck.c -o rootcheck/rootcheck.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/read_from_user.c -o addagent/read_from_user.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs libcJSON.a external/cJSON/cJSON.o ranlib libcJSON.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs os_zlib.a os_zlib/os_zlib.o ranlib os_zlib.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/b64.c -o addagent/b64.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs config.a config/localfile-config.o config/rootcheck-config.o config/remote-config.o config/active-response.o config/reports-config.o config/agentlessd-config.o config/config.o config/syscheck-config.o config/global-config.o config/email-alerts-config.o config/rules-config.o config/dbd-config.o config/alerts-config.o config/csyslogd-config.o config/client-config.o ranlib config.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs shared.a shared/read-alert.o shared/fs_op.o shared/store_op.o shared/mem_op.o shared/regex_op.o shared/file_op.o shared/debug_op.o shared/report_op.o shared/string_op.o shared/wait_op.o shared/help.o shared/list_op.o shared/mq_op.o shared/privsep_op.o shared/dirtree_op.o shared/custom_output_search_replace.o shared/file-queue.o shared/math_op.o shared/rules_op.o shared/read-agents.o shared/pthreads_op.o shared/hash_op.o shared/validate_op.o shared/sig_op.o shared/randombytes.o shared/agent_op.o ranlib shared.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs os_net.a os_net/os_net.o ranlib os_net.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/exec.c -o os_execd/exec.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_pids.c -o rootcheck/check_rc_pids.o rootcheck/check_rc_pids.c: In function 'check_rc_pids': rootcheck/check_rc_pids.c:167:48: warning: ' -p ' directive output may be truncated writing 4 bytes into a region of size between 0 and 1024 [-Wformat-truncation=] snprintf(command, OS_SIZE_1024, "%s -p %d > /dev/null 2>&1", ps, (int)i); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_pids.c:11: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 23 and 1057 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_pids.c:314: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 " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_pids.c:316:44: "Analyzed %d processes.", ps, _total); ~~ rootcheck/check_rc_pids.c:315:36: note: format string is defined here "rootkits.\n %s is not trojaned. " ^~ rootcheck/check_rc_pids.c:314:40: note: directive argument in the range [1, 32769] snprintf(op_msg, OS_SIZE_1024, "No hidden process by Kernel-level " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_pids.c:11: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 90 and 1118 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs os_regex.a os_regex/os_regex_match.o os_regex/os_regex.o os_regex/os_regex_str.o os_regex/os_match.o os_regex/os_regex_startswith.o os_regex/os_regex_free_pattern.o os_regex/os_match_compile.o os_regex/os_regex_strbreak.o os_regex/os_match_free_pattern.o os_regex/os_regex_maps.o os_regex/os_regex_execute.o os_regex/os_regex_free_substrings.o os_regex/os_regex_compile.o os_regex/os_match_execute.o ranlib os_regex.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/main.c -o addagent/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs os_xml.a os_xml/os_xml_variables.o os_xml/os_xml_writer.o os_xml/os_xml_access.o os_xml/os_xml.o os_xml/os_xml_node_access.o ranlib os_xml.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/execd.c -o os_execd/execd.o os_execd/execd.c: In function 'ExecdStart': os_execd/execd.c:436:50: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 9 [-Wformat-truncation=] snprintf(ntimes, 9, "%d", ntimes_int); ^~ os_execd/execd.c:436:49: note: directive argument in the range [-2147483647, 6] snprintf(ntimes, 9, "%d", ntimes_int); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from os_execd/execd.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 9 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_execd/execd.c:478:50: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 9 [-Wformat-truncation=] snprintf(ntimes, 9, "%d", ntimes_int); ^~ os_execd/execd.c:478:49: note: directive argument in the range [-2147483647, 6] snprintf(ntimes, 9, "%d", ntimes_int); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from os_execd/execd.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 9 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs rootcheck.a rootcheck/unix-process.o rootcheck/check_rc_files.o rootcheck/common.o rootcheck/check_rc_ports.o rootcheck/common_rcl.o rootcheck/win-process.o rootcheck/config.o rootcheck/check_rc_trojans.o rootcheck/check_rc_if.o rootcheck/check_rc_sys.o rootcheck/check_open_ports.o rootcheck/os_string.o rootcheck/win-common.o rootcheck/check_rc_readproc.o rootcheck/check_rc_dev.o rootcheck/run_rk_check.o rootcheck/check_rc_policy.o rootcheck/check_rc_pids.o rootcheck/rootcheck.o ranlib rootcheck.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/manage_agents.c -o addagent/manage_agents.o addagent/manage_agents.c: In function 'add_agent': addagent/manage_agents.c:274:41: 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", (int)(time3 - time2), name, (int)rand1); ^~ ~~~~ addagent/manage_agents.c:274:38: note: using the range [-2147483648, 2147483647] for directive argument snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); ^~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/manage_agents.c:14: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 280 bytes into a destination of size 66 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/manage_agents.c:275:41: 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", (int)(time2 - time1), ip, id, (int)rand2); ^~ ~~ addagent/manage_agents.c:275:38: note: using the range [-2147483648, 2147483647] for directive argument snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); ^~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/manage_agents.c:14: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 537 bytes into a destination of size 66 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/manage_keys.c -o addagent/manage_keys.o addagent/manage_keys.c: In function 'k_import': addagent/manage_keys.c:44:5: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector] int k_import(const char *cmdimport) ^~~~~~~~ addagent/manage_keys.c: In function 'k_bulkload': addagent/manage_keys.c:415: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", (int)(time3 - time2), name, (int)rand1); ^~ ~~~~ addagent/manage_keys.c:415:34: note: using the range [-2147483648, 2147483647] for directive argument snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); ^~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/manage_keys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 280 bytes into a destination of size 66 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/manage_keys.c:416: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", (int)(time2 - time1), ip, id, (int)rand2); ^~ ~~ addagent/manage_keys.c:416:34: note: using the range [-2147483648, 2147483647] for directive argument snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); ^~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/manage_keys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 537 bytes into a destination of size 66 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_crypto/shared/keys.c -o os_crypto/shared/keys.o os_crypto/shared/keys.c: In function 'OS_ReadKeys': os_crypto/shared/keys.c:94:32: 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); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from os_crypto/shared/keys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 1 and 65 bytes into a destination of size 49 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_crypto/shared/msgs.c -o os_crypto/shared/msgs.o os_crypto/shared/msgs.c: In function 'CreateSecMSG': os_crypto/shared/msgs.c:410:37: 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); ^~ ~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from os_crypto/shared/msgs.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 1 and 6178 bytes into a destination of size 6144 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs os_crypto.a os_crypto/blowfish/bf_op.o os_crypto/blowfish/bf_skey.o os_crypto/blowfish/bf_enc.o os_crypto/md5/md5.o os_crypto/md5/md5_op.o os_crypto/sha1/sha1_op.o os_crypto/shared/keys.o os_crypto/shared/msgs.o os_crypto/md5_sha1/md5_sha1_op.o ranlib os_crypto.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./os_auth addagent/validate.o os_auth/main-client.o os_auth/ssl.o os_auth/check_cert.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -o agent-auth make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ logcollector/read_ossecalert.o logcollector/config.o logcollector/logcollector.o logcollector/read_djb_multilog.o logcollector/read_postgresql_log.o logcollector/main.o logcollector/read_mssql_log.o logcollector/read_win_el.o logcollector/read_win_event_channel.o logcollector/read_syslog.o logcollector/read_nmapg.o logcollector/read_command.o logcollector/read_mysql_log.o logcollector/read_multiline.o logcollector/read_fullcommand.o logcollector/read_snortfull.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -fPIE -pie -Wl,-z,relro -lm -lpthread -o ossec-logcollector make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ client-agent/sendmsg.o client-agent/intcheck_op.o client-agent/agentd.o client-agent/config.o client-agent/event-forward.o client-agent/receiver.o client-agent/main.o client-agent/receiver-win.o client-agent/start_agent.o client-agent/notify.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -o ossec-agentd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ syscheckd/run_realtime.o syscheckd/create_db.o syscheckd/syscheck.o syscheckd/seechanges.o syscheckd/run_check.o syscheckd/config.o syscheckd/win-registry.o rootcheck.a os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -o ossec-syscheckd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ os_execd/exec.o os_execd/config.o os_execd/execd.o os_execd/win_execd.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a libcJSON.a -lm -fPIE -pie -Wl,-z,relro -lm -lpthread -o ossec-execd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ addagent/read_from_user.o addagent/b64.o addagent/main.o addagent/validate.o addagent/manage_keys.o addagent/manage_agents.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -o manage_agents make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make settings make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' General settings: TARGET: agent V: 1 DEBUG: DEBUGAD: PREFIX: /var/lib/ossec MAXAGENTS: 2048 REUSE_ID: no DATABASE: ONEWAY: no CLEANFULL: no User settings: OSSEC_GROUP: ossec OSSEC_USER: ossec OSSEC_USER_MAIL: ossecm OSSEC_USER_REM: ossecr ZLIB settings: ZLIB_SYSTEM: no ZLIB_INCLUDE: -I./external/zlib-1.2.11/ ZLIB_LIB: os_zlib.a external/zlib-1.2.11/libz.a Lua settings: LUA_PLAT: posix LUA_ENABLE: yes USE settings: USE_ZEROMQ: no USE_GEOIP: no USE_PRELUDE: no USE_OPENSSL: auto USE_INOTIFY: no USE_SQLITE: Mysql settings: includes: libs: Pgsql settings: includes: libs: Defines: -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR="/var/lib/ossec" -DUSER="ossec" -DREMUSER="ossecr" -DGROUPGLOBAL="ossec" -DMAILUSER="ossecm" -DLinux -DINOTIFY_ENABLED -DCLIENT Compiler: CFLAGS -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR="/var/lib/ossec" -DUSER="ossec" -DREMUSER="ossecr" -DGROUPGLOBAL="ossec" -DMAILUSER="ossecm" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ LDFLAGS -fPIE -pie -Wl,-z,relro -lm -lpthread CC cc make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' MAKE make make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Done building agent make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' + mv manage_agents clients/manage_agent + mv ossec-logcollector clients/client-logcollector + mv ossec-syscheckd clients/client-syscheckd + mv ossec-agentd clients/ + mv ossec-execd clients/ + mv agent-auth clients/ + make -j8 clean make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' rm -f external/cJSON/cJSON.o libcJSON.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cd external/zlib-1.2.11/ && make -f Makefile.in distclean make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' cp -p zconf.h.in zconf.h make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' rm -f tests/test_os_zlib.o tests/test_os_regex.o tests/test_os_net.o tests/test_os_xml.o tests/test_os_crypto.o tests/test_shared.o test_os_zlib test_os_xml test_os_regex test_os_crypto test_shared ossec.test rm -Rf coverage-report/ find . -name "*.gcno" -exec rm {} \; find . -name "*.gcda" -exec rm {} \; make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' rm -f *.o *.lo *~ \ example minigzip examplesh minigzipsh \ example64 minigzip64 \ infcover \ libz.* foo.gz so_locations \ _match.s maketree contrib/infback9/*.o rm -rf objs rm -f *.gcda *.gcno *.gcov rm -f contrib/infback9/*.gcda contrib/infback9/*.gcno contrib/infback9/*.gcov make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' rm -f win32/LICENSE.txt rm -f win32/help_win.txt rm -f win32/internal_options.conf rm -f win32/default-local_internal_options.conf rm -f win32/default-ossec.conf rm -f win32/restart-ossec.cmd rm -f win32/route-null.cmd rm -f win32/setup-win.o win32/setup-syscheck.o win32/win_service.o win32/add-localfile.o win32/win_agent.o win32/setup-shared.o win32/agent_auth.o win32/setup-iis.o win32/read-registry.o win32/ui/common.o win32/ui/os_win32ui.o win32/win_service_rk.o rm -f win32/icon.o win32/resource.o rm -f win32/ossec-agent.exe win32/ossec-agent-eventchannel.exe win32/ossec-rootcheck.exe win32/manage_agents.exe win32/setup-windows.exe win32/setup-syscheck.exe win32/setup-iis.exe win32/add-localfile.exe win32/os_win32ui.exe win32/agent-auth.exe rm -f external/lua-5.2.3/src/lua52.dll rm -f external/lua-5.2.3/src/ossec-lua.exe rm -f external/lua-5.2.3/src/ossec-luac.exe rm -f win32/ossec-lua.exe rm -f win32/ossec-luac.exe rm -f win32/ossec-win32-agent.exe make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' rm -f Makefile zlib.pc configure.log make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' cd external/lua-5.2.3/ && make clean cd src && make clean make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' rm -f os_zlib/os_zlib.o os_zlib.a rm -f os_xml/os_xml_variables.o os_xml/os_xml_writer.o os_xml/os_xml_access.o os_xml/os_xml.o os_xml/os_xml_node_access.o os_xml.a rm -f os_regex/os_match.o os_regex/os_regex_str.o os_regex/os_regex_compile.o os_regex/os_regex_startswith.o os_regex/os_regex_free_pattern.o os_regex/os_match_compile.o os_regex/os_regex_strbreak.o os_regex/os_regex.o os_regex/os_match_free_pattern.o os_regex/os_regex_maps.o os_regex/os_regex_execute.o os_regex/os_regex_free_substrings.o os_regex/os_regex_match.o os_regex/os_match_execute.o os_regex.a rm -f os_net/os_net.o os_net.a rm -f shared/read-alert.o shared/fs_op.o shared/store_op.o shared/mem_op.o shared/regex_op.o shared/debug_op.o shared/string_op.o shared/wait_op.o shared/help.o shared/list_op.o shared/mq_op.o shared/privsep_op.o shared/dirtree_op.o shared/custom_output_search_replace.o shared/file-queue.o shared/math_op.o shared/rules_op.o shared/read-agents.o shared/pthreads_op.o shared/hash_op.o shared/validate_op.o shared/sig_op.o shared/report_op.o shared/randombytes.o shared/agent_op.o shared/file_op.o shared.a rm -f config/localfile-config.o config/rootcheck-config.o config/remote-config.o config/active-response.o config/reports-config.o config/agentlessd-config.o config/config.o config/syscheck-config.o config/global-config.o config/email-alerts-config.o config/alerts-config.o config/rules-config.o config/dbd-config.o config/csyslogd-config.o config/client-config.o config.a rm -f os_maild/sendmail.o os_maild/sendcustomemail.o os_maild/config.o os_maild/os_maild_client.o os_maild/maild.o os_maild/mail_list.o ossec-maild rm -f os_crypto/blowfish/bf_op.o os_crypto/blowfish/bf_skey.o os_crypto/blowfish/bf_enc.o os_crypto/md5/md5.o os_crypto/md5/md5_op.o os_crypto/sha1/sha1_op.o os_crypto/shared/keys.o os_crypto/shared/msgs.o os_crypto/md5_sha1/md5_sha1_op.o os_crypto.a rm -f os_csyslogd/config.o os_csyslogd/main.o os_csyslogd/csyslogd.o os_csyslogd/alert.o ossec-csyslogd rm -f os_dbd/config.o os_dbd/db_op.o os_dbd/rules.o os_dbd/main.o os_dbd/server.o os_dbd/alert.o os_dbd/dbd.o ossec-dbd rm -f agentlessd/main.o agentlessd/agentlessd.o ossec-agentlessd rm -f os_execd/exec.o os_execd/config.o os_execd/execd.o os_execd/win_execd.o ossec-execd rm -f logcollector/read_ossecalert.o logcollector/config.o logcollector/logcollector.o logcollector/read_djb_multilog.o logcollector/read_postgresql_log.o logcollector/main.o logcollector/read_mssql_log.o logcollector/read_snortfull.o logcollector/read_win_el.o logcollector/read_win_event_channel.o logcollector/read_mysql_log.o logcollector/read_syslog.o logcollector/read_nmapg.o logcollector/read_command.o logcollector/read_multiline.o logcollector/read_fullcommand.o logcollector/read_ossecalert-event.o logcollector/config-event.o logcollector/logcollector-event.o logcollector/read_djb_multilog-event.o logcollector/read_postgresql_log-event.o logcollector/main-event.o logcollector/read_mssql_log-event.o logcollector/read_snortfull-event.o logcollector/read_win_el-event.o logcollector/read_win_event_channel-event.o logcollector/read_mysql_log-event.o logcollector/read_syslog-event.o logcollector/read_nmapg-event.o logcollector/read_command-event.o logcollector/read_multiline-event.o logcollector/read_fullcommand-event.o ossec-logcollector rm -f remoted/manager.o remoted/sendmsg.o remoted/config.o remoted/ar-forward.o remoted/remoted.o remoted/secure.o remoted/main.o remoted/syslog.o remoted/syslogtcp.o ossec-remoted rm -f reportd/report.o ossec-reportd rm -f client-agent/sendmsg.o client-agent/intcheck_op.o client-agent/agentd.o client-agent/config.o client-agent/event-forward.o client-agent/receiver.o client-agent/main.o client-agent/receiver-win.o client-agent/start_agent.o client-agent/notify.o ossec-agentd rm -f addagent/main.o addagent/read_from_user.o addagent/b64.o addagent/validate.o addagent/manage_keys.o addagent/manage_agents.o manage_agents rm -f util/verify-agent-conf.o util/clear_stats.o util/ossec-regex.o util/agent_control.o util/rootcheck_control.o util/list_agents.o util/syscheck_update.o util/syscheck_control.o syscheck_update clear_stats list_agents agent_control syscheck_control rootcheck_control verify-agent-conf ossec-regex rm -f rootcheck/common_rcl.o rootcheck/check_rc_files.o rootcheck/unix-process.o rootcheck/rootcheck-config.o rootcheck/common.o rootcheck/check_rc_ports.o rootcheck/win-process.o rootcheck/rootcheck.o rootcheck/check_rc_trojans.o rootcheck/check_rc_if.o rootcheck/check_rc_sys.o rootcheck/check_open_ports.o rootcheck/os_string.o rootcheck/win-common.o rootcheck/check_rc_readproc.o rootcheck/check_rc_dev.o rootcheck/run_rk_check.o rootcheck/check_rc_policy.o rootcheck/check_rc_pids.o rootcheck/config.o rootcheck/common_rcl_rk.o rootcheck/check_rc_files_rk.o rootcheck/unix-process_rk.o rootcheck/rootcheck-config_rk.o rootcheck/common_rk.o rootcheck/check_rc_ports_rk.o rootcheck/win-process_rk.o rootcheck/rootcheck_rk.o rootcheck/check_rc_trojans_rk.o rootcheck/check_rc_if_rk.o rootcheck/check_rc_sys_rk.o rootcheck/check_open_ports_rk.o rootcheck/os_string_rk.o rootcheck/win-common_rk.o rootcheck/check_rc_readproc_rk.o rootcheck/check_rc_dev_rk.o rootcheck/run_rk_check_rk.o rootcheck/check_rc_policy_rk.o rootcheck/check_rc_pids_rk.o rootcheck/config_rk.o rootcheck.a rm -f syscheckd/run_realtime.o syscheckd/create_db.o syscheckd/syscheck.o syscheckd/seechanges.o syscheckd/run_check.o syscheckd/config.o syscheckd/win-registry.o ossec-syscheckd rm -f monitord/sendcustomemail.o monitord/sign_log.o monitord/manage_files.o monitord/monitord.o monitord/monitor_agents.o monitord/main.o monitord/generate_reports.o monitord/compress_log.o ossec-monitord rm -f os_auth/main-server.o os_auth/ssl.o os_auth/main-client.o os_auth/ssl-test.o os_auth/check_cert.o ossec-authd agent-auth rm -f analysisd/cdb/cdb_hash.o analysisd/cdb/uint32_pack.o analysisd/cdb/uint32_unpack.o analysisd/cdb/cdb_make.o analysisd/cdb/cdb.o analysisd/alerts/exec.o analysisd/alerts/log.o analysisd/alerts/getloglocation.o analysisd/decoders/plugin_decoders.o analysisd/decoders/decoder.o analysisd/decoders/hostinfo.o analysisd/decoders/decode-xml.o analysisd/decoders/syscheck.o analysisd/decoders/geoip.o analysisd/decoders/rootcheck.o analysisd/decoders/decoders_list.o analysisd/decoders/plugins/pf_decoder.o analysisd/decoders/plugins/sonicwall_decoder.o analysisd/decoders/plugins/symantecws_decoder.o analysisd/decoders/plugins/ossecalert_decoder.o analysisd/compiled_rules/generic_samples.o analysisd/decoders/plugin_decoders-test.o analysisd/decoders/decoder-test.o analysisd/decoders/hostinfo-test.o analysisd/decoders/decode-xml-test.o analysisd/decoders/syscheck-test.o analysisd/decoders/geoip-test.o analysisd/decoders/rootcheck-test.o analysisd/decoders/decoders_list-test.o analysisd/decoders/plugins/pf_decoder-test.o analysisd/decoders/plugins/sonicwall_decoder-test.o analysisd/decoders/plugins/symantecws_decoder-test.o analysisd/decoders/plugins/ossecalert_decoder-test.o analysisd/compiled_rules/generic_samples-test.o analysisd/decoders/plugin_decoders-live.o analysisd/decoders/decoder-live.o analysisd/decoders/hostinfo-live.o analysisd/decoders/decode-xml-live.o analysisd/decoders/syscheck-live.o analysisd/decoders/geoip-live.o analysisd/decoders/rootcheck-live.o analysisd/decoders/decoders_list-live.o analysisd/decoders/plugins/pf_decoder-live.o analysisd/decoders/plugins/sonicwall_decoder-live.o analysisd/decoders/plugins/symantecws_decoder-live.o analysisd/decoders/plugins/ossecalert_decoder-live.o analysisd/compiled_rules/generic_samples-live.o analysisd/format/to_json.o analysisd/output/jsonout.o analysisd/output/prelude.o analysisd/output/zeromq.o analysisd/config.o analysisd/lists.o analysisd/active-response.o analysisd/lists_list.o analysisd/fts.o analysisd/lists_make.o analysisd/cleanevent.o analysisd/rules_list.o analysisd/eventinfo_list.o analysisd/stats.o analysisd/accumulator.o analysisd/eventinfo.o analysisd/rules.o analysisd/dodiff.o analysisd/config-test.o analysisd/lists-test.o analysisd/active-response-test.o analysisd/lists_list-test.o analysisd/fts-test.o analysisd/lists_make-test.o analysisd/cleanevent-test.o analysisd/rules_list-test.o analysisd/eventinfo_list-test.o analysisd/stats-test.o analysisd/accumulator-test.o analysisd/eventinfo-test.o analysisd/rules-test.o analysisd/dodiff-test.o analysisd/config-live.o analysisd/lists-live.o analysisd/active-response-live.o analysisd/lists_list-live.o analysisd/fts-live.o analysisd/lists_make-live.o analysisd/cleanevent-live.o analysisd/rules_list-live.o analysisd/eventinfo_list-live.o analysisd/stats-live.o analysisd/accumulator-live.o analysisd/eventinfo-live.o analysisd/rules-live.o analysisd/dodiff-live.o analysisd/testrule-test.o analysisd/analysisd-live.o analysisd/analysisd-test.o analysisd/makelists-live.o cdb.a alerts.a decoders.a decoders-test.a decoders-live.a analysisd/compiled_rules/compiled_rules.h rm -f ossec-logtest ossec-analysisd ossec-makelists make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[2]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' rm -f liblua.a ossec-lua ossec-luac 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 lua.o luac.o make[2]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' + mkdir hybrid/ + make -j8 TARGET=agent PREFIX=/var/lib/ossec/ossec-agent V=1 cd external/zlib-1.2.11/ && ./configure && make libz.a cd external/lua-5.2.3/ && make posix cd src && make posix make all SYSCFLAGS="-DLUA_USE_POSIX" make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/sendmsg.c -o client-agent/sendmsg.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Checking for gcc... make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/config.c -o client-agent/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/event-forward.c -o client-agent/event-forward.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/intcheck_op.c -o client-agent/intcheck_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/agentd.c -o client-agent/agentd.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/receiver-win.c -o client-agent/receiver-win.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/receiver.c -o client-agent/receiver.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Checking for shared library support... make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/main.c -o client-agent/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/notify.c -o client-agent/notify.o client-agent/notify.c: In function 'run_notify': client-agent/notify.c:124: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); ~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from client-agent/notify.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 9 or more bytes (assuming 1064) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client-agent/notify.c:127: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); ~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from client-agent/notify.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 1029) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -Wno-implicit-fallthrough -c os_crypto/blowfish/bf_skey.c -o os_crypto/blowfish/bf_skey.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -Wno-implicit-fallthrough -c os_crypto/blowfish/bf_op.c -o os_crypto/blowfish/bf_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Building shared library libz.so.1.2.11 with gcc. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/start_agent.c -o client-agent/start_agent.o client-agent/start_agent.c: In function 'start_agent': client-agent/start_agent.c:155: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); ~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from client-agent/start_agent.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 9 and 6154 bytes into a destination of size 6144 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Checking for size_t... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_crypto/md5/md5_op.c -o os_crypto/md5/md5_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_zlib/os_zlib.c -o os_zlib/os_zlib.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Checking for off64_t... Yes. Checking for fseeko... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -Wno-implicit-fallthrough -c os_crypto/blowfish/bf_enc.c -o os_crypto/blowfish/bf_enc.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_crypto/md5/md5.c -o os_crypto/md5/md5.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o lcode.o lcode.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_crypto/md5_sha1/md5_sha1_op.c -o os_crypto/md5_sha1/md5_sha1_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Checking for strerror... Yes. make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o lapi.o lapi.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o lctype.o lctype.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' Checking for unistd.h... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/rootcheck-config.c -o config/rootcheck-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Checking for stdarg.h... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/localfile-config.c -o config/localfile-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/remote-config.c -o config/remote-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c external/cJSON/cJSON.c -o external/cJSON/cJSON.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o ldebug.o ldebug.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf(). make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/active-response.c -o config/active-response.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/reports-config.c -o config/reports-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Checking for vsnprintf() in stdio.h... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -Wno-implicit-fallthrough -c os_crypto/sha1/sha1_op.c -o os_crypto/sha1/sha1_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o ldo.o ldo.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' Checking for return value of vsnprintf()... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/agentlessd-config.c -o config/agentlessd-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o ldump.o ldump.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o lfunc.o lfunc.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' Checking for attribute(visibility) support... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/config.c -o config/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/email-alerts-config.c -o config/email-alerts-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/dbd-config.c -o config/dbd-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/global-config.c -o config/global-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o adler32.o adler32.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/alerts-config.c -o config/alerts-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o llex.o llex.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/csyslogd-config.c -o config/csyslogd-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/client-config.c -o config/client-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/syscheck-config.c -o config/syscheck-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o lmem.o lmem.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/rules-config.c -o config/rules-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/fs_op.c -o shared/fs_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o crc32.o crc32.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o lgc.o lgc.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o lopcodes.o lopcodes.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/regex_op.c -o shared/regex_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/store_op.c -o shared/store_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/mem_op.c -o shared/mem_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/read-alert.c -o shared/read-alert.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/file_op.c -o shared/file_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/string_op.c -o shared/string_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o lobject.o lobject.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/debug_op.c -o shared/debug_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/wait_op.c -o shared/wait_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/help.c -o shared/help.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o lstate.o lstate.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/mq_op.c -o shared/mq_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/report_op.c -o shared/report_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/dirtree_op.c -o shared/dirtree_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o lstring.o lstring.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/list_op.c -o shared/list_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/privsep_op.c -o shared/privsep_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/custom_output_search_replace.c -o shared/custom_output_search_replace.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/math_op.c -o shared/math_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o lparser.o lparser.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/file-queue.c -o shared/file-queue.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/pthreads_op.c -o shared/pthreads_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o ltm.o ltm.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/hash_op.c -o shared/hash_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o ltable.o ltable.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/sig_op.c -o shared/sig_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o lundump.o lundump.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/randombytes.c -o shared/randombytes.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o lzio.o lzio.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o deflate.o deflate.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/rules_op.c -o shared/rules_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_match.c -o os_regex/os_regex_match.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/read-agents.c -o shared/read-agents.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex.c -o os_regex/os_regex.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_str.c -o os_regex/os_regex_str.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_match.c -o os_regex/os_match.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_startswith.c -o os_regex/os_regex_startswith.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_free_pattern.c -o os_regex/os_regex_free_pattern.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_match_compile.c -o os_regex/os_match_compile.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o infback.o infback.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_strbreak.c -o os_regex/os_regex_strbreak.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_net/os_net.c -o os_net/os_net.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_match_free_pattern.c -o os_regex/os_match_free_pattern.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o lvm.o lvm.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/agent_op.c -o shared/agent_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inffast.o inffast.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/validate_op.c -o shared/validate_op.o shared/validate_op.c: In function '__gethour': shared/validate_op.c:519:38: warning: '%02d' directive output may be truncated writing between 2 and 11 bytes into a region of size 6 [-Wformat-truncation=] snprintf(ossec_hour, 6, "%02d:%02d", chour, cmin); ^~~~ shared/validate_op.c:519:37: note: directive argument in the range [-2147483636, 2147483647] snprintf(ossec_hour, 6, "%02d:%02d", chour, cmin); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from shared/validate_op.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 6 and 24 bytes into a destination of size 6 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shared/validate_op.c: In function 'OS_IsValidTime': shared/validate_op.c:600: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); ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from shared/validate_op.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 14 bytes into a destination of size 12 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shared/validate_op.c:595: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); ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from shared/validate_op.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 14 bytes into a destination of size 12 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_maps.c -o os_regex/os_regex_maps.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_free_substrings.c -o os_regex/os_regex_free_substrings.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o lbaselib.o lbaselib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inftrees.o inftrees.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o zutil.o zutil.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_match_execute.c -o os_regex/os_match_execute.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_execute.c -o os_regex/os_regex_execute.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o lauxlib.o lauxlib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o lbitlib.o lbitlib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o lcorolib.o lcorolib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml_variables.c -o os_xml/os_xml_variables.o os_xml/os_xml_variables.c: In function 'OS_ApplyVariables': os_xml/os_xml_variables.c:179:42: 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/os_xml_variables.c:180:46: note: format string is defined here ": '%s'.", lvar); ^~ In file included from /usr/include/stdio.h:862, from os_xml/os_xml_variables.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 30 and 285 bytes into a destination of size 128 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o ldblib.o ldblib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o trees.o trees.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml_writer.c -o os_xml/os_xml_writer.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o liolib.o liolib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_compile.c -o os_regex/os_regex_compile.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o lmathlib.o lmathlib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o compress.o compress.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o uncompr.o uncompr.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml_node_access.c -o os_xml/os_xml_node_access.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o loslib.o loslib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml_access.c -o os_xml/os_xml_access.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o ltablib.o ltablib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml.c -o os_xml/os_xml.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o linit.o linit.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzclose.o gzclose.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inflate.o inflate.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/main-client.c -o os_auth/main-client.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/ssl.c -o os_auth/ssl.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/check_cert.c -o os_auth/check_cert.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o loadlib.o loadlib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o lua.o lua.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/validate.c -o addagent/validate.o addagent/validate.c: In function 'OS_AddNewAgent': addagent/validate.c:61:31: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 8 [-Wformat-truncation=] snprintf(nid, 8, "%d", m); ^~ addagent/validate.c:61:30: note: directive argument in the range [-1073741824, 1073741823] snprintf(nid, 8, "%d", m); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/validate.c:11: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/validate.c:62:33: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 8 [-Wformat-truncation=] snprintf(nid_p, 8, "%d", m - 1); ^~ addagent/validate.c:62:32: note: directive argument in the range [-1073741825, 1073741822] snprintf(nid_p, 8, "%d", m - 1); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/validate.c:11: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/config.c -o logcollector/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_ossecalert.c -o logcollector/read_ossecalert.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzlib.o gzlib.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o lstrlib.o lstrlib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_postgresql_log.c -o logcollector/read_postgresql_log.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' 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 ranlib liblua.a make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzread.o gzread.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_djb_multilog.c -o logcollector/read_djb_multilog.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -o ossec-lua lua.o liblua.a -lm make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_win_el.c -o logcollector/read_win_el.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzwrite.o gzwrite.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_mssql_log.c -o logcollector/read_mssql_log.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/lib/ossec/ossec-agent\" -DLUA_USE_POSIX -c -o luac.o luac.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_win_event_channel.c -o logcollector/read_win_event_channel.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' 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 make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -o ossec-luac luac.o liblua.a -lm make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_command.c -o logcollector/read_command.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_syslog.c -o logcollector/read_syslog.o logcollector/read_syslog.c: In function 'read_syslog': logcollector/read_syslog.c:91: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); ^~ ~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from logcollector/read_syslog.c:12: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output between 1 and 6145 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/main.c -o logcollector/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/logcollector.c -o logcollector/logcollector.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_fullcommand.c -o logcollector/read_fullcommand.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_snortfull.c -o logcollector/read_snortfull.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_multiline.c -o logcollector/read_multiline.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_nmapg.c -o logcollector/read_nmapg.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/win-registry.c -o syscheckd/win-registry.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_mysql_log.c -o logcollector/read_mysql_log.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/syscheck.c -o syscheckd/syscheck.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/create_db.c -o syscheckd/create_db.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/run_realtime.c -o syscheckd/run_realtime.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/config.c -o syscheckd/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/seechanges.c -o syscheckd/seechanges.o syscheckd/seechanges.c: In function 'seechanges_addfile': syscheckd/seechanges.c:394:21: 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, ~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from syscheckd/seechanges.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 29 and 18461 bytes into a destination of size 2048 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ syscheckd/seechanges.c:126:37: 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 ? ~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from syscheckd/seechanges.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 1 and 6160 bytes into a destination of size 4095 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/win-process.c -o rootcheck/win-process.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/unix-process.c -o rootcheck/unix-process.o rootcheck/unix-process.c: In function 'os_get_process_list': rootcheck/unix-process.c:27:40: warning: ' -p ' directive output may be truncated writing 4 bytes into a region of size between 0 and 1024 [-Wformat-truncation=] snprintf(command, OS_SIZE_1024, "%s -p %d 2> /dev/null", ps, mpid); ^~~~ rootcheck/unix-process.c:27:37: note: directive argument in the range [1, 32769] snprintf(command, OS_SIZE_1024, "%s -p %d 2> /dev/null", ps, mpid); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/unix-process.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 19 and 1047 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/run_check.c -o syscheckd/run_check.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_ports.c -o rootcheck/check_rc_ports.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_trojans.c -o rootcheck/check_rc_trojans.o rootcheck/check_rc_trojans.c: In function 'check_rc_trojans': rootcheck/check_rc_trojans.c:94: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 " ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_trojans.c:96:26: file_path, ~~~~~~~~~ rootcheck/check_rc_trojans.c:95:28: note: format string is defined here "'%s' detected. Signature used: '%s' (%s).", ^~ rootcheck/check_rc_trojans.c:94:48: note: assuming directive output of 7 bytes snprintf(op_msg, OS_SIZE_1024, "Trojaned version of file " ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_trojans.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 61 or more bytes (assuming 1092) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/config.c -o rootcheck/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_if.c -o rootcheck/check_rc_if.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_files.c -o rootcheck/check_rc_files.o rootcheck/check_rc_files.c: In function 'check_rc_files': rootcheck/check_rc_files.c:168: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); ~~~~~~~~~ rootcheck/check_rc_files.c:169:48: note: format string is defined here "by the presence of file '%s'.", name, file_path); ^~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_files.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 48 or more bytes (assuming 1072) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_open_ports.c -o rootcheck/check_open_ports.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/win-common.c -o rootcheck/win-common.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/common.c -o rootcheck/common.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/os_string.c -o rootcheck/os_string.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_sys.c -o rootcheck/check_rc_sys.o rootcheck/check_rc_sys.c: In function 'read_sys_dir': rootcheck/check_rc_sys.c:92:52: warning: '%s' directive output may be truncated writing up to 4097 bytes into a region of size 998 [-Wformat-truncation=] snprintf(op_msg, OS_SIZE_1024, "Anomaly detected in file " ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_sys.c:294:23: read_sys_file(f_name, do_read); ~~~~~~ rootcheck/check_rc_sys.c:93:32: note: format string is defined here "'%s'. File size doesn't match what we found. " ^~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 99 and 4196 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_sys.c:121:51: warning: '%s' directive output may be truncated writing up to 4097 bytes into a region of size 1018 [-Wformat-truncation=] snprintf(op_msg, OS_SIZE_1024, "File '%s' is owned by root " ^~ rootcheck/check_rc_sys.c:294:23: read_sys_file(f_name, do_read); ~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 62 and 4159 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_sys.c:39:67: warning: '%s' directive output may be truncated writing up to 4097 bytes into a region of size 998 [-Wformat-truncation=] snprintf(op_msg, OS_SIZE_1024, "Anomaly detected in file '%s'. " ^~ rootcheck/check_rc_sys.c:294:23: read_sys_file(f_name, do_read); ~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 106 and 4203 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_readproc.c -o rootcheck/check_rc_readproc.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/common_rcl.c -o rootcheck/common_rcl.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_dev.c -o rootcheck/check_rc_dev.o rootcheck/check_rc_dev.c: In function 'read_dev_dir': rootcheck/check_rc_dev.c:42:47: warning: '%s' directive output may be truncated writing up to 4097 bytes into a region of size 1018 [-Wformat-truncation=] snprintf(op_msg, OS_SIZE_1024, "File '%s' present on /dev." ^~ rootcheck/check_rc_dev.c:135:23: read_dev_file(f_name); ~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_dev.c:11: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 47 and 4144 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_policy.c -o rootcheck/check_rc_policy.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/run_rk_check.c -o rootcheck/run_rk_check.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/win_execd.c -o os_execd/win_execd.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/rootcheck.c -o rootcheck/rootcheck.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_pids.c -o rootcheck/check_rc_pids.o rootcheck/check_rc_pids.c: In function 'check_rc_pids': rootcheck/check_rc_pids.c:167:48: warning: ' -p ' directive output may be truncated writing 4 bytes into a region of size between 0 and 1024 [-Wformat-truncation=] snprintf(command, OS_SIZE_1024, "%s -p %d > /dev/null 2>&1", ps, (int)i); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_pids.c:11: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 23 and 1057 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_pids.c:314: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 " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_pids.c:316:44: "Analyzed %d processes.", ps, _total); ~~ rootcheck/check_rc_pids.c:315:36: note: format string is defined here "rootkits.\n %s is not trojaned. " ^~ rootcheck/check_rc_pids.c:314:40: note: directive argument in the range [1, 32769] snprintf(op_msg, OS_SIZE_1024, "No hidden process by Kernel-level " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_pids.c:11: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 90 and 1118 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/config.c -o os_execd/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/exec.c -o os_execd/exec.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs libcJSON.a external/cJSON/cJSON.o ranlib libcJSON.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs os_zlib.a os_zlib/os_zlib.o ranlib os_zlib.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs config.a config/localfile-config.o config/rootcheck-config.o config/remote-config.o config/active-response.o config/reports-config.o config/agentlessd-config.o config/config.o config/syscheck-config.o config/global-config.o config/email-alerts-config.o config/rules-config.o config/dbd-config.o config/alerts-config.o config/csyslogd-config.o config/client-config.o ranlib config.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs shared.a shared/read-alert.o shared/fs_op.o shared/store_op.o shared/mem_op.o shared/regex_op.o shared/file_op.o shared/debug_op.o shared/report_op.o shared/string_op.o shared/wait_op.o shared/help.o shared/list_op.o shared/mq_op.o shared/privsep_op.o shared/dirtree_op.o shared/custom_output_search_replace.o shared/file-queue.o shared/math_op.o shared/rules_op.o shared/read-agents.o shared/pthreads_op.o shared/hash_op.o shared/validate_op.o shared/sig_op.o shared/randombytes.o shared/agent_op.o ranlib shared.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs os_net.a os_net/os_net.o ranlib os_net.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs os_regex.a os_regex/os_regex_match.o os_regex/os_regex.o os_regex/os_regex_str.o os_regex/os_match.o os_regex/os_regex_startswith.o os_regex/os_regex_free_pattern.o os_regex/os_match_compile.o os_regex/os_regex_strbreak.o os_regex/os_match_free_pattern.o os_regex/os_regex_maps.o os_regex/os_regex_execute.o os_regex/os_regex_free_substrings.o os_regex/os_regex_compile.o os_regex/os_match_execute.o ranlib os_regex.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs os_xml.a os_xml/os_xml_variables.o os_xml/os_xml_writer.o os_xml/os_xml_access.o os_xml/os_xml.o os_xml/os_xml_node_access.o ranlib os_xml.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs rootcheck.a rootcheck/unix-process.o rootcheck/check_rc_files.o rootcheck/common.o rootcheck/check_rc_ports.o rootcheck/common_rcl.o rootcheck/win-process.o rootcheck/config.o rootcheck/check_rc_trojans.o rootcheck/check_rc_if.o rootcheck/check_rc_sys.o rootcheck/check_open_ports.o rootcheck/os_string.o rootcheck/win-common.o rootcheck/check_rc_readproc.o rootcheck/check_rc_dev.o rootcheck/run_rk_check.o rootcheck/check_rc_policy.o rootcheck/check_rc_pids.o rootcheck/rootcheck.o ranlib rootcheck.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/main.c -o addagent/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/manage_keys.c -o addagent/manage_keys.o addagent/manage_keys.c: In function 'k_import': addagent/manage_keys.c:44:5: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector] int k_import(const char *cmdimport) ^~~~~~~~ addagent/manage_keys.c: In function 'k_bulkload': addagent/manage_keys.c:415: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", (int)(time3 - time2), name, (int)rand1); ^~ ~~~~ addagent/manage_keys.c:415:34: note: using the range [-2147483648, 2147483647] for directive argument snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); ^~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/manage_keys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 280 bytes into a destination of size 66 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/manage_keys.c:416: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", (int)(time2 - time1), ip, id, (int)rand2); ^~ ~~ addagent/manage_keys.c:416:34: note: using the range [-2147483648, 2147483647] for directive argument snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); ^~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/manage_keys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 537 bytes into a destination of size 66 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/manage_agents.c -o addagent/manage_agents.o addagent/manage_agents.c: In function 'add_agent': addagent/manage_agents.c:274:41: 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", (int)(time3 - time2), name, (int)rand1); ^~ ~~~~ addagent/manage_agents.c:274:38: note: using the range [-2147483648, 2147483647] for directive argument snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); ^~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/manage_agents.c:14: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 280 bytes into a destination of size 66 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/manage_agents.c:275:41: 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", (int)(time2 - time1), ip, id, (int)rand2); ^~ ~~ addagent/manage_agents.c:275:38: note: using the range [-2147483648, 2147483647] for directive argument snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); ^~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/manage_agents.c:14: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 537 bytes into a destination of size 66 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/b64.c -o addagent/b64.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/read_from_user.c -o addagent/read_from_user.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/execd.c -o os_execd/execd.o os_execd/execd.c: In function 'ExecdStart': os_execd/execd.c:436:50: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 9 [-Wformat-truncation=] snprintf(ntimes, 9, "%d", ntimes_int); ^~ os_execd/execd.c:436:49: note: directive argument in the range [-2147483647, 6] snprintf(ntimes, 9, "%d", ntimes_int); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from os_execd/execd.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 9 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_execd/execd.c:478:50: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 9 [-Wformat-truncation=] snprintf(ntimes, 9, "%d", ntimes_int); ^~ os_execd/execd.c:478:49: note: directive argument in the range [-2147483647, 6] snprintf(ntimes, 9, "%d", ntimes_int); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from os_execd/execd.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 9 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_crypto/shared/keys.c -o os_crypto/shared/keys.o os_crypto/shared/keys.c: In function 'OS_ReadKeys': os_crypto/shared/keys.c:94:32: 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); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from os_crypto/shared/keys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 1 and 65 bytes into a destination of size 49 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_crypto/shared/msgs.c -o os_crypto/shared/msgs.o os_crypto/shared/msgs.c: In function 'CreateSecMSG': os_crypto/shared/msgs.c:410:37: 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); ^~ ~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from os_crypto/shared/msgs.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 1 and 6178 bytes into a destination of size 6144 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs os_crypto.a os_crypto/blowfish/bf_op.o os_crypto/blowfish/bf_skey.o os_crypto/blowfish/bf_enc.o os_crypto/md5/md5.o os_crypto/md5/md5_op.o os_crypto/sha1/sha1_op.o os_crypto/shared/keys.o os_crypto/shared/msgs.o os_crypto/md5_sha1/md5_sha1_op.o ranlib os_crypto.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ client-agent/sendmsg.o client-agent/intcheck_op.o client-agent/agentd.o client-agent/config.o client-agent/event-forward.o client-agent/receiver.o client-agent/main.o client-agent/receiver-win.o client-agent/start_agent.o client-agent/notify.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -o ossec-agentd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ logcollector/read_ossecalert.o logcollector/config.o logcollector/logcollector.o logcollector/read_djb_multilog.o logcollector/read_postgresql_log.o logcollector/main.o logcollector/read_mssql_log.o logcollector/read_win_el.o logcollector/read_win_event_channel.o logcollector/read_syslog.o logcollector/read_nmapg.o logcollector/read_command.o logcollector/read_mysql_log.o logcollector/read_multiline.o logcollector/read_fullcommand.o logcollector/read_snortfull.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -fPIE -pie -Wl,-z,relro -lm -lpthread -o ossec-logcollector make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./os_auth addagent/validate.o os_auth/main-client.o os_auth/ssl.o os_auth/check_cert.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -o agent-auth make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ addagent/read_from_user.o addagent/b64.o addagent/main.o addagent/validate.o addagent/manage_keys.o addagent/manage_agents.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -o manage_agents make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ syscheckd/run_realtime.o syscheckd/create_db.o syscheckd/syscheck.o syscheckd/seechanges.o syscheckd/run_check.o syscheckd/config.o syscheckd/win-registry.o rootcheck.a os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -o ossec-syscheckd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ os_execd/exec.o os_execd/config.o os_execd/execd.o os_execd/win_execd.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a libcJSON.a -lm -fPIE -pie -Wl,-z,relro -lm -lpthread -o ossec-execd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make settings make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' General settings: TARGET: agent V: 1 DEBUG: DEBUGAD: PREFIX: /var/lib/ossec/ossec-agent MAXAGENTS: 2048 REUSE_ID: no DATABASE: ONEWAY: no CLEANFULL: no User settings: OSSEC_GROUP: ossec OSSEC_USER: ossec OSSEC_USER_MAIL: ossecm OSSEC_USER_REM: ossecr ZLIB settings: ZLIB_SYSTEM: no ZLIB_INCLUDE: -I./external/zlib-1.2.11/ ZLIB_LIB: os_zlib.a external/zlib-1.2.11/libz.a Lua settings: LUA_PLAT: posix LUA_ENABLE: yes USE settings: USE_ZEROMQ: no USE_GEOIP: no USE_PRELUDE: no USE_OPENSSL: auto USE_INOTIFY: no USE_SQLITE: Mysql settings: includes: libs: Pgsql settings: includes: libs: Defines: -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR="/var/lib/ossec/ossec-agent" -DUSER="ossec" -DREMUSER="ossecr" -DGROUPGLOBAL="ossec" -DMAILUSER="ossecm" -DLinux -DINOTIFY_ENABLED -DCLIENT Compiler: CFLAGS -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR="/var/lib/ossec/ossec-agent" -DUSER="ossec" -DREMUSER="ossecr" -DGROUPGLOBAL="ossec" -DMAILUSER="ossecm" -DLinux -DINOTIFY_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ LDFLAGS -fPIE -pie -Wl,-z,relro -lm -lpthread CC cc make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' MAKE make make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Done building agent make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' + mv ossec-agentd hybrid/ + mv ossec-execd hybrid/ + mv ossec-logcollector hybrid/ + mv ossec-syscheckd hybrid/ + cp clients/agent-auth hybrid/ + mv manage_agents hybrid/manage_agent + make -j8 clean make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' rm -f external/cJSON/cJSON.o libcJSON.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cd external/zlib-1.2.11/ && make -f Makefile.in distclean make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' cp -p zconf.h.in zconf.h make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' rm -f tests/test_os_zlib.o tests/test_os_regex.o tests/test_os_net.o tests/test_os_xml.o tests/test_os_crypto.o tests/test_shared.o test_os_zlib test_os_xml test_os_regex test_os_crypto test_shared ossec.test rm -Rf coverage-report/ find . -name "*.gcno" -exec rm {} \; find . -name "*.gcda" -exec rm {} \; make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' rm -f *.o *.lo *~ \ example minigzip examplesh minigzipsh \ example64 minigzip64 \ infcover \ libz.* foo.gz so_locations \ _match.s maketree contrib/infback9/*.o rm -rf objs rm -f *.gcda *.gcno *.gcov rm -f contrib/infback9/*.gcda contrib/infback9/*.gcno contrib/infback9/*.gcov make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' rm -f win32/LICENSE.txt rm -f win32/help_win.txt rm -f win32/internal_options.conf rm -f win32/default-local_internal_options.conf rm -f win32/default-ossec.conf rm -f win32/restart-ossec.cmd rm -f win32/route-null.cmd rm -f win32/setup-win.o win32/setup-syscheck.o win32/win_service.o win32/add-localfile.o win32/win_agent.o win32/setup-shared.o win32/agent_auth.o win32/setup-iis.o win32/read-registry.o win32/ui/common.o win32/ui/os_win32ui.o win32/win_service_rk.o rm -f win32/icon.o win32/resource.o rm -f win32/ossec-agent.exe win32/ossec-agent-eventchannel.exe win32/ossec-rootcheck.exe win32/manage_agents.exe win32/setup-windows.exe win32/setup-syscheck.exe win32/setup-iis.exe win32/add-localfile.exe win32/os_win32ui.exe win32/agent-auth.exe rm -f external/lua-5.2.3/src/lua52.dll rm -f external/lua-5.2.3/src/ossec-lua.exe rm -f external/lua-5.2.3/src/ossec-luac.exe rm -f win32/ossec-lua.exe rm -f win32/ossec-luac.exe rm -f win32/ossec-win32-agent.exe make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' rm -f Makefile zlib.pc configure.log make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' cd external/lua-5.2.3/ && make clean cd src && make clean make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' rm -f os_zlib/os_zlib.o os_zlib.a rm -f os_xml/os_xml_variables.o os_xml/os_xml_writer.o os_xml/os_xml_access.o os_xml/os_xml.o os_xml/os_xml_node_access.o os_xml.a rm -f os_regex/os_match.o os_regex/os_regex_str.o os_regex/os_regex_compile.o os_regex/os_regex_startswith.o os_regex/os_regex_free_pattern.o os_regex/os_match_compile.o os_regex/os_regex_strbreak.o os_regex/os_regex.o os_regex/os_match_free_pattern.o os_regex/os_regex_maps.o os_regex/os_regex_execute.o os_regex/os_regex_free_substrings.o os_regex/os_regex_match.o os_regex/os_match_execute.o os_regex.a rm -f os_net/os_net.o os_net.a rm -f shared/read-alert.o shared/fs_op.o shared/store_op.o shared/mem_op.o shared/regex_op.o shared/debug_op.o shared/string_op.o shared/wait_op.o shared/help.o shared/list_op.o shared/mq_op.o shared/privsep_op.o shared/dirtree_op.o shared/custom_output_search_replace.o shared/file-queue.o shared/math_op.o shared/rules_op.o shared/read-agents.o shared/pthreads_op.o shared/hash_op.o shared/validate_op.o shared/sig_op.o shared/report_op.o shared/randombytes.o shared/agent_op.o shared/file_op.o shared.a rm -f config/localfile-config.o config/rootcheck-config.o config/remote-config.o config/active-response.o config/reports-config.o config/agentlessd-config.o config/config.o config/syscheck-config.o config/global-config.o config/email-alerts-config.o config/alerts-config.o config/rules-config.o config/dbd-config.o config/csyslogd-config.o config/client-config.o config.a rm -f os_maild/sendmail.o os_maild/sendcustomemail.o os_maild/config.o os_maild/os_maild_client.o os_maild/maild.o os_maild/mail_list.o ossec-maild rm -f os_crypto/blowfish/bf_op.o os_crypto/blowfish/bf_skey.o os_crypto/blowfish/bf_enc.o os_crypto/md5/md5.o os_crypto/md5/md5_op.o os_crypto/sha1/sha1_op.o os_crypto/shared/keys.o os_crypto/shared/msgs.o os_crypto/md5_sha1/md5_sha1_op.o os_crypto.a rm -f os_csyslogd/config.o os_csyslogd/main.o os_csyslogd/csyslogd.o os_csyslogd/alert.o ossec-csyslogd rm -f os_dbd/config.o os_dbd/db_op.o os_dbd/rules.o os_dbd/main.o os_dbd/server.o os_dbd/alert.o os_dbd/dbd.o ossec-dbd rm -f agentlessd/main.o agentlessd/agentlessd.o ossec-agentlessd rm -f os_execd/exec.o os_execd/config.o os_execd/execd.o os_execd/win_execd.o ossec-execd rm -f logcollector/read_ossecalert.o logcollector/config.o logcollector/logcollector.o logcollector/read_djb_multilog.o logcollector/read_postgresql_log.o logcollector/main.o logcollector/read_mssql_log.o logcollector/read_snortfull.o logcollector/read_win_el.o logcollector/read_win_event_channel.o logcollector/read_mysql_log.o logcollector/read_syslog.o logcollector/read_nmapg.o logcollector/read_command.o logcollector/read_multiline.o logcollector/read_fullcommand.o logcollector/read_ossecalert-event.o logcollector/config-event.o logcollector/logcollector-event.o logcollector/read_djb_multilog-event.o logcollector/read_postgresql_log-event.o logcollector/main-event.o logcollector/read_mssql_log-event.o logcollector/read_snortfull-event.o logcollector/read_win_el-event.o logcollector/read_win_event_channel-event.o logcollector/read_mysql_log-event.o logcollector/read_syslog-event.o logcollector/read_nmapg-event.o logcollector/read_command-event.o logcollector/read_multiline-event.o logcollector/read_fullcommand-event.o ossec-logcollector rm -f remoted/manager.o remoted/sendmsg.o remoted/config.o remoted/ar-forward.o remoted/remoted.o remoted/secure.o remoted/main.o remoted/syslog.o remoted/syslogtcp.o ossec-remoted rm -f reportd/report.o ossec-reportd rm -f client-agent/sendmsg.o client-agent/intcheck_op.o client-agent/agentd.o client-agent/config.o client-agent/event-forward.o client-agent/receiver.o client-agent/main.o client-agent/receiver-win.o client-agent/start_agent.o client-agent/notify.o ossec-agentd rm -f addagent/main.o addagent/read_from_user.o addagent/b64.o addagent/validate.o addagent/manage_keys.o addagent/manage_agents.o manage_agents rm -f util/verify-agent-conf.o util/clear_stats.o util/ossec-regex.o util/agent_control.o util/rootcheck_control.o util/list_agents.o util/syscheck_update.o util/syscheck_control.o syscheck_update clear_stats list_agents agent_control syscheck_control rootcheck_control verify-agent-conf ossec-regex rm -f rootcheck/common_rcl.o rootcheck/check_rc_files.o rootcheck/unix-process.o rootcheck/rootcheck-config.o rootcheck/common.o rootcheck/check_rc_ports.o rootcheck/win-process.o rootcheck/rootcheck.o rootcheck/check_rc_trojans.o rootcheck/check_rc_if.o rootcheck/check_rc_sys.o rootcheck/check_open_ports.o rootcheck/os_string.o rootcheck/win-common.o rootcheck/check_rc_readproc.o rootcheck/check_rc_dev.o rootcheck/run_rk_check.o rootcheck/check_rc_policy.o rootcheck/check_rc_pids.o rootcheck/config.o rootcheck/common_rcl_rk.o rootcheck/check_rc_files_rk.o rootcheck/unix-process_rk.o rootcheck/rootcheck-config_rk.o rootcheck/common_rk.o rootcheck/check_rc_ports_rk.o rootcheck/win-process_rk.o rootcheck/rootcheck_rk.o rootcheck/check_rc_trojans_rk.o rootcheck/check_rc_if_rk.o rootcheck/check_rc_sys_rk.o rootcheck/check_open_ports_rk.o rootcheck/os_string_rk.o rootcheck/win-common_rk.o rootcheck/check_rc_readproc_rk.o rootcheck/check_rc_dev_rk.o rootcheck/run_rk_check_rk.o rootcheck/check_rc_policy_rk.o rootcheck/check_rc_pids_rk.o rootcheck/config_rk.o rootcheck.a rm -f syscheckd/run_realtime.o syscheckd/create_db.o syscheckd/syscheck.o syscheckd/seechanges.o syscheckd/run_check.o syscheckd/config.o syscheckd/win-registry.o ossec-syscheckd rm -f monitord/sendcustomemail.o monitord/sign_log.o monitord/manage_files.o monitord/monitord.o monitord/monitor_agents.o monitord/main.o monitord/generate_reports.o monitord/compress_log.o ossec-monitord rm -f os_auth/main-server.o os_auth/ssl.o os_auth/main-client.o os_auth/ssl-test.o os_auth/check_cert.o ossec-authd agent-auth rm -f analysisd/cdb/cdb_hash.o analysisd/cdb/uint32_pack.o analysisd/cdb/uint32_unpack.o analysisd/cdb/cdb_make.o analysisd/cdb/cdb.o analysisd/alerts/exec.o analysisd/alerts/log.o analysisd/alerts/getloglocation.o analysisd/decoders/plugin_decoders.o analysisd/decoders/decoder.o analysisd/decoders/hostinfo.o analysisd/decoders/decode-xml.o analysisd/decoders/syscheck.o analysisd/decoders/geoip.o analysisd/decoders/rootcheck.o analysisd/decoders/decoders_list.o analysisd/decoders/plugins/pf_decoder.o analysisd/decoders/plugins/sonicwall_decoder.o analysisd/decoders/plugins/symantecws_decoder.o analysisd/decoders/plugins/ossecalert_decoder.o analysisd/compiled_rules/generic_samples.o analysisd/decoders/plugin_decoders-test.o analysisd/decoders/decoder-test.o analysisd/decoders/hostinfo-test.o analysisd/decoders/decode-xml-test.o analysisd/decoders/syscheck-test.o analysisd/decoders/geoip-test.o analysisd/decoders/rootcheck-test.o analysisd/decoders/decoders_list-test.o analysisd/decoders/plugins/pf_decoder-test.o analysisd/decoders/plugins/sonicwall_decoder-test.o analysisd/decoders/plugins/symantecws_decoder-test.o analysisd/decoders/plugins/ossecalert_decoder-test.o analysisd/compiled_rules/generic_samples-test.o analysisd/decoders/plugin_decoders-live.o analysisd/decoders/decoder-live.o analysisd/decoders/hostinfo-live.o analysisd/decoders/decode-xml-live.o analysisd/decoders/syscheck-live.o analysisd/decoders/geoip-live.o analysisd/decoders/rootcheck-live.o analysisd/decoders/decoders_list-live.o analysisd/decoders/plugins/pf_decoder-live.o analysisd/decoders/plugins/sonicwall_decoder-live.o analysisd/decoders/plugins/symantecws_decoder-live.o analysisd/decoders/plugins/ossecalert_decoder-live.o analysisd/compiled_rules/generic_samples-live.o analysisd/format/to_json.o analysisd/output/jsonout.o analysisd/output/prelude.o analysisd/output/zeromq.o analysisd/config.o analysisd/lists.o analysisd/active-response.o analysisd/lists_list.o analysisd/fts.o analysisd/lists_make.o analysisd/cleanevent.o analysisd/rules_list.o analysisd/eventinfo_list.o analysisd/stats.o analysisd/accumulator.o analysisd/eventinfo.o analysisd/rules.o analysisd/dodiff.o analysisd/config-test.o analysisd/lists-test.o analysisd/active-response-test.o analysisd/lists_list-test.o analysisd/fts-test.o analysisd/lists_make-test.o analysisd/cleanevent-test.o analysisd/rules_list-test.o analysisd/eventinfo_list-test.o analysisd/stats-test.o analysisd/accumulator-test.o analysisd/eventinfo-test.o analysisd/rules-test.o analysisd/dodiff-test.o analysisd/config-live.o analysisd/lists-live.o analysisd/active-response-live.o analysisd/lists_list-live.o analysisd/fts-live.o analysisd/lists_make-live.o analysisd/cleanevent-live.o analysisd/rules_list-live.o analysisd/eventinfo_list-live.o analysisd/stats-live.o analysisd/accumulator-live.o analysisd/eventinfo-live.o analysisd/rules-live.o analysisd/dodiff-live.o analysisd/testrule-test.o analysisd/analysisd-live.o analysisd/analysisd-test.o analysisd/makelists-live.o cdb.a alerts.a decoders.a decoders-test.a decoders-live.a analysisd/compiled_rules/compiled_rules.h rm -f ossec-logtest ossec-analysisd ossec-makelists make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[2]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' rm -f liblua.a ossec-lua ossec-luac 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 lua.o luac.o make[2]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' + make -j8 DATABASE=pgsql MAXAGENTS=16384 USE_GEOIP=1 TARGET=server V=1 cd external/zlib-1.2.11/ && ./configure && make libz.a cd external/lua-5.2.3/ && make posix cd src && make posix make all SYSCFLAGS="-DLUA_USE_POSIX" Checking for gcc... Checking for shared library support... make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-maild\" -c os_maild/sendcustomemail.c -o os_maild/sendcustomemail.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-maild\" -c os_maild/config.c -o os_maild/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Building shared library libz.so.1.2.11 with gcc. Checking for size_t... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-maild\" -c os_maild/mail_list.c -o os_maild/mail_list.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-maild\" -c os_maild/os_maild_client.c -o os_maild/os_maild_client.o In file included from os_maild/os_maild_client.c:11: os_maild/os_maild_client.c: In function 'OS_RecvMailQ': os_maild/maild.h:34:29: warning: '%s' directive output may be truncated writing up to 6144 bytes into a region of size between 5039 and 7087 [-Wformat-truncation=] #define MAIL_BODY "\r\nOSSEC HIDS Notification.\r\n" \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_maild/maild.h:34:29: note: in definition of macro 'MAIL_BODY' #define MAIL_BODY "\r\nOSSEC HIDS Notification.\r\n" \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_maild/maild.h:40:30: note: format string is defined here "%s" \ ^~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from os_maild/os_maild_client.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 141 or more bytes (assuming 14477) into a destination of size 7167 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Checking for off64_t... Yes. Checking for fseeko... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -Wno-implicit-fallthrough -c os_crypto/blowfish/bf_op.c -o os_crypto/blowfish/bf_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-maild\" -c os_maild/maild.c -o os_maild/maild.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lapi.o lapi.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -Wno-implicit-fallthrough -c os_crypto/blowfish/bf_skey.c -o os_crypto/blowfish/bf_skey.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_crypto/md5/md5_op.c -o os_crypto/md5/md5_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-maild\" -c os_maild/sendmail.c -o os_maild/sendmail.o os_maild/sendmail.c: In function 'OS_Sendmail': os_maild/sendmail.c:31:29: 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" ^~~~~~~~~~~~~~~~~ os_maild/sendmail.c:561:32: note: in expansion of macro 'SUBJECT' snprintf(snd_msg, 127, SUBJECT, _g_subject); ^~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from os_maild/sendmail.c:12: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 12 and 141 bytes into a destination of size 127 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Checking for strerror... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_zlib/os_zlib.c -o os_zlib/os_zlib.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -Wno-implicit-fallthrough -c os_crypto/blowfish/bf_enc.c -o os_crypto/blowfish/bf_enc.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_crypto/md5/md5.c -o os_crypto/md5/md5.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Checking for unistd.h... Yes. Checking for stdarg.h... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_crypto/md5_sha1/md5_sha1_op.c -o os_crypto/md5_sha1/md5_sha1_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lcode.o lcode.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lctype.o lctype.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf(). Checking for vsnprintf() in stdio.h... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/remote-config.c -o config/remote-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Checking for return value of vsnprintf()... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/localfile-config.c -o config/localfile-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Checking for attribute(visibility) support... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/rootcheck-config.c -o config/rootcheck-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o ldebug.o ldebug.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/reports-config.c -o config/reports-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/config.c -o config/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/agentlessd-config.c -o config/agentlessd-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c external/cJSON/cJSON.c -o external/cJSON/cJSON.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/active-response.c -o config/active-response.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o adler32.o adler32.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/email-alerts-config.c -o config/email-alerts-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/dbd-config.c -o config/dbd-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -Wno-implicit-fallthrough -c os_crypto/sha1/sha1_op.c -o os_crypto/sha1/sha1_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/rules-config.c -o config/rules-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o ldo.o ldo.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/alerts-config.c -o config/alerts-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o crc32.o crc32.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/global-config.c -o config/global-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o ldump.o ldump.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/fs_op.c -o shared/fs_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/client-config.c -o config/client-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/csyslogd-config.c -o config/csyslogd-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lfunc.o lfunc.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/syscheck-config.c -o config/syscheck-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/regex_op.c -o shared/regex_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/read-alert.c -o shared/read-alert.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/mem_op.c -o shared/mem_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/store_op.c -o shared/store_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/debug_op.c -o shared/debug_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/help.c -o shared/help.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/file_op.c -o shared/file_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/wait_op.c -o shared/wait_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/string_op.c -o shared/string_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/list_op.c -o shared/list_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/mq_op.c -o shared/mq_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/privsep_op.c -o shared/privsep_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/custom_output_search_replace.c -o shared/custom_output_search_replace.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/file-queue.c -o shared/file-queue.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/math_op.c -o shared/math_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/report_op.c -o shared/report_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o llex.o llex.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lmem.o lmem.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/pthreads_op.c -o shared/pthreads_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/dirtree_op.c -o shared/dirtree_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/sig_op.c -o shared/sig_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lgc.o lgc.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lopcodes.o lopcodes.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/hash_op.c -o shared/hash_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/randombytes.c -o shared/randombytes.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/validate_op.c -o shared/validate_op.o shared/validate_op.c: In function '__gethour': shared/validate_op.c:519:38: warning: '%02d' directive output may be truncated writing between 2 and 11 bytes into a region of size 6 [-Wformat-truncation=] snprintf(ossec_hour, 6, "%02d:%02d", chour, cmin); ^~~~ shared/validate_op.c:519:37: note: directive argument in the range [-2147483636, 2147483647] snprintf(ossec_hour, 6, "%02d:%02d", chour, cmin); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from shared/validate_op.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 6 and 24 bytes into a destination of size 6 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shared/validate_op.c: In function 'OS_IsValidTime': shared/validate_op.c:600: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); ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from shared/validate_op.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 14 bytes into a destination of size 12 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shared/validate_op.c:595: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); ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from shared/validate_op.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 14 bytes into a destination of size 12 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/read-agents.c -o shared/read-agents.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lobject.o lobject.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex.c -o os_regex/os_regex.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/rules_op.c -o shared/rules_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_str.c -o os_regex/os_regex_str.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_match.c -o os_regex/os_match.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_match.c -o os_regex/os_regex_match.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_startswith.c -o os_regex/os_regex_startswith.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o deflate.o deflate.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/agent_op.c -o shared/agent_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_match_compile.c -o os_regex/os_match_compile.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_free_pattern.c -o os_regex/os_regex_free_pattern.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_strbreak.c -o os_regex/os_regex_strbreak.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lstate.o lstate.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_net/os_net.c -o os_net/os_net.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_match_free_pattern.c -o os_regex/os_match_free_pattern.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_free_substrings.c -o os_regex/os_regex_free_substrings.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_maps.c -o os_regex/os_regex_maps.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lstring.o lstring.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inffast.o inffast.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_execute.c -o os_regex/os_regex_execute.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_match_execute.c -o os_regex/os_match_execute.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_compile.c -o os_regex/os_regex_compile.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o infback.o infback.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lparser.o lparser.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o ltm.o ltm.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o zutil.o zutil.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o ltable.o ltable.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml_variables.c -o os_xml/os_xml_variables.o os_xml/os_xml_variables.c: In function 'OS_ApplyVariables': os_xml/os_xml_variables.c:179:42: 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/os_xml_variables.c:180:46: note: format string is defined here ": '%s'.", lvar); ^~ In file included from /usr/include/stdio.h:862, from os_xml/os_xml_variables.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 30 and 285 bytes into a destination of size 128 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inftrees.o inftrees.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o compress.o compress.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml_writer.c -o os_xml/os_xml_writer.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lundump.o lundump.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzclose.o gzclose.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lzio.o lzio.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o uncompr.o uncompr.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml_access.c -o os_xml/os_xml_access.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o trees.o trees.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzlib.o gzlib.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml_node_access.c -o os_xml/os_xml_node_access.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml.c -o os_xml/os_xml.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -DARGV0=\"ossec-csyslogd\" -c os_csyslogd/config.c -o os_csyslogd/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzread.o gzread.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lbaselib.o lbaselib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzwrite.o gzwrite.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inflate.o inflate.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lauxlib.o lauxlib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' 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 make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lbitlib.o lbitlib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -DARGV0=\"ossec-csyslogd\" -c os_csyslogd/main.c -o os_csyslogd/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lcorolib.o lcorolib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lvm.o lvm.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -DARGV0=\"ossec-csyslogd\" -c os_csyslogd/csyslogd.c -o os_csyslogd/csyslogd.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -DARGV0=\"ossec-csyslogd\" -c os_csyslogd/alert.c -o os_csyslogd/alert.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o loslib.o loslib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o ldblib.o ldblib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-agentlessd\" -c agentlessd/main.c -o agentlessd/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/exec.c -o os_execd/exec.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/win_execd.c -o os_execd/win_execd.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/config.c -o os_execd/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o ltablib.o ltablib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lmathlib.o lmathlib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_ossecalert.c -o logcollector/read_ossecalert.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o linit.o linit.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-agentlessd\" -c agentlessd/agentlessd.c -o agentlessd/agentlessd.o agentlessd/agentlessd.c: In function 'Agentlessd': agentlessd/agentlessd.c:231: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/agentlessd.c:233:28: tmp_location, old_location, ~~~~~~~~~~~~ agentlessd/agentlessd.c:231:30: note: using the range [-2147483648, 2147483647] for directive argument snprintf(diff_cmd, 2048, "diff \"%s\" \"%s\" > \"%s/%s->%s/diff.%d\" " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from agentlessd/agentlessd.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 63 or more bytes (assuming 2111) into a destination of size 2048 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o liolib.o liolib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/config.c -o logcollector/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o loadlib.o loadlib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lstrlib.o lstrlib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/execd.c -o os_execd/execd.o os_execd/execd.c: In function 'ExecdStart': os_execd/execd.c:436:50: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 9 [-Wformat-truncation=] snprintf(ntimes, 9, "%d", ntimes_int); ^~ os_execd/execd.c:436:49: note: directive argument in the range [-2147483647, 6] snprintf(ntimes, 9, "%d", ntimes_int); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from os_execd/execd.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 9 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_execd/execd.c:478:50: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 9 [-Wformat-truncation=] snprintf(ntimes, 9, "%d", ntimes_int); ^~ os_execd/execd.c:478:49: note: directive argument in the range [-2147483647, 6] snprintf(ntimes, 9, "%d", ntimes_int); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from os_execd/execd.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 9 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' 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 ranlib liblua.a make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_djb_multilog.c -o logcollector/read_djb_multilog.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_win_el.c -o logcollector/read_win_el.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lua.o lua.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_postgresql_log.c -o logcollector/read_postgresql_log.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/main.c -o logcollector/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_win_event_channel.c -o logcollector/read_win_event_channel.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/logcollector.c -o logcollector/logcollector.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_mssql_log.c -o logcollector/read_mssql_log.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o luac.o luac.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -o ossec-lua lua.o liblua.a -lm make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_syslog.c -o logcollector/read_syslog.o logcollector/read_syslog.c: In function 'read_syslog': logcollector/read_syslog.c:91: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); ^~ ~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from logcollector/read_syslog.c:12: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output between 1 and 6145 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_command.c -o logcollector/read_command.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_mysql_log.c -o logcollector/read_mysql_log.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_multiline.c -o logcollector/read_multiline.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_fullcommand.c -o logcollector/read_fullcommand.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -o ossec-luac luac.o liblua.a -lm make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_nmapg.c -o logcollector/read_nmapg.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -I./external/zlib-1.2.11/ -DARGV0=\"ossec-remoted\" -c remoted/sendmsg.c -o remoted/sendmsg.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -I./external/zlib-1.2.11/ -DARGV0=\"ossec-remoted\" -c remoted/config.c -o remoted/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_snortfull.c -o logcollector/read_snortfull.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -I./external/zlib-1.2.11/ -DARGV0=\"ossec-remoted\" -c remoted/ar-forward.c -o remoted/ar-forward.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -I./external/zlib-1.2.11/ -DARGV0=\"ossec-remoted\" -c remoted/remoted.c -o remoted/remoted.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -I./external/zlib-1.2.11/ -DARGV0=\"ossec-remoted\" -c remoted/syslog.c -o remoted/syslog.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/sendmsg.c -o client-agent/sendmsg.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -I./external/zlib-1.2.11/ -DARGV0=\"ossec-remoted\" -c remoted/main.c -o remoted/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/intcheck_op.c -o client-agent/intcheck_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -I./external/zlib-1.2.11/ -DARGV0=\"ossec-remoted\" -c remoted/manager.c -o remoted/manager.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -I./external/zlib-1.2.11/ -DARGV0=\"ossec-remoted\" -c remoted/secure.c -o remoted/secure.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -I./external/zlib-1.2.11/ -DARGV0=\"ossec-remoted\" -c remoted/syslogtcp.c -o remoted/syslogtcp.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/config.c -o client-agent/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/receiver-win.c -o client-agent/receiver-win.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/agentd.c -o client-agent/agentd.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/event-forward.c -o client-agent/event-forward.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/read_from_user.c -o addagent/read_from_user.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/receiver.c -o client-agent/receiver.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/main.c -o client-agent/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/start_agent.c -o client-agent/start_agent.o client-agent/start_agent.c: In function 'start_agent': client-agent/start_agent.c:155: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); ~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from client-agent/start_agent.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 9 and 6154 bytes into a destination of size 6144 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/notify.c -o client-agent/notify.o client-agent/notify.c: In function 'run_notify': client-agent/notify.c:124: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); ~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from client-agent/notify.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 9 or more bytes (assuming 1064) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client-agent/notify.c:127: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); ~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from client-agent/notify.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 1029) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/main.c -o addagent/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/b64.c -o addagent/b64.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -I./external/zlib-1.2.11/ -DARGV0=\"utils\" -c util/clear_stats.c -o util/clear_stats.o util/clear_stats.c: In function 'main': util/clear_stats.c:147: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, ^ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from util/clear_stats.c:12: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 6401 bytes into a destination of size 6144 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -I./external/zlib-1.2.11/ -DARGV0=\"utils\" -c util/syscheck_update.c -o util/syscheck_update.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/validate.c -o addagent/validate.o addagent/validate.c: In function 'OS_AddNewAgent': addagent/validate.c:61:31: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 8 [-Wformat-truncation=] snprintf(nid, 8, "%d", m); ^~ addagent/validate.c:61:30: note: directive argument in the range [-1073741824, 1073741823] snprintf(nid, 8, "%d", m); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/validate.c:11: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/validate.c:62:33: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 8 [-Wformat-truncation=] snprintf(nid_p, 8, "%d", m - 1); ^~ addagent/validate.c:62:32: note: directive argument in the range [-1073741825, 1073741822] snprintf(nid_p, 8, "%d", m - 1); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/validate.c:11: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -I./external/zlib-1.2.11/ -DARGV0=\"utils\" -c util/list_agents.c -o util/list_agents.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/manage_agents.c -o addagent/manage_agents.o addagent/manage_agents.c: In function 'add_agent': addagent/manage_agents.c:274:41: 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", (int)(time3 - time2), name, (int)rand1); ^~ ~~~~ addagent/manage_agents.c:274:38: note: using the range [-2147483648, 2147483647] for directive argument snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); ^~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/manage_agents.c:14: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 280 bytes into a destination of size 66 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/manage_agents.c:275:41: 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", (int)(time2 - time1), ip, id, (int)rand2); ^~ ~~ addagent/manage_agents.c:275:38: note: using the range [-2147483648, 2147483647] for directive argument snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); ^~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/manage_agents.c:14: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 537 bytes into a destination of size 66 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -I./external/zlib-1.2.11/ -DARGV0=\"utils\" -c util/syscheck_control.c -o util/syscheck_control.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/manage_keys.c -o addagent/manage_keys.o addagent/manage_keys.c: In function 'k_import': addagent/manage_keys.c:44:5: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector] int k_import(const char *cmdimport) ^~~~~~~~ addagent/manage_keys.c: In function 'k_bulkload': addagent/manage_keys.c:415: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", (int)(time3 - time2), name, (int)rand1); ^~ ~~~~ addagent/manage_keys.c:415:34: note: using the range [-2147483648, 2147483647] for directive argument snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); ^~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/manage_keys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 280 bytes into a destination of size 66 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/manage_keys.c:416: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", (int)(time2 - time1), ip, id, (int)rand2); ^~ ~~ addagent/manage_keys.c:416:34: note: using the range [-2147483648, 2147483647] for directive argument snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); ^~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/manage_keys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 537 bytes into a destination of size 66 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -I./external/zlib-1.2.11/ -DARGV0=\"utils\" -c util/verify-agent-conf.c -o util/verify-agent-conf.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -I./external/zlib-1.2.11/ -DARGV0=\"utils\" -c util/ossec-regex.c -o util/ossec-regex.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -I./external/zlib-1.2.11/ -DARGV0=\"utils\" -c util/rootcheck_control.c -o util/rootcheck_control.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -I./external/zlib-1.2.11/ -DARGV0=\"utils\" -c util/agent_control.c -o util/agent_control.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/run_realtime.c -o syscheckd/run_realtime.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/win-registry.c -o syscheckd/win-registry.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/config.c -o syscheckd/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/syscheck.c -o syscheckd/syscheck.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/seechanges.c -o syscheckd/seechanges.o syscheckd/seechanges.c: In function 'seechanges_addfile': syscheckd/seechanges.c:394:21: 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, ~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from syscheckd/seechanges.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 29 and 18461 bytes into a destination of size 2048 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ syscheckd/seechanges.c:126:37: 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 ? ~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from syscheckd/seechanges.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 1 and 6160 bytes into a destination of size 4095 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/create_db.c -o syscheckd/create_db.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/unix-process.c -o rootcheck/unix-process.o rootcheck/unix-process.c: In function 'os_get_process_list': rootcheck/unix-process.c:27:40: warning: ' -p ' directive output may be truncated writing 4 bytes into a region of size between 0 and 1024 [-Wformat-truncation=] snprintf(command, OS_SIZE_1024, "%s -p %d 2> /dev/null", ps, mpid); ^~~~ rootcheck/unix-process.c:27:37: note: directive argument in the range [1, 32769] snprintf(command, OS_SIZE_1024, "%s -p %d 2> /dev/null", ps, mpid); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/unix-process.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 19 and 1047 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/win-process.c -o rootcheck/win-process.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/run_check.c -o syscheckd/run_check.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/config.c -o rootcheck/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_files.c -o rootcheck/check_rc_files.o rootcheck/check_rc_files.c: In function 'check_rc_files': rootcheck/check_rc_files.c:168: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); ~~~~~~~~~ rootcheck/check_rc_files.c:169:48: note: format string is defined here "by the presence of file '%s'.", name, file_path); ^~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_files.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 48 or more bytes (assuming 1072) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_trojans.c -o rootcheck/check_rc_trojans.o rootcheck/check_rc_trojans.c: In function 'check_rc_trojans': rootcheck/check_rc_trojans.c:94: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 " ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_trojans.c:96:26: file_path, ~~~~~~~~~ rootcheck/check_rc_trojans.c:95:28: note: format string is defined here "'%s' detected. Signature used: '%s' (%s).", ^~ rootcheck/check_rc_trojans.c:94:48: note: assuming directive output of 7 bytes snprintf(op_msg, OS_SIZE_1024, "Trojaned version of file " ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_trojans.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 61 or more bytes (assuming 1092) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_if.c -o rootcheck/check_rc_if.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/os_string.c -o rootcheck/os_string.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_ports.c -o rootcheck/check_rc_ports.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_open_ports.c -o rootcheck/check_open_ports.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/win-common.c -o rootcheck/win-common.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/common_rcl.c -o rootcheck/common_rcl.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_readproc.c -o rootcheck/check_rc_readproc.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_policy.c -o rootcheck/check_rc_policy.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/common.c -o rootcheck/common.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_sys.c -o rootcheck/check_rc_sys.o rootcheck/check_rc_sys.c: In function 'read_sys_dir': rootcheck/check_rc_sys.c:92:52: warning: '%s' directive output may be truncated writing up to 4097 bytes into a region of size 998 [-Wformat-truncation=] snprintf(op_msg, OS_SIZE_1024, "Anomaly detected in file " ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_sys.c:294:23: read_sys_file(f_name, do_read); ~~~~~~ rootcheck/check_rc_sys.c:93:32: note: format string is defined here "'%s'. File size doesn't match what we found. " ^~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 99 and 4196 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_sys.c:121:51: warning: '%s' directive output may be truncated writing up to 4097 bytes into a region of size 1018 [-Wformat-truncation=] snprintf(op_msg, OS_SIZE_1024, "File '%s' is owned by root " ^~ rootcheck/check_rc_sys.c:294:23: read_sys_file(f_name, do_read); ~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 62 and 4159 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_sys.c:39:67: warning: '%s' directive output may be truncated writing up to 4097 bytes into a region of size 998 [-Wformat-truncation=] snprintf(op_msg, OS_SIZE_1024, "Anomaly detected in file '%s'. " ^~ rootcheck/check_rc_sys.c:294:23: read_sys_file(f_name, do_read); ~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 106 and 4203 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/run_rk_check.c -o rootcheck/run_rk_check.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/main-server.c -o os_auth/main-server.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/ssl.c -o os_auth/ssl.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/check_cert.c -o os_auth/check_cert.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-reportd\" -c reportd/report.c -o reportd/report.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_pids.c -o rootcheck/check_rc_pids.o rootcheck/check_rc_pids.c: In function 'check_rc_pids': rootcheck/check_rc_pids.c:167:48: warning: ' -p ' directive output may be truncated writing 4 bytes into a region of size between 0 and 1024 [-Wformat-truncation=] snprintf(command, OS_SIZE_1024, "%s -p %d > /dev/null 2>&1", ps, (int)i); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_pids.c:11: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 23 and 1057 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_pids.c:314: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 " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_pids.c:316:44: "Analyzed %d processes.", ps, _total); ~~ rootcheck/check_rc_pids.c:315:36: note: format string is defined here "rootkits.\n %s is not trojaned. " ^~ rootcheck/check_rc_pids.c:314:40: note: directive argument in the range [1, 32769] snprintf(op_msg, OS_SIZE_1024, "No hidden process by Kernel-level " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_pids.c:11: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 90 and 1118 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/output/zeromq.c -o analysisd/output/zeromq.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/rootcheck.c -o rootcheck/rootcheck.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/output/prelude.c -o analysisd/output/prelude.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_dev.c -o rootcheck/check_rc_dev.o rootcheck/check_rc_dev.c: In function 'read_dev_dir': rootcheck/check_rc_dev.c:42:47: warning: '%s' directive output may be truncated writing up to 4097 bytes into a region of size 1018 [-Wformat-truncation=] snprintf(op_msg, OS_SIZE_1024, "File '%s' present on /dev." ^~ rootcheck/check_rc_dev.c:135:23: read_dev_file(f_name); ~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_dev.c:11: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 47 and 4144 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ./analysisd/compiled_rules/register_rule.sh build *Build completed. make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/cdb -c analysisd/cdb/cdb_hash.c -o analysisd/cdb/cdb_hash.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/cdb -c analysisd/cdb/uint32_pack.c -o analysisd/cdb/uint32_pack.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/output/jsonout.c -o analysisd/output/jsonout.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/cdb -c analysisd/cdb/uint32_unpack.c -o analysisd/cdb/uint32_unpack.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/format/to_json.c -o analysisd/format/to_json.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/alerts -c analysisd/alerts/exec.c -o analysisd/alerts/exec.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/alerts -c analysisd/alerts/getloglocation.c -o analysisd/alerts/getloglocation.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/cdb -c analysisd/cdb/cdb.c -o analysisd/cdb/cdb.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugin_decoders.c -o analysisd/decoders/plugin_decoders-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/alerts -c analysisd/alerts/log.c -o analysisd/alerts/log.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/hostinfo.c -o analysisd/decoders/hostinfo-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/cdb -c analysisd/cdb/cdb_make.c -o analysisd/cdb/cdb_make.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/decoder.c -o analysisd/decoders/decoder-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/geoip.c -o analysisd/decoders/geoip-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/rootcheck.c -o analysisd/decoders/rootcheck-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/sonicwall_decoder.c -o analysisd/decoders/plugins/sonicwall_decoder-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/pf_decoder.c -o analysisd/decoders/plugins/pf_decoder-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/decoders_list.c -o analysisd/decoders/decoders_list-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/symantecws_decoder.c -o analysisd/decoders/plugins/symantecws_decoder-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/ossecalert_decoder.c -o analysisd/decoders/plugins/ossecalert_decoder-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/config.c -o analysisd/config-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/compiled_rules/generic_samples.c -o analysisd/compiled_rules/generic_samples-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/decode-xml.c -o analysisd/decoders/decode-xml-live.o analysisd/decoders/decode-xml.c: In function 'ReadDecodeXML': analysisd/decoders/decode-xml.c:454:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) DstUser_FP; ^ analysisd/decoders/decode-xml.c:456:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) SrcUser_FP; ^ analysisd/decoders/decode-xml.c:460:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) DstUser_FP; ^ analysisd/decoders/decode-xml.c:462:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) SrcIP_FP; ^ analysisd/decoders/decode-xml.c:464:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) DstIP_FP; ^ analysisd/decoders/decode-xml.c:466:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) SrcPort_FP; ^ analysisd/decoders/decode-xml.c:468:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) DstPort_FP; ^ analysisd/decoders/decode-xml.c:470:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Protocol_FP; ^ analysisd/decoders/decode-xml.c:472:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Action_FP; ^ analysisd/decoders/decode-xml.c:474:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) ID_FP; ^ analysisd/decoders/decode-xml.c:476:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Url_FP; ^ analysisd/decoders/decode-xml.c:478:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Data_FP; ^ analysisd/decoders/decode-xml.c:480:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Data_FP; ^ analysisd/decoders/decode-xml.c:482:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Status_FP; ^ analysisd/decoders/decode-xml.c:484:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) SystemName_FP; ^ analysisd/decoders/decode-xml.c:486:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) FileName_FP; ^ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/lists.c -o analysisd/lists-test.o analysisd/lists.c: In function 'Lists_OP_LoadList': analysisd/lists.c:40:52: 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); ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 7 and 6150 bytes into a destination of size 6143 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/lists.c:41:48: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); ^ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output between 1 and 6144 bytes into a destination of size 6143 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/lists.c:45:48: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); ^ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output between 1 and 6144 bytes into a destination of size 6143 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/lists.c:48:44: 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); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 5 and 6148 bytes into a destination of size 6143 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/syscheck.c -o analysisd/decoders/syscheck-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/active-response.c -o analysisd/active-response-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/fts.c -o analysisd/fts-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/lists_make.c -o analysisd/lists_make-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/eventinfo_list.c -o analysisd/eventinfo_list-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/rules_list.c -o analysisd/rules_list-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/lists_list.c -o analysisd/lists_list-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/accumulator.c -o analysisd/accumulator-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/cleanevent.c -o analysisd/cleanevent-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugin_decoders.c -o analysisd/decoders/plugin_decoders-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/dodiff.c -o analysisd/dodiff-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/stats.c -o analysisd/stats-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/eventinfo.c -o analysisd/eventinfo-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/decoder.c -o analysisd/decoders/decoder-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/hostinfo.c -o analysisd/decoders/hostinfo-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/testrule.c -o analysisd/testrule-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/geoip.c -o analysisd/decoders/geoip-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/analysisd.c -o analysisd/analysisd-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/decoders_list.c -o analysisd/decoders/decoders_list-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/pf_decoder.c -o analysisd/decoders/plugins/pf_decoder-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/sonicwall_decoder.c -o analysisd/decoders/plugins/sonicwall_decoder-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/symantecws_decoder.c -o analysisd/decoders/plugins/symantecws_decoder-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/rootcheck.c -o analysisd/decoders/rootcheck-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/ossecalert_decoder.c -o analysisd/decoders/plugins/ossecalert_decoder-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/include/pgsql -I/usr/include/pgsql -DARGV0=\"ossec-dbd\" -c os_dbd/config.c -o os_dbd/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/makelists.c -o analysisd/makelists-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/decode-xml.c -o analysisd/decoders/decode-xml-test.o analysisd/decoders/decode-xml.c: In function 'ReadDecodeXML': analysisd/decoders/decode-xml.c:454:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) DstUser_FP; ^ analysisd/decoders/decode-xml.c:456:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) SrcUser_FP; ^ analysisd/decoders/decode-xml.c:460:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) DstUser_FP; ^ analysisd/decoders/decode-xml.c:462:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) SrcIP_FP; ^ analysisd/decoders/decode-xml.c:464:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) DstIP_FP; ^ analysisd/decoders/decode-xml.c:466:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) SrcPort_FP; ^ analysisd/decoders/decode-xml.c:468:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) DstPort_FP; ^ analysisd/decoders/decode-xml.c:470:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Protocol_FP; ^ analysisd/decoders/decode-xml.c:472:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Action_FP; ^ analysisd/decoders/decode-xml.c:474:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) ID_FP; ^ analysisd/decoders/decode-xml.c:476:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Url_FP; ^ analysisd/decoders/decode-xml.c:478:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Data_FP; ^ analysisd/decoders/decode-xml.c:480:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Data_FP; ^ analysisd/decoders/decode-xml.c:482:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Status_FP; ^ analysisd/decoders/decode-xml.c:484:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) SystemName_FP; ^ analysisd/decoders/decode-xml.c:486:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) FileName_FP; ^ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/compiled_rules/generic_samples.c -o analysisd/compiled_rules/generic_samples-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/include/pgsql -I/usr/include/pgsql -DARGV0=\"ossec-dbd\" -c os_dbd/rules.c -o os_dbd/rules.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/include/pgsql -I/usr/include/pgsql -DARGV0=\"ossec-dbd\" -c os_dbd/main.c -o os_dbd/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/syscheck.c -o analysisd/decoders/syscheck-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs libcJSON.a external/cJSON/cJSON.o ranlib libcJSON.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs os_zlib.a os_zlib/os_zlib.o ranlib os_zlib.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/include/pgsql -I/usr/include/pgsql -DARGV0=\"ossec-dbd\" -c os_dbd/server.c -o os_dbd/server.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs config.a config/localfile-config.o config/rootcheck-config.o config/remote-config.o config/active-response.o config/reports-config.o config/agentlessd-config.o config/config.o config/syscheck-config.o config/global-config.o config/email-alerts-config.o config/rules-config.o config/dbd-config.o config/alerts-config.o config/csyslogd-config.o config/client-config.o ranlib config.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs shared.a shared/read-alert.o shared/fs_op.o shared/store_op.o shared/mem_op.o shared/regex_op.o shared/file_op.o shared/debug_op.o shared/report_op.o shared/string_op.o shared/wait_op.o shared/help.o shared/list_op.o shared/mq_op.o shared/privsep_op.o shared/dirtree_op.o shared/custom_output_search_replace.o shared/file-queue.o shared/math_op.o shared/rules_op.o shared/read-agents.o shared/pthreads_op.o shared/hash_op.o shared/validate_op.o shared/sig_op.o shared/randombytes.o shared/agent_op.o ranlib shared.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs os_net.a os_net/os_net.o ranlib os_net.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs os_regex.a os_regex/os_regex_match.o os_regex/os_regex.o os_regex/os_regex_str.o os_regex/os_match.o os_regex/os_regex_startswith.o os_regex/os_regex_free_pattern.o os_regex/os_match_compile.o os_regex/os_regex_strbreak.o os_regex/os_match_free_pattern.o os_regex/os_regex_maps.o os_regex/os_regex_execute.o os_regex/os_regex_free_substrings.o os_regex/os_regex_compile.o os_regex/os_match_execute.o ranlib os_regex.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs os_xml.a os_xml/os_xml_variables.o os_xml/os_xml_writer.o os_xml/os_xml_access.o os_xml/os_xml.o os_xml/os_xml_node_access.o ranlib os_xml.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs rootcheck.a rootcheck/unix-process.o rootcheck/check_rc_files.o rootcheck/common.o rootcheck/check_rc_ports.o rootcheck/common_rcl.o rootcheck/win-process.o rootcheck/config.o rootcheck/check_rc_trojans.o rootcheck/check_rc_if.o rootcheck/check_rc_sys.o rootcheck/check_open_ports.o rootcheck/os_string.o rootcheck/win-common.o rootcheck/check_rc_readproc.o rootcheck/check_rc_dev.o rootcheck/run_rk_check.o rootcheck/check_rc_policy.o rootcheck/check_rc_pids.o rootcheck/rootcheck.o ranlib rootcheck.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/rules.c -o analysisd/rules-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/include/pgsql -I/usr/include/pgsql -DARGV0=\"ossec-dbd\" -c os_dbd/db_op.c -o os_dbd/db_op.o os_dbd/db_op.c: In function 'postgresql_osdb_connect': os_dbd/db_op.c:272:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] snprintf(portAsString, 6, ""); ^~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/include/pgsql -I/usr/include/pgsql -DARGV0=\"ossec-dbd\" -c os_dbd/dbd.c -o os_dbd/dbd.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/sign_log.c -o monitord/sign_log.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/include/pgsql -I/usr/include/pgsql -DARGV0=\"ossec-dbd\" -c os_dbd/alert.c -o os_dbd/alert.o os_dbd/alert.c: In function 'OS_Alert_InsertDB': os_dbd/alert.c:88:5: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector] int OS_Alert_InsertDB(const alert_data *al_data, DBConfig *db_config) ^~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/monitord.c -o monitord/monitord.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/manage_files.c -o monitord/manage_files.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/monitor_agents.c -o monitord/monitor_agents.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/sendcustomemail.c -o monitord/sendcustomemail.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/generate_reports.c -o monitord/generate_reports.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/compress_log.c -o monitord/compress_log.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/main.c -o monitord/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/active-response.c -o analysisd/active-response-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/config.c -o analysisd/config-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/lists.c -o analysisd/lists-live.o analysisd/lists.c: In function 'Lists_OP_LoadList': analysisd/lists.c:40:52: 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); ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 7 and 6150 bytes into a destination of size 6143 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/lists.c:41:48: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); ^ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output between 1 and 6144 bytes into a destination of size 6143 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/lists.c:45:48: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); ^ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output between 1 and 6144 bytes into a destination of size 6143 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/lists.c:48:44: 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); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 5 and 6148 bytes into a destination of size 6143 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/lists_make.c -o analysisd/lists_make-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/eventinfo_list.c -o analysisd/eventinfo_list-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/rules_list.c -o analysisd/rules_list-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/fts.c -o analysisd/fts-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/lists_list.c -o analysisd/lists_list-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs alerts.a analysisd/alerts/exec.o analysisd/alerts/log.o analysisd/alerts/getloglocation.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/accumulator.c -o analysisd/accumulator-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs cdb.a analysisd/cdb/cdb_hash.o analysisd/cdb/uint32_pack.o analysisd/cdb/uint32_unpack.o analysisd/cdb/cdb_make.o analysisd/cdb/cdb.o ranlib cdb.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/eventinfo.c -o analysisd/eventinfo-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs decoders-live.a analysisd/decoders/plugin_decoders-live.o analysisd/decoders/decoder-live.o analysisd/decoders/hostinfo-live.o analysisd/decoders/decode-xml-live.o analysisd/decoders/syscheck-live.o analysisd/decoders/geoip-live.o analysisd/decoders/rootcheck-live.o analysisd/decoders/decoders_list-live.o analysisd/decoders/plugins/pf_decoder-live.o analysisd/decoders/plugins/sonicwall_decoder-live.o analysisd/decoders/plugins/symantecws_decoder-live.o analysisd/decoders/plugins/ossecalert_decoder-live.o analysisd/compiled_rules/generic_samples-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs decoders-test.a analysisd/decoders/plugin_decoders-test.o analysisd/decoders/decoder-test.o analysisd/decoders/hostinfo-test.o analysisd/decoders/decode-xml-test.o analysisd/decoders/syscheck-test.o analysisd/decoders/geoip-test.o analysisd/decoders/rootcheck-test.o analysisd/decoders/decoders_list-test.o analysisd/decoders/plugins/pf_decoder-test.o analysisd/decoders/plugins/sonicwall_decoder-test.o analysisd/decoders/plugins/symantecws_decoder-test.o analysisd/decoders/plugins/ossecalert_decoder-test.o analysisd/compiled_rules/generic_samples-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/cleanevent.c -o analysisd/cleanevent-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/dodiff.c -o analysisd/dodiff-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/stats.c -o analysisd/stats-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_crypto/shared/msgs.c -o os_crypto/shared/msgs.o os_crypto/shared/msgs.c: In function 'CreateSecMSG': os_crypto/shared/msgs.c:410:37: 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); ^~ ~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from os_crypto/shared/msgs.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 1 and 6178 bytes into a destination of size 6144 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_crypto/shared/keys.c -o os_crypto/shared/keys.o os_crypto/shared/keys.c: In function 'OS_ReadKeys': os_crypto/shared/keys.c:94:32: 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); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from os_crypto/shared/keys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 1 and 65 bytes into a destination of size 49 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs os_crypto.a os_crypto/blowfish/bf_op.o os_crypto/blowfish/bf_skey.o os_crypto/blowfish/bf_enc.o os_crypto/md5/md5.o os_crypto/md5/md5_op.o os_crypto/sha1/sha1_op.o os_crypto/shared/keys.o os_crypto/shared/msgs.o os_crypto/md5_sha1/md5_sha1_op.o ranlib os_crypto.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/analysisd.c -o analysisd/analysisd-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ os_execd/exec.o os_execd/config.o os_execd/execd.o os_execd/win_execd.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a libcJSON.a -lm -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o ossec-execd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ os_maild/sendmail.o os_maild/sendcustomemail.o os_maild/config.o os_maild/os_maild_client.o os_maild/maild.o os_maild/mail_list.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o ossec-maild make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ agentlessd/main.o agentlessd/agentlessd.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o ossec-agentlessd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ os_csyslogd/config.o os_csyslogd/main.o os_csyslogd/csyslogd.o os_csyslogd/alert.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a libcJSON.a -lm -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o ossec-csyslogd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ logcollector/read_ossecalert.o logcollector/config.o logcollector/logcollector.o logcollector/read_djb_multilog.o logcollector/read_postgresql_log.o logcollector/main.o logcollector/read_mssql_log.o logcollector/read_win_el.o logcollector/read_win_event_channel.o logcollector/read_syslog.o logcollector/read_nmapg.o logcollector/read_command.o logcollector/read_mysql_log.o logcollector/read_multiline.o logcollector/read_fullcommand.o logcollector/read_snortfull.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o ossec-logcollector make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ client-agent/sendmsg.o client-agent/intcheck_op.o client-agent/agentd.o client-agent/config.o client-agent/event-forward.o client-agent/receiver.o client-agent/main.o client-agent/receiver-win.o client-agent/start_agent.o client-agent/notify.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o ossec-agentd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ remoted/manager.o remoted/sendmsg.o remoted/config.o remoted/ar-forward.o remoted/remoted.o remoted/secure.o remoted/main.o remoted/syslog.o remoted/syslogtcp.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o ossec-remoted make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ addagent/read_from_user.o addagent/b64.o addagent/main.o addagent/validate.o addagent/manage_keys.o addagent/manage_agents.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o manage_agents make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ util/clear_stats.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o clear_stats make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ util/syscheck_update.o addagent/validate.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o syscheck_update make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ util/list_agents.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o list_agents make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ util/agent_control.o addagent/validate.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o agent_control make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ util/rootcheck_control.o addagent/validate.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o rootcheck_control make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ util/ossec-regex.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o ossec-regex make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ util/syscheck_control.o addagent/validate.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o syscheck_control make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ reportd/report.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o ossec-reportd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ util/verify-agent-conf.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o verify-agent-conf make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ syscheckd/run_realtime.o syscheckd/create_db.o syscheckd/syscheck.o syscheckd/seechanges.o syscheckd/run_check.o syscheckd/config.o syscheckd/win-registry.o rootcheck.a os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o ossec-syscheckd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ monitord/sendcustomemail.o monitord/sign_log.o monitord/manage_files.o monitord/monitord.o monitord/monitor_agents.o monitord/main.o monitord/generate_reports.o monitord/compress_log.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o ossec-monitord make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./os_auth addagent/validate.o os_auth/main-server.o os_auth/ssl.o os_auth/check_cert.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o ossec-authd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE analysisd/config-test.o analysisd/lists-test.o analysisd/active-response-test.o analysisd/lists_list-test.o analysisd/fts-test.o analysisd/lists_make-test.o analysisd/cleanevent-test.o analysisd/rules_list-test.o analysisd/eventinfo_list-test.o analysisd/stats-test.o analysisd/accumulator-test.o analysisd/eventinfo-test.o analysisd/rules-test.o analysisd/dodiff-test.o analysisd/output/jsonout.o analysisd/output/prelude.o analysisd/output/zeromq.o analysisd/format/to_json.o analysisd/testrule-test.o analysisd/analysisd-test.o alerts.a cdb.a decoders-test.a os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o ossec-logtest make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/rules.c -o analysisd/rules-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/include/pgsql -I/usr/include/pgsql -I./external/cJSON/ os_dbd/config.o os_dbd/db_op.o os_dbd/rules.o os_dbd/main.o os_dbd/server.o os_dbd/alert.o os_dbd/dbd.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -lm -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o ossec-dbd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ analysisd/makelists-live.o analysisd/config-live.o analysisd/lists-live.o analysisd/active-response-live.o analysisd/lists_list-live.o analysisd/fts-live.o analysisd/lists_make-live.o analysisd/cleanevent-live.o analysisd/rules_list-live.o analysisd/eventinfo_list-live.o analysisd/stats-live.o analysisd/accumulator-live.o analysisd/eventinfo-live.o analysisd/rules-live.o analysisd/dodiff-live.o analysisd/format/to_json.o alerts.a cdb.a decoders-live.a os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o ossec-makelists make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ analysisd/config-live.o analysisd/lists-live.o analysisd/active-response-live.o analysisd/lists_list-live.o analysisd/fts-live.o analysisd/lists_make-live.o analysisd/cleanevent-live.o analysisd/rules_list-live.o analysisd/eventinfo_list-live.o analysisd/stats-live.o analysisd/accumulator-live.o analysisd/eventinfo-live.o analysisd/rules-live.o analysisd/dodiff-live.o analysisd/analysisd-live.o analysisd/output/jsonout.o analysisd/output/prelude.o analysisd/output/zeromq.o analysisd/format/to_json.o alerts.a cdb.a decoders-live.a os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq -o ossec-analysisd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make settings make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' General settings: TARGET: server V: 1 DEBUG: DEBUGAD: PREFIX: /var/lib/ossec MAXAGENTS: 16384 REUSE_ID: no DATABASE: pgsql ONEWAY: no CLEANFULL: no User settings: OSSEC_GROUP: ossec OSSEC_USER: ossec OSSEC_USER_MAIL: ossecm OSSEC_USER_REM: ossecr ZLIB settings: ZLIB_SYSTEM: no ZLIB_INCLUDE: -I./external/zlib-1.2.11/ ZLIB_LIB: os_zlib.a external/zlib-1.2.11/libz.a Lua settings: LUA_PLAT: posix LUA_ENABLE: yes USE settings: USE_ZEROMQ: no USE_GEOIP: 1 USE_PRELUDE: no USE_OPENSSL: auto USE_INOTIFY: no USE_SQLITE: Mysql settings: includes: libs: Pgsql settings: includes: -I/usr/include/pgsql -I/usr/include/pgsql libs: -L/usr/lib64 -L/usr/lib64/pgsql Defines: -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR="/var/lib/ossec" -DUSER="ossec" -DREMUSER="ossecr" -DGROUPGLOBAL="ossec" -DMAILUSER="ossecm" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED Compiler: CFLAGS -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR="/var/lib/ossec" -DUSER="ossec" -DREMUSER="ossecr" -DGROUPGLOBAL="ossec" -DMAILUSER="ossecm" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ LDFLAGS -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -L/usr/lib64/pgsql -lpq CC cc make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' MAKE make make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Done building server make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' + mkdir postgres + cp ossec-dbd postgres/ + make -j8 clean make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' rm -f tests/test_os_zlib.o tests/test_os_regex.o tests/test_os_net.o tests/test_os_xml.o tests/test_os_crypto.o tests/test_shared.o test_os_zlib test_os_xml test_os_regex test_os_crypto test_shared ossec.test rm -Rf coverage-report/ find . -name "*.gcno" -exec rm {} \; find . -name "*.gcda" -exec rm {} \; make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' rm -f external/cJSON/cJSON.o libcJSON.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cd external/zlib-1.2.11/ && make -f Makefile.in distclean make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' cp -p zconf.h.in zconf.h make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' rm -f *.o *.lo *~ \ example minigzip examplesh minigzipsh \ example64 minigzip64 \ infcover \ libz.* foo.gz so_locations \ _match.s maketree contrib/infback9/*.o rm -rf objs rm -f *.gcda *.gcno *.gcov rm -f contrib/infback9/*.gcda contrib/infback9/*.gcno contrib/infback9/*.gcov make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' rm -f Makefile zlib.pc configure.log make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' cd external/lua-5.2.3/ && make clean cd src && make clean make[2]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' rm -f liblua.a ossec-lua ossec-luac 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 lua.o luac.o make[2]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' rm -f os_zlib/os_zlib.o os_zlib.a rm -f os_xml/os_xml_variables.o os_xml/os_xml_writer.o os_xml/os_xml_access.o os_xml/os_xml.o os_xml/os_xml_node_access.o os_xml.a rm -f os_regex/os_match.o os_regex/os_regex_str.o os_regex/os_regex_compile.o os_regex/os_regex_startswith.o os_regex/os_regex_free_pattern.o os_regex/os_match_compile.o os_regex/os_regex_strbreak.o os_regex/os_regex.o os_regex/os_match_free_pattern.o os_regex/os_regex_maps.o os_regex/os_regex_execute.o os_regex/os_regex_free_substrings.o os_regex/os_regex_match.o os_regex/os_match_execute.o os_regex.a rm -f os_net/os_net.o os_net.a rm -f shared/read-alert.o shared/fs_op.o shared/store_op.o shared/mem_op.o shared/regex_op.o shared/debug_op.o shared/string_op.o shared/wait_op.o shared/help.o shared/list_op.o shared/mq_op.o shared/privsep_op.o shared/dirtree_op.o shared/custom_output_search_replace.o shared/file-queue.o shared/math_op.o shared/rules_op.o shared/read-agents.o shared/pthreads_op.o shared/hash_op.o shared/validate_op.o shared/sig_op.o shared/report_op.o shared/randombytes.o shared/agent_op.o shared/file_op.o shared.a rm -f config/localfile-config.o config/rootcheck-config.o config/remote-config.o config/active-response.o config/reports-config.o config/agentlessd-config.o config/config.o config/syscheck-config.o config/global-config.o config/email-alerts-config.o config/alerts-config.o config/rules-config.o config/dbd-config.o config/csyslogd-config.o config/client-config.o config.a rm -f os_maild/sendmail.o os_maild/sendcustomemail.o os_maild/config.o os_maild/os_maild_client.o os_maild/maild.o os_maild/mail_list.o ossec-maild rm -f os_crypto/blowfish/bf_op.o os_crypto/blowfish/bf_skey.o os_crypto/blowfish/bf_enc.o os_crypto/md5/md5.o os_crypto/md5/md5_op.o os_crypto/sha1/sha1_op.o os_crypto/shared/keys.o os_crypto/shared/msgs.o os_crypto/md5_sha1/md5_sha1_op.o os_crypto.a rm -f os_csyslogd/csyslogd.o os_csyslogd/config.o os_csyslogd/main.o os_csyslogd/alert.o ossec-csyslogd rm -f os_dbd/config.o os_dbd/db_op.o os_dbd/rules.o os_dbd/main.o os_dbd/server.o os_dbd/alert.o os_dbd/dbd.o ossec-dbd rm -f agentlessd/main.o agentlessd/agentlessd.o ossec-agentlessd rm -f os_execd/exec.o os_execd/config.o os_execd/execd.o os_execd/win_execd.o ossec-execd rm -f logcollector/read_ossecalert.o logcollector/config.o logcollector/logcollector.o logcollector/read_djb_multilog.o logcollector/read_postgresql_log.o logcollector/main.o logcollector/read_mssql_log.o logcollector/read_snortfull.o logcollector/read_win_el.o logcollector/read_win_event_channel.o logcollector/read_mysql_log.o logcollector/read_syslog.o logcollector/read_nmapg.o logcollector/read_command.o logcollector/read_multiline.o logcollector/read_fullcommand.o logcollector/read_ossecalert-event.o logcollector/config-event.o logcollector/logcollector-event.o logcollector/read_djb_multilog-event.o logcollector/read_postgresql_log-event.o logcollector/main-event.o logcollector/read_mssql_log-event.o logcollector/read_snortfull-event.o logcollector/read_win_el-event.o logcollector/read_win_event_channel-event.o logcollector/read_mysql_log-event.o logcollector/read_syslog-event.o logcollector/read_nmapg-event.o logcollector/read_command-event.o logcollector/read_multiline-event.o logcollector/read_fullcommand-event.o ossec-logcollector rm -f remoted/manager.o remoted/sendmsg.o remoted/config.o remoted/remoted.o remoted/secure.o remoted/main.o remoted/syslog.o remoted/syslogtcp.o remoted/ar-forward.o ossec-remoted rm -f reportd/report.o ossec-reportd rm -f client-agent/sendmsg.o client-agent/intcheck_op.o client-agent/agentd.o client-agent/config.o client-agent/event-forward.o client-agent/receiver.o client-agent/main.o client-agent/receiver-win.o client-agent/start_agent.o client-agent/notify.o ossec-agentd rm -f addagent/main.o addagent/read_from_user.o addagent/b64.o addagent/validate.o addagent/manage_keys.o addagent/manage_agents.o manage_agents rm -f util/verify-agent-conf.o util/clear_stats.o util/ossec-regex.o util/agent_control.o util/rootcheck_control.o util/list_agents.o util/syscheck_update.o util/syscheck_control.o syscheck_update clear_stats list_agents agent_control syscheck_control rootcheck_control verify-agent-conf ossec-regex rm -f rootcheck/common_rcl.o rootcheck/check_rc_files.o rootcheck/unix-process.o rootcheck/rootcheck-config.o rootcheck/common.o rootcheck/check_rc_ports.o rootcheck/win-process.o rootcheck/rootcheck.o rootcheck/check_rc_trojans.o rootcheck/check_rc_if.o rootcheck/check_rc_sys.o rootcheck/check_open_ports.o rootcheck/os_string.o rootcheck/win-common.o rootcheck/check_rc_readproc.o rootcheck/check_rc_dev.o rootcheck/run_rk_check.o rootcheck/check_rc_policy.o rootcheck/check_rc_pids.o rootcheck/config.o rootcheck/common_rcl_rk.o rootcheck/check_rc_files_rk.o rootcheck/unix-process_rk.o rootcheck/rootcheck-config_rk.o rootcheck/common_rk.o rootcheck/check_rc_ports_rk.o rootcheck/win-process_rk.o rootcheck/rootcheck_rk.o rootcheck/check_rc_trojans_rk.o rootcheck/check_rc_if_rk.o rootcheck/check_rc_sys_rk.o rootcheck/check_open_ports_rk.o rootcheck/os_string_rk.o rootcheck/win-common_rk.o rootcheck/check_rc_readproc_rk.o rootcheck/check_rc_dev_rk.o rootcheck/run_rk_check_rk.o rootcheck/check_rc_policy_rk.o rootcheck/check_rc_pids_rk.o rootcheck/config_rk.o rootcheck.a rm -f syscheckd/run_realtime.o syscheckd/create_db.o syscheckd/syscheck.o syscheckd/seechanges.o syscheckd/run_check.o syscheckd/config.o syscheckd/win-registry.o ossec-syscheckd rm -f monitord/sendcustomemail.o monitord/sign_log.o monitord/manage_files.o monitord/monitord.o monitord/monitor_agents.o monitord/main.o monitord/generate_reports.o monitord/compress_log.o ossec-monitord rm -f os_auth/main-server.o os_auth/ssl.o os_auth/main-client.o os_auth/ssl-test.o os_auth/check_cert.o ossec-authd agent-auth rm -f analysisd/cdb/cdb_hash.o analysisd/cdb/uint32_pack.o analysisd/cdb/uint32_unpack.o analysisd/cdb/cdb_make.o analysisd/cdb/cdb.o analysisd/alerts/exec.o analysisd/alerts/log.o analysisd/alerts/getloglocation.o analysisd/decoders/plugin_decoders.o analysisd/decoders/decoder.o analysisd/decoders/hostinfo.o analysisd/decoders/decode-xml.o analysisd/decoders/syscheck.o analysisd/decoders/decoders_list.o analysisd/decoders/geoip.o analysisd/decoders/rootcheck.o analysisd/decoders/plugins/pf_decoder.o analysisd/decoders/plugins/sonicwall_decoder.o analysisd/decoders/plugins/symantecws_decoder.o analysisd/decoders/plugins/ossecalert_decoder.o analysisd/compiled_rules/generic_samples.o analysisd/decoders/plugin_decoders-test.o analysisd/decoders/decoder-test.o analysisd/decoders/hostinfo-test.o analysisd/decoders/decode-xml-test.o analysisd/decoders/syscheck-test.o analysisd/decoders/decoders_list-test.o analysisd/decoders/geoip-test.o analysisd/decoders/rootcheck-test.o analysisd/decoders/plugins/pf_decoder-test.o analysisd/decoders/plugins/sonicwall_decoder-test.o analysisd/decoders/plugins/symantecws_decoder-test.o analysisd/decoders/plugins/ossecalert_decoder-test.o analysisd/compiled_rules/generic_samples-test.o analysisd/decoders/plugin_decoders-live.o analysisd/decoders/decoder-live.o analysisd/decoders/hostinfo-live.o analysisd/decoders/decode-xml-live.o analysisd/decoders/syscheck-live.o analysisd/decoders/decoders_list-live.o analysisd/decoders/geoip-live.o analysisd/decoders/rootcheck-live.o analysisd/decoders/plugins/pf_decoder-live.o analysisd/decoders/plugins/sonicwall_decoder-live.o analysisd/decoders/plugins/symantecws_decoder-live.o analysisd/decoders/plugins/ossecalert_decoder-live.o analysisd/compiled_rules/generic_samples-live.o analysisd/format/to_json.o analysisd/output/jsonout.o analysisd/output/prelude.o analysisd/output/zeromq.o analysisd/rules_list.o analysisd/config.o analysisd/lists.o analysisd/active-response.o analysisd/lists_list.o analysisd/accumulator.o analysisd/fts.o analysisd/rules.o analysisd/lists_make.o analysisd/eventinfo.o analysisd/cleanevent.o analysisd/eventinfo_list.o analysisd/stats.o analysisd/dodiff.o analysisd/rules_list-test.o analysisd/config-test.o analysisd/lists-test.o analysisd/active-response-test.o analysisd/lists_list-test.o analysisd/accumulator-test.o analysisd/fts-test.o analysisd/rules-test.o analysisd/lists_make-test.o analysisd/eventinfo-test.o analysisd/cleanevent-test.o analysisd/eventinfo_list-test.o analysisd/stats-test.o analysisd/dodiff-test.o analysisd/rules_list-live.o analysisd/config-live.o analysisd/lists-live.o analysisd/active-response-live.o analysisd/lists_list-live.o analysisd/accumulator-live.o analysisd/fts-live.o analysisd/rules-live.o analysisd/lists_make-live.o analysisd/eventinfo-live.o analysisd/cleanevent-live.o analysisd/eventinfo_list-live.o analysisd/stats-live.o analysisd/dodiff-live.o analysisd/testrule-test.o analysisd/analysisd-live.o analysisd/analysisd-test.o analysisd/makelists-live.o cdb.a alerts.a decoders.a decoders-test.a decoders-live.a analysisd/compiled_rules/compiled_rules.h rm -f ossec-logtest ossec-analysisd ossec-makelists make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' rm -f win32/LICENSE.txt rm -f win32/help_win.txt rm -f win32/internal_options.conf rm -f win32/default-local_internal_options.conf rm -f win32/default-ossec.conf rm -f win32/restart-ossec.cmd rm -f win32/route-null.cmd rm -f win32/setup-win.o win32/setup-syscheck.o win32/win_service.o win32/add-localfile.o win32/win_agent.o win32/setup-shared.o win32/agent_auth.o win32/setup-iis.o win32/read-registry.o win32/ui/common.o win32/ui/os_win32ui.o win32/win_service_rk.o rm -f win32/icon.o win32/resource.o rm -f win32/ossec-agent.exe win32/ossec-agent-eventchannel.exe win32/ossec-rootcheck.exe win32/manage_agents.exe win32/setup-windows.exe win32/setup-syscheck.exe win32/setup-iis.exe win32/add-localfile.exe win32/os_win32ui.exe win32/agent-auth.exe rm -f external/lua-5.2.3/src/lua52.dll rm -f external/lua-5.2.3/src/ossec-lua.exe rm -f external/lua-5.2.3/src/ossec-luac.exe rm -f win32/ossec-lua.exe rm -f win32/ossec-luac.exe rm -f win32/ossec-win32-agent.exe make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' + make -j8 DATABASE=mysql MAXAGENTS=16384 USE_GEOIP=1 TARGET=server V=1 cd external/zlib-1.2.11/ && ./configure && make libz.a cd external/lua-5.2.3/ && make posix cd src && make posix make all SYSCFLAGS="-DLUA_USE_POSIX" Checking for gcc... make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-maild\" -c os_maild/config.c -o os_maild/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-maild\" -c os_maild/sendcustomemail.c -o os_maild/sendcustomemail.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Checking for shared library support... make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-maild\" -c os_maild/sendmail.c -o os_maild/sendmail.o os_maild/sendmail.c: In function 'OS_Sendmail': os_maild/sendmail.c:31:29: 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" ^~~~~~~~~~~~~~~~~ os_maild/sendmail.c:561:32: note: in expansion of macro 'SUBJECT' snprintf(snd_msg, 127, SUBJECT, _g_subject); ^~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from os_maild/sendmail.c:12: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 12 and 141 bytes into a destination of size 127 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-maild\" -c os_maild/os_maild_client.c -o os_maild/os_maild_client.o In file included from os_maild/os_maild_client.c:11: os_maild/os_maild_client.c: In function 'OS_RecvMailQ': os_maild/maild.h:34:29: warning: '%s' directive output may be truncated writing up to 6144 bytes into a region of size between 5039 and 7087 [-Wformat-truncation=] #define MAIL_BODY "\r\nOSSEC HIDS Notification.\r\n" \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_maild/maild.h:34:29: note: in definition of macro 'MAIL_BODY' #define MAIL_BODY "\r\nOSSEC HIDS Notification.\r\n" \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_maild/maild.h:40:30: note: format string is defined here "%s" \ ^~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from os_maild/os_maild_client.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 141 or more bytes (assuming 14477) into a destination of size 7167 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-maild\" -c os_maild/mail_list.c -o os_maild/mail_list.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -Wno-implicit-fallthrough -c os_crypto/blowfish/bf_op.c -o os_crypto/blowfish/bf_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-maild\" -c os_maild/maild.c -o os_maild/maild.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Building shared library libz.so.1.2.11 with gcc. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -Wno-implicit-fallthrough -c os_crypto/blowfish/bf_skey.c -o os_crypto/blowfish/bf_skey.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_crypto/md5/md5_op.c -o os_crypto/md5/md5_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Checking for size_t... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_crypto/md5/md5.c -o os_crypto/md5/md5.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_zlib/os_zlib.c -o os_zlib/os_zlib.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lcode.o lcode.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lctype.o lctype.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' Checking for off64_t... Yes. Checking for fseeko... Yes. make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lapi.o lapi.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_crypto/md5_sha1/md5_sha1_op.c -o os_crypto/md5_sha1/md5_sha1_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -Wno-implicit-fallthrough -c os_crypto/blowfish/bf_enc.c -o os_crypto/blowfish/bf_enc.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o ldebug.o ldebug.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' Checking for strerror... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/rootcheck-config.c -o config/rootcheck-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o ldump.o ldump.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' Checking for unistd.h... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/localfile-config.c -o config/localfile-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/remote-config.c -o config/remote-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o ldo.o ldo.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' Checking for stdarg.h... Yes. make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lfunc.o lfunc.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf(). make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/reports-config.c -o config/reports-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/active-response.c -o config/active-response.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/agentlessd-config.c -o config/agentlessd-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Checking for vsnprintf() in stdio.h... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c external/cJSON/cJSON.c -o external/cJSON/cJSON.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o llex.o llex.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' Checking for return value of vsnprintf()... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/email-alerts-config.c -o config/email-alerts-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lmem.o lmem.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' Checking for attribute(visibility) support... Yes. make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/config.c -o config/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/syscheck-config.c -o config/syscheck-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -Wno-implicit-fallthrough -c os_crypto/sha1/sha1_op.c -o os_crypto/sha1/sha1_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/dbd-config.c -o config/dbd-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o adler32.o adler32.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/alerts-config.c -o config/alerts-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lgc.o lgc.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/global-config.c -o config/global-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lopcodes.o lopcodes.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/rules-config.c -o config/rules-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lobject.o lobject.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/csyslogd-config.c -o config/csyslogd-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/fs_op.c -o shared/fs_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/store_op.c -o shared/store_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lstate.o lstate.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o crc32.o crc32.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/client-config.c -o config/client-config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/regex_op.c -o shared/regex_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lstring.o lstring.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/read-alert.c -o shared/read-alert.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/mem_op.c -o shared/mem_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/debug_op.c -o shared/debug_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/file_op.c -o shared/file_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/wait_op.c -o shared/wait_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/string_op.c -o shared/string_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/help.c -o shared/help.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/mq_op.c -o shared/mq_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/report_op.c -o shared/report_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lparser.o lparser.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/list_op.c -o shared/list_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o ltable.o ltable.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/privsep_op.c -o shared/privsep_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o infback.o infback.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o ltm.o ltm.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/math_op.c -o shared/math_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/custom_output_search_replace.c -o shared/custom_output_search_replace.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/dirtree_op.c -o shared/dirtree_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/file-queue.c -o shared/file-queue.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lundump.o lundump.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/pthreads_op.c -o shared/pthreads_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inffast.o inffast.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lzio.o lzio.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/hash_op.c -o shared/hash_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/sig_op.c -o shared/sig_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o deflate.o deflate.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/randombytes.c -o shared/randombytes.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lvm.o lvm.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/rules_op.c -o shared/rules_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inftrees.o inftrees.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lbaselib.o lbaselib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/validate_op.c -o shared/validate_op.o shared/validate_op.c: In function '__gethour': shared/validate_op.c:519:38: warning: '%02d' directive output may be truncated writing between 2 and 11 bytes into a region of size 6 [-Wformat-truncation=] snprintf(ossec_hour, 6, "%02d:%02d", chour, cmin); ^~~~ shared/validate_op.c:519:37: note: directive argument in the range [-2147483636, 2147483647] snprintf(ossec_hour, 6, "%02d:%02d", chour, cmin); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from shared/validate_op.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 6 and 24 bytes into a destination of size 6 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shared/validate_op.c: In function 'OS_IsValidTime': shared/validate_op.c:600: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); ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from shared/validate_op.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 14 bytes into a destination of size 12 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shared/validate_op.c:595: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); ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from shared/validate_op.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 14 bytes into a destination of size 12 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/read-agents.c -o shared/read-agents.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_match.c -o os_regex/os_regex_match.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/agent_op.c -o shared/agent_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_str.c -o os_regex/os_regex_str.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex.c -o os_regex/os_regex.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_match.c -o os_regex/os_match.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lbitlib.o lbitlib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_startswith.c -o os_regex/os_regex_startswith.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lauxlib.o lauxlib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_strbreak.c -o os_regex/os_regex_strbreak.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_free_pattern.c -o os_regex/os_regex_free_pattern.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_match_free_pattern.c -o os_regex/os_match_free_pattern.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_maps.c -o os_regex/os_regex_maps.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_match_compile.c -o os_regex/os_match_compile.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lcorolib.o lcorolib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_net/os_net.c -o os_net/os_net.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_free_substrings.c -o os_regex/os_regex_free_substrings.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_execute.c -o os_regex/os_regex_execute.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_compile.c -o os_regex/os_regex_compile.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o ldblib.o ldblib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_match_execute.c -o os_regex/os_match_execute.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lmathlib.o lmathlib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o trees.o trees.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml_writer.c -o os_xml/os_xml_writer.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o zutil.o zutil.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml_variables.c -o os_xml/os_xml_variables.o os_xml/os_xml_variables.c: In function 'OS_ApplyVariables': os_xml/os_xml_variables.c:179:42: 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/os_xml_variables.c:180:46: note: format string is defined here ": '%s'.", lvar); ^~ In file included from /usr/include/stdio.h:862, from os_xml/os_xml_variables.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 30 and 285 bytes into a destination of size 128 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o liolib.o liolib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o inflate.o inflate.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o compress.o compress.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzclose.o gzclose.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -DARGV0=\"ossec-csyslogd\" -c os_csyslogd/config.c -o os_csyslogd/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o uncompr.o uncompr.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml_access.c -o os_xml/os_xml_access.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o loslib.o loslib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml_node_access.c -o os_xml/os_xml_node_access.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_xml/os_xml.c -o os_xml/os_xml.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzlib.o gzlib.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -DARGV0=\"ossec-csyslogd\" -c os_csyslogd/csyslogd.c -o os_csyslogd/csyslogd.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -DARGV0=\"ossec-csyslogd\" -c os_csyslogd/alert.c -o os_csyslogd/alert.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -DARGV0=\"ossec-csyslogd\" -c os_csyslogd/main.c -o os_csyslogd/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-agentlessd\" -c agentlessd/main.c -o agentlessd/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/exec.c -o os_execd/exec.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o ltablib.o ltablib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/config.c -o os_execd/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/win_execd.c -o os_execd/win_execd.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-agentlessd\" -c agentlessd/agentlessd.c -o agentlessd/agentlessd.o agentlessd/agentlessd.c: In function 'Agentlessd': agentlessd/agentlessd.c:231: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/agentlessd.c:233:28: tmp_location, old_location, ~~~~~~~~~~~~ agentlessd/agentlessd.c:231:30: note: using the range [-2147483648, 2147483647] for directive argument snprintf(diff_cmd, 2048, "diff \"%s\" \"%s\" > \"%s/%s->%s/diff.%d\" " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from agentlessd/agentlessd.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 63 or more bytes (assuming 2111) into a destination of size 2048 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_ossecalert.c -o logcollector/read_ossecalert.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/config.c -o logcollector/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzread.o gzread.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -c -o gzwrite.o gzwrite.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' 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 make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/zlib-1.2.11' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o loadlib.o loadlib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_postgresql_log.c -o logcollector/read_postgresql_log.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/main.c -o logcollector/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lstrlib.o lstrlib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/execd.c -o os_execd/execd.o os_execd/execd.c: In function 'ExecdStart': os_execd/execd.c:436:50: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 9 [-Wformat-truncation=] snprintf(ntimes, 9, "%d", ntimes_int); ^~ os_execd/execd.c:436:49: note: directive argument in the range [-2147483647, 6] snprintf(ntimes, 9, "%d", ntimes_int); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from os_execd/execd.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 9 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_execd/execd.c:478:50: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 9 [-Wformat-truncation=] snprintf(ntimes, 9, "%d", ntimes_int); ^~ os_execd/execd.c:478:49: note: directive argument in the range [-2147483647, 6] snprintf(ntimes, 9, "%d", ntimes_int); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from os_execd/execd.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 9 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_djb_multilog.c -o logcollector/read_djb_multilog.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_win_event_channel.c -o logcollector/read_win_event_channel.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o linit.o linit.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_mssql_log.c -o logcollector/read_mssql_log.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_win_el.c -o logcollector/read_win_el.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' 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 ranlib liblua.a make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_multiline.c -o logcollector/read_multiline.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/logcollector.c -o logcollector/logcollector.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_syslog.c -o logcollector/read_syslog.o logcollector/read_syslog.c: In function 'read_syslog': logcollector/read_syslog.c:91: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); ^~ ~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from logcollector/read_syslog.c:12: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output between 1 and 6145 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_fullcommand.c -o logcollector/read_fullcommand.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_nmapg.c -o logcollector/read_nmapg.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_command.c -o logcollector/read_command.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_mysql_log.c -o logcollector/read_mysql_log.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o lua.o lua.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -I./external/zlib-1.2.11/ -DARGV0=\"ossec-remoted\" -c remoted/sendmsg.c -o remoted/sendmsg.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -O2 -Wall -DLUA_COMPAT_ALL -DPREFIX=\"/var/ossec\" -DLUA_USE_POSIX -c -o luac.o luac.c make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -I./external/zlib-1.2.11/ -DARGV0=\"ossec-remoted\" -c remoted/config.c -o remoted/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_snortfull.c -o logcollector/read_snortfull.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -I./external/zlib-1.2.11/ -DARGV0=\"ossec-remoted\" -c remoted/remoted.c -o remoted/remoted.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -o ossec-lua lua.o liblua.a -lm make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -I./external/zlib-1.2.11/ -DARGV0=\"ossec-remoted\" -c remoted/ar-forward.c -o remoted/ar-forward.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' cc -o ossec-luac luac.o liblua.a -lm make[3]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -I./external/zlib-1.2.11/ -DARGV0=\"ossec-remoted\" -c remoted/manager.c -o remoted/manager.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -I./external/zlib-1.2.11/ -DARGV0=\"ossec-remoted\" -c remoted/secure.c -o remoted/secure.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -I./external/zlib-1.2.11/ -DARGV0=\"ossec-remoted\" -c remoted/main.c -o remoted/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/config.c -o client-agent/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/sendmsg.c -o client-agent/sendmsg.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/event-forward.c -o client-agent/event-forward.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -I./external/zlib-1.2.11/ -DARGV0=\"ossec-remoted\" -c remoted/syslog.c -o remoted/syslog.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/intcheck_op.c -o client-agent/intcheck_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/receiver-win.c -o client-agent/receiver-win.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -I./external/zlib-1.2.11/ -DARGV0=\"ossec-remoted\" -c remoted/syslogtcp.c -o remoted/syslogtcp.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/main.c -o client-agent/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/agentd.c -o client-agent/agentd.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/receiver.c -o client-agent/receiver.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/read_from_user.c -o addagent/read_from_user.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/main.c -o addagent/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/b64.c -o addagent/b64.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/notify.c -o client-agent/notify.o client-agent/notify.c: In function 'run_notify': client-agent/notify.c:124: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); ~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from client-agent/notify.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 9 or more bytes (assuming 1064) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client-agent/notify.c:127: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); ~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from client-agent/notify.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 1029) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/validate.c -o addagent/validate.o addagent/validate.c: In function 'OS_AddNewAgent': addagent/validate.c:61:31: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 8 [-Wformat-truncation=] snprintf(nid, 8, "%d", m); ^~ addagent/validate.c:61:30: note: directive argument in the range [-1073741824, 1073741823] snprintf(nid, 8, "%d", m); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/validate.c:11: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/validate.c:62:33: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 8 [-Wformat-truncation=] snprintf(nid_p, 8, "%d", m - 1); ^~ addagent/validate.c:62:32: note: directive argument in the range [-1073741825, 1073741822] snprintf(nid_p, 8, "%d", m - 1); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/validate.c:11: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -I./external/zlib-1.2.11/ -DARGV0=\"ossec-agentd\" -c client-agent/start_agent.c -o client-agent/start_agent.o client-agent/start_agent.c: In function 'start_agent': client-agent/start_agent.c:155: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); ~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from client-agent/start_agent.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 9 and 6154 bytes into a destination of size 6144 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -I./external/zlib-1.2.11/ -DARGV0=\"utils\" -c util/syscheck_update.c -o util/syscheck_update.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -I./external/zlib-1.2.11/ -DARGV0=\"utils\" -c util/list_agents.c -o util/list_agents.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -I./external/zlib-1.2.11/ -DARGV0=\"utils\" -c util/clear_stats.c -o util/clear_stats.o util/clear_stats.c: In function 'main': util/clear_stats.c:147: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, ^ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from util/clear_stats.c:12: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 6401 bytes into a destination of size 6144 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -I./external/zlib-1.2.11/ -DARGV0=\"utils\" -c util/verify-agent-conf.c -o util/verify-agent-conf.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -I./external/zlib-1.2.11/ -DARGV0=\"utils\" -c util/rootcheck_control.c -o util/rootcheck_control.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/run_realtime.c -o syscheckd/run_realtime.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -I./external/zlib-1.2.11/ -DARGV0=\"utils\" -c util/ossec-regex.c -o util/ossec-regex.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/manage_agents.c -o addagent/manage_agents.o addagent/manage_agents.c: In function 'add_agent': addagent/manage_agents.c:274:41: 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", (int)(time3 - time2), name, (int)rand1); ^~ ~~~~ addagent/manage_agents.c:274:38: note: using the range [-2147483648, 2147483647] for directive argument snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); ^~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/manage_agents.c:14: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 280 bytes into a destination of size 66 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/manage_agents.c:275:41: 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", (int)(time2 - time1), ip, id, (int)rand2); ^~ ~~ addagent/manage_agents.c:275:38: note: using the range [-2147483648, 2147483647] for directive argument snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); ^~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/manage_agents.c:14: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 537 bytes into a destination of size 66 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -I./external/zlib-1.2.11/ -DARGV0=\"manage_agents\" -c addagent/manage_keys.c -o addagent/manage_keys.o addagent/manage_keys.c: In function 'k_import': addagent/manage_keys.c:44:5: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector] int k_import(const char *cmdimport) ^~~~~~~~ addagent/manage_keys.c: In function 'k_bulkload': addagent/manage_keys.c:415: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", (int)(time3 - time2), name, (int)rand1); ^~ ~~~~ addagent/manage_keys.c:415:34: note: using the range [-2147483648, 2147483647] for directive argument snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); ^~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/manage_keys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 280 bytes into a destination of size 66 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/manage_keys.c:416: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", (int)(time2 - time1), ip, id, (int)rand2); ^~ ~~ addagent/manage_keys.c:416:34: note: using the range [-2147483648, 2147483647] for directive argument snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); ^~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from addagent/manage_agents.h:10, from addagent/manage_keys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 537 bytes into a destination of size 66 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/win-registry.c -o syscheckd/win-registry.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -I./external/zlib-1.2.11/ -DARGV0=\"utils\" -c util/syscheck_control.c -o util/syscheck_control.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/config.c -o syscheckd/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -I./external/zlib-1.2.11/ -DARGV0=\"utils\" -c util/agent_control.c -o util/agent_control.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/syscheck.c -o syscheckd/syscheck.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/create_db.c -o syscheckd/create_db.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/run_check.c -o syscheckd/run_check.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-syscheckd\" -c syscheckd/seechanges.c -o syscheckd/seechanges.o syscheckd/seechanges.c: In function 'seechanges_addfile': syscheckd/seechanges.c:394:21: 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, ~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from syscheckd/seechanges.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 29 and 18461 bytes into a destination of size 2048 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ syscheckd/seechanges.c:126:37: 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 ? ~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from syscheckd/seechanges.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 1 and 6160 bytes into a destination of size 4095 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/unix-process.c -o rootcheck/unix-process.o rootcheck/unix-process.c: In function 'os_get_process_list': rootcheck/unix-process.c:27:40: warning: ' -p ' directive output may be truncated writing 4 bytes into a region of size between 0 and 1024 [-Wformat-truncation=] snprintf(command, OS_SIZE_1024, "%s -p %d 2> /dev/null", ps, mpid); ^~~~ rootcheck/unix-process.c:27:37: note: directive argument in the range [1, 32769] snprintf(command, OS_SIZE_1024, "%s -p %d 2> /dev/null", ps, mpid); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/unix-process.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 19 and 1047 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_ports.c -o rootcheck/check_rc_ports.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_files.c -o rootcheck/check_rc_files.o rootcheck/check_rc_files.c: In function 'check_rc_files': rootcheck/check_rc_files.c:168: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); ~~~~~~~~~ rootcheck/check_rc_files.c:169:48: note: format string is defined here "by the presence of file '%s'.", name, file_path); ^~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_files.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 48 or more bytes (assuming 1072) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/win-process.c -o rootcheck/win-process.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/config.c -o rootcheck/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_trojans.c -o rootcheck/check_rc_trojans.o rootcheck/check_rc_trojans.c: In function 'check_rc_trojans': rootcheck/check_rc_trojans.c:94: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 " ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_trojans.c:96:26: file_path, ~~~~~~~~~ rootcheck/check_rc_trojans.c:95:28: note: format string is defined here "'%s' detected. Signature used: '%s' (%s).", ^~ rootcheck/check_rc_trojans.c:94:48: note: assuming directive output of 7 bytes snprintf(op_msg, OS_SIZE_1024, "Trojaned version of file " ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_trojans.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 61 or more bytes (assuming 1092) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_if.c -o rootcheck/check_rc_if.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/win-common.c -o rootcheck/win-common.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_open_ports.c -o rootcheck/check_open_ports.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/os_string.c -o rootcheck/os_string.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/common_rcl.c -o rootcheck/common_rcl.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/run_rk_check.c -o rootcheck/run_rk_check.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_dev.c -o rootcheck/check_rc_dev.o rootcheck/check_rc_dev.c: In function 'read_dev_dir': rootcheck/check_rc_dev.c:42:47: warning: '%s' directive output may be truncated writing up to 4097 bytes into a region of size 1018 [-Wformat-truncation=] snprintf(op_msg, OS_SIZE_1024, "File '%s' present on /dev." ^~ rootcheck/check_rc_dev.c:135:23: read_dev_file(f_name); ~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_dev.c:11: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 47 and 4144 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_policy.c -o rootcheck/check_rc_policy.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_readproc.c -o rootcheck/check_rc_readproc.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/rootcheck.c -o rootcheck/rootcheck.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/common.c -o rootcheck/common.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_sys.c -o rootcheck/check_rc_sys.o rootcheck/check_rc_sys.c: In function 'read_sys_dir': rootcheck/check_rc_sys.c:92:52: warning: '%s' directive output may be truncated writing up to 4097 bytes into a region of size 998 [-Wformat-truncation=] snprintf(op_msg, OS_SIZE_1024, "Anomaly detected in file " ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_sys.c:294:23: read_sys_file(f_name, do_read); ~~~~~~ rootcheck/check_rc_sys.c:93:32: note: format string is defined here "'%s'. File size doesn't match what we found. " ^~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 99 and 4196 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_sys.c:121:51: warning: '%s' directive output may be truncated writing up to 4097 bytes into a region of size 1018 [-Wformat-truncation=] snprintf(op_msg, OS_SIZE_1024, "File '%s' is owned by root " ^~ rootcheck/check_rc_sys.c:294:23: read_sys_file(f_name, do_read); ~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 62 and 4159 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_sys.c:39:67: warning: '%s' directive output may be truncated writing up to 4097 bytes into a region of size 998 [-Wformat-truncation=] snprintf(op_msg, OS_SIZE_1024, "Anomaly detected in file '%s'. " ^~ rootcheck/check_rc_sys.c:294:23: read_sys_file(f_name, do_read); ~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 106 and 4203 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/ssl.c -o os_auth/ssl.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/main-server.c -o os_auth/main-server.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/check_cert.c -o os_auth/check_cert.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_pids.c -o rootcheck/check_rc_pids.o rootcheck/check_rc_pids.c: In function 'check_rc_pids': rootcheck/check_rc_pids.c:167:48: warning: ' -p ' directive output may be truncated writing 4 bytes into a region of size between 0 and 1024 [-Wformat-truncation=] snprintf(command, OS_SIZE_1024, "%s -p %d > /dev/null 2>&1", ps, (int)i); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_pids.c:11: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 23 and 1057 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_pids.c:314: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 " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_pids.c:316:44: "Analyzed %d processes.", ps, _total); ~~ rootcheck/check_rc_pids.c:315:36: note: format string is defined here "rootkits.\n %s is not trojaned. " ^~ rootcheck/check_rc_pids.c:314:40: note: directive argument in the range [1, 32769] snprintf(op_msg, OS_SIZE_1024, "No hidden process by Kernel-level " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from rootcheck/check_rc_pids.c:11: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 90 and 1118 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-reportd\" -c reportd/report.c -o reportd/report.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/output/prelude.c -o analysisd/output/prelude.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ./analysisd/compiled_rules/register_rule.sh build *Build completed. make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/output/zeromq.c -o analysisd/output/zeromq.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/output/jsonout.c -o analysisd/output/jsonout.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/cdb -c analysisd/cdb/cdb_hash.c -o analysisd/cdb/cdb_hash.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/cdb -c analysisd/cdb/uint32_pack.c -o analysisd/cdb/uint32_pack.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/cdb -c analysisd/cdb/uint32_unpack.c -o analysisd/cdb/uint32_unpack.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/format/to_json.c -o analysisd/format/to_json.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/alerts -c analysisd/alerts/exec.c -o analysisd/alerts/exec.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/alerts -c analysisd/alerts/log.c -o analysisd/alerts/log.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugin_decoders.c -o analysisd/decoders/plugin_decoders-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/alerts -c analysisd/alerts/getloglocation.c -o analysisd/alerts/getloglocation.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/cdb -c analysisd/cdb/cdb.c -o analysisd/cdb/cdb.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/cdb -c analysisd/cdb/cdb_make.c -o analysisd/cdb/cdb_make.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/decoder.c -o analysisd/decoders/decoder-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/hostinfo.c -o analysisd/decoders/hostinfo-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/geoip.c -o analysisd/decoders/geoip-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/rootcheck.c -o analysisd/decoders/rootcheck-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/decoders_list.c -o analysisd/decoders/decoders_list-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/pf_decoder.c -o analysisd/decoders/plugins/pf_decoder-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/syscheck.c -o analysisd/decoders/syscheck-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/sonicwall_decoder.c -o analysisd/decoders/plugins/sonicwall_decoder-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/symantecws_decoder.c -o analysisd/decoders/plugins/symantecws_decoder-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/active-response.c -o analysisd/active-response-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/config.c -o analysisd/config-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/lists.c -o analysisd/lists-test.o analysisd/lists.c: In function 'Lists_OP_LoadList': analysisd/lists.c:40:52: 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); ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 7 and 6150 bytes into a destination of size 6143 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/lists.c:41:48: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); ^ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output between 1 and 6144 bytes into a destination of size 6143 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/lists.c:45:48: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); ^ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output between 1 and 6144 bytes into a destination of size 6143 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/lists.c:48:44: 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); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 5 and 6148 bytes into a destination of size 6143 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/ossecalert_decoder.c -o analysisd/decoders/plugins/ossecalert_decoder-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/compiled_rules/generic_samples.c -o analysisd/compiled_rules/generic_samples-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/lists_list.c -o analysisd/lists_list-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/eventinfo_list.c -o analysisd/eventinfo_list-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/lists_make.c -o analysisd/lists_make-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/rules_list.c -o analysisd/rules_list-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/decode-xml.c -o analysisd/decoders/decode-xml-live.o analysisd/decoders/decode-xml.c: In function 'ReadDecodeXML': analysisd/decoders/decode-xml.c:454:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) DstUser_FP; ^ analysisd/decoders/decode-xml.c:456:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) SrcUser_FP; ^ analysisd/decoders/decode-xml.c:460:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) DstUser_FP; ^ analysisd/decoders/decode-xml.c:462:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) SrcIP_FP; ^ analysisd/decoders/decode-xml.c:464:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) DstIP_FP; ^ analysisd/decoders/decode-xml.c:466:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) SrcPort_FP; ^ analysisd/decoders/decode-xml.c:468:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) DstPort_FP; ^ analysisd/decoders/decode-xml.c:470:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Protocol_FP; ^ analysisd/decoders/decode-xml.c:472:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Action_FP; ^ analysisd/decoders/decode-xml.c:474:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) ID_FP; ^ analysisd/decoders/decode-xml.c:476:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Url_FP; ^ analysisd/decoders/decode-xml.c:478:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Data_FP; ^ analysisd/decoders/decode-xml.c:480:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Data_FP; ^ analysisd/decoders/decode-xml.c:482:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Status_FP; ^ analysisd/decoders/decode-xml.c:484:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) SystemName_FP; ^ analysisd/decoders/decode-xml.c:486:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) FileName_FP; ^ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/fts.c -o analysisd/fts-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/cleanevent.c -o analysisd/cleanevent-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/accumulator.c -o analysisd/accumulator-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/dodiff.c -o analysisd/dodiff-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/hostinfo.c -o analysisd/decoders/hostinfo-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugin_decoders.c -o analysisd/decoders/plugin_decoders-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/stats.c -o analysisd/stats-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/eventinfo.c -o analysisd/eventinfo-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/testrule.c -o analysisd/testrule-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/geoip.c -o analysisd/decoders/geoip-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/decoder.c -o analysisd/decoders/decoder-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/decode-xml.c -o analysisd/decoders/decode-xml-test.o analysisd/decoders/decode-xml.c: In function 'ReadDecodeXML': analysisd/decoders/decode-xml.c:454:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) DstUser_FP; ^ analysisd/decoders/decode-xml.c:456:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) SrcUser_FP; ^ analysisd/decoders/decode-xml.c:460:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) DstUser_FP; ^ analysisd/decoders/decode-xml.c:462:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) SrcIP_FP; ^ analysisd/decoders/decode-xml.c:464:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) DstIP_FP; ^ analysisd/decoders/decode-xml.c:466:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) SrcPort_FP; ^ analysisd/decoders/decode-xml.c:468:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) DstPort_FP; ^ analysisd/decoders/decode-xml.c:470:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Protocol_FP; ^ analysisd/decoders/decode-xml.c:472:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Action_FP; ^ analysisd/decoders/decode-xml.c:474:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) ID_FP; ^ analysisd/decoders/decode-xml.c:476:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Url_FP; ^ analysisd/decoders/decode-xml.c:478:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Data_FP; ^ analysisd/decoders/decode-xml.c:480:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Data_FP; ^ analysisd/decoders/decode-xml.c:482:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) Status_FP; ^ analysisd/decoders/decode-xml.c:484:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) SystemName_FP; ^ analysisd/decoders/decode-xml.c:486:48: warning: cast between incompatible function types from 'void * (*)(Eventinfo *, char *)' {aka 'void * (*)(struct _Eventinfo *, char *)'} to 'void (*)(void *, char *)' [-Wcast-function-type] pi->order[order_int] = (void (*)(void *, char *)) FileName_FP; ^ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/rootcheck.c -o analysisd/decoders/rootcheck-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/ossecalert_decoder.c -o analysisd/decoders/plugins/ossecalert_decoder-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/decoders_list.c -o analysisd/decoders/decoders_list-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/compiled_rules/generic_samples.c -o analysisd/compiled_rules/generic_samples-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/pf_decoder.c -o analysisd/decoders/plugins/pf_decoder-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/analysisd.c -o analysisd/analysisd-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/syscheck.c -o analysisd/decoders/syscheck-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/symantecws_decoder.c -o analysisd/decoders/plugins/symantecws_decoder-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/include/mysql -DARGV0=\"ossec-dbd\" -c os_dbd/config.c -o os_dbd/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/makelists.c -o analysisd/makelists-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/decoders/plugins/sonicwall_decoder.c -o analysisd/decoders/plugins/sonicwall_decoder-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs libcJSON.a external/cJSON/cJSON.o ranlib libcJSON.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs os_zlib.a os_zlib/os_zlib.o ranlib os_zlib.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/include/mysql -DARGV0=\"ossec-dbd\" -c os_dbd/db_op.c -o os_dbd/db_op.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs config.a config/localfile-config.o config/rootcheck-config.o config/remote-config.o config/active-response.o config/reports-config.o config/agentlessd-config.o config/config.o config/syscheck-config.o config/global-config.o config/email-alerts-config.o config/rules-config.o config/dbd-config.o config/alerts-config.o config/csyslogd-config.o config/client-config.o ranlib config.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/include/mysql -DARGV0=\"ossec-dbd\" -c os_dbd/rules.c -o os_dbd/rules.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs shared.a shared/read-alert.o shared/fs_op.o shared/store_op.o shared/mem_op.o shared/regex_op.o shared/file_op.o shared/debug_op.o shared/report_op.o shared/string_op.o shared/wait_op.o shared/help.o shared/list_op.o shared/mq_op.o shared/privsep_op.o shared/dirtree_op.o shared/custom_output_search_replace.o shared/file-queue.o shared/math_op.o shared/rules_op.o shared/read-agents.o shared/pthreads_op.o shared/hash_op.o shared/validate_op.o shared/sig_op.o shared/randombytes.o shared/agent_op.o ranlib shared.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/include/mysql -DARGV0=\"ossec-dbd\" -c os_dbd/server.c -o os_dbd/server.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs os_net.a os_net/os_net.o ranlib os_net.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/include/mysql -DARGV0=\"ossec-dbd\" -c os_dbd/dbd.c -o os_dbd/dbd.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/include/mysql -DARGV0=\"ossec-dbd\" -c os_dbd/alert.c -o os_dbd/alert.o os_dbd/alert.c: In function 'OS_Alert_InsertDB': os_dbd/alert.c:88:5: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector] int OS_Alert_InsertDB(const alert_data *al_data, DBConfig *db_config) ^~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs os_regex.a os_regex/os_regex_match.o os_regex/os_regex.o os_regex/os_regex_str.o os_regex/os_match.o os_regex/os_regex_startswith.o os_regex/os_regex_free_pattern.o os_regex/os_match_compile.o os_regex/os_regex_strbreak.o os_regex/os_match_free_pattern.o os_regex/os_regex_maps.o os_regex/os_regex_execute.o os_regex/os_regex_free_substrings.o os_regex/os_regex_compile.o os_regex/os_match_execute.o ranlib os_regex.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs os_xml.a os_xml/os_xml_variables.o os_xml/os_xml_writer.o os_xml/os_xml_access.o os_xml/os_xml.o os_xml/os_xml_node_access.o ranlib os_xml.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs rootcheck.a rootcheck/unix-process.o rootcheck/check_rc_files.o rootcheck/common.o rootcheck/check_rc_ports.o rootcheck/common_rcl.o rootcheck/win-process.o rootcheck/config.o rootcheck/check_rc_trojans.o rootcheck/check_rc_if.o rootcheck/check_rc_sys.o rootcheck/check_open_ports.o rootcheck/os_string.o rootcheck/win-common.o rootcheck/check_rc_readproc.o rootcheck/check_rc_dev.o rootcheck/run_rk_check.o rootcheck/check_rc_policy.o rootcheck/check_rc_pids.o rootcheck/rootcheck.o ranlib rootcheck.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/include/mysql -DARGV0=\"ossec-dbd\" -c os_dbd/main.c -o os_dbd/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/sendcustomemail.c -o monitord/sendcustomemail.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/sign_log.c -o monitord/sign_log.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/monitord.c -o monitord/monitord.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/manage_files.c -o monitord/manage_files.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/compress_log.c -o monitord/compress_log.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/monitor_agents.c -o monitord/monitor_agents.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/config.c -o analysisd/config-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/rules.c -o analysisd/rules-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/main.c -o monitord/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-monitord\" -c monitord/generate_reports.c -o monitord/generate_reports.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/active-response.c -o analysisd/active-response-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/lists.c -o analysisd/lists-live.o analysisd/lists.c: In function 'Lists_OP_LoadList': analysisd/lists.c:40:52: 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); ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 7 and 6150 bytes into a destination of size 6143 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/lists.c:41:48: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); ^ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output between 1 and 6144 bytes into a destination of size 6143 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/lists.c:45:48: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); ^ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output between 1 and 6144 bytes into a destination of size 6143 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/lists.c:48:44: 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); ^~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 5 and 6148 bytes into a destination of size 6143 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/lists_make.c -o analysisd/lists_make-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/fts.c -o analysisd/fts-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/eventinfo_list.c -o analysisd/eventinfo_list-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/lists_list.c -o analysisd/lists_list-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/cleanevent.c -o analysisd/cleanevent-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs alerts.a analysisd/alerts/exec.o analysisd/alerts/log.o analysisd/alerts/getloglocation.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs cdb.a analysisd/cdb/cdb_hash.o analysisd/cdb/uint32_pack.o analysisd/cdb/uint32_unpack.o analysisd/cdb/cdb_make.o analysisd/cdb/cdb.o ranlib cdb.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs decoders-live.a analysisd/decoders/plugin_decoders-live.o analysisd/decoders/decoder-live.o analysisd/decoders/hostinfo-live.o analysisd/decoders/decode-xml-live.o analysisd/decoders/syscheck-live.o analysisd/decoders/geoip-live.o analysisd/decoders/rootcheck-live.o analysisd/decoders/decoders_list-live.o analysisd/decoders/plugins/pf_decoder-live.o analysisd/decoders/plugins/sonicwall_decoder-live.o analysisd/decoders/plugins/symantecws_decoder-live.o analysisd/decoders/plugins/ossecalert_decoder-live.o analysisd/compiled_rules/generic_samples-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs decoders-test.a analysisd/decoders/plugin_decoders-test.o analysisd/decoders/decoder-test.o analysisd/decoders/hostinfo-test.o analysisd/decoders/decode-xml-test.o analysisd/decoders/syscheck-test.o analysisd/decoders/geoip-test.o analysisd/decoders/rootcheck-test.o analysisd/decoders/decoders_list-test.o analysisd/decoders/plugins/pf_decoder-test.o analysisd/decoders/plugins/sonicwall_decoder-test.o analysisd/decoders/plugins/symantecws_decoder-test.o analysisd/decoders/plugins/ossecalert_decoder-test.o analysisd/compiled_rules/generic_samples-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/rules_list.c -o analysisd/rules_list-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/eventinfo.c -o analysisd/eventinfo-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/dodiff.c -o analysisd/dodiff-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/accumulator.c -o analysisd/accumulator-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/stats.c -o analysisd/stats-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_crypto/shared/msgs.c -o os_crypto/shared/msgs.o os_crypto/shared/msgs.c: In function 'CreateSecMSG': os_crypto/shared/msgs.c:410:37: 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); ^~ ~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from os_crypto/shared/msgs.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 1 and 6178 bytes into a destination of size 6144 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_crypto/shared/keys.c -o os_crypto/shared/keys.o os_crypto/shared/keys.c: In function 'OS_ReadKeys': os_crypto/shared/keys.c:94:32: 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); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from ./headers/shared.h:54, from os_crypto/shared/keys.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 1 and 65 bytes into a destination of size 49 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' ar -crs os_crypto.a os_crypto/blowfish/bf_op.o os_crypto/blowfish/bf_skey.o os_crypto/blowfish/bf_enc.o os_crypto/md5/md5.o os_crypto/md5/md5_op.o os_crypto/sha1/sha1_op.o os_crypto/shared/keys.o os_crypto/shared/msgs.o os_crypto/md5_sha1/md5_sha1_op.o ranlib os_crypto.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ os_csyslogd/config.o os_csyslogd/main.o os_csyslogd/csyslogd.o os_csyslogd/alert.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a libcJSON.a -lm -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o ossec-csyslogd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ os_maild/sendmail.o os_maild/sendcustomemail.o os_maild/config.o os_maild/os_maild_client.o os_maild/maild.o os_maild/mail_list.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o ossec-maild make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/analysisd.c -o analysisd/analysisd-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ os_execd/exec.o os_execd/config.o os_execd/execd.o os_execd/win_execd.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a libcJSON.a -lm -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o ossec-execd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ client-agent/sendmsg.o client-agent/intcheck_op.o client-agent/agentd.o client-agent/config.o client-agent/event-forward.o client-agent/receiver.o client-agent/main.o client-agent/receiver-win.o client-agent/start_agent.o client-agent/notify.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o ossec-agentd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ remoted/manager.o remoted/sendmsg.o remoted/config.o remoted/ar-forward.o remoted/remoted.o remoted/secure.o remoted/main.o remoted/syslog.o remoted/syslogtcp.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o ossec-remoted make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ util/clear_stats.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o clear_stats make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ addagent/read_from_user.o addagent/b64.o addagent/main.o addagent/validate.o addagent/manage_keys.o addagent/manage_agents.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o manage_agents make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ agentlessd/main.o agentlessd/agentlessd.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o ossec-agentlessd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ util/list_agents.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o list_agents make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ logcollector/read_ossecalert.o logcollector/config.o logcollector/logcollector.o logcollector/read_djb_multilog.o logcollector/read_postgresql_log.o logcollector/main.o logcollector/read_mssql_log.o logcollector/read_win_el.o logcollector/read_win_event_channel.o logcollector/read_syslog.o logcollector/read_nmapg.o logcollector/read_command.o logcollector/read_mysql_log.o logcollector/read_multiline.o logcollector/read_fullcommand.o logcollector/read_snortfull.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o ossec-logcollector make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ util/syscheck_update.o addagent/validate.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o syscheck_update make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ util/verify-agent-conf.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o verify-agent-conf make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ util/agent_control.o addagent/validate.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o agent_control make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ util/syscheck_control.o addagent/validate.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o syscheck_control make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ util/ossec-regex.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o ossec-regex make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ reportd/report.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o ossec-reportd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ syscheckd/run_realtime.o syscheckd/create_db.o syscheckd/syscheck.o syscheckd/seechanges.o syscheckd/run_check.o syscheckd/config.o syscheckd/win-registry.o rootcheck.a os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o ossec-syscheckd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ util/rootcheck_control.o addagent/validate.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o rootcheck_control make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./os_auth addagent/validate.o os_auth/main-server.o os_auth/ssl.o os_auth/check_cert.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o ossec-authd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE analysisd/config-test.o analysisd/lists-test.o analysisd/active-response-test.o analysisd/lists_list-test.o analysisd/fts-test.o analysisd/lists_make-test.o analysisd/cleanevent-test.o analysisd/rules_list-test.o analysisd/eventinfo_list-test.o analysisd/stats-test.o analysisd/accumulator-test.o analysisd/eventinfo-test.o analysisd/rules-test.o analysisd/dodiff-test.o analysisd/output/jsonout.o analysisd/output/prelude.o analysisd/output/zeromq.o analysisd/format/to_json.o analysisd/testrule-test.o analysisd/analysisd-test.o alerts.a cdb.a decoders-test.a os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o ossec-logtest make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/rules.c -o analysisd/rules-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/zlib-1.2.11/ monitord/sendcustomemail.o monitord/sign_log.o monitord/manage_files.o monitord/monitord.o monitord/monitor_agents.o monitord/main.o monitord/generate_reports.o monitord/compress_log.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o ossec-monitord make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ analysisd/config-live.o analysisd/lists-live.o analysisd/active-response-live.o analysisd/lists_list-live.o analysisd/fts-live.o analysisd/lists_make-live.o analysisd/cleanevent-live.o analysisd/rules_list-live.o analysisd/eventinfo_list-live.o analysisd/stats-live.o analysisd/accumulator-live.o analysisd/eventinfo-live.o analysisd/rules-live.o analysisd/dodiff-live.o analysisd/analysisd-live.o analysisd/output/jsonout.o analysisd/output/prelude.o analysisd/output/zeromq.o analysisd/format/to_json.o alerts.a cdb.a decoders-live.a os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o ossec-analysisd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ analysisd/makelists-live.o analysisd/config-live.o analysisd/lists-live.o analysisd/active-response-live.o analysisd/lists_list-live.o analysisd/fts-live.o analysisd/lists_make-live.o analysisd/cleanevent-live.o analysisd/rules_list-live.o analysisd/eventinfo_list-live.o analysisd/stats-live.o analysisd/accumulator-live.o analysisd/eventinfo-live.o analysisd/rules-live.o analysisd/dodiff-live.o analysisd/format/to_json.o alerts.a cdb.a decoders-live.a os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a external/zlib-1.2.11/libz.a libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o ossec-makelists make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/include/mysql -I./external/cJSON/ os_dbd/config.o os_dbd/db_op.o os_dbd/rules.o os_dbd/main.o os_dbd/server.o os_dbd/alert.o os_dbd/dbd.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -lm -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient -o ossec-dbd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' make settings make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' General settings: TARGET: server V: 1 DEBUG: DEBUGAD: PREFIX: /var/lib/ossec MAXAGENTS: 16384 REUSE_ID: no DATABASE: mysql ONEWAY: no CLEANFULL: no User settings: OSSEC_GROUP: ossec OSSEC_USER: ossec OSSEC_USER_MAIL: ossecm OSSEC_USER_REM: ossecr ZLIB settings: ZLIB_SYSTEM: no ZLIB_INCLUDE: -I./external/zlib-1.2.11/ ZLIB_LIB: os_zlib.a external/zlib-1.2.11/libz.a Lua settings: LUA_PLAT: posix LUA_ENABLE: yes USE settings: USE_ZEROMQ: no USE_GEOIP: 1 USE_PRELUDE: no USE_OPENSSL: auto USE_INOTIFY: no USE_SQLITE: Mysql settings: includes: -I/usr/include/mysql libs: -L/usr/lib64 -lmysqlclient Pgsql settings: includes: libs: Defines: -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR="/var/lib/ossec" -DUSER="ossec" -DREMUSER="ossecr" -DGROUPGLOBAL="ossec" -DMAILUSER="ossecm" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED Compiler: CFLAGS -pipe -frecord-gcc-switches -Wall -g -O2 -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all -Wstack-protector --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR="/var/lib/ossec" -DUSER="ossec" -DREMUSER="ossecr" -DGROUPGLOBAL="ossec" -DMAILUSER="ossecm" -DLinux -DINOTIFY_ENABLED -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -Wall -Wextra -I./ -I./headers/ LDFLAGS -fPIE -pie -Wl,-z,relro -lm -lpthread -lGeoIP -L/usr/lib64 -lmysqlclient CC cc make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' MAKE make make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' Done building server make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.1.0/src' + popd ~/RPM/BUILD/ossec-hids-3.1.0 + echo 'DIRECTORY="/var/lib/ossec"' + echo 'VERSION="3.1.0"' ++ date + echo 'DATE="Sun May 5 11:43:18 UTC 2024"' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.70478 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/ossec-hids-buildroot + : + /bin/rm -rf -- /usr/src/tmp/ossec-hids-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd ossec-hids-3.1.0 + mkdir -p /usr/src/tmp/ossec-hids-buildroot/etc/rc.d/init.d + mkdir -p /usr/src/tmp/ossec-hids-buildroot/etc + mkdir -p /usr/src/tmp/ossec-hids-buildroot/usr/share/ossec/contrib + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/run + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/log + mkdir -p /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/active-response/bin + mkdir -p /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/agentless + mkdir -p /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/stats /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/tmp + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/rules + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/rules/translated/pure_ftpd + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/lua/ + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/lua/native /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/lua/compiled + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/logs/archives /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/logs/alerts /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/logs/firewall + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/queue/alerts /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/queue/agentless /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/queue/agent-info /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/queue/diff /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/queue/fts /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/queue/ossec /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/queue/rids /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/queue/rootcheck /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/queue/syscheck + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/var/run + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/etc/shared + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/etc/templates + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/etc/mysql + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/etc/decoders.d + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/etc/rules.d + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/stats + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/tmp + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/.ssh + mkdir -p /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/ossec-agent/active-response/bin + mkdir -p /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/ossec-agent/agentless + mkdir -p /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/ossec-agent/bin + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/ossec-agent/etc/shared + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/ossec-agent/lua/native /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/ossec-agent/lua/compiled + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/ossec-agent/queue/alerts /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/ossec-agent/queue/diff /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/ossec-agent/queue/ossec /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/ossec-agent/queue/rids /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/ossec-agent/queue/syscheck + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/ossec-agent/tmp + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/ossec-agent/.ssh + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/logs + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/ossec-agent/logs + mkdir -p /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/ossec-agent/var/run + mkdir -p /usr/src/tmp/ossec-hids-buildroot/usr/bin + install -pD -m 0644 etc/internal_options.conf etc/local_internal_options-win.conf etc/local_internal_options.conf etc/ossec-agent.conf etc/ossec-local.conf etc/ossec-server.conf etc/ossec.conf /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/etc/shared/ + install -pD -m 0755 active-response/disable-account.sh active-response/firewall-drop.sh active-response/firewalld-drop.sh active-response/host-deny.sh active-response/ip-customblock.sh active-response/ossec-pagerduty.sh active-response/ossec-slack.sh active-response/ossec-tweeter.sh active-response/restart-ossec.sh active-response/route-null.sh /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/ossec-agent/active-response/bin + install -pD -m 0550 src/agentlessd/scripts/main.exp src/agentlessd/scripts/register_host.sh src/agentlessd/scripts/ssh.exp src/agentlessd/scripts/ssh_asa-fwsmconfig_diff src/agentlessd/scripts/ssh_foundry_diff src/agentlessd/scripts/ssh_generic_diff src/agentlessd/scripts/ssh_integrity_check_bsd src/agentlessd/scripts/ssh_integrity_check_linux src/agentlessd/scripts/ssh_nopass.exp src/agentlessd/scripts/ssh_pixconfig_diff src/agentlessd/scripts/sshlogin.exp src/agentlessd/scripts/su.exp /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/ossec-agent/agentless + install -pD -m 0644 src/hybrid/agent-auth /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/ossec-agent/bin + install -pD -m 0550 src/hybrid/manage_agent /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/ossec-agent/bin/ + install -pD -m 0550 src/hybrid/ossec-agentd /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/ossec-agent/bin/ + install -pD -m 0550 src/init/ossec-client.sh /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/ossec-agent/bin/ossec-control + install -pD -m 0550 src/hybrid/ossec-execd /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/ossec-agent/bin + install -pD -m 0550 src/hybrid/ossec-logcollector /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/ossec-agent/bin + install -pD -m 0550 src/external/lua/src/ossec-lua /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/ossec-agent/bin/ + install -pD -m 0550 src/external/lua/src/ossec-luac /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/ossec-agent/bin/ + install -pD -m 0550 src/hybrid/ossec-syscheckd /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/ossec-agent/bin + install -pD -m 0644 etc/internal_options.conf /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/ossec-agent/etc + install -m 0644 etc/ossec.conf /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/ossec-agent/etc/ossec.conf + install -pD -m 0644 src/rootcheck/db/acsc_office2016_rcl.txt src/rootcheck/db/cis_apache2224_rcl.txt src/rootcheck/db/cis_debian_linux_rcl.txt src/rootcheck/db/cis_debianlinux7-8_L1_rcl.txt src/rootcheck/db/cis_debianlinux7-8_L2_rcl.txt src/rootcheck/db/cis_mysql5-6_community_rcl.txt src/rootcheck/db/cis_mysql5-6_enterprise_rcl.txt src/rootcheck/db/cis_rhel5_linux_rcl.txt src/rootcheck/db/cis_rhel6_linux_rcl.txt src/rootcheck/db/cis_rhel7_linux_rcl.txt src/rootcheck/db/cis_rhel_linux_rcl.txt src/rootcheck/db/cis_sles11_linux_rcl.txt src/rootcheck/db/cis_sles12_linux_rcl.txt src/rootcheck/db/cis_win10_enterprise_L1_rcl.txt src/rootcheck/db/cis_win10_enterprise_L2_rcl.txt src/rootcheck/db/cis_win2012r2_domainL1_rcl.txt src/rootcheck/db/cis_win2012r2_domainL2_rcl.txt src/rootcheck/db/cis_win2012r2_memberL1_rcl.txt src/rootcheck/db/cis_win2012r2_memberL2_rcl.txt src/rootcheck/db/cis_win2016_domainL1_rcl.txt src/rootcheck/db/cis_win2016_domainL2_rcl.txt src/rootcheck/db/cis_win2016_memberL1_rcl.txt src/rootcheck/db/cis_win2016_memberL2_rcl.txt src/rootcheck/db/rootkit_files.txt src/rootcheck/db/rootkit_trojans.txt src/rootcheck/db/system_audit_rcl.txt src/rootcheck/db/system_audit_ssh.txt src/rootcheck/db/win_applications_rcl.txt src/rootcheck/db/win_audit_rcl.txt src/rootcheck/db/win_malware_rcl.txt /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/ossec-agent/etc/shared + mkdir -p /usr/src/tmp/ossec-hids-buildroot/lib/systemd/system + install -Dp -m0644 /usr/src/RPM/SOURCES/ossec-hids.service /usr/src/tmp/ossec-hids-buildroot/lib/systemd/system/ossec-hids.service + install -Dp -m0644 src/systemd/server/ossec-agentless.service src/systemd/server/ossec-analysisd.service src/systemd/server/ossec-csyslog.service src/systemd/server/ossec-dbd.service src/systemd/server/ossec-execd.service src/systemd/server/ossec-logcollector.service src/systemd/server/ossec-maild.service src/systemd/server/ossec-monitord.service src/systemd/server/ossec-remoted.service src/systemd/server/ossec-server.target src/systemd/server/ossec-syscheckd.service /usr/src/tmp/ossec-hids-buildroot/lib/systemd/system + install -m 0755 /usr/src/RPM/SOURCES/ossec-hids-alt.init /usr/src/tmp/ossec-hids-buildroot/etc/rc.d/init.d/ossec-hids + install -m 0755 /usr/src/RPM/SOURCES/ossec-hids-authd-alt.init /usr/src/tmp/ossec-hids-buildroot/etc/rc.d/init.d/ossec-hids-authd + install -pD -m 0600 ossec-init.conf /usr/src/tmp/ossec-hids-buildroot/etc + install -pD -m 0644 etc/ossec.conf /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/etc/ossec.conf.sample + install -pD -m 0644 etc/ossec-agent.conf etc/ossec-server.conf /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/etc + install -pD -m 0644 etc/decoder.xml /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/etc + install -pD -m 0644 etc/internal_options.conf /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/etc + install -pD -m 0644 etc/rules/apache_rules.xml etc/rules/apparmor_rules.xml etc/rules/arpwatch_rules.xml etc/rules/asterisk_rules.xml etc/rules/attack_rules.xml etc/rules/cimserver_rules.xml etc/rules/cisco-ios_rules.xml etc/rules/clam_av_rules.xml etc/rules/courier_rules.xml etc/rules/dnsmasq_rules.xml etc/rules/dovecot_rules.xml etc/rules/dropbear_rules.xml etc/rules/exim_rules.xml etc/rules/firewall_rules.xml etc/rules/firewalld_rules.xml etc/rules/ftpd_rules.xml etc/rules/hordeimp_rules.xml etc/rules/ids_rules.xml etc/rules/imapd_rules.xml etc/rules/linux_usbdetect_rules.xml etc/rules/local_rules.xml etc/rules/mailscanner_rules.xml etc/rules/mcafee_av_rules.xml etc/rules/ms-exchange_rules.xml etc/rules/ms-se_rules.xml etc/rules/ms1016_usbdetect_rules.xml etc/rules/ms_dhcp_rules.xml etc/rules/ms_firewall_rules.xml etc/rules/ms_ftpd_rules.xml etc/rules/ms_ipsec_rules.xml etc/rules/msauth_rules.xml etc/rules/mysql_rules.xml etc/rules/named_rules.xml etc/rules/netscreenfw_rules.xml etc/rules/nginx_rules.xml etc/rules/nsd_rules.xml etc/rules/openbsd-dhcpd_rules.xml etc/rules/openbsd_rules.xml etc/rules/opensmtpd_rules.xml etc/rules/ossec_rules.xml etc/rules/owncloud_rules.xml etc/rules/pam_rules.xml etc/rules/php_rules.xml etc/rules/pix_rules.xml etc/rules/policy_rules.xml etc/rules/postfix_rules.xml etc/rules/postgresql_rules.xml etc/rules/proftpd_rules.xml etc/rules/proxmox-ve_rules.xml etc/rules/psad_rules.xml etc/rules/pure-ftpd_rules.xml etc/rules/racoon_rules.xml etc/rules/roundcube_rules.xml etc/rules/rules_config.xml etc/rules/sendmail_rules.xml etc/rules/smbd_rules.xml etc/rules/solaris_bsm_rules.xml etc/rules/sonicwall_rules.xml etc/rules/spamd_rules.xml etc/rules/squid_rules.xml etc/rules/sshd_rules.xml etc/rules/symantec-av_rules.xml etc/rules/symantec-ws_rules.xml etc/rules/syslog_rules.xml etc/rules/sysmon_rules.xml etc/rules/systemd_rules.xml etc/rules/telnetd_rules.xml etc/rules/trend-osce_rules.xml etc/rules/unbound_rules.xml etc/rules/vmpop3d_rules.xml etc/rules/vmware_rules.xml etc/rules/vpn_concentrator_rules.xml etc/rules/vpopmail_rules.xml etc/rules/vsftpd_rules.xml etc/rules/web_appsec_rules.xml etc/rules/web_rules.xml etc/rules/wordpress_rules.xml etc/rules/zeus_rules.xml /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/rules + install -pD -m 0644 etc/rules/translated/pure_ftpd/pure-ftpd_rules_da.xml etc/rules/translated/pure_ftpd/pure-ftpd_rules_de.xml etc/rules/translated/pure_ftpd/pure-ftpd_rules_en.xml etc/rules/translated/pure_ftpd/pure-ftpd_rules_es.xml etc/rules/translated/pure_ftpd/pure-ftpd_rules_fr.xml etc/rules/translated/pure_ftpd/pure-ftpd_rules_fr_funny.xml etc/rules/translated/pure_ftpd/pure-ftpd_rules_it.xml etc/rules/translated/pure_ftpd/pure-ftpd_rules_nl.xml etc/rules/translated/pure_ftpd/pure-ftpd_rules_no.xml etc/rules/translated/pure_ftpd/pure-ftpd_rules_pt_br.xml etc/rules/translated/pure_ftpd/pure-ftpd_rules_ro.xml etc/rules/translated/pure_ftpd/pure-ftpd_rules_sk.xml etc/rules/translated/pure_ftpd/pure-ftpd_rules_sv.xml etc/rules/translated/pure_ftpd/pure-ftpd_rules_tr.xml /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/rules/translated/pure_ftpd + install -pD -m 0644 etc/templates/config/active-response.template etc/templates/config/apache-logs.template etc/templates/config/ar-disable-account.template etc/templates/config/ar-firewall-drop.template etc/templates/config/ar-host-deny.template etc/templates/config/ar-routenull.template etc/templates/config/pgsql-logs.template etc/templates/config/rootcheck.template etc/templates/config/rules.template etc/templates/config/snort-logs.template etc/templates/config/syscheck.template etc/templates/config/syslog-logs.template /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/etc/templates/ + pushd src ~/RPM/BUILD/ossec-hids-3.1.0/src ~/RPM/BUILD/ossec-hids-3.1.0 + install -pD -m 0550 clients/agent-auth /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin + install -pD -m 0550 clients/client-logcollector /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin + install -pD -m 0550 clients/client-syscheckd /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin + install -pD -m 0550 clients/manage_agent /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin + install -pD -m 0550 clients/ossec-agentd /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/agent-auth /usr/src/tmp/ossec-hids-buildroot/usr/bin/agent-auth + ln -snf /usr/lib64/ossec/bin/client-logcollector /usr/src/tmp/ossec-hids-buildroot/usr/bin/client-logcollector + ln -snf /usr/lib64/ossec/bin/client-syscheckd /usr/src/tmp/ossec-hids-buildroot/usr/bin/client-syscheckd + ln -snf /usr/lib64/ossec/bin/manage_agent /usr/src/tmp/ossec-hids-buildroot/usr/bin/manage_agent + ln -snf /usr/lib64/ossec/bin/ossec-agentd /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-agentd + OS_BINARIES='ossec-logcollector ossec-syscheckd ossec-execd manage_agents ossec-agentlessd ossec-analysisd ossec-monitord ossec-reportd ossec-maild ossec-remoted ossec-logtest ossec-csyslogd ossec-authd ossec-makelists verify-agent-conf clear_stats list_agents ossec-regex syscheck_update agent_control syscheck_control rootcheck_control' + for i in $OS_BINARIES + install -pD -m 0550 ossec-logcollector /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/ossec-logcollector /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-logcollector + for i in $OS_BINARIES + install -pD -m 0550 ossec-syscheckd /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/ossec-syscheckd /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-syscheckd + for i in $OS_BINARIES + install -pD -m 0550 ossec-execd /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/ossec-execd /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-execd + for i in $OS_BINARIES + install -pD -m 0550 manage_agents /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/manage_agents /usr/src/tmp/ossec-hids-buildroot/usr/bin/manage_agents + for i in $OS_BINARIES + install -pD -m 0550 ossec-agentlessd /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/ossec-agentlessd /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-agentlessd + for i in $OS_BINARIES + install -pD -m 0550 ossec-analysisd /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/ossec-analysisd /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-analysisd + for i in $OS_BINARIES + install -pD -m 0550 ossec-monitord /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/ossec-monitord /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-monitord + for i in $OS_BINARIES + install -pD -m 0550 ossec-reportd /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/ossec-reportd /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-reportd + for i in $OS_BINARIES + install -pD -m 0550 ossec-maild /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/ossec-maild /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-maild + for i in $OS_BINARIES + install -pD -m 0550 ossec-remoted /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/ossec-remoted /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-remoted + for i in $OS_BINARIES + install -pD -m 0550 ossec-logtest /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/ossec-logtest /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-logtest + for i in $OS_BINARIES + install -pD -m 0550 ossec-csyslogd /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/ossec-csyslogd /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-csyslogd + for i in $OS_BINARIES + install -pD -m 0550 ossec-authd /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/ossec-authd /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-authd + for i in $OS_BINARIES + install -pD -m 0550 ossec-makelists /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/ossec-makelists /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-makelists + for i in $OS_BINARIES + install -pD -m 0550 verify-agent-conf /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/verify-agent-conf /usr/src/tmp/ossec-hids-buildroot/usr/bin/verify-agent-conf + for i in $OS_BINARIES + install -pD -m 0550 clear_stats /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/clear_stats /usr/src/tmp/ossec-hids-buildroot/usr/bin/clear_stats + for i in $OS_BINARIES + install -pD -m 0550 list_agents /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/list_agents /usr/src/tmp/ossec-hids-buildroot/usr/bin/list_agents + for i in $OS_BINARIES + install -pD -m 0550 ossec-regex /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/ossec-regex /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-regex + for i in $OS_BINARIES + install -pD -m 0550 syscheck_update /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/syscheck_update /usr/src/tmp/ossec-hids-buildroot/usr/bin/syscheck_update + for i in $OS_BINARIES + install -pD -m 0550 agent_control /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/agent_control /usr/src/tmp/ossec-hids-buildroot/usr/bin/agent_control + for i in $OS_BINARIES + install -pD -m 0550 syscheck_control /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/syscheck_control /usr/src/tmp/ossec-hids-buildroot/usr/bin/syscheck_control + for i in $OS_BINARIES + install -pD -m 0550 rootcheck_control /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + ln -snf /usr/lib64/ossec/bin/rootcheck_control /usr/src/tmp/ossec-hids-buildroot/usr/bin/rootcheck_control + install -pD -m 0550 external/lua/src/ossec-lua /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + install -pD -m 0550 external/lua/src/ossec-luac /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ + install -pD -m 0550 ossec-dbd /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ossec-dbd + install -pD -m 0550 postgres/ossec-dbd /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin/ossec-pgsql-dbd + popd ~/RPM/BUILD/ossec-hids-3.1.0 + install -pD -m 0755 active-response/disable-account.sh active-response/firewall-drop.sh active-response/firewalld-drop.sh active-response/host-deny.sh active-response/ip-customblock.sh active-response/ossec-pagerduty.sh active-response/ossec-slack.sh active-response/ossec-tweeter.sh active-response/restart-ossec.sh active-response/route-null.sh /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/active-response/bin + install -pD -m 0644 src/rootcheck/db/acsc_office2016_rcl.txt src/rootcheck/db/cis_apache2224_rcl.txt src/rootcheck/db/cis_debian_linux_rcl.txt src/rootcheck/db/cis_debianlinux7-8_L1_rcl.txt src/rootcheck/db/cis_debianlinux7-8_L2_rcl.txt src/rootcheck/db/cis_mysql5-6_community_rcl.txt src/rootcheck/db/cis_mysql5-6_enterprise_rcl.txt src/rootcheck/db/cis_rhel5_linux_rcl.txt src/rootcheck/db/cis_rhel6_linux_rcl.txt src/rootcheck/db/cis_rhel7_linux_rcl.txt src/rootcheck/db/cis_rhel_linux_rcl.txt src/rootcheck/db/cis_sles11_linux_rcl.txt src/rootcheck/db/cis_sles12_linux_rcl.txt src/rootcheck/db/cis_win10_enterprise_L1_rcl.txt src/rootcheck/db/cis_win10_enterprise_L2_rcl.txt src/rootcheck/db/cis_win2012r2_domainL1_rcl.txt src/rootcheck/db/cis_win2012r2_domainL2_rcl.txt src/rootcheck/db/cis_win2012r2_memberL1_rcl.txt src/rootcheck/db/cis_win2012r2_memberL2_rcl.txt src/rootcheck/db/cis_win2016_domainL1_rcl.txt src/rootcheck/db/cis_win2016_domainL2_rcl.txt src/rootcheck/db/cis_win2016_memberL1_rcl.txt src/rootcheck/db/cis_win2016_memberL2_rcl.txt src/rootcheck/db/rootkit_files.txt src/rootcheck/db/rootkit_trojans.txt src/rootcheck/db/system_audit_rcl.txt src/rootcheck/db/system_audit_ssh.txt src/rootcheck/db/win_applications_rcl.txt src/rootcheck/db/win_audit_rcl.txt src/rootcheck/db/win_malware_rcl.txt /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/etc/shared + install -pD -m 0644 src/os_dbd/mysql.schema /usr/src/tmp/ossec-hids-buildroot/usr/share/ossec/contrib + install -pD -m 0644 src/os_dbd/postgresql.schema /usr/src/tmp/ossec-hids-buildroot/usr/share/ossec/contrib + install -pD -m 0550 src/init/ossec-client.sh src/init/ossec-server.sh /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/bin + install -pD -m 0550 src/agentlessd/scripts/main.exp src/agentlessd/scripts/register_host.sh src/agentlessd/scripts/ssh.exp src/agentlessd/scripts/ssh_asa-fwsmconfig_diff src/agentlessd/scripts/ssh_foundry_diff src/agentlessd/scripts/ssh_generic_diff src/agentlessd/scripts/ssh_integrity_check_bsd src/agentlessd/scripts/ssh_integrity_check_linux src/agentlessd/scripts/ssh_nopass.exp src/agentlessd/scripts/ssh_pixconfig_diff src/agentlessd/scripts/sshlogin.exp src/agentlessd/scripts/su.exp /usr/src/tmp/ossec-hids-buildroot/usr/lib64/ossec/agentless + touch /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/etc/ossec.conf + mkdir -p /usr/src/tmp/ossec-hids-buildroot/etc/logrotate.d + install -m 0644 /usr/src/RPM/SOURCES/ossec-hids.logrotate /usr/src/tmp/ossec-hids-buildroot/etc/logrotate.d/ossec-hids + touch /usr/src/tmp/ossec-hids-buildroot/var/lib/ossec/etc/shared/agent.conf + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/ossec-hids-buildroot (auto) mode of 'usr/lib64/ossec/ossec-agent/bin/ossec-syscheckd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/ossec-agent/bin/ossec-luac' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/ossec-agent/bin/ossec-lua' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/ossec-agent/bin/ossec-logcollector' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/ossec-agent/bin/ossec-execd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/ossec-agent/bin/ossec-control' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/ossec-agent/bin/ossec-agentd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/ossec-agent/bin/manage_agent' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/ossec-agent/agentless/su.exp' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/ossec-agent/agentless/sshlogin.exp' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/ossec-agent/agentless/ssh_pixconfig_diff' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/ossec-agent/agentless/ssh_nopass.exp' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/ossec-agent/agentless/ssh_integrity_check_linux' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/ossec-agent/agentless/ssh_integrity_check_bsd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/ossec-agent/agentless/ssh_generic_diff' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/ossec-agent/agentless/ssh_foundry_diff' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/ossec-agent/agentless/ssh_asa-fwsmconfig_diff' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/ossec-agent/agentless/ssh.exp' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/ossec-agent/agentless/register_host.sh' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/ossec-agent/agentless/main.exp' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/ossec-server.sh' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/ossec-client.sh' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/ossec-pgsql-dbd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/ossec-dbd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/ossec-luac' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/ossec-lua' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/rootcheck_control' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/syscheck_control' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/agent_control' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/syscheck_update' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/ossec-regex' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/list_agents' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/clear_stats' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/verify-agent-conf' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/ossec-makelists' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/ossec-authd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/ossec-csyslogd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/ossec-logtest' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/ossec-remoted' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/ossec-maild' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/ossec-reportd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/ossec-monitord' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/ossec-analysisd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/ossec-agentlessd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/manage_agents' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/ossec-execd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/ossec-syscheckd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/ossec-logcollector' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/ossec-agentd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/manage_agent' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/client-syscheckd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/client-logcollector' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/bin/agent-auth' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/agentless/su.exp' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/agentless/sshlogin.exp' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/agentless/ssh_pixconfig_diff' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/agentless/ssh_nopass.exp' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/agentless/ssh_integrity_check_linux' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/agentless/ssh_integrity_check_bsd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/agentless/ssh_generic_diff' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/agentless/ssh_foundry_diff' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/agentless/ssh_asa-fwsmconfig_diff' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/agentless/ssh.exp' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/agentless/register_host.sh' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib64/ossec/agentless/main.exp' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) Verifying and fixing files in /usr/src/tmp/ossec-hids-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/ossec-hids-buildroot/ (default) Compressing files in /usr/src/tmp/ossec-hids-buildroot (auto) Adjusting library links in /usr/src/tmp/ossec-hids-buildroot ./lib: ./var/lib: ./usr/lib64: Verifying ELF objects in /usr/src/tmp/ossec-hids-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.572 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ossec-hids-3.1.0 + pushd src ~/RPM/BUILD/ossec-hids-3.1.0/src ~/RPM/BUILD/ossec-hids-3.1.0 + popd ~/RPM/BUILD/ossec-hids-3.1.0 + exit 0 Processing files: ossec-hids-3.1.0-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.572 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ossec-hids-3.1.0 + DOCDIR=/usr/src/tmp/ossec-hids-buildroot/usr/share/doc/ossec-hids-3.1.0 + export DOCDIR + rm -rf /usr/src/tmp/ossec-hids-buildroot/usr/share/doc/ossec-hids-3.1.0 + /bin/mkdir -p /usr/src/tmp/ossec-hids-buildroot/usr/share/doc/ossec-hids-3.1.0 + cp -prL BUGS CONFIG CONTRIBUTORS INSTALL LICENSE README.md CHANGELOG doc contrib /usr/src/tmp/ossec-hids-buildroot/usr/share/doc/ossec-hids-3.1.0 + chmod -R go-w /usr/src/tmp/ossec-hids-buildroot/usr/share/doc/ossec-hids-3.1.0 + chmod -R a+rX /usr/src/tmp/ossec-hids-buildroot/usr/share/doc/ossec-hids-3.1.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QRzKdI find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NF5KKB find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) find-requires: FINDPACKAGE-COMMANDS: cat chmod curl cut egrep expect grep ls mkdir mv rm route sleep sort stty touch uniq wget Finding Requires(pre) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ajZm1A find-scriptlet-requires: FINDPACKAGE-COMMANDS: groupadd id useradd Requires: /bin/bash, /bin/sh, /etc/logrotate.d, /lib64/ld-linux-x86-64.so.2, /usr/bin/env, coreutils, curl, expect, grep, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), net-tools, rtld(GNU_HASH), wget Requires(interp): /bin/sh Requires(pre): /bin/sh, shadow-utils, coreutils Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Nu6koD Processing files: ossec-hids-agent-3.1.0-alt1 warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/agent-auth -> /usr/lib64/ossec/bin/agent-auth warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/client-logcollector -> /usr/lib64/ossec/bin/client-logcollector warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/client-syscheckd -> /usr/lib64/ossec/bin/client-syscheckd warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/manage_agent -> /usr/lib64/ossec/bin/manage_agent warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-agentd -> /usr/lib64/ossec/bin/ossec-agentd warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-analysisd -> /usr/lib64/ossec/bin/ossec-analysisd warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-execd -> /usr/lib64/ossec/bin/ossec-execd Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.oXgvVI find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/agent-auth -> /usr/lib64/ossec/bin/agent-auth is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/client-logcollector -> /usr/lib64/ossec/bin/client-logcollector is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/client-syscheckd -> /usr/lib64/ossec/bin/client-syscheckd is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/manage_agent -> /usr/lib64/ossec/bin/manage_agent is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-agentd -> /usr/lib64/ossec/bin/ossec-agentd is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-analysisd -> /usr/lib64/ossec/bin/ossec-analysisd is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-execd -> /usr/lib64/ossec/bin/ossec-execd is not going to provide anything find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7pD8yR find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) find-requires: FINDPACKAGE-COMMANDS: grep ls mkdir ps rm sleep Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.at1VE8 find-scriptlet-requires: FINDPACKAGE-COMMANDS: chmod chown ln touch Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.xouQSs find-scriptlet-requires: FINDPACKAGE-COMMANDS: rm Requires: ossec-hids = 3.1.0-alt1, /bin/sh, /etc/rc.d/init.d, /etc/rc.d/init.d(failure), /etc/rc.d/init.d(success), /etc/rc.d/init.d/functions, /lib64/ld-linux-x86-64.so.2, coreutils, grep, libGeoIP.so.1()(64bit) >= set:lirQgL92WTABh7, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.27)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libpthread.so.0(GLIBC_2.2.5)(64bit), procps, rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(post): /sbin/chkconfig, /bin/sh, /sbin/service, /usr/sbin/post_service, coreutils Requires(preun): /sbin/chkconfig, /bin/sh, /sbin/service, /usr/sbin/preun_service, coreutils Requires(postun): /sbin/service Conflicts: ossec-hids-server Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.I3ZKeQ Creating ossec-hids-agent-debuginfo package Processing files: ossec-hids-hybrid-3.1.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.pTGyKg find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qxuVnK find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) find-requires: FINDPACKAGE-COMMANDS: cat chmod curl cut egrep expect grep ls mkdir mv ps rm route sleep sort stty touch uniq wget Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3ywaom shell.req: /usr/src/tmp/ossec-hids-buildroot/.post:ossec-hids-hybrid: /bin/systemctl -> /bin/systemctl (raw, not installed) find-scriptlet-requires: FINDPACKAGE-COMMANDS: cp ln Requires: ossec-hids = 3.1.0-alt1, /bin/bash, /bin/sh, /etc/ossec-init.conf, /lib64/ld-linux-x86-64.so.2, /usr/bin/env, coreutils, curl, expect, grep, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.27)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libpthread.so.0(GLIBC_2.2.5)(64bit), net-tools, procps, rtld(GNU_HASH), wget Requires(interp): /bin/sh Requires(post): /sbin/chkconfig, /bin/sh, /bin/systemctl, coreutils Requires(preun): /sbin/chkconfig, /sbin/service Requires(postun): /sbin/service Conflicts: ossec-hids-agent Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.uK4Ov1 Creating ossec-hids-hybrid-debuginfo package Processing files: ossec-hids-mysql-3.1.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zUDjKJ find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.MMlF5u find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: ossec-hids-server = 3.1.0-alt1, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.27)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libmysqlclient.so.21()(64bit) >= set:kgMz2DJOFgLGe0ZyiLFReNTQ1, libmysqlclient.so.21(libmysqlclient_21.0)(64bit), libpthread.so.0(GLIBC_2.2.5)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Conflicts: ossec-hids-postgres Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TjCJxj Creating ossec-hids-mysql-debuginfo package Processing files: ossec-hids-postgres-3.1.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.acLc7a find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.t1zjN5 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.erAoA3 find-scriptlet-requires: FINDPACKAGE-COMMANDS: ln Requires: ossec-hids-server = 3.1.0-alt1, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.27)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libpq.so.5()(64bit) >= set:lhmyNuL6fTofV2wQf4QR1qCvQq0, libpthread.so.0(GLIBC_2.2.5)(64bit), rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(post): /bin/sh, coreutils Conflicts: ossec-hids-mysql Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1zV8u4 Creating ossec-hids-postgres-debuginfo package Processing files: ossec-hids-server-3.1.0-alt1 warning: File listed twice: /etc/rc.d/init.d/ossec-hids warning: File listed twice: /etc/rc.d/init.d/ossec-hids-authd warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/agent_control -> /usr/lib64/ossec/bin/agent_control warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/clear_stats -> /usr/lib64/ossec/bin/clear_stats warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/list_agents -> /usr/lib64/ossec/bin/list_agents warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/manage_agents -> /usr/lib64/ossec/bin/manage_agents warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-agentlessd -> /usr/lib64/ossec/bin/ossec-agentlessd warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-analysisd -> /usr/lib64/ossec/bin/ossec-analysisd warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-authd -> /usr/lib64/ossec/bin/ossec-authd warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-csyslogd -> /usr/lib64/ossec/bin/ossec-csyslogd warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-execd -> /usr/lib64/ossec/bin/ossec-execd warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-logcollector -> /usr/lib64/ossec/bin/ossec-logcollector warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-logtest -> /usr/lib64/ossec/bin/ossec-logtest warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-maild -> /usr/lib64/ossec/bin/ossec-maild warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-makelists -> /usr/lib64/ossec/bin/ossec-makelists warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-monitord -> /usr/lib64/ossec/bin/ossec-monitord warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-regex -> /usr/lib64/ossec/bin/ossec-regex warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-remoted -> /usr/lib64/ossec/bin/ossec-remoted warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-reportd -> /usr/lib64/ossec/bin/ossec-reportd warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-syscheckd -> /usr/lib64/ossec/bin/ossec-syscheckd warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/rootcheck_control -> /usr/lib64/ossec/bin/rootcheck_control warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/syscheck_control -> /usr/lib64/ossec/bin/syscheck_control warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/syscheck_update -> /usr/lib64/ossec/bin/syscheck_update warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/verify-agent-conf -> /usr/lib64/ossec/bin/verify-agent-conf warning: File listed twice: /usr/share/ossec/contrib Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Yt6yE8 find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/agent_control -> /usr/lib64/ossec/bin/agent_control is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/clear_stats -> /usr/lib64/ossec/bin/clear_stats is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/list_agents -> /usr/lib64/ossec/bin/list_agents is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/manage_agents -> /usr/lib64/ossec/bin/manage_agents is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-agentlessd -> /usr/lib64/ossec/bin/ossec-agentlessd is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-analysisd -> /usr/lib64/ossec/bin/ossec-analysisd is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-authd -> /usr/lib64/ossec/bin/ossec-authd is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-csyslogd -> /usr/lib64/ossec/bin/ossec-csyslogd is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-execd -> /usr/lib64/ossec/bin/ossec-execd is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-logcollector -> /usr/lib64/ossec/bin/ossec-logcollector is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-logtest -> /usr/lib64/ossec/bin/ossec-logtest is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-maild -> /usr/lib64/ossec/bin/ossec-maild is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-makelists -> /usr/lib64/ossec/bin/ossec-makelists is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-monitord -> /usr/lib64/ossec/bin/ossec-monitord is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-regex -> /usr/lib64/ossec/bin/ossec-regex is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-remoted -> /usr/lib64/ossec/bin/ossec-remoted is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-reportd -> /usr/lib64/ossec/bin/ossec-reportd is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-syscheckd -> /usr/lib64/ossec/bin/ossec-syscheckd is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/rootcheck_control -> /usr/lib64/ossec/bin/rootcheck_control is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/syscheck_control -> /usr/lib64/ossec/bin/syscheck_control is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/syscheck_update -> /usr/lib64/ossec/bin/syscheck_update is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/verify-agent-conf -> /usr/lib64/ossec/bin/verify-agent-conf is not going to provide anything find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9inoUf find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) systemd-services.req: /usr/src/tmp/ossec-hids-buildroot/lib/systemd/system/ossec-hids.service: /usr/bin/ossec-control -> /usr/bin/ossec-control (raw, not installed) systemd-services.req: /usr/src/tmp/ossec-hids-buildroot/lib/systemd/system/ossec-hids.service: /usr/bin/ossec-control -> /usr/bin/ossec-control (raw, not installed) find-requires: FINDPACKAGE-COMMANDS: grep ls mkdir ps rm sleep Finding Requires(pre) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.aDuVay find-scriptlet-requires: FINDPACKAGE-COMMANDS: id useradd Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.rVczyT shell.req: /usr/src/tmp/ossec-hids-buildroot/.post:ossec-hids-server: /usr/bin/openssl -> /usr/bin/openssl (raw, not installed) find-scriptlet-requires: FINDPACKAGE-COMMANDS: cat chown ln touch Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.iALr2h find-scriptlet-requires: FINDPACKAGE-COMMANDS: rm Provides: ossec-server = 3.1.0-alt1 Requires: ossec-hids = 3.1.0-alt1, /bin/sh, /etc/rc.d/init.d, /etc/rc.d/init.d(echo_failure), /etc/rc.d/init.d(echo_success), /etc/rc.d/init.d(failure), /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d(success), /etc/rc.d/init.d/functions, /lib64/ld-linux-x86-64.so.2, /usr/bin/env, /usr/bin/ossec-control, coreutils, grep, libGeoIP.so.1()(64bit) >= set:lirQgL92WTABh7, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.27)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libpthread.so.0(GLIBC_2.2.5)(64bit), libpthread.so.0(GLIBC_2.3.2)(64bit), procps, rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(pre): /usr/sbin/groupadd, /usr/sbin/useradd, /bin/sh, shadow-utils, coreutils Requires(post): /sbin/chkconfig, /bin/sh, /sbin/service, /usr/bin/openssl, /usr/sbin/post_service, coreutils Requires(preun): /sbin/chkconfig, /bin/sh, /sbin/service, /usr/sbin/preun_service, coreutils Requires(postun): /sbin/service Conflicts: ossec-hids-agent Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZFAzDJ Creating ossec-hids-server-debuginfo package Processing files: ossec-hids-agent-debuginfo-3.1.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.MWlZne find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.LjX6eM find-requires: running scripts (debuginfo) Requires: ossec-hids-agent = 3.1.0-alt1 Processing files: ossec-hids-hybrid-debuginfo-3.1.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.mOGben find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3zz9j1 find-requires: running scripts (debuginfo) Requires: ossec-hids-hybrid = 3.1.0-alt1 Processing files: ossec-hids-mysql-debuginfo-3.1.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Sd81wI find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.PVYeRs find-requires: running scripts (debuginfo) Requires: ossec-hids-mysql = 3.1.0-alt1 Processing files: ossec-hids-postgres-debuginfo-3.1.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UXFMig find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7ZuCR6 find-requires: running scripts (debuginfo) Requires: ossec-hids-postgres = 3.1.0-alt1 Processing files: ossec-hids-server-debuginfo-3.1.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UwsQz0 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ffTmpX find-requires: running scripts (debuginfo) Requires: ossec-hids-server = 3.1.0-alt1 Adding to ossec-hids-agent a strict dependency on ossec-hids Adding to ossec-hids-hybrid a strict dependency on ossec-hids Adding to ossec-hids-server a strict dependency on ossec-hids Adding to ossec-hids-agent-debuginfo a strict dependency on ossec-hids-agent Adding to ossec-hids-hybrid-debuginfo a strict dependency on ossec-hids-hybrid Adding to ossec-hids-mysql a strict dependency on ossec-hids-server Adding to ossec-hids-mysql-debuginfo a strict dependency on ossec-hids-mysql Adding to ossec-hids-postgres a strict dependency on ossec-hids-server Adding to ossec-hids-postgres-debuginfo a strict dependency on ossec-hids-postgres Adding to ossec-hids-server-debuginfo a strict dependency on ossec-hids-server Adding to ossec-hids-mysql-debuginfo a strict dependency on ossec-hids-server-debuginfo Removing from ossec-hids-mysql-debuginfo 80 sources provided by ossec-hids-server-debuginfo also prunning dir /usr/src/debug/ossec-hids-3.1.0/src/config also prunning dir /usr/src/debug/ossec-hids-3.1.0/src/os_net also prunning dir /usr/src/debug/ossec-hids-3.1.0/src/os_regex also prunning dir /usr/src/debug/ossec-hids-3.1.0/src/os_xml Adding to ossec-hids-postgres-debuginfo a strict dependency on ossec-hids-server-debuginfo Removing from ossec-hids-postgres-debuginfo 80 sources provided by ossec-hids-server-debuginfo also prunning dir /usr/src/debug/ossec-hids-3.1.0/src/config also prunning dir /usr/src/debug/ossec-hids-3.1.0/src/os_net also prunning dir /usr/src/debug/ossec-hids-3.1.0/src/os_regex also prunning dir /usr/src/debug/ossec-hids-3.1.0/src/os_xml warning: ossec-hids-hybrid: non-strict dependency on ossec-hids-agent warning: ossec-hids-hybrid: non-strict dependency on ossec-hids-server Removing 11 extra deps from ossec-hids-agent due to repentancy on ossec-hids Removing 19 extra deps from ossec-hids-hybrid due to repentancy on ossec-hids Removing 8 extra deps from ossec-hids-mysql due to repentancy on ossec-hids Removing 8 extra deps from ossec-hids-postgres due to repentancy on ossec-hids Removing 13 extra deps from ossec-hids-server due to repentancy on ossec-hids Removing 4 extra deps from ossec-hids-mysql due to repentancy on ossec-hids-server Removing 6 extra deps from ossec-hids-postgres due to repentancy on ossec-hids-server warning: File(s) packaged into both ossec-hids-agent-3.1.0-alt1 and ossec-hids-hybrid-3.1.0-alt1: /var/lib/ossec/ossec-agent/etc/shared/acsc_office2016_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_apache2224_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_debian_linux_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_debianlinux7-8_L1_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_debianlinux7-8_L2_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_mysql5-6_community_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_mysql5-6_enterprise_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_rhel5_linux_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_rhel6_linux_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_rhel7_linux_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_rhel_linux_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_sles11_linux_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_sles12_linux_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_win10_enterprise_L1_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_win10_enterprise_L2_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_win2012r2_domainL1_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_win2012r2_domainL2_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_win2012r2_memberL1_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_win2012r2_memberL2_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_win2016_domainL1_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_win2016_domainL2_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_win2016_memberL1_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/cis_win2016_memberL2_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/rootkit_files.txt /var/lib/ossec/ossec-agent/etc/shared/rootkit_trojans.txt /var/lib/ossec/ossec-agent/etc/shared/system_audit_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/system_audit_ssh.txt /var/lib/ossec/ossec-agent/etc/shared/win_applications_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/win_audit_rcl.txt /var/lib/ossec/ossec-agent/etc/shared/win_malware_rcl.txt warning: File(s) packaged into both ossec-hids-agent-3.1.0-alt1 and ossec-hids-server-3.1.0-alt1: /etc/ossec-init.conf /etc/rc.d/init.d/ossec-hids /usr/bin/ossec-analysisd /usr/bin/ossec-execd /usr/lib64/ossec/bin/agent-auth /usr/lib64/ossec/bin/ossec-agentd /usr/lib64/ossec/bin/ossec-analysisd /usr/lib64/ossec/bin/ossec-execd /var/lib/ossec/etc/internal_options.conf /var/lib/ossec/etc/ossec.conf.sample /var/lib/ossec/etc/shared/agent.conf /var/lib/ossec/etc/shared/internal_options.conf /var/lib/ossec/etc/shared/local_internal_options-win.conf /var/lib/ossec/etc/shared/local_internal_options.conf /var/lib/ossec/etc/shared/ossec-agent.conf /var/lib/ossec/etc/shared/ossec-local.conf /var/lib/ossec/etc/shared/ossec-server.conf /var/lib/ossec/etc/shared/ossec.conf Wrote: /usr/src/RPM/RPMS/x86_64/ossec-hids-3.1.0-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/ossec-hids-agent-3.1.0-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/ossec-hids-hybrid-3.1.0-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/ossec-hids-mysql-3.1.0-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/ossec-hids-postgres-3.1.0-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/ossec-hids-server-3.1.0-alt1.x86_64.rpm (w2T8.xzdio) Wrote: /usr/src/RPM/RPMS/x86_64/ossec-hids-agent-debuginfo-3.1.0-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/ossec-hids-hybrid-debuginfo-3.1.0-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/ossec-hids-mysql-debuginfo-3.1.0-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/ossec-hids-postgres-debuginfo-3.1.0-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/ossec-hids-server-debuginfo-3.1.0-alt1.x86_64.rpm (w2.lzdio) 117.36user 31.25system 1:31.98elapsed 161%CPU (0avgtext+0avgdata 93192maxresident)k 0inputs+0outputs (0major+8881058minor)pagefaults 0swaps 6.89user 2.07system 1:50.35elapsed 8%CPU (0avgtext+0avgdata 128708maxresident)k 0inputs+0outputs (0major+222173minor)pagefaults 0swaps --- ossec-hids-3.1.0-alt1.x86_64.rpm.repo 2019-03-07 22:12:27.000000000 +0000 +++ ossec-hids-3.1.0-alt1.x86_64.rpm.hasher 2024-05-05 11:44:18.508503849 +0000 @@ -358,4 +358,4 @@ File: /usr/lib64/ossec/bin 40550 root:ossec -File: /usr/lib64/ossec/bin/ossec-lua 100550 root:root 1cacb768ebaa697429e90c54427e977e -File: /usr/lib64/ossec/bin/ossec-luac 100550 root:root a158aca31451888e5d2600e3082767eb +File: /usr/lib64/ossec/bin/ossec-lua 100550 root:root 20d4362e540f6e84376d6cfedfb36146 +File: /usr/lib64/ossec/bin/ossec-luac 100550 root:root 7d57237d9516c3df2e2e8a02cb521410 File: /usr/share/doc/ossec-hids-3.1.0 40755 root:root @@ -637,2 +637,2 @@ File: /var/lib/ossec/var/run 40770 root:ossec -RPMIdentity: 9191c1370ad0266dcf2d7989097ecc90ca1344fb6e07b885e1e6e0cd863d472a0e6b958bed9193c20a34a6551ba23ad5652fe56edb600f93f5c56f65a7abddea +RPMIdentity: 759861934c392e16f6299cb978dd967faf4ecf6003767dbc401392375ee601a8d0823fd3ae8c4a384985c93aed74002d2daa3df43cf90790faa2c6cfa295671c --- ossec-hids-agent-3.1.0-alt1.x86_64.rpm.repo 2019-03-07 22:12:28.000000000 +0000 +++ ossec-hids-agent-3.1.0-alt1.x86_64.rpm.hasher 2024-05-05 11:44:18.593504182 +0000 @@ -81,3 +81,3 @@ Conflicts: ossec-hids-server -File: /etc/ossec-init.conf 100600 root:root c008dd2bb5da87e7c61b2f22c0b5a3af +File: /etc/ossec-init.conf 100600 root:root 42f1311bbd57d8c8a1fa68976b6a52fb File: /etc/rc.d/init.d/ossec-hids 100755 root:root d37801957210f7df8d75d6db7e57e379 @@ -90,10 +90,10 @@ File: /usr/bin/ossec-execd 120777 root:root /usr/lib64/ossec/bin/ossec-execd -File: /usr/lib64/ossec/bin/agent-auth 100750 root:root f921ee0b54ffd39adb5edaf7c20a7c0d -File: /usr/lib64/ossec/bin/client-logcollector 100750 root:root b86022d0fee6d076bf48529726258b8d -File: /usr/lib64/ossec/bin/client-syscheckd 100750 root:root cdb88ae869ca5539559d1b2e7ea724cd -File: /usr/lib64/ossec/bin/manage_agent 100750 root:root 4f0c40ac258d0209d4d407012b4165e3 -File: /usr/lib64/ossec/bin/ossec-agentd 100750 root:root ea44dda1db27762fc94c521e13e34e48 -File: /usr/lib64/ossec/bin/ossec-analysisd 100750 root:root e7aee353cb6caacdce9d11246b639a35 +File: /usr/lib64/ossec/bin/agent-auth 100750 root:root 28332c81cd688b4de72dcc64b20514b5 +File: /usr/lib64/ossec/bin/client-logcollector 100750 root:root 8b75fa6935e79d190fe76a50e3b5a0ac +File: /usr/lib64/ossec/bin/client-syscheckd 100750 root:root 40d5133fc07674713eb761eceb901de8 +File: /usr/lib64/ossec/bin/manage_agent 100750 root:root 46f11c700255ebe9a8df711365f82e0e +File: /usr/lib64/ossec/bin/ossec-agentd 100750 root:root a1b5dad48e159e588ead36900df36680 +File: /usr/lib64/ossec/bin/ossec-analysisd 100750 root:root 73b197c8b8aef338bf3fff703cebf8cc File: /usr/lib64/ossec/bin/ossec-client.sh 100750 root:root 237139cdca08118f735e453e1ca6b6a2 -File: /usr/lib64/ossec/bin/ossec-execd 100750 root:root ded4696c1e20255c5c71fb5436a58314 +File: /usr/lib64/ossec/bin/ossec-execd 100750 root:root 690dce750d44017dc59aaa1627033736 File: /var/lib/ossec/etc/internal_options.conf 100644 root:root 1d5c35ed830e7770b07aedf0f363a546 @@ -142,2 +142,2 @@ File: /var/lib/ossec/queue/syscheck 40550 root:ossec -RPMIdentity: 63193fd06ddcde4d4b2be2b3959b627f93b81fd444b455fc2f3409e8587783b1cc9019c7a9b036c47d13bae6d239237a3325a19007bef2931470cf0e103ce928 +RPMIdentity: b1a502504d696069d239e05b382341194370f108507c44e3888a12a6dae9a4cb38a9efab32b2cf11718482c0a4ea49f53eec11dd765eb3ab1de075cfbd3f4134 --- ossec-hids-hybrid-3.1.0-alt1.x86_64.rpm.repo 2019-03-07 22:12:27.000000000 +0000 +++ ossec-hids-hybrid-3.1.0-alt1.x86_64.rpm.hasher 2024-05-05 11:44:18.768504866 +0000 @@ -112,11 +112,11 @@ File: /usr/lib64/ossec/ossec-agent/agentless/su.exp 100750 root:root bbc944400c8ff42548db56aa9526c26e -File: /usr/lib64/ossec/ossec-agent/bin/agent-auth 100644 root:root f921ee0b54ffd39adb5edaf7c20a7c0d -File: /usr/lib64/ossec/ossec-agent/bin/manage_agent 100750 root:root c51e6fe490a83f0e2120a51e391e3a8a -File: /usr/lib64/ossec/ossec-agent/bin/ossec-agentd 100750 root:root 786c125de3aef0bc6f027f1eada2fa5d +File: /usr/lib64/ossec/ossec-agent/bin/agent-auth 100644 root:root 28332c81cd688b4de72dcc64b20514b5 +File: /usr/lib64/ossec/ossec-agent/bin/manage_agent 100750 root:root 1d70a643c14289533ab746601350ee01 +File: /usr/lib64/ossec/ossec-agent/bin/ossec-agentd 100750 root:root 7f920d6526411473b12539a13fd74987 File: /usr/lib64/ossec/ossec-agent/bin/ossec-control 100750 root:root 237139cdca08118f735e453e1ca6b6a2 -File: /usr/lib64/ossec/ossec-agent/bin/ossec-execd 100750 root:root 84cccdf96e28d00f79ab9f619d4c8357 -File: /usr/lib64/ossec/ossec-agent/bin/ossec-logcollector 100750 root:root efdb45574cf686a120fd05528fd9f581 -File: /usr/lib64/ossec/ossec-agent/bin/ossec-lua 100750 root:root 1cacb768ebaa697429e90c54427e977e -File: /usr/lib64/ossec/ossec-agent/bin/ossec-luac 100750 root:root a158aca31451888e5d2600e3082767eb -File: /usr/lib64/ossec/ossec-agent/bin/ossec-syscheckd 100750 root:root e9071afa5ffe923ef5657fb9ce6d6b38 +File: /usr/lib64/ossec/ossec-agent/bin/ossec-execd 100750 root:root 4a162e7077d58be0d9bee2e79bf1654f +File: /usr/lib64/ossec/ossec-agent/bin/ossec-logcollector 100750 root:root bd44a57be4bb91e03b9cfb1d68584203 +File: /usr/lib64/ossec/ossec-agent/bin/ossec-lua 100750 root:root 20d4362e540f6e84376d6cfedfb36146 +File: /usr/lib64/ossec/ossec-agent/bin/ossec-luac 100750 root:root 7d57237d9516c3df2e2e8a02cb521410 +File: /usr/lib64/ossec/ossec-agent/bin/ossec-syscheckd 100750 root:root f8ad99484ca209e8d63fc415196c94b7 File: /var/lib/ossec/ossec-agent/etc/internal_options.conf 100644 root:root 1d5c35ed830e7770b07aedf0f363a546 @@ -164,2 +164,2 @@ File: /var/lib/ossec/ossec-agent/var/run 40770 root:ossec -RPMIdentity: e79850db6d0b4cd4a3d79977db98a177371bfb7e22a2ca1b5da78818a789cc9dcfeea98ea95c035fa03e78843d48604032996018e3f4048b1c39acfb68cc8e10 +RPMIdentity: fe92a74094a8c83e32dcfa5474fbf902167feb6a0aa5ea36117590217fa73115ca9565c9f262c1be2b97f080643ef2be650dd129150f723bf3a00c6aeaebb46a --- ossec-hids-mysql-3.1.0-alt1.x86_64.rpm.repo 2019-03-07 22:12:27.000000000 +0000 +++ ossec-hids-mysql-3.1.0-alt1.x86_64.rpm.hasher 2024-05-05 11:44:18.927505487 +0000 @@ -8,4 +8,4 @@ Conflicts: ossec-hids-postgres -File: /usr/lib64/ossec/bin/ossec-dbd 100750 root:root bfadd6f01e69c62392baa135d7b40847 +File: /usr/lib64/ossec/bin/ossec-dbd 100750 root:root ada7d47b366b3b6077aff0bbb4962c56 File: /usr/share/ossec/contrib/mysql.schema 100644 root:root e0ef9b73a1f82b01609256abff19f738 -RPMIdentity: 1a3ccaeff7dca63aea3015a00e1cee8c29103a7b6475767f9cdf4dfb71cf6dcf0072d101293860c6648ac486922feebc469b598308d6f0b420cfa20a58582203 +RPMIdentity: 48e668ce3489c6f611c1b6b49afb651414b6facd0956fc13f64825d3702ad73f44d2addc99255509e53155bd1e45e248b72a65064e8a3f1aeec27af95d87d67a --- ossec-hids-postgres-3.1.0-alt1.x86_64.rpm.repo 2019-03-07 22:12:27.000000000 +0000 +++ ossec-hids-postgres-3.1.0-alt1.x86_64.rpm.hasher 2024-05-05 11:44:19.097506152 +0000 @@ -7,4 +7,4 @@ Conflicts: ossec-hids-mysql -File: /usr/lib64/ossec/bin/ossec-pgsql-dbd 100750 root:root d8694b07335f53dbfd4e1708c655af40 +File: /usr/lib64/ossec/bin/ossec-pgsql-dbd 100750 root:root 293e2b841977f171079338d77250f204 File: /usr/share/ossec/contrib/postgresql.schema 100644 root:root 54914fd444e8232948eafe99f0398224 -RPMIdentity: ef7dbe869c18db9c2a2439ca71a679dc040d5290884390c44f5474a1a2ab48edf6720ec141bf5a15527ac70119ae806508198f555469a14410e23dc6fb01e018 +RPMIdentity: 4853795e9159e0d0f447102df5b9396aa4ee74cb0a3b402d73c777d13f7c56f846cb798a92f826cd4fb242f7d6d06cb21c493f5d8b43fc90d7ea5b72271fc2d7 --- ossec-hids-server-3.1.0-alt1.x86_64.rpm.repo 2019-03-07 22:12:27.000000000 +0000 +++ ossec-hids-server-3.1.0-alt1.x86_64.rpm.hasher 2024-05-05 11:44:19.252506758 +0000 @@ -227,2 +227,3 @@ Requires: /etc/rc.d/init.d/functions +Requires: /usr/bin/ossec-control Requires: libGeoIP.so.1()(64bit) >= set:lirQgL92WTABh7 @@ -241,3 +242,2 @@ Requires: rpmlib(PayloadIsLzma) -Provides: ossec-hids-server = 3.1.0-alt1 Provides: ossec-server = 3.1.0-alt1 @@ -245,3 +245,3 @@ Conflicts: ossec-hids-agent -File: /etc/ossec-init.conf 100600 root:root c008dd2bb5da87e7c61b2f22c0b5a3af +File: /etc/ossec-init.conf 100600 root:root 42f1311bbd57d8c8a1fa68976b6a52fb File: /etc/rc.d/init.d/ossec-hids 100755 root:root d37801957210f7df8d75d6db7e57e379 @@ -283,27 +283,27 @@ File: /usr/lib64/ossec/agentless 40550 root:ossec -File: /usr/lib64/ossec/bin/agent-auth 100750 root:root f921ee0b54ffd39adb5edaf7c20a7c0d -File: /usr/lib64/ossec/bin/agent_control 100750 root:root 728ddaa503fb754f4694d4a4fcf6f795 -File: /usr/lib64/ossec/bin/clear_stats 100750 root:root bd75aff0cc0a385cee996252d940bddb -File: /usr/lib64/ossec/bin/list_agents 100750 root:root 2d21974f6b7496def063a1a5133f06c8 -File: /usr/lib64/ossec/bin/manage_agents 100750 root:root e7bfb268565a5bd7f49b4307d27d270a -File: /usr/lib64/ossec/bin/ossec-agentd 100750 root:root ea44dda1db27762fc94c521e13e34e48 -File: /usr/lib64/ossec/bin/ossec-agentlessd 100750 root:root 41d68df04985c2397451f41373d669db -File: /usr/lib64/ossec/bin/ossec-analysisd 100750 root:root e7aee353cb6caacdce9d11246b639a35 -File: /usr/lib64/ossec/bin/ossec-authd 100750 root:root 95b6c0d2d3200064ca961f1eae45849b -File: /usr/lib64/ossec/bin/ossec-csyslogd 100750 root:root d0a526d951e146c3aa7fb5c3a89e8ffb -File: /usr/lib64/ossec/bin/ossec-execd 100750 root:root ded4696c1e20255c5c71fb5436a58314 -File: /usr/lib64/ossec/bin/ossec-logcollector 100750 root:root 11c4623c9dd055d36b76d61226faae76 -File: /usr/lib64/ossec/bin/ossec-logtest 100750 root:root cdb4d237d3c2ebbae12d5e6ff98109a1 -File: /usr/lib64/ossec/bin/ossec-maild 100750 root:root 7b18234fcd35722a1bad8c97817c5564 -File: /usr/lib64/ossec/bin/ossec-makelists 100750 root:root d0ce02714238f7382af64ca5399d4e7a -File: /usr/lib64/ossec/bin/ossec-monitord 100750 root:root 9a854c87b77ce90d239662f34ceedb70 -File: /usr/lib64/ossec/bin/ossec-regex 100750 root:root 8e63d1a275be1761302c07576dc2ee05 -File: /usr/lib64/ossec/bin/ossec-remoted 100750 root:root bcb8a7d94b4577f2e846effc0dc1ce22 -File: /usr/lib64/ossec/bin/ossec-reportd 100750 root:root f828a4e3eb14c3b35198795db28ed315 +File: /usr/lib64/ossec/bin/agent-auth 100750 root:root 28332c81cd688b4de72dcc64b20514b5 +File: /usr/lib64/ossec/bin/agent_control 100750 root:root ee3ce8c2063e8c9a90dd699c8390c567 +File: /usr/lib64/ossec/bin/clear_stats 100750 root:root 7cd6a32b2dfd2bb5f80dc1bf65daa0dc +File: /usr/lib64/ossec/bin/list_agents 100750 root:root 44a5d68572c1ba661d629f773850202d +File: /usr/lib64/ossec/bin/manage_agents 100750 root:root c877e8c968ddb0200a61faac8650444d +File: /usr/lib64/ossec/bin/ossec-agentd 100750 root:root a1b5dad48e159e588ead36900df36680 +File: /usr/lib64/ossec/bin/ossec-agentlessd 100750 root:root 167aa7ff6df76f26118e5d6e966b3a5a +File: /usr/lib64/ossec/bin/ossec-analysisd 100750 root:root 73b197c8b8aef338bf3fff703cebf8cc +File: /usr/lib64/ossec/bin/ossec-authd 100750 root:root 3ab95e72615c8799d0d540b82c1daa90 +File: /usr/lib64/ossec/bin/ossec-csyslogd 100750 root:root f1e28f51e68e2174ac6a8a11d4f205b7 +File: /usr/lib64/ossec/bin/ossec-execd 100750 root:root 690dce750d44017dc59aaa1627033736 +File: /usr/lib64/ossec/bin/ossec-logcollector 100750 root:root 12f7703e9a89c9ad40ce6ca2734c1072 +File: /usr/lib64/ossec/bin/ossec-logtest 100750 root:root 0b5d446df57496d92698b3bf8d10e20e +File: /usr/lib64/ossec/bin/ossec-maild 100750 root:root 578586120f016e0a0a9385edbd8f0d5d +File: /usr/lib64/ossec/bin/ossec-makelists 100750 root:root 03f1392c788d1d5173cc4841a0fbeeb2 +File: /usr/lib64/ossec/bin/ossec-monitord 100750 root:root c7abf28e17a7bae7447dd34d7d43afca +File: /usr/lib64/ossec/bin/ossec-regex 100750 root:root 42a41992070005b37c94042a6b9db09e +File: /usr/lib64/ossec/bin/ossec-remoted 100750 root:root b6f7ccc35082f131c0ab16f37639cf26 +File: /usr/lib64/ossec/bin/ossec-reportd 100750 root:root 731f49eb13ee64116db56cc299121b3d File: /usr/lib64/ossec/bin/ossec-server.sh 100750 root:root e953c28fa8047b7c3143fb4ac0cb7e65 -File: /usr/lib64/ossec/bin/ossec-syscheckd 100750 root:root d37d294ef148504cf0e758b59c510c1a -File: /usr/lib64/ossec/bin/rootcheck_control 100750 root:root b32811bdebe7d9cd385d8bfdbb6ca726 -File: /usr/lib64/ossec/bin/syscheck_control 100750 root:root 6622af26c9d132f64d89b29e2cd3beec -File: /usr/lib64/ossec/bin/syscheck_update 100750 root:root 557b0b05033384b94601ac2f9a217179 -File: /usr/lib64/ossec/bin/verify-agent-conf 100750 root:root 5c47597153113f3317ba5f6c603b7484 +File: /usr/lib64/ossec/bin/ossec-syscheckd 100750 root:root c0935f5ea9f6c42312cc38174a1accd2 +File: /usr/lib64/ossec/bin/rootcheck_control 100750 root:root 4b0e8ed62b4e20b0805eae15f6389fb7 +File: /usr/lib64/ossec/bin/syscheck_control 100750 root:root 42fecfd1d21909562c745f1756297c13 +File: /usr/lib64/ossec/bin/syscheck_update 100750 root:root 4eb56860ef3a0ea0eaf470ef4fbb357c +File: /usr/lib64/ossec/bin/verify-agent-conf 100750 root:root 7d44cb31ed6ef1d7b733502c974b11db File: /usr/share/ossec/contrib 40755 root:root @@ -460,2 +460,2 @@ File: /var/lib/ossec/stats 40750 ossec:ossec -RPMIdentity: 978d9ef1af147584affd88bfeefd69e4178f01741889d3ce86389f42c13aa7da12c0b3d7fcbecae340f4d33b5426a4cd1eb381d0aa7b324c490abf87d5173cd0 +RPMIdentity: 6cd7eeb4067bfd96b712bf4dc0b874ec2f7e7d565db31b1228aeb9efd70adf766944a412c02e43fe030e0b15dbd4106ae3be3418cf2864d42e8fd9bda82e3a78