<86>May 28 13:52:33 userdel[1918419]: delete user 'rooter' <86>May 28 13:52:33 userdel[1918419]: removed group 'rooter' owned by 'rooter' <86>May 28 13:52:33 groupadd[1918424]: group added to /etc/group: name=rooter, GID=621 <86>May 28 13:52:33 groupadd[1918424]: group added to /etc/gshadow: name=rooter <86>May 28 13:52:33 groupadd[1918424]: new group: name=rooter, GID=621 <86>May 28 13:52:33 useradd[1918428]: new user: name=rooter, UID=621, GID=621, home=/root, shell=/bin/bash <86>May 28 13:52:33 userdel[1918434]: delete user 'builder' <86>May 28 13:52:33 userdel[1918434]: removed group 'builder' owned by 'builder' <86>May 28 13:52:33 userdel[1918434]: removed shadow group 'builder' owned by 'builder' <86>May 28 13:52:33 groupadd[1918439]: group added to /etc/group: name=builder, GID=622 <86>May 28 13:52:33 groupadd[1918439]: group added to /etc/gshadow: name=builder <86>May 28 13:52:33 groupadd[1918439]: new group: name=builder, GID=622 <86>May 28 13:52:33 useradd[1918443]: new user: name=builder, UID=622, GID=622, home=/usr/src, shell=/bin/bash warning: ignored self-provides: ossec-hids-server = 3.6.0-alt1 <13>May 28 13:52:36 rpmi: GeoIP-Lite-Country-1:20180327-alt1 1522192520 installed <13>May 28 13:52:36 rpmi: libGeoIP-1.6.12-alt1 1516269300 installed <13>May 28 13:52:36 rpmi: libverto-0.3.2-alt1_1 sisyphus+268398.100.1.1 1616717462 installed <13>May 28 13:52:36 rpmi: libcom_err-1.45.6.0.24.af1a-alt1 sisyphus+262279.100.1.1 1606088229 installed <13>May 28 13:52:36 rpmi: libcom_err-devel-1.45.6.0.24.af1a-alt1 sisyphus+262279.100.1.1 1606088229 installed <13>May 28 13:52:36 rpmi: libverto-devel-0.3.2-alt1_1 sisyphus+268398.100.1.1 1616717462 installed <13>May 28 13:52:36 rpmi: libpcre2-10.37-alt1 sisyphus+272689.100.1.1 1622131185 installed <13>May 28 13:52:36 rpmi: lua5.3-5.3.5-alt3 sisyphus+237725.540.7.3 1569407869 installed <13>May 28 13:52:36 rpmi: libjson-c5-0.15-alt1 sisyphus+264955.100.1.1 1611154879 installed <13>May 28 13:52:36 rpmi: libpython-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 28 13:52:36 rpmi: python2-base-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 28 13:52:36 rpmi: openldap-common-2.4.57-alt1 sisyphus+266287.100.1.1 1613244218 installed <13>May 28 13:52:36 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed <13>May 28 13:52:36 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <13>May 28 13:52:36 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>May 28 13:52:36 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>May 28 13:52:36 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 28 13:52:36 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 28 13:52:36 rpmi: ca-certificates-2021.03.24-alt1 sisyphus+268304.300.1.1 1616591829 installed <13>May 28 13:52:36 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>May 28 13:52:36 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>May 28 13:52:36 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>May 28 13:52:36 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <86>May 28 13:52:36 groupadd[1920650]: group added to /etc/group: name=_keytab, GID=499 <86>May 28 13:52:36 groupadd[1920650]: group added to /etc/gshadow: name=_keytab <86>May 28 13:52:36 groupadd[1920650]: new group: name=_keytab, GID=499 <13>May 28 13:52:36 rpmi: libkrb5-1.19.1-alt2 sisyphus+267847.100.1.1 1615814853 installed <86>May 28 13:52:36 groupadd[1920673]: group added to /etc/group: name=sasl, GID=498 <86>May 28 13:52:36 groupadd[1920673]: group added to /etc/gshadow: name=sasl <86>May 28 13:52:36 groupadd[1920673]: new group: name=sasl, GID=498 <13>May 28 13:52:36 rpmi: libsasl2-3-2.1.27-alt2.1 sisyphus+255909.100.2.1 1597199456 installed <13>May 28 13:52:36 rpmi: libldap-2.4.57-alt1 sisyphus+266287.100.1.1 1613244306 installed <13>May 28 13:52:36 rpmi: libpq5-13.3-alt1 sisyphus+272004.100.1.1 1621312311 installed <13>May 28 13:52:36 rpmi: libecpg6-13.3-alt1 sisyphus+272004.100.1.1 1621312311 installed <13>May 28 13:52:36 rpmi: libkrb5-ldap-1.19.1-alt2 sisyphus+267847.100.1.1 1615814853 installed <13>May 28 13:52:36 rpmi: libkrb5-devel-1.19.1-alt2 sisyphus+267847.100.1.1 1615814853 installed <13>May 28 13:52:36 rpmi: libevent2.1-2.1.8-alt3 sisyphus+272291.100.1.1 1621526148 installed <13>May 28 13:52:36 rpmi: libmysqlclient21-8.0.24-alt1 sisyphus+270391.100.1.1 1618995837 installed <13>May 28 13:52:36 rpmi: libmysqlclient21-devel-8.0.24-alt1 sisyphus+270391.100.1.1 1618995837 installed <13>May 28 13:52:36 rpmi: libevent-devel-2.1.8-alt3 sisyphus+272291.100.1.1 1621526148 installed <13>May 28 13:52:37 rpmi: postgresql-devel-13.3-alt1 sisyphus+272004.100.1.1 1621312311 installed <13>May 28 13:52:37 rpmi: libssl-devel-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>May 28 13:52:37 rpmi: libjson-c-devel-0.15-alt1 sisyphus+264955.100.1.1 1611154879 installed <13>May 28 13:52:37 rpmi: liblua5.3-devel-5.3.5-alt3 sisyphus+237725.540.7.3 1569407869 installed <13>May 28 13:52:37 rpmi: libpcre2-devel-10.37-alt1 sisyphus+272689.100.1.1 1622131185 installed <13>May 28 13:52:37 rpmi: libGeoIP-devel-1.6.12-alt1 1516269300 installed <13>May 28 13:52:37 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed warning: ignored self-provides: ossec-hids-server = 3.6.0-alt1 Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/ossec-hids-3.6.0-alt1.nosrc.rpm (w1.gzdio) warning: ignored self-provides: ossec-hids-server = 3.6.0-alt1 Installing ossec-hids-3.6.0-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.62638 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ossec-hids-3.6.0 + echo 'Source #0 (ossec-hids-3.6.0.tar):' Source #0 (ossec-hids-3.6.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/ossec-hids-3.6.0.tar + cd ossec-hids-3.6.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. Hunk #2 succeeded at 17 (offset -1 lines). Hunk #3 succeeded at 28 (offset -1 lines). Hunk #4 succeeded at 156 (offset -1 lines). Hunk #5 succeeded at 185 (offset -1 lines). patching file src/init/ossec-server.sh Hunk #1 succeeded at 8 with fuzz 1. Hunk #2 succeeded at 27 (offset -1 lines). Hunk #3 succeeded at 39 (offset -1 lines). Hunk #4 succeeded at 246 (offset 16 lines). Hunk #5 succeeded at 275 (offset 16 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 + echo 'Patch #3 (ossec-hids-3.6.0-fix-build-with-gcc-10.patch):' Patch #3 (ossec-hids-3.6.0-fix-build-with-gcc-10.patch): + /usr/bin/patch -p1 patching file src/addagent/main.c patching file src/addagent/manage_agents.c patching file src/addagent/manage_agents.h patching file src/addagent/manage_keys.c patching file src/client-agent/agentd.c patching file src/client-agent/agentd.h patching file src/client-agent/event-forward.c patching file src/client-agent/main.c patching file src/client-agent/notify.c patching file src/client-agent/receiver-win.c patching file src/client-agent/receiver.c patching file src/client-agent/sendmsg.c patching file src/client-agent/start_agent.c patching file src/os_net/os_net.c patching file src/os_net/os_net.h patching file src/analysisd/analysisd.c patching file src/analysisd/config.h patching file src/analysisd/decoders/geoip.c patching file src/analysisd/makelists.c patching file src/analysisd/testrule.c + 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.62638 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ossec-hids-3.6.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector' + LDFLAGS='-fPIE -pie -Wl,-z,relro' + SH_LDFLAGS='-fPIE -pie -Wl,-z,relro' + export CFLAGS LDFLAGS SH_LDFLAGS + export LUA_ENABLE=yes + LUA_ENABLE=yes + pushd ./src ~/RPM/BUILD/ossec-hids-3.6.0/src ~/RPM/BUILD/ossec-hids-3.6.0 + mkdir -p clients/ + make -j8 TARGET=agent V=1 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.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/config.c -o client-agent/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/notify.c -o client-agent/notify.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/main.c -o client-agent/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/agentd.c -o client-agent/agentd.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/sendmsg.c -o client-agent/sendmsg.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/receiver.c -o client-agent/receiver.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -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:201:58: warning: '%s' directive output may be truncated writing up to 6145 bytes into a region of size 6136 [-Wformat-truncation=] 201 | snprintf(fmsg, OS_MAXSTR, "%c:%s:%s", LOCALFILE_MQ, | ^~ 202 | "ossec", msg); | ~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from client-agent/start_agent.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 9 and 6154 bytes into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I/usr/local/include -c os_dns/os_dns.c -o os_dns/os_dns.o os_dns/os_dns.c: In function 'osdns_accept': os_dns/os_dns.c:91:70: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'ssize_t' {aka 'int'} [-Wformat=] 91 | merror("%s [dns]: ERROR: DNS_REQ wrong length (%lu)", dname, datalen); | ~~^ ~~~~~~~ | | | | | ssize_t {aka int} | long unsigned int | %u make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/custom_output_search_replace.c -o shared/custom_output_search_replace.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from shared/custom_output_search_replace.c:1: In function 'strncpy', inlined from 'searchAndReplace' at shared/custom_output_search_replace.c:41:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shared/custom_output_search_replace.c: In function 'searchAndReplace': shared/custom_output_search_replace.c:9:30: note: length computed here 9 | const size_t value_len = strlen(value); | ^~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/fs_op.c -o shared/fs_op.o shared/fs_op.c: In function 'IsNFS': shared/fs_op.c:49:47: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'const unsigned int'} and '__fsword_t' {aka 'int'} [-Wsign-compare] 49 | if(network_file_systems[i].f_type == stfs.f_type ) { | ^~ shared/fs_op.c: In function 'skipFS': shared/fs_op.c:86:44: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'const unsigned int'} and '__fsword_t' {aka 'int'} [-Wsign-compare] 86 | if(skip_file_systems[i].f_type == stfs.f_type ) { | ^~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/syscheck-config.c -o config/syscheck-config.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from config/syscheck-config.c:10: In function 'strncpy', inlined from 'Read_Syscheck' at config/syscheck-config.c:801:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 6143 bytes from a string of length 6143 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'Read_Syscheck' at config/syscheck-config.c:808:21: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config/syscheck-config.c: In function 'Read_Syscheck': config/syscheck-config.c:808:21: note: length computed here 808 | strncpy(syscheck->prefilter_cmd, cmd, strlen(cmd)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/read-alert.c -o shared/read-alert.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from shared/read-alert.c:12: In function 'strncpy', inlined from 'GetAlertData' at shared/read-alert.c:255:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shared/read-alert.c: In function 'GetAlertData': shared/read-alert.c:253:17: note: length computed here 253 | z = strlen(p) - strlen(m); | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_converter.c -o os_regex/os_converter.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/validate_op.c -o shared/validate_op.o 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=] 600 | snprintf(ret, 12, "%c%s%s", ng == 0 ? '.' : '!', first_hour, second_hour); | ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from shared/validate_op.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 2 and 14 bytes into a destination of size 12 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 595 | snprintf(ret, 12, "!%s%s", second_hour, first_hour); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from shared/validate_op.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 2 and 14 bytes into a destination of size 12 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2.c -o os_regex/os_pcre2.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2_free_pattern.c -o os_regex/os_pcre2_free_pattern.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/read-agents.c -o shared/read-agents.o In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from shared/read-agents.c:10: In function 'snprintf', inlined from '_do_print_rootcheck' at shared/read-agents.c:659:17: /usr/include/bits/stdio2.h:70:10: warning: '%s' directive argument is null [-Wformat-truncation=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from shared/read-agents.c:10: In function 'strncpy', inlined from '_do_print_syscheck' at shared/read-agents.c:433:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 23 bytes from a string of length 24 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2_compile.c -o os_regex/os_pcre2_compile.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2_execute.c -o os_regex/os_pcre2_execute.o os_regex/os_pcre2_execute.c: In function 'OSPcre2_Execute_pcre2_match': os_regex/os_pcre2_execute.c:52:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 52 | if (sub_string_start != -1) { | ^~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2_free_substrings.c -o os_regex/os_pcre2_free_substrings.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_execute.c -o os_regex/os_regex_execute.o os_regex/os_regex_execute.c: In function 'OSRegex_Execute_pcre2_match': os_regex/os_regex_execute.c:57:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 57 | if (sub_string_start != -1) { | ^~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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=] 179 | "XMLERR: Unknown variable" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | ": '%s'.", lvar); | ~~~~ os_xml/os_xml_variables.c:180:46: note: format string is defined here 180 | ": '%s'.", lvar); | ^~ In file included from /usr/include/stdio.h:866, from os_xml/os_xml_variables.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 30 and 285 bytes into a destination of size 128 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -DARGV0=\"manage_agents\" -c addagent/validate.c -o addagent/validate.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_audit.c -o logcollector/read_audit.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/ssl.c -o os_auth/ssl.o os_auth/ssl.c: In function 'get_ssl_context': os_auth/ssl.c:107:5: warning: 'TLSv1_2_method' is deprecated [-Wdeprecated-declarations] 107 | sslmeth = TLSv1_2_method(); | ^~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from os_auth/auth.h:38, from os_auth/ssl.c:28: /usr/include/openssl/ssl.h:1894:1: note: declared here 1894 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_method(void)) /* TLSv1.2 */ | ^~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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 os_auth/main-client.c: In function 'main': os_auth/main-client.c:261:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 261 | fgets(buf, 4095, fp); | ^~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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 os_auth/check_cert.c: In function 'asn1_to_cstr': os_auth/check_cert.c:306:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] 306 | if (!(tmp = (char *)ASN1_STRING_data(astr))) { | ^~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from os_auth/check_cert.h:30, from os_auth/check_cert.c:33: /usr/include/openssl/asn1.h:554:1: note: declared here 554 | DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) | ^~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_djb_multilog.c -o logcollector/read_djb_multilog.o logcollector/read_djb_multilog.c: In function 'read_djbmultilog': logcollector/read_djb_multilog.c:147:76: warning: '%s' directive output may be truncated writing up to 6118 bytes into a region of size between 5616 and 6128 [-Wformat-truncation=] 147 | snprintf(buffer, OS_MAXSTR, "%s %02d %02d:%02d:%02d %s %s: %s", | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from logcollector/read_djb_multilog.c:12: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 17 or more bytes (assuming 6647) into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_multiline.c -o logcollector/read_multiline.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_multiline.c:10: In function 'strncpy', inlined from 'read_multiline' at logcollector/read_multiline.c:72:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying between 0 and 6142 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_multiline_indented.c -o logcollector/read_multiline_indented.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_multiline_indented.c:13: In function 'strncpy', inlined from 'read_multiline_indented' at logcollector/read_multiline_indented.c:100:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' output may be truncated copying between 4 and 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_mssql_log.c -o logcollector/read_mssql_log.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_mssql_log.c:12: In function 'strncpy', inlined from 'read_mssql_log' at logcollector/read_mssql_log.c:111:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_mssql_log' at logcollector/read_mssql_log.c:102:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'read_mssql_log' at logcollector/read_mssql_log.c:137:17: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying 6144 bytes from a string of length 6144 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_mysql_log.c -o logcollector/read_mysql_log.o logcollector/read_mysql_log.c: In function 'read_mysql_log': logcollector/read_mysql_log.c:92:56: warning: '%s' directive output may be truncated writing up to 6129 bytes into a region of size between 6115 and 6132 [-Wformat-truncation=] 92 | snprintf(buffer, OS_MAXSTR, "MySQL log: %s %s", | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from logcollector/read_mysql_log.c:12: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 13 and 6159 bytes into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_nmapg.c -o logcollector/read_nmapg.o logcollector/read_nmapg.c: In function 'read_nmapg': logcollector/read_nmapg.c:207:49: warning: ', open ports:' directive output may be truncated writing 13 bytes into a region of size between 0 and 6138 [-Wformat-truncation=] 207 | snprintf(final_msg, OS_MAXSTR, "Host: %s, open ports:", | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from logcollector/read_nmapg.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 20 and 6158 bytes into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_nmapg.c:10: In function 'strncat', inlined from 'read_nmapg' at logcollector/read_nmapg.c:231:13: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 27 and 6141 bytes from a string of length 6144 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_syslog.c -o logcollector/read_syslog.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_postgresql_log.c -o logcollector/read_postgresql_log.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_postgresql_log.c:12: In function 'strncpy', inlined from 'read_postgresql_log' at logcollector/read_postgresql_log.c:107:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' output may be truncated copying between 2 and 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_postgresql_log' at logcollector/read_postgresql_log.c:99:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' output may be truncated copying between 2 and 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_snortfull.c -o logcollector/read_snortfull.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_snortfull.c:10: In function 'strncpy', inlined from 'read_snortfull' at logcollector/read_snortfull.c:40:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.isra': 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=] 42 | snprintf(op_msg, OS_SIZE_1024, "File '%s' present on /dev." | ^~ ...... 135 | read_dev_file(f_name); | ~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_dev.c:11: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 47 and 4144 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_if.c -o rootcheck/check_rc_if.o In file included from /usr/include/string.h:532, from rootcheck/check_rc_if.c:18: In function 'strncpy', inlined from 'check_rc_if' at rootcheck/check_rc_if.c:84:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 511 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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:162:47: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1023 [-Wformat-truncation=] 162 | snprintf(file_path, OS_SIZE_1024, "%s/%s", basedir, file); | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_files.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1026) into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_files.c:168:54: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1015 [-Wformat-truncation=] 168 | snprintf(op_msg, OS_SIZE_1024, "Rootkit '%s' detected " | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_files.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 48 and 2096 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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=] 394 | "diff \"%s\" \"%s\" > \"%s\" 2> /dev/null", | ^~ 395 | new_tmp, | ~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from syscheckd/seechanges.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 29 and 18461 bytes into a destination of size 2048 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 126 | snprintf(diff_alert, 4096 - 1, "%s%s", | ^~ 127 | buf, n >= 19 ? | ~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from syscheckd/seechanges.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 1 and 6160 bytes into a destination of size 4095 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_pids.c -o rootcheck/check_rc_pids.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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=] 94 | snprintf(op_msg, OS_SIZE_1024, "Trojaned version of file " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | "'%s' detected. Signature used: '%s' (%s).", 96 | file_path, | ~~~~~~~~~ rootcheck/check_rc_trojans.c:95:28: note: format string is defined here 95 | "'%s' detected. Signature used: '%s' (%s).", | ^~ rootcheck/check_rc_trojans.c:94:48: note: assuming directive output of 7 bytes 94 | snprintf(op_msg, OS_SIZE_1024, "Trojaned version of file " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_trojans.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 61 or more bytes (assuming 1092) into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.isra': 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=] 92 | snprintf(op_msg, OS_SIZE_1024, "Anomaly detected in file " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 294 | read_sys_file(f_name, do_read); | ~~~~~~ rootcheck/check_rc_sys.c:93:32: note: format string is defined here 93 | "'%s'. File size doesn't match what we found. " | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 99 and 4196 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 121 | snprintf(op_msg, OS_SIZE_1024, "File '%s' is owned by root " | ^~ ...... 294 | read_sys_file(f_name, do_read); | ~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 62 and 4159 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 39 | snprintf(op_msg, OS_SIZE_1024, "Anomaly detected in file '%s'. " | ^~ ...... 294 | read_sys_file(f_name, do_read); | ~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 106 and 4203 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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=] 27 | 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, 32768] 27 | snprintf(command, OS_SIZE_1024, "%s -p %d 2> /dev/null", ps, mpid); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/unix-process.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 19 and 1047 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs libcJSON.a external/cJSON/cJSON.o ranlib libcJSON.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs config.a config/active-response.o config/agentlessd-config.o config/alerts-config.o config/client-config.o config/config.o config/csyslogd-config.o config/dbd-config.o config/email-alerts-config.o config/global-config.o config/localfile-config.o config/remote-config.o config/reports-config.o config/rootcheck-config.o config/rules-config.o config/syscheck-config.o ranlib config.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs shared.a shared/agent_op.o shared/custom_output_search_replace.o shared/debug_op.o shared/dirtree_op.o shared/file-queue.o shared/file_op.o shared/fs_op.o shared/hash_op.o shared/help.o shared/list_op.o shared/math_op.o shared/mem_op.o shared/mq_op.o shared/privsep_op.o shared/pthreads_op.o shared/randombytes.o shared/read-agents.o shared/read-alert.o shared/regex_op.o shared/report_op.o shared/rules_op.o shared/sig_op.o shared/store_op.o shared/string_op.o shared/validate_op.o shared/wait_op.o ranlib shared.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/exec.c -o os_execd/exec.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from os_execd/exec.c:10: In function 'strncpy', inlined from 'ReadExecConfig' at os_execd/exec.c:64:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 256 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'ReadExecConfig' at os_execd/exec.c:117:21: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' accessing 256 bytes at offsets [0, 16705] and [0, 16705] may overlap up to 256 bytes at offset [0, 255] [-Wrestrict] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs os_regex.a os_regex/os_converter.o os_regex/os_match.o os_regex/os_match_compile.o os_regex/os_match_execute.o os_regex/os_match_free_pattern.o os_regex/os_pcre2.o os_regex/os_pcre2_compile.o os_regex/os_pcre2_execute.o os_regex/os_pcre2_free_pattern.o os_regex/os_pcre2_free_substrings.o os_regex/os_regex.o os_regex/os_regex_compile.o os_regex/os_regex_execute.o os_regex/os_regex_free_pattern.o os_regex/os_regex_free_substrings.o os_regex/os_regex_maps.o os_regex/os_regex_match.o os_regex/os_regex_startswith.o os_regex/os_regex_str.o os_regex/os_regex_strbreak.o ranlib os_regex.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -DARGV0=\"manage_agents\" -c addagent/b64.c -o addagent/b64.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs os_xml.a os_xml/os_xml.o os_xml/os_xml_access.o os_xml/os_xml_node_access.o os_xml/os_xml_variables.o os_xml/os_xml_writer.o ranlib os_xml.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs rootcheck.a rootcheck/check_open_ports.o rootcheck/check_rc_dev.o rootcheck/check_rc_files.o rootcheck/check_rc_if.o rootcheck/check_rc_pids.o rootcheck/check_rc_policy.o rootcheck/check_rc_ports.o rootcheck/check_rc_readproc.o rootcheck/check_rc_sys.o rootcheck/check_rc_trojans.o rootcheck/common.o rootcheck/common_rcl.o rootcheck/config.o rootcheck/os_string.o rootcheck/rootcheck.o rootcheck/run_rk_check.o rootcheck/unix-process.o rootcheck/win-common.o rootcheck/win-process.o ranlib rootcheck.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -DARGV0=\"manage_agents\" -c addagent/main.c -o addagent/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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=] 436 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~ os_execd/execd.c:436:49: note: directive argument in the range [-2147483647, 6] 436 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from os_execd/execd.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 9 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 478 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~ os_execd/execd.c:478:49: note: directive argument in the range [-2147483647, 6] 478 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from os_execd/execd.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 9 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -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:375:41: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] 375 | snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); | ^~ ~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from addagent/manage_agents.h:10, from addagent/manage_agents.c:14: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 3 and 280 bytes into a destination of size 66 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/manage_agents.c:376:41: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] 376 | snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); | ^~ ~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from addagent/manage_agents.h:10, from addagent/manage_agents.c:14: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 3 or more bytes (assuming 260) into a destination of size 66 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -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:46:5: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector] 46 | int k_import(const char *cmdimport) | ^~~~~~~~ addagent/manage_keys.c: In function 'k_bulkload': addagent/manage_keys.c:462:37: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] 462 | snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); | ^~ ~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from addagent/manage_agents.h:10, from addagent/manage_keys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 3 and 280 bytes into a destination of size 66 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/manage_keys.c:463:37: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] 463 | snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); | ^~ ~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from addagent/manage_agents.h:10, from addagent/manage_keys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 3 and 537 bytes into a destination of size 66 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_crypto/shared/keys.c -o os_crypto/shared/keys.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from os_crypto/shared/keys.c:10: In function 'strncpy', inlined from 'OS_ReadKeys' at os_crypto/shared/keys.c:195:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 2048 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_crypto/shared/keys.c: In function 'OS_ReadKeys': os_crypto/shared/keys.c:95:32: warning: '%s' directive output may be truncated writing up to 32 bytes into a region of size between 17 and 49 [-Wformat-truncation=] 95 | snprintf(_finalstr, 49, "%s%s", filesum2, filesum1); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from os_crypto/shared/keys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 1 and 65 bytes into a destination of size 49 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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:412:37: warning: '%s' directive output may be truncated writing up to 6145 bytes into a region of size between 6112 and 6144 [-Wformat-truncation=] 412 | snprintf(_finmsg, OS_MAXSTR, "%s%s", md5sum, _tmpmsg); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from os_crypto/shared/msgs.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 1 and 6178 bytes into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ os_execd/config.o os_execd/exec.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 -lpcre2-8 -lssl -lcrypto -lz -o ossec-execd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ addagent/b64.o addagent/main.o addagent/manage_agents.o addagent/manage_keys.o addagent/read_from_user.o addagent/validate.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lssl -lcrypto -lz -o manage_agents make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ logcollector/config.o logcollector/logcollector.o logcollector/main.o logcollector/read_audit.o logcollector/read_command.o logcollector/read_djb_multilog.o logcollector/read_fullcommand.o logcollector/read_mssql_log.o logcollector/read_multiline.o logcollector/read_multiline_indented.o logcollector/read_mysql_log.o logcollector/read_nmapg.o logcollector/read_ossecalert.o logcollector/read_postgresql_log.o logcollector/read_snortfull.o logcollector/read_syslog.o logcollector/read_win_el.o logcollector/read_win_event_channel.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lssl -lcrypto -lz -o ossec-logcollector make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ syscheckd/config.o syscheckd/create_db.o syscheckd/run_check.o syscheckd/run_realtime.o syscheckd/seechanges.o syscheckd/syscheck.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 -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lssl -lcrypto -lz -o ossec-syscheckd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -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 libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lssl -lcrypto -lz -o agent-auth make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ client-agent/agentd.o client-agent/config.o client-agent/event-forward.o client-agent/intcheck_op.o client-agent/main.o client-agent/notify.o client-agent/receiver-win.o client-agent/receiver.o client-agent/sendmsg.o client-agent/start_agent.o os_dns/os_dns.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lssl -lcrypto -lz -levent ./external/compat/imsg.c ./external/compat/imsg-buffer.c -o ossec-agentd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make settings make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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: yes ZLIB_INCLUDE: ZLIB_LIB: os_zlib.a PCRE2 settings: PCRE2_SYSTEM: yes PCRE2_INCLUDE: 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: USE_PCRE2_JIT: yes 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 -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT Compiler: CFLAGS -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR="/var/lib/ossec" -DUSER="ossec" -DREMUSER="ossecr" -DGROUPGLOBAL="ossec" -DMAILUSER="ossecm" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ LDFLAGS -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lssl -lcrypto -lz CC cc make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' MAKE make make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' Done building agent make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src' rm -f tests/test_os_crypto.o tests/test_os_net.o tests/test_os_regex.o tests/test_os_xml.o tests/test_os_zlib.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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' rm -f external/cJSON/cJSON.o libcJSON.a libpcre2-8.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cd external/zlib-1.2.11/ && make -f Makefile.in distclean make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/zlib-1.2.11' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/zlib-1.2.11' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/zlib-1.2.11' cd external/lua-5.2.3/ && make clean make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' rm -f os_zlib/os_zlib.o os_zlib.a rm -f os_xml/os_xml.o os_xml/os_xml_access.o os_xml/os_xml_node_access.o os_xml/os_xml_variables.o os_xml/os_xml_writer.o os_xml.a rm -f os_regex/os_converter.o os_regex/os_match.o os_regex/os_match_compile.o os_regex/os_match_execute.o os_regex/os_match_free_pattern.o os_regex/os_pcre2.o os_regex/os_pcre2_compile.o os_regex/os_pcre2_execute.o os_regex/os_pcre2_free_pattern.o os_regex/os_pcre2_free_substrings.o os_regex/os_regex.o os_regex/os_regex_compile.o os_regex/os_regex_execute.o os_regex/os_regex_free_pattern.o os_regex/os_regex_free_substrings.o os_regex/os_regex_maps.o os_regex/os_regex_match.o os_regex/os_regex_startswith.o os_regex/os_regex_str.o os_regex/os_regex_strbreak.o os_regex.a rm -f os_net/os_net.o os_net.a rm -f shared/agent_op.o shared/custom_output_search_replace.o shared/debug_op.o shared/dirtree_op.o shared/file-queue.o shared/file_op.o shared/fs_op.o shared/hash_op.o shared/help.o shared/list_op.o shared/math_op.o shared/mem_op.o shared/mq_op.o shared/privsep_op.o shared/pthreads_op.o shared/randombytes.o shared/read-agents.o shared/read-alert.o shared/regex_op.o shared/report_op.o shared/rules_op.o shared/sig_op.o shared/store_op.o shared/string_op.o shared/validate_op.o shared/wait_op.o shared.a rm -f config/active-response.o config/agentlessd-config.o config/alerts-config.o config/client-config.o config/config.o config/csyslogd-config.o config/dbd-config.o config/email-alerts-config.o config/global-config.o config/localfile-config.o config/remote-config.o config/reports-config.o config/rootcheck-config.o config/rules-config.o config/syscheck-config.o config.a rm -f os_maild/config.o os_maild/mail_list.o os_maild/maild.o os_maild/os_maild_client.o os_maild/sendcustomemail.o os_maild/sendmail.o os_dns/os_dns.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/alert.o os_csyslogd/config.o os_csyslogd/csyslogd.o os_csyslogd/main.o ossec-csyslogd rm -f os_dbd/alert.o os_dbd/config.o os_dbd/db_op.o os_dbd/dbd.o os_dbd/dbd_help.o os_dbd/main.o os_dbd/rules.o os_dbd/server.o ossec-dbd rm -f agentlessd/agentlessd.o agentlessd/main.o ossec-agentlessd rm -f os_execd/config.o os_execd/exec.o os_execd/execd.o os_execd/win_execd.o ossec-execd rm -f logcollector/config.o logcollector/logcollector.o logcollector/main.o logcollector/read_audit.o logcollector/read_command.o logcollector/read_djb_multilog.o logcollector/read_fullcommand.o logcollector/read_mssql_log.o logcollector/read_multiline.o logcollector/read_multiline_indented.o logcollector/read_mysql_log.o logcollector/read_nmapg.o logcollector/read_ossecalert.o logcollector/read_postgresql_log.o logcollector/read_snortfull.o logcollector/read_syslog.o logcollector/read_win_el.o logcollector/read_win_event_channel.o logcollector/config-event.o logcollector/logcollector-event.o logcollector/main-event.o logcollector/read_audit-event.o logcollector/read_command-event.o logcollector/read_djb_multilog-event.o logcollector/read_fullcommand-event.o logcollector/read_mssql_log-event.o logcollector/read_multiline-event.o logcollector/read_multiline_indented-event.o logcollector/read_mysql_log-event.o logcollector/read_nmapg-event.o logcollector/read_ossecalert-event.o logcollector/read_postgresql_log-event.o logcollector/read_snortfull-event.o logcollector/read_syslog-event.o logcollector/read_win_el-event.o logcollector/read_win_event_channel-event.o ossec-logcollector rm -f remoted/ar-forward.o remoted/config.o remoted/main.o remoted/manager.o remoted/remoted.o remoted/secure.o remoted/sendmsg.o remoted/syslog.o remoted/syslogtcp.o ossec-remoted rm -f reportd/report.o ossec-reportd rm -f client-agent/agentd.o client-agent/config.o client-agent/event-forward.o client-agent/intcheck_op.o client-agent/main.o client-agent/notify.o client-agent/receiver-win.o client-agent/receiver.o client-agent/sendmsg.o client-agent/start_agent.o os_dns/os_dns.o ossec-agentd rm -f addagent/b64.o addagent/main.o addagent/manage_agents.o addagent/manage_keys.o addagent/read_from_user.o addagent/validate.o manage_agents rm -f util/agent_control.o util/clear_stats.o util/list_agents.o util/ossec-regex-convert.o util/ossec-regex.o util/rootcheck_control.o util/syscheck_control.o util/syscheck_update.o util/verify-agent-conf.o syscheck_update clear_stats list_agents agent_control syscheck_control rootcheck_control verify-agent-conf ossec-regex ossec-regex-convert rm -f rootcheck/check_open_ports.o rootcheck/check_rc_dev.o rootcheck/check_rc_files.o rootcheck/check_rc_if.o rootcheck/check_rc_pids.o rootcheck/check_rc_policy.o rootcheck/check_rc_ports.o rootcheck/check_rc_readproc.o rootcheck/check_rc_sys.o rootcheck/check_rc_trojans.o rootcheck/common.o rootcheck/common_rcl.o rootcheck/config.o rootcheck/os_string.o rootcheck/rootcheck-config.o rootcheck/rootcheck.o rootcheck/run_rk_check.o rootcheck/unix-process.o rootcheck/win-common.o rootcheck/win-process.o rootcheck/check_open_ports_rk.o rootcheck/check_rc_dev_rk.o rootcheck/check_rc_files_rk.o rootcheck/check_rc_if_rk.o rootcheck/check_rc_pids_rk.o rootcheck/check_rc_policy_rk.o rootcheck/check_rc_ports_rk.o rootcheck/check_rc_readproc_rk.o rootcheck/check_rc_sys_rk.o rootcheck/check_rc_trojans_rk.o rootcheck/common_rk.o rootcheck/common_rcl_rk.o rootcheck/config_rk.o rootcheck/os_string_rk.o rootcheck/rootcheck-config_rk.o rootcheck/rootcheck_rk.o rootcheck/run_rk_check_rk.o rootcheck/unix-process_rk.o rootcheck/win-common_rk.o rootcheck/win-process_rk.o rootcheck.a rm -f syscheckd/config.o syscheckd/create_db.o syscheckd/run_check.o syscheckd/run_realtime.o syscheckd/seechanges.o syscheckd/syscheck.o syscheckd/win-registry.o ossec-syscheckd rm -f monitord/compress_log.o monitord/generate_reports.o monitord/main.o monitord/manage_files.o monitord/monitor_agents.o monitord/monitord.o monitord/sendcustomemail.o monitord/sign_log.o ossec-monitord rm -f os_auth/check_cert.o os_auth/main-client.o os_auth/main-server.o os_auth/ssl-test.o os_auth/ssl.o ossec-authd agent-auth rm -f analysisd/cdb/cdb.o analysisd/cdb/cdb_hash.o analysisd/cdb/cdb_make.o analysisd/cdb/uint32_pack.o analysisd/cdb/uint32_unpack.o analysisd/alerts/exec.o analysisd/alerts/getloglocation.o analysisd/alerts/log.o analysisd/decoders/decode-xml.o analysisd/decoders/decoder.o analysisd/decoders/decoders_list.o analysisd/decoders/geoip.o analysisd/decoders/hostinfo.o analysisd/decoders/plugin_decoders.o analysisd/decoders/rootcheck.o analysisd/decoders/syscheck.o analysisd/decoders/plugins/ossecalert_decoder.o analysisd/decoders/plugins/pf_decoder.o analysisd/decoders/plugins/sonicwall_decoder.o analysisd/decoders/plugins/symantecws_decoder.o analysisd/compiled_rules/generic_samples.o analysisd/decoders/decode-xml-test.o analysisd/decoders/decoder-test.o analysisd/decoders/decoders_list-test.o analysisd/decoders/geoip-test.o analysisd/decoders/hostinfo-test.o analysisd/decoders/plugin_decoders-test.o analysisd/decoders/rootcheck-test.o analysisd/decoders/syscheck-test.o analysisd/decoders/plugins/ossecalert_decoder-test.o analysisd/decoders/plugins/pf_decoder-test.o analysisd/decoders/plugins/sonicwall_decoder-test.o analysisd/decoders/plugins/symantecws_decoder-test.o analysisd/compiled_rules/generic_samples-test.o analysisd/decoders/decode-xml-live.o analysisd/decoders/decoder-live.o analysisd/decoders/decoders_list-live.o analysisd/decoders/geoip-live.o analysisd/decoders/hostinfo-live.o analysisd/decoders/plugin_decoders-live.o analysisd/decoders/rootcheck-live.o analysisd/decoders/syscheck-live.o analysisd/decoders/plugins/ossecalert_decoder-live.o analysisd/decoders/plugins/pf_decoder-live.o analysisd/decoders/plugins/sonicwall_decoder-live.o analysisd/decoders/plugins/symantecws_decoder-live.o analysisd/compiled_rules/generic_samples-live.o analysisd/format/json_extended.o analysisd/format/to_json.o analysisd/output/jsonout.o analysisd/output/prelude.o analysisd/output/zeromq.o analysisd/accumulator.o analysisd/active-response.o analysisd/cleanevent.o analysisd/config.o analysisd/dodiff.o analysisd/eventinfo.o analysisd/eventinfo_list.o analysisd/fts.o analysisd/lists.o analysisd/lists_list.o analysisd/lists_make.o analysisd/rules.o analysisd/rules_list.o analysisd/stats.o analysisd/accumulator-test.o analysisd/active-response-test.o analysisd/cleanevent-test.o analysisd/config-test.o analysisd/dodiff-test.o analysisd/eventinfo-test.o analysisd/eventinfo_list-test.o analysisd/fts-test.o analysisd/lists-test.o analysisd/lists_list-test.o analysisd/lists_make-test.o analysisd/rules-test.o analysisd/rules_list-test.o analysisd/stats-test.o analysisd/accumulator-live.o analysisd/active-response-live.o analysisd/cleanevent-live.o analysisd/config-live.o analysisd/dodiff-live.o analysisd/eventinfo-live.o analysisd/eventinfo_list-live.o analysisd/fts-live.o analysisd/lists-live.o analysisd/lists_list-live.o analysisd/lists_make-live.o analysisd/rules-live.o analysisd/rules_list-live.o analysisd/stats-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.6.0/src' cd src && make clean make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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/add-localfile.o win32/agent_auth.o win32/read-registry.o win32/setup-iis.o win32/setup-shared.o win32/setup-syscheck.o win32/setup-win.o win32/win_agent.o win32/win_service.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.6.0/src' make[2]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/lua-5.2.3/src' #cd external/pcre2-10.32/ && make distclean + mkdir hybrid/ + make -j8 TARGET=agent PREFIX=/var/lib/ossec/ossec-agent V=1 cd external/lua-5.2.3/ && make posix cd src && make posix make all SYSCFLAGS="-DLUA_USE_POSIX" make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/config.c -o client-agent/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/agentd.c -o client-agent/agentd.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/main.c -o client-agent/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/notify.c -o client-agent/notify.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/sendmsg.c -o client-agent/sendmsg.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/receiver.c -o client-agent/receiver.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./client-agent -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:201:58: warning: '%s' directive output may be truncated writing up to 6145 bytes into a region of size 6136 [-Wformat-truncation=] 201 | snprintf(fmsg, OS_MAXSTR, "%c:%s:%s", LOCALFILE_MQ, | ^~ 202 | "ossec", msg); | ~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from client-agent/start_agent.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 9 and 6154 bytes into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I/usr/local/include -c os_dns/os_dns.c -o os_dns/os_dns.o os_dns/os_dns.c: In function 'osdns_accept': os_dns/os_dns.c:91:70: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'ssize_t' {aka 'int'} [-Wformat=] 91 | merror("%s [dns]: ERROR: DNS_REQ wrong length (%lu)", dname, datalen); | ~~^ ~~~~~~~ | | | | | ssize_t {aka int} | long unsigned int | %u make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/custom_output_search_replace.c -o shared/custom_output_search_replace.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from shared/custom_output_search_replace.c:1: In function 'strncpy', inlined from 'searchAndReplace' at shared/custom_output_search_replace.c:41:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shared/custom_output_search_replace.c: In function 'searchAndReplace': shared/custom_output_search_replace.c:9:30: note: length computed here 9 | const size_t value_len = strlen(value); | ^~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/fs_op.c -o shared/fs_op.o shared/fs_op.c: In function 'IsNFS': shared/fs_op.c:49:47: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'const unsigned int'} and '__fsword_t' {aka 'int'} [-Wsign-compare] 49 | if(network_file_systems[i].f_type == stfs.f_type ) { | ^~ shared/fs_op.c: In function 'skipFS': shared/fs_op.c:86:44: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'const unsigned int'} and '__fsword_t' {aka 'int'} [-Wsign-compare] 86 | if(skip_file_systems[i].f_type == stfs.f_type ) { | ^~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c config/syscheck-config.c -o config/syscheck-config.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from config/syscheck-config.c:10: In function 'strncpy', inlined from 'Read_Syscheck' at config/syscheck-config.c:801:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 6143 bytes from a string of length 6143 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'Read_Syscheck' at config/syscheck-config.c:808:21: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config/syscheck-config.c: In function 'Read_Syscheck': config/syscheck-config.c:808:21: note: length computed here 808 | strncpy(syscheck->prefilter_cmd, cmd, strlen(cmd)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/read-alert.c -o shared/read-alert.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from shared/read-alert.c:12: In function 'strncpy', inlined from 'GetAlertData' at shared/read-alert.c:255:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shared/read-alert.c: In function 'GetAlertData': shared/read-alert.c:253:17: note: length computed here 253 | z = strlen(p) - strlen(m); | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_converter.c -o os_regex/os_converter.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/validate_op.c -o shared/validate_op.o 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=] 600 | snprintf(ret, 12, "%c%s%s", ng == 0 ? '.' : '!', first_hour, second_hour); | ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from shared/validate_op.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 2 and 14 bytes into a destination of size 12 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 595 | snprintf(ret, 12, "!%s%s", second_hour, first_hour); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from shared/validate_op.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 2 and 14 bytes into a destination of size 12 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2.c -o os_regex/os_pcre2.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2_compile.c -o os_regex/os_pcre2_compile.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2_execute.c -o os_regex/os_pcre2_execute.o os_regex/os_pcre2_execute.c: In function 'OSPcre2_Execute_pcre2_match': os_regex/os_pcre2_execute.c:52:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 52 | if (sub_string_start != -1) { | ^~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2_free_pattern.c -o os_regex/os_pcre2_free_pattern.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2_free_substrings.c -o os_regex/os_pcre2_free_substrings.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c shared/read-agents.c -o shared/read-agents.o In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from shared/read-agents.c:10: In function 'snprintf', inlined from '_do_print_rootcheck' at shared/read-agents.c:659:17: /usr/include/bits/stdio2.h:70:10: warning: '%s' directive argument is null [-Wformat-truncation=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from shared/read-agents.c:10: In function 'strncpy', inlined from '_do_print_syscheck' at shared/read-agents.c:433:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 23 bytes from a string of length 24 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_execute.c -o os_regex/os_regex_execute.o os_regex/os_regex_execute.c: In function 'OSRegex_Execute_pcre2_match': os_regex/os_regex_execute.c:57:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 57 | if (sub_string_start != -1) { | ^~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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=] 179 | "XMLERR: Unknown variable" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | ": '%s'.", lvar); | ~~~~ os_xml/os_xml_variables.c:180:46: note: format string is defined here 180 | ": '%s'.", lvar); | ^~ In file included from /usr/include/stdio.h:866, from os_xml/os_xml_variables.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 30 and 285 bytes into a destination of size 128 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/ssl.c -o os_auth/ssl.o os_auth/ssl.c: In function 'get_ssl_context': os_auth/ssl.c:107:5: warning: 'TLSv1_2_method' is deprecated [-Wdeprecated-declarations] 107 | sslmeth = TLSv1_2_method(); | ^~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from os_auth/auth.h:38, from os_auth/ssl.c:28: /usr/include/openssl/ssl.h:1894:1: note: declared here 1894 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_method(void)) /* TLSv1.2 */ | ^~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_audit.c -o logcollector/read_audit.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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 os_auth/main-client.c: In function 'main': os_auth/main-client.c:261:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 261 | fgets(buf, 4095, fp); | ^~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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 os_auth/check_cert.c: In function 'asn1_to_cstr': os_auth/check_cert.c:306:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] 306 | if (!(tmp = (char *)ASN1_STRING_data(astr))) { | ^~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from os_auth/check_cert.h:30, from os_auth/check_cert.c:33: /usr/include/openssl/asn1.h:554:1: note: declared here 554 | DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) | ^~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_djb_multilog.c -o logcollector/read_djb_multilog.o logcollector/read_djb_multilog.c: In function 'read_djbmultilog': logcollector/read_djb_multilog.c:147:76: warning: '%s' directive output may be truncated writing up to 6118 bytes into a region of size between 5616 and 6128 [-Wformat-truncation=] 147 | snprintf(buffer, OS_MAXSTR, "%s %02d %02d:%02d:%02d %s %s: %s", | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from logcollector/read_djb_multilog.c:12: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 17 or more bytes (assuming 6647) into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_multiline_indented.c -o logcollector/read_multiline_indented.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_multiline_indented.c:13: In function 'strncpy', inlined from 'read_multiline_indented' at logcollector/read_multiline_indented.c:100:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' output may be truncated copying between 4 and 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_multiline.c -o logcollector/read_multiline.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_multiline.c:10: In function 'strncpy', inlined from 'read_multiline' at logcollector/read_multiline.c:72:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying between 0 and 6142 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_mssql_log.c -o logcollector/read_mssql_log.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_mssql_log.c:12: In function 'strncpy', inlined from 'read_mssql_log' at logcollector/read_mssql_log.c:111:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_mssql_log' at logcollector/read_mssql_log.c:102:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'read_mssql_log' at logcollector/read_mssql_log.c:137:17: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying 6144 bytes from a string of length 6144 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_mysql_log.c -o logcollector/read_mysql_log.o logcollector/read_mysql_log.c: In function 'read_mysql_log': logcollector/read_mysql_log.c:92:56: warning: '%s' directive output may be truncated writing up to 6129 bytes into a region of size between 6115 and 6132 [-Wformat-truncation=] 92 | snprintf(buffer, OS_MAXSTR, "MySQL log: %s %s", | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from logcollector/read_mysql_log.c:12: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 13 and 6159 bytes into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -DARGV0=\"manage_agents\" -c addagent/validate.c -o addagent/validate.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_nmapg.c -o logcollector/read_nmapg.o logcollector/read_nmapg.c: In function 'read_nmapg': logcollector/read_nmapg.c:207:49: warning: ', open ports:' directive output may be truncated writing 13 bytes into a region of size between 0 and 6138 [-Wformat-truncation=] 207 | snprintf(final_msg, OS_MAXSTR, "Host: %s, open ports:", | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from logcollector/read_nmapg.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 20 and 6158 bytes into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_nmapg.c:10: In function 'strncat', inlined from 'read_nmapg' at logcollector/read_nmapg.c:231:13: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 27 and 6141 bytes from a string of length 6144 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_postgresql_log.c -o logcollector/read_postgresql_log.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_postgresql_log.c:12: In function 'strncpy', inlined from 'read_postgresql_log' at logcollector/read_postgresql_log.c:107:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' output may be truncated copying between 2 and 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_postgresql_log' at logcollector/read_postgresql_log.c:99:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' output may be truncated copying between 2 and 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_snortfull.c -o logcollector/read_snortfull.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_snortfull.c:10: In function 'strncpy', inlined from 'read_snortfull' at logcollector/read_snortfull.c:40:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_syslog.c -o logcollector/read_syslog.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_if.c -o rootcheck/check_rc_if.o In file included from /usr/include/string.h:532, from rootcheck/check_rc_if.c:18: In function 'strncpy', inlined from 'check_rc_if' at rootcheck/check_rc_if.c:84:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 511 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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=] 394 | "diff \"%s\" \"%s\" > \"%s\" 2> /dev/null", | ^~ 395 | new_tmp, | ~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from syscheckd/seechanges.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 29 and 18461 bytes into a destination of size 2048 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 126 | snprintf(diff_alert, 4096 - 1, "%s%s", | ^~ 127 | buf, n >= 19 ? | ~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from syscheckd/seechanges.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 1 and 6160 bytes into a destination of size 4095 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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:162:47: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1023 [-Wformat-truncation=] 162 | snprintf(file_path, OS_SIZE_1024, "%s/%s", basedir, file); | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_files.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1026) into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_files.c:168:54: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1015 [-Wformat-truncation=] 168 | snprintf(op_msg, OS_SIZE_1024, "Rootkit '%s' detected " | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_files.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 48 and 2096 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.isra': 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=] 42 | snprintf(op_msg, OS_SIZE_1024, "File '%s' present on /dev." | ^~ ...... 135 | read_dev_file(f_name); | ~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_dev.c:11: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 47 and 4144 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_pids.c -o rootcheck/check_rc_pids.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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=] 94 | snprintf(op_msg, OS_SIZE_1024, "Trojaned version of file " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | "'%s' detected. Signature used: '%s' (%s).", 96 | file_path, | ~~~~~~~~~ rootcheck/check_rc_trojans.c:95:28: note: format string is defined here 95 | "'%s' detected. Signature used: '%s' (%s).", | ^~ rootcheck/check_rc_trojans.c:94:48: note: assuming directive output of 7 bytes 94 | snprintf(op_msg, OS_SIZE_1024, "Trojaned version of file " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_trojans.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 61 or more bytes (assuming 1092) into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.isra': 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=] 92 | snprintf(op_msg, OS_SIZE_1024, "Anomaly detected in file " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 294 | read_sys_file(f_name, do_read); | ~~~~~~ rootcheck/check_rc_sys.c:93:32: note: format string is defined here 93 | "'%s'. File size doesn't match what we found. " | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 99 and 4196 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 121 | snprintf(op_msg, OS_SIZE_1024, "File '%s' is owned by root " | ^~ ...... 294 | read_sys_file(f_name, do_read); | ~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 62 and 4159 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 39 | snprintf(op_msg, OS_SIZE_1024, "Anomaly detected in file '%s'. " | ^~ ...... 294 | read_sys_file(f_name, do_read); | ~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 106 and 4203 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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=] 27 | 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, 32768] 27 | snprintf(command, OS_SIZE_1024, "%s -p %d 2> /dev/null", ps, mpid); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/unix-process.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 19 and 1047 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs libcJSON.a external/cJSON/cJSON.o ranlib libcJSON.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/exec.c -o os_execd/exec.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from os_execd/exec.c:10: In function 'strncpy', inlined from 'ReadExecConfig' at os_execd/exec.c:64:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 256 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'ReadExecConfig' at os_execd/exec.c:117:21: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' accessing 256 bytes at offsets [0, 16705] and [0, 16705] may overlap up to 256 bytes at offset [0, 255] [-Wrestrict] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs config.a config/active-response.o config/agentlessd-config.o config/alerts-config.o config/client-config.o config/config.o config/csyslogd-config.o config/dbd-config.o config/email-alerts-config.o config/global-config.o config/localfile-config.o config/remote-config.o config/reports-config.o config/rootcheck-config.o config/rules-config.o config/syscheck-config.o ranlib config.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs shared.a shared/agent_op.o shared/custom_output_search_replace.o shared/debug_op.o shared/dirtree_op.o shared/file-queue.o shared/file_op.o shared/fs_op.o shared/hash_op.o shared/help.o shared/list_op.o shared/math_op.o shared/mem_op.o shared/mq_op.o shared/privsep_op.o shared/pthreads_op.o shared/randombytes.o shared/read-agents.o shared/read-alert.o shared/regex_op.o shared/report_op.o shared/rules_op.o shared/sig_op.o shared/store_op.o shared/string_op.o shared/validate_op.o shared/wait_op.o ranlib shared.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs os_regex.a os_regex/os_converter.o os_regex/os_match.o os_regex/os_match_compile.o os_regex/os_match_execute.o os_regex/os_match_free_pattern.o os_regex/os_pcre2.o os_regex/os_pcre2_compile.o os_regex/os_pcre2_execute.o os_regex/os_pcre2_free_pattern.o os_regex/os_pcre2_free_substrings.o os_regex/os_regex.o os_regex/os_regex_compile.o os_regex/os_regex_execute.o os_regex/os_regex_free_pattern.o os_regex/os_regex_free_substrings.o os_regex/os_regex_maps.o os_regex/os_regex_match.o os_regex/os_regex_startswith.o os_regex/os_regex_str.o os_regex/os_regex_strbreak.o ranlib os_regex.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs os_xml.a os_xml/os_xml.o os_xml/os_xml_access.o os_xml/os_xml_node_access.o os_xml/os_xml_variables.o os_xml/os_xml_writer.o ranlib os_xml.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs rootcheck.a rootcheck/check_open_ports.o rootcheck/check_rc_dev.o rootcheck/check_rc_files.o rootcheck/check_rc_if.o rootcheck/check_rc_pids.o rootcheck/check_rc_policy.o rootcheck/check_rc_ports.o rootcheck/check_rc_readproc.o rootcheck/check_rc_sys.o rootcheck/check_rc_trojans.o rootcheck/common.o rootcheck/common_rcl.o rootcheck/config.o rootcheck/os_string.o rootcheck/rootcheck.o rootcheck/run_rk_check.o rootcheck/unix-process.o rootcheck/win-common.o rootcheck/win-process.o ranlib rootcheck.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -DARGV0=\"manage_agents\" -c addagent/main.c -o addagent/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -DARGV0=\"manage_agents\" -c addagent/b64.c -o addagent/b64.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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=] 436 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~ os_execd/execd.c:436:49: note: directive argument in the range [-2147483647, 6] 436 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from os_execd/execd.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 9 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 478 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~ os_execd/execd.c:478:49: note: directive argument in the range [-2147483647, 6] 478 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from os_execd/execd.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 9 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -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:46:5: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector] 46 | int k_import(const char *cmdimport) | ^~~~~~~~ addagent/manage_keys.c: In function 'k_bulkload': addagent/manage_keys.c:462:37: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] 462 | snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); | ^~ ~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from addagent/manage_agents.h:10, from addagent/manage_keys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 3 and 280 bytes into a destination of size 66 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/manage_keys.c:463:37: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] 463 | snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); | ^~ ~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from addagent/manage_agents.h:10, from addagent/manage_keys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 3 and 537 bytes into a destination of size 66 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -c os_crypto/shared/keys.c -o os_crypto/shared/keys.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from os_crypto/shared/keys.c:10: In function 'strncpy', inlined from 'OS_ReadKeys' at os_crypto/shared/keys.c:195:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 2048 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_crypto/shared/keys.c: In function 'OS_ReadKeys': os_crypto/shared/keys.c:95:32: warning: '%s' directive output may be truncated writing up to 32 bytes into a region of size between 17 and 49 [-Wformat-truncation=] 95 | snprintf(_finalstr, 49, "%s%s", filesum2, filesum1); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from os_crypto/shared/keys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 1 and 65 bytes into a destination of size 49 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_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:412:37: warning: '%s' directive output may be truncated writing up to 6145 bytes into a region of size between 6112 and 6144 [-Wformat-truncation=] 412 | snprintf(_finmsg, OS_MAXSTR, "%s%s", md5sum, _tmpmsg); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from os_crypto/shared/msgs.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 1 and 6178 bytes into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./addagent -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:375:41: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] 375 | snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); | ^~ ~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from addagent/manage_agents.h:10, from addagent/manage_agents.c:14: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 3 and 280 bytes into a destination of size 66 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/manage_agents.c:376:41: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] 376 | snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); | ^~ ~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from addagent/manage_agents.h:10, from addagent/manage_agents.c:14: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 3 or more bytes (assuming 260) into a destination of size 66 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ os_execd/config.o os_execd/exec.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 -lpcre2-8 -lssl -lcrypto -lz -o ossec-execd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ syscheckd/config.o syscheckd/create_db.o syscheckd/run_check.o syscheckd/run_realtime.o syscheckd/seechanges.o syscheckd/syscheck.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 -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lssl -lcrypto -lz -o ossec-syscheckd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -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 libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lssl -lcrypto -lz -o agent-auth make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ logcollector/config.o logcollector/logcollector.o logcollector/main.o logcollector/read_audit.o logcollector/read_command.o logcollector/read_djb_multilog.o logcollector/read_fullcommand.o logcollector/read_mssql_log.o logcollector/read_multiline.o logcollector/read_multiline_indented.o logcollector/read_mysql_log.o logcollector/read_nmapg.o logcollector/read_ossecalert.o logcollector/read_postgresql_log.o logcollector/read_snortfull.o logcollector/read_syslog.o logcollector/read_win_el.o logcollector/read_win_event_channel.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lssl -lcrypto -lz -o ossec-logcollector make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ addagent/b64.o addagent/main.o addagent/manage_agents.o addagent/manage_keys.o addagent/read_from_user.o addagent/validate.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lssl -lcrypto -lz -o manage_agents make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec/ossec-agent\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ client-agent/agentd.o client-agent/config.o client-agent/event-forward.o client-agent/intcheck_op.o client-agent/main.o client-agent/notify.o client-agent/receiver-win.o client-agent/receiver.o client-agent/sendmsg.o client-agent/start_agent.o os_dns/os_dns.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lssl -lcrypto -lz -levent ./external/compat/imsg.c ./external/compat/imsg-buffer.c -o ossec-agentd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make settings make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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: yes ZLIB_INCLUDE: ZLIB_LIB: os_zlib.a PCRE2 settings: PCRE2_SYSTEM: yes PCRE2_INCLUDE: 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: USE_PCRE2_JIT: yes 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 -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT Compiler: CFLAGS -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR="/var/lib/ossec/ossec-agent" -DUSER="ossec" -DREMUSER="ossecr" -DGROUPGLOBAL="ossec" -DMAILUSER="ossecm" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ LDFLAGS -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lssl -lcrypto -lz CC cc make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' MAKE make make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' Done building agent make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src' rm -f external/cJSON/cJSON.o libcJSON.a libpcre2-8.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cd external/zlib-1.2.11/ && make -f Makefile.in distclean make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' rm -f tests/test_os_crypto.o tests/test_os_net.o tests/test_os_regex.o tests/test_os_xml.o tests/test_os_zlib.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.6.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/zlib-1.2.11' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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/add-localfile.o win32/agent_auth.o win32/read-registry.o win32/setup-iis.o win32/setup-shared.o win32/setup-syscheck.o win32/setup-win.o win32/win_agent.o win32/win_service.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.6.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.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.6.0/src' rm -f os_zlib/os_zlib.o os_zlib.a rm -f os_xml/os_xml.o os_xml/os_xml_access.o os_xml/os_xml_node_access.o os_xml/os_xml_variables.o os_xml/os_xml_writer.o os_xml.a rm -f os_regex/os_converter.o os_regex/os_match.o os_regex/os_match_compile.o os_regex/os_match_execute.o os_regex/os_match_free_pattern.o os_regex/os_pcre2.o os_regex/os_pcre2_compile.o os_regex/os_pcre2_execute.o os_regex/os_pcre2_free_pattern.o os_regex/os_pcre2_free_substrings.o os_regex/os_regex.o os_regex/os_regex_compile.o os_regex/os_regex_execute.o os_regex/os_regex_free_pattern.o os_regex/os_regex_free_substrings.o os_regex/os_regex_maps.o os_regex/os_regex_match.o os_regex/os_regex_startswith.o os_regex/os_regex_str.o os_regex/os_regex_strbreak.o os_regex.a rm -f os_net/os_net.o os_net.a rm -f shared/agent_op.o shared/custom_output_search_replace.o shared/debug_op.o shared/dirtree_op.o shared/file-queue.o shared/file_op.o shared/fs_op.o shared/hash_op.o shared/help.o shared/list_op.o shared/math_op.o shared/mem_op.o shared/mq_op.o shared/privsep_op.o shared/pthreads_op.o shared/randombytes.o shared/read-agents.o shared/read-alert.o shared/regex_op.o shared/report_op.o shared/rules_op.o shared/sig_op.o shared/store_op.o shared/string_op.o shared/validate_op.o shared/wait_op.o shared.a rm -f config/active-response.o config/agentlessd-config.o config/alerts-config.o config/client-config.o config/config.o config/csyslogd-config.o config/dbd-config.o config/email-alerts-config.o config/global-config.o config/localfile-config.o config/remote-config.o config/reports-config.o config/rootcheck-config.o config/rules-config.o config/syscheck-config.o config.a rm -f os_maild/config.o os_maild/mail_list.o os_maild/maild.o os_maild/os_maild_client.o os_maild/sendcustomemail.o os_maild/sendmail.o os_dns/os_dns.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/alert.o os_csyslogd/config.o os_csyslogd/csyslogd.o os_csyslogd/main.o ossec-csyslogd rm -f os_dbd/alert.o os_dbd/config.o os_dbd/db_op.o os_dbd/dbd.o os_dbd/dbd_help.o os_dbd/main.o os_dbd/rules.o os_dbd/server.o ossec-dbd rm -f agentlessd/agentlessd.o agentlessd/main.o ossec-agentlessd rm -f os_execd/config.o os_execd/exec.o os_execd/execd.o os_execd/win_execd.o ossec-execd rm -f logcollector/config.o logcollector/logcollector.o logcollector/main.o logcollector/read_audit.o logcollector/read_command.o logcollector/read_djb_multilog.o logcollector/read_fullcommand.o logcollector/read_mssql_log.o logcollector/read_multiline.o logcollector/read_multiline_indented.o logcollector/read_mysql_log.o logcollector/read_nmapg.o logcollector/read_ossecalert.o logcollector/read_postgresql_log.o logcollector/read_snortfull.o logcollector/read_syslog.o logcollector/read_win_el.o logcollector/read_win_event_channel.o logcollector/config-event.o logcollector/logcollector-event.o logcollector/main-event.o logcollector/read_audit-event.o logcollector/read_command-event.o logcollector/read_djb_multilog-event.o logcollector/read_fullcommand-event.o logcollector/read_mssql_log-event.o logcollector/read_multiline-event.o logcollector/read_multiline_indented-event.o logcollector/read_mysql_log-event.o logcollector/read_nmapg-event.o logcollector/read_ossecalert-event.o logcollector/read_postgresql_log-event.o logcollector/read_snortfull-event.o logcollector/read_syslog-event.o logcollector/read_win_el-event.o logcollector/read_win_event_channel-event.o ossec-logcollector rm -f remoted/ar-forward.o remoted/config.o remoted/main.o remoted/manager.o remoted/remoted.o remoted/secure.o remoted/sendmsg.o remoted/syslog.o remoted/syslogtcp.o ossec-remoted rm -f reportd/report.o ossec-reportd rm -f client-agent/agentd.o client-agent/config.o client-agent/event-forward.o client-agent/intcheck_op.o client-agent/main.o client-agent/notify.o client-agent/receiver-win.o client-agent/receiver.o client-agent/sendmsg.o client-agent/start_agent.o os_dns/os_dns.o ossec-agentd rm -f addagent/b64.o addagent/main.o addagent/manage_agents.o addagent/manage_keys.o addagent/read_from_user.o addagent/validate.o manage_agents rm -f util/agent_control.o util/clear_stats.o util/list_agents.o util/ossec-regex-convert.o util/ossec-regex.o util/rootcheck_control.o util/syscheck_control.o util/syscheck_update.o util/verify-agent-conf.o syscheck_update clear_stats list_agents agent_control syscheck_control rootcheck_control verify-agent-conf ossec-regex ossec-regex-convert rm -f rootcheck/check_open_ports.o rootcheck/check_rc_dev.o rootcheck/check_rc_files.o rootcheck/check_rc_if.o rootcheck/check_rc_pids.o rootcheck/check_rc_policy.o rootcheck/check_rc_ports.o rootcheck/check_rc_readproc.o rootcheck/check_rc_sys.o rootcheck/check_rc_trojans.o rootcheck/common.o rootcheck/common_rcl.o rootcheck/config.o rootcheck/os_string.o rootcheck/rootcheck-config.o rootcheck/rootcheck.o rootcheck/run_rk_check.o rootcheck/unix-process.o rootcheck/win-common.o rootcheck/win-process.o rootcheck/check_open_ports_rk.o rootcheck/check_rc_dev_rk.o rootcheck/check_rc_files_rk.o rootcheck/check_rc_if_rk.o rootcheck/check_rc_pids_rk.o rootcheck/check_rc_policy_rk.o rootcheck/check_rc_ports_rk.o rootcheck/check_rc_readproc_rk.o rootcheck/check_rc_sys_rk.o rootcheck/check_rc_trojans_rk.o rootcheck/common_rk.o rootcheck/common_rcl_rk.o rootcheck/config_rk.o rootcheck/os_string_rk.o rootcheck/rootcheck-config_rk.o rootcheck/rootcheck_rk.o rootcheck/run_rk_check_rk.o rootcheck/unix-process_rk.o rootcheck/win-common_rk.o rootcheck/win-process_rk.o rootcheck.a rm -f syscheckd/config.o syscheckd/create_db.o syscheckd/run_check.o syscheckd/run_realtime.o syscheckd/seechanges.o syscheckd/syscheck.o syscheckd/win-registry.o ossec-syscheckd rm -f monitord/compress_log.o monitord/generate_reports.o monitord/main.o monitord/manage_files.o monitord/monitor_agents.o monitord/monitord.o monitord/sendcustomemail.o monitord/sign_log.o ossec-monitord rm -f os_auth/check_cert.o os_auth/main-client.o os_auth/main-server.o os_auth/ssl-test.o os_auth/ssl.o ossec-authd agent-auth rm -f analysisd/cdb/cdb.o analysisd/cdb/cdb_hash.o analysisd/cdb/cdb_make.o analysisd/cdb/uint32_pack.o analysisd/cdb/uint32_unpack.o analysisd/alerts/exec.o analysisd/alerts/getloglocation.o analysisd/alerts/log.o analysisd/decoders/decode-xml.o analysisd/decoders/decoder.o analysisd/decoders/decoders_list.o analysisd/decoders/geoip.o analysisd/decoders/hostinfo.o analysisd/decoders/plugin_decoders.o analysisd/decoders/rootcheck.o analysisd/decoders/syscheck.o analysisd/decoders/plugins/ossecalert_decoder.o analysisd/decoders/plugins/pf_decoder.o analysisd/decoders/plugins/sonicwall_decoder.o analysisd/decoders/plugins/symantecws_decoder.o analysisd/compiled_rules/generic_samples.o analysisd/decoders/decode-xml-test.o analysisd/decoders/decoder-test.o analysisd/decoders/decoders_list-test.o analysisd/decoders/geoip-test.o analysisd/decoders/hostinfo-test.o analysisd/decoders/plugin_decoders-test.o analysisd/decoders/rootcheck-test.o analysisd/decoders/syscheck-test.o analysisd/decoders/plugins/ossecalert_decoder-test.o analysisd/decoders/plugins/pf_decoder-test.o analysisd/decoders/plugins/sonicwall_decoder-test.o analysisd/decoders/plugins/symantecws_decoder-test.o analysisd/compiled_rules/generic_samples-test.o analysisd/decoders/decode-xml-live.o analysisd/decoders/decoder-live.o analysisd/decoders/decoders_list-live.o analysisd/decoders/geoip-live.o analysisd/decoders/hostinfo-live.o analysisd/decoders/plugin_decoders-live.o analysisd/decoders/rootcheck-live.o analysisd/decoders/syscheck-live.o analysisd/decoders/plugins/ossecalert_decoder-live.o analysisd/decoders/plugins/pf_decoder-live.o analysisd/decoders/plugins/sonicwall_decoder-live.o analysisd/decoders/plugins/symantecws_decoder-live.o analysisd/compiled_rules/generic_samples-live.o analysisd/format/json_extended.o analysisd/format/to_json.o analysisd/output/jsonout.o analysisd/output/prelude.o analysisd/output/zeromq.o analysisd/accumulator.o analysisd/active-response.o analysisd/cleanevent.o analysisd/config.o analysisd/dodiff.o analysisd/eventinfo.o analysisd/eventinfo_list.o analysisd/fts.o analysisd/lists.o analysisd/lists_list.o analysisd/lists_make.o analysisd/rules.o analysisd/rules_list.o analysisd/stats.o analysisd/accumulator-test.o analysisd/active-response-test.o analysisd/cleanevent-test.o analysisd/config-test.o analysisd/dodiff-test.o analysisd/eventinfo-test.o analysisd/eventinfo_list-test.o analysisd/fts-test.o analysisd/lists-test.o analysisd/lists_list-test.o analysisd/lists_make-test.o analysisd/rules-test.o analysisd/rules_list-test.o analysisd/stats-test.o analysisd/accumulator-live.o analysisd/active-response-live.o analysisd/cleanevent-live.o analysisd/config-live.o analysisd/dodiff-live.o analysisd/eventinfo-live.o analysisd/eventinfo_list-live.o analysisd/fts-live.o analysisd/lists-live.o analysisd/lists_list-live.o analysisd/lists_make-live.o analysisd/rules-live.o analysisd/rules_list-live.o analysisd/stats-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.6.0/src' make[2]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/lua-5.2.3/src' #cd external/pcre2-10.32/ && make distclean + make -j8 DATABASE=pgsql MAXAGENTS=16384 USE_GEOIP=1 TARGET=server V=1 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.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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 /usr/include/string.h:532, from ./headers/shared.h:61, from os_maild/os_maild_client.c:10: In function 'strncpy', inlined from 'OS_RecvMailQ' at os_maild/os_maild_client.c:330:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/local/include -c os_dns/os_dns.c -o os_dns/os_dns.o os_dns/os_dns.c: In function 'osdns_accept': os_dns/os_dns.c:91:70: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'ssize_t' {aka 'int'} [-Wformat=] 91 | merror("%s [dns]: ERROR: DNS_REQ wrong length (%lu)", dname, datalen); | ~~^ ~~~~~~~ | | | | | ssize_t {aka int} | long unsigned int | %u make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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:34:29: warning: '%s' directive output may be truncated writing up to 129 bytes into a region of size 118 [-Wformat-truncation=] 34 | #define SUBJECT "Subject: %s\r\n" | ^~~~~~~~~~~~~~~~~ os_maild/sendmail.c:416:32: note: in expansion of macro 'SUBJECT' 416 | snprintf(snd_msg, 127, SUBJECT, _g_subject); | ^~~~~~~ os_maild/sendmail.c:34:39: note: format string is defined here 34 | #define SUBJECT "Subject: %s\r\n" | ^~ In file included from /usr/include/stdio.h:866, from /usr/include/event2/event.h:199, from /usr/include/event.h:69, from os_maild/sendmail.c:12: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 12 and 141 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/config.c -o config/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/custom_output_search_replace.c -o shared/custom_output_search_replace.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from shared/custom_output_search_replace.c:1: In function 'strncpy', inlined from 'searchAndReplace' at shared/custom_output_search_replace.c:41:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shared/custom_output_search_replace.c: In function 'searchAndReplace': shared/custom_output_search_replace.c:9:30: note: length computed here 9 | const size_t value_len = strlen(value); | ^~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/fs_op.c -o shared/fs_op.o shared/fs_op.c: In function 'IsNFS': shared/fs_op.c:49:47: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'const unsigned int'} and '__fsword_t' {aka 'int'} [-Wsign-compare] 49 | if(network_file_systems[i].f_type == stfs.f_type ) { | ^~ shared/fs_op.c: In function 'skipFS': shared/fs_op.c:86:44: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'const unsigned int'} and '__fsword_t' {aka 'int'} [-Wsign-compare] 86 | if(skip_file_systems[i].f_type == stfs.f_type ) { | ^~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/help.c -o shared/help.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/randombytes.c -o shared/randombytes.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/syscheck-config.c -o config/syscheck-config.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from config/syscheck-config.c:10: In function 'strncpy', inlined from 'Read_Syscheck' at config/syscheck-config.c:801:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 6143 bytes from a string of length 6143 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'Read_Syscheck' at config/syscheck-config.c:808:21: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config/syscheck-config.c: In function 'Read_Syscheck': config/syscheck-config.c:808:21: note: length computed here 808 | strncpy(syscheck->prefilter_cmd, cmd, strlen(cmd)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/read-alert.c -o shared/read-alert.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from shared/read-alert.c:12: In function 'strncpy', inlined from 'GetAlertData' at shared/read-alert.c:255:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shared/read-alert.c: In function 'GetAlertData': shared/read-alert.c:253:17: note: length computed here 253 | z = strlen(p) - strlen(m); | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_converter.c -o os_regex/os_converter.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/read-agents.c -o shared/read-agents.o In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from shared/read-agents.c:10: In function 'snprintf', inlined from '_do_print_rootcheck' at shared/read-agents.c:659:17: /usr/include/bits/stdio2.h:70:10: warning: '%s' directive argument is null [-Wformat-truncation=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from shared/read-agents.c:10: In function 'strncpy', inlined from '_do_print_syscheck' at shared/read-agents.c:433:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 23 bytes from a string of length 24 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2.c -o os_regex/os_pcre2.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2_compile.c -o os_regex/os_pcre2_compile.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2_free_pattern.c -o os_regex/os_pcre2_free_pattern.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/validate_op.c -o shared/validate_op.o 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=] 600 | snprintf(ret, 12, "%c%s%s", ng == 0 ? '.' : '!', first_hour, second_hour); | ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from shared/validate_op.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 2 and 14 bytes into a destination of size 12 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 595 | snprintf(ret, 12, "!%s%s", second_hour, first_hour); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from shared/validate_op.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 2 and 14 bytes into a destination of size 12 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2_free_substrings.c -o os_regex/os_pcre2_free_substrings.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2_execute.c -o os_regex/os_pcre2_execute.o os_regex/os_pcre2_execute.c: In function 'OSPcre2_Execute_pcre2_match': os_regex/os_pcre2_execute.c:52:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 52 | if (sub_string_start != -1) { | ^~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_execute.c -o os_regex/os_regex_execute.o os_regex/os_regex_execute.c: In function 'OSRegex_Execute_pcre2_match': os_regex/os_regex_execute.c:57:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 57 | if (sub_string_start != -1) { | ^~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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=] 179 | "XMLERR: Unknown variable" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | ": '%s'.", lvar); | ~~~~ os_xml/os_xml_variables.c:180:46: note: format string is defined here 180 | ": '%s'.", lvar); | ^~ In file included from /usr/include/stdio.h:866, from os_xml/os_xml_variables.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 30 and 285 bytes into a destination of size 128 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/exec.c -o os_execd/exec.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from os_execd/exec.c:10: In function 'strncpy', inlined from 'ReadExecConfig' at os_execd/exec.c:64:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 256 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'ReadExecConfig' at os_execd/exec.c:117:21: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' accessing 256 bytes at offsets [0, 16705] and [0, 16705] may overlap up to 256 bytes at offset [0, 255] [-Wrestrict] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-agentlessd\" -c agentlessd/agentlessd.c -o agentlessd/agentlessd.o agentlessd/agentlessd.c: In function 'run_periodic_cmd.isra': agentlessd/agentlessd.c:233:45: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size between 1015 and 2039 [-Wformat-truncation=] 233 | snprintf(diff_cmd, 2048, "diff \"%s\" \"%s\" > \"%s/%s->%s/diff.%d\" " | ^~ 234 | "2>/dev/null", 235 | tmp_location, old_location, | ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from agentlessd/agentlessd.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 63 or more bytes (assuming 2111) into a destination of size 2048 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_audit.c -o logcollector/read_audit.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_djb_multilog.c -o logcollector/read_djb_multilog.o logcollector/read_djb_multilog.c: In function 'read_djbmultilog': logcollector/read_djb_multilog.c:147:76: warning: '%s' directive output may be truncated writing up to 6118 bytes into a region of size between 5616 and 6128 [-Wformat-truncation=] 147 | snprintf(buffer, OS_MAXSTR, "%s %02d %02d:%02d:%02d %s %s: %s", | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from logcollector/read_djb_multilog.c:12: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 17 or more bytes (assuming 6647) into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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=] 436 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~ os_execd/execd.c:436:49: note: directive argument in the range [-2147483647, 6] 436 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from os_execd/execd.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 9 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 478 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~ os_execd/execd.c:478:49: note: directive argument in the range [-2147483647, 6] 478 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from os_execd/execd.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 9 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_mssql_log.c -o logcollector/read_mssql_log.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_mssql_log.c:12: In function 'strncpy', inlined from 'read_mssql_log' at logcollector/read_mssql_log.c:111:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_mssql_log' at logcollector/read_mssql_log.c:102:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'read_mssql_log' at logcollector/read_mssql_log.c:137:17: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying 6144 bytes from a string of length 6144 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_multiline.c -o logcollector/read_multiline.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_multiline.c:10: In function 'strncpy', inlined from 'read_multiline' at logcollector/read_multiline.c:72:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying between 0 and 6142 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_multiline_indented.c -o logcollector/read_multiline_indented.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_multiline_indented.c:13: In function 'strncpy', inlined from 'read_multiline_indented' at logcollector/read_multiline_indented.c:100:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' output may be truncated copying between 4 and 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_mysql_log.c -o logcollector/read_mysql_log.o logcollector/read_mysql_log.c: In function 'read_mysql_log': logcollector/read_mysql_log.c:92:56: warning: '%s' directive output may be truncated writing up to 6129 bytes into a region of size between 6115 and 6132 [-Wformat-truncation=] 92 | snprintf(buffer, OS_MAXSTR, "MySQL log: %s %s", | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from logcollector/read_mysql_log.c:12: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 13 and 6159 bytes into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_nmapg.c -o logcollector/read_nmapg.o logcollector/read_nmapg.c: In function 'read_nmapg': logcollector/read_nmapg.c:207:49: warning: ', open ports:' directive output may be truncated writing 13 bytes into a region of size between 0 and 6138 [-Wformat-truncation=] 207 | snprintf(final_msg, OS_MAXSTR, "Host: %s, open ports:", | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from logcollector/read_nmapg.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 20 and 6158 bytes into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_nmapg.c:10: In function 'strncat', inlined from 'read_nmapg' at logcollector/read_nmapg.c:231:13: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 27 and 6141 bytes from a string of length 6144 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/config.c -o remoted/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_snortfull.c -o logcollector/read_snortfull.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_snortfull.c:10: In function 'strncpy', inlined from 'read_snortfull' at logcollector/read_snortfull.c:40:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/ar-forward.c -o remoted/ar-forward.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_syslog.c -o logcollector/read_syslog.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/remoted.c -o remoted/remoted.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/main.c -o remoted/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_postgresql_log.c -o logcollector/read_postgresql_log.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_postgresql_log.c:12: In function 'strncpy', inlined from 'read_postgresql_log' at logcollector/read_postgresql_log.c:107:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' output may be truncated copying between 2 and 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_postgresql_log' at logcollector/read_postgresql_log.c:99:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' output may be truncated copying between 2 and 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/sendmsg.c -o remoted/sendmsg.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/secure.c -o remoted/secure.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/syslog.c -o remoted/syslog.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/config.c -o client-agent/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/syslogtcp.c -o remoted/syslogtcp.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from remoted/syslogtcp.c:10: In function 'strncat', inlined from 'HandleClient' at remoted/syslogtcp.c:98:9: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 6144 bytes from a string of length 6145 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'HandleClient' at remoted/syslogtcp.c:129:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 6144 bytes from a string of length 6145 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'HandleClient' at remoted/syslogtcp.c:75:13: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 6144 bytes from a string of length 6145 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/manager.c -o remoted/manager.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from remoted/manager.c:10: In function 'strncpy', inlined from 'c_files' at remoted/manager.c:252:5: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'c_files' at remoted/manager.c:234:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/notify.c -o client-agent/notify.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/main.c -o client-agent/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/agentd.c -o client-agent/agentd.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/sendmsg.c -o client-agent/sendmsg.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/receiver.c -o client-agent/receiver.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -DARGV0=\"manage_agents\" -c addagent/main.c -o addagent/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -DARGV0=\"manage_agents\" -c addagent/b64.c -o addagent/b64.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -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:201:58: warning: '%s' directive output may be truncated writing up to 6145 bytes into a region of size 6136 [-Wformat-truncation=] 201 | snprintf(fmsg, OS_MAXSTR, "%c:%s:%s", LOCALFILE_MQ, | ^~ 202 | "ossec", msg); | ~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from client-agent/start_agent.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 9 and 6154 bytes into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/syscheck_update.c -o util/syscheck_update.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -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:46:5: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector] 46 | int k_import(const char *cmdimport) | ^~~~~~~~ addagent/manage_keys.c: In function 'k_bulkload': addagent/manage_keys.c:462:37: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] 462 | snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); | ^~ ~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from addagent/manage_agents.h:10, from addagent/manage_keys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 3 and 280 bytes into a destination of size 66 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/manage_keys.c:463:37: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] 463 | snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); | ^~ ~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from addagent/manage_agents.h:10, from addagent/manage_keys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 3 and 537 bytes into a destination of size 66 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/list_agents.c -o util/list_agents.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/verify-agent-conf.c -o util/verify-agent-conf.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -DARGV0=\"manage_agents\" -c addagent/validate.c -o addagent/validate.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/clear_stats.c -o util/clear_stats.o util/clear_stats.c: In function 'main': util/clear_stats.c:149:51: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 6144 [-Wformat-truncation=] 149 | snprintf(full_path, OS_MAXSTR, "%s/%s", dir_path, | ^ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from util/clear_stats.c:12: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 2 and 6401 bytes into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -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:375:41: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] 375 | snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); | ^~ ~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from addagent/manage_agents.h:10, from addagent/manage_agents.c:14: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 3 and 280 bytes into a destination of size 66 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/manage_agents.c:376:41: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] 376 | snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); | ^~ ~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from addagent/manage_agents.h:10, from addagent/manage_agents.c:14: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 3 or more bytes (assuming 260) into a destination of size 66 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/rootcheck_control.c -o util/rootcheck_control.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/agent_control.c -o util/agent_control.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/ossec-regex.c -o util/ossec-regex.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/ossec-regex-convert.c -o util/ossec-regex-convert.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/syscheck_control.c -o util/syscheck_control.o util/syscheck_control.c: In function 'main': util/syscheck_control.c:416:13: warning: 'json_root' may be used uninitialized in this function [-Wmaybe-uninitialized] 416 | printf("%s", cJSON_PrintUnformatted(json_root)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_if.c -o rootcheck/check_rc_if.o In file included from /usr/include/string.h:532, from rootcheck/check_rc_if.c:18: In function 'strncpy', inlined from 'check_rc_if' at rootcheck/check_rc_if.c:84:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 511 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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=] 394 | "diff \"%s\" \"%s\" > \"%s\" 2> /dev/null", | ^~ 395 | new_tmp, | ~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from syscheckd/seechanges.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 29 and 18461 bytes into a destination of size 2048 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 126 | snprintf(diff_alert, 4096 - 1, "%s%s", | ^~ 127 | buf, n >= 19 ? | ~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from syscheckd/seechanges.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 1 and 6160 bytes into a destination of size 4095 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.isra': 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=] 42 | snprintf(op_msg, OS_SIZE_1024, "File '%s' present on /dev." | ^~ ...... 135 | read_dev_file(f_name); | ~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_dev.c:11: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 47 and 4144 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_pids.c -o rootcheck/check_rc_pids.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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:162:47: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1023 [-Wformat-truncation=] 162 | snprintf(file_path, OS_SIZE_1024, "%s/%s", basedir, file); | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_files.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1026) into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_files.c:168:54: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1015 [-Wformat-truncation=] 168 | snprintf(op_msg, OS_SIZE_1024, "Rootkit '%s' detected " | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_files.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 48 and 2096 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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=] 94 | snprintf(op_msg, OS_SIZE_1024, "Trojaned version of file " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | "'%s' detected. Signature used: '%s' (%s).", 96 | file_path, | ~~~~~~~~~ rootcheck/check_rc_trojans.c:95:28: note: format string is defined here 95 | "'%s' detected. Signature used: '%s' (%s).", | ^~ rootcheck/check_rc_trojans.c:94:48: note: assuming directive output of 7 bytes 94 | snprintf(op_msg, OS_SIZE_1024, "Trojaned version of file " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_trojans.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 61 or more bytes (assuming 1092) into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.isra': 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=] 92 | snprintf(op_msg, OS_SIZE_1024, "Anomaly detected in file " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 294 | read_sys_file(f_name, do_read); | ~~~~~~ rootcheck/check_rc_sys.c:93:32: note: format string is defined here 93 | "'%s'. File size doesn't match what we found. " | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 99 and 4196 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 121 | snprintf(op_msg, OS_SIZE_1024, "File '%s' is owned by root " | ^~ ...... 294 | read_sys_file(f_name, do_read); | ~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 62 and 4159 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 39 | snprintf(op_msg, OS_SIZE_1024, "Anomaly detected in file '%s'. " | ^~ ...... 294 | read_sys_file(f_name, do_read); | ~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 106 and 4203 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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=] 27 | 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, 32768] 27 | snprintf(command, OS_SIZE_1024, "%s -p %d 2> /dev/null", ps, mpid); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/unix-process.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 19 and 1047 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ./analysisd/compiled_rules/register_rule.sh build *Build completed. make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/ssl.c -o os_auth/ssl.o os_auth/ssl.c: In function 'get_ssl_context': os_auth/ssl.c:107:5: warning: 'TLSv1_2_method' is deprecated [-Wdeprecated-declarations] 107 | sslmeth = TLSv1_2_method(); | ^~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from os_auth/auth.h:38, from os_auth/ssl.c:28: /usr/include/openssl/ssl.h:1894:1: note: declared here 1894 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_method(void)) /* TLSv1.2 */ | ^~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/check_cert.c -o os_auth/check_cert.o os_auth/check_cert.c: In function 'asn1_to_cstr': os_auth/check_cert.c:306:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] 306 | if (!(tmp = (char *)ASN1_STRING_data(astr))) { | ^~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from os_auth/check_cert.h:30, from os_auth/check_cert.c:33: /usr/include/openssl/asn1.h:554:1: note: declared here 554 | DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) | ^~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/main-server.c -o os_auth/main-server.o os_auth/main-server.c: In function '__generatetmppass': os_auth/main-server.c:110:41: warning: '%s' directive output may be truncated writing up to 32 bytes into a region of size between 31 and 63 [-Wformat-truncation=] 110 | snprintf(str1, STR_SIZE, "%d%d%s%d%s%s",(int)time(0), rand1, muname, rand2, md3, md4); | ^~ ~~~ In file included from /usr/include/stdio.h:866, from /usr/include/openssl/crypto.h:20, from /usr/include/openssl/comp.h:16, from /usr/include/openssl/ssl.h:17, from os_auth/auth.h:38, from os_auth/main-server.c:38: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 68) into a destination of size 66 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_auth/main-server.c: In function 'main': os_auth/main-server.c:559:103: warning: '%s' directive output may be truncated writing up to 2048 bytes into a region of size 2004 [-Wformat-truncation=] 536 | agentname = fname; | ~~~~~ ...... 559 | snprintf(response, 2048, "ERROR: Internal manager error adding agent: %s\n\n", agentname); | ^~ In file included from /usr/include/stdio.h:866, from /usr/include/openssl/crypto.h:20, from /usr/include/openssl/comp.h:16, from /usr/include/openssl/ssl.h:17, from os_auth/auth.h:38, from os_auth/main-server.c:38: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 47 and 2095 bytes into a destination of size 2048 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/format/json_extended.c -o analysisd/format/json_extended.o analysisd/format/json_extended.c: In function 'W_JSON_ParseLocation': analysisd/format/json_extended.c:276:65: warning: unused parameter 'archives' [-Wunused-parameter] 276 | void W_JSON_ParseLocation(cJSON* root, const Eventinfo* lf, int archives) | ~~~~^~~~~~~~ In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from ./analysisd/rules.h:17, from ./analysisd/eventinfo.h:13, from analysisd/format/json_extended.h:9, from analysisd/format/json_extended.c:6: In function 'strncpy', inlined from 'add_groupPCI' at analysisd/format/json_extended.c:193:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/format/json_extended.c: In function 'add_groupPCI': analysisd/format/json_extended.c:193:29: note: length computed here 193 | strncpy(aux, group, strlen(group) - 1 ); | ^~~~~~~~~~~~~ analysisd/format/json_extended.c:178:5: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector] 178 | int add_groupPCI(cJSON* rule, char* group, int firstPCI) | ^~~~~~~~~~~~ In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from ./analysisd/rules.h:17, from ./analysisd/eventinfo.h:13, from analysisd/format/json_extended.h:9, from analysisd/format/json_extended.c:6: In function 'strncpy', inlined from 'add_groupCIS' at analysisd/format/json_extended.c:214:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/format/json_extended.c: In function 'add_groupCIS': analysisd/format/json_extended.c:214:29: note: length computed here 214 | strncpy(aux, group, strlen(group) - 1); | ^~~~~~~~~~~~~ analysisd/format/json_extended.c:202:5: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector] 202 | int add_groupCIS(cJSON* rule, char* group, int firstCIS) | ^~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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 analysisd/decoders/syscheck.c: In function 'DecodeSyscheck': analysisd/decoders/syscheck.c:487:46: warning: '%s' directive output may be truncated writing up to 161340 bytes into a region of size 237 [-Wformat-truncation=] 325 | saved_sum += 3; | ~~~~~~~~~~~~~~ ...... 487 | "Size changed from '%s' to '%s'\n", | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from ./analysisd/rules.h:17, from ./analysisd/eventinfo.h:13, from analysisd/decoders/syscheck.c:12: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 28 or more bytes (assuming 161368) into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/dodiff.c -o analysisd/dodiff-test.o analysisd/dodiff.c: In function 'doDiff': analysisd/dodiff.c:100:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'const unsigned int'} [-Wformat=] 100 | merror("%s: ERROR: event size (%ld) too long for diff.", ARGV0, lf->size); | ~~^ ~~~~~~~~ | | | | long int size_t {aka const unsigned int} | %d make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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 In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from analysisd/decoders/decode-xml.c:10: In function 'strncpy', inlined from '_loadmemory' at analysisd/decoders/decode-xml.c:842:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/decoders/decode-xml.c: In function '_loadmemory': analysisd/decoders/decode-xml.c:836:24: note: length computed here 836 | if ((strsize = strlen(str)) < OS_SIZE_8192) { | ^~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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=] 40 | snprintf(b_filename, OS_MAXSTR - 1, "rules/%s", a_filename); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 7 and 6150 bytes into a destination of size 6143 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 41 | snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); | ^ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin_snprintf' output between 1 and 6144 bytes into a destination of size 6143 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 45 | snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); | ^ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin_snprintf' output between 1 and 6144 bytes into a destination of size 6143 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 48 | snprintf(b_filename, OS_MAXSTR - 1, "%s.cdb", a_filename); | ^~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 5 and 6148 bytes into a destination of size 6143 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/analysisd.c -o analysisd/analysisd-test.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from analysisd/analysisd.c:18: In function 'strncpy', inlined from 'OS_ReadMSG_analysisd' at analysisd/analysisd.c:655:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 3 bytes from a string of length 3 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'OS_ReadMSG_analysisd' at analysisd/analysisd.c:751:21: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 3 bytes from a string of length 3 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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 analysisd/decoders/syscheck.c: In function 'DecodeSyscheck': analysisd/decoders/syscheck.c:487:46: warning: '%s' directive output may be truncated writing up to 161340 bytes into a region of size 237 [-Wformat-truncation=] 325 | saved_sum += 3; | ~~~~~~~~~~~~~~ ...... 487 | "Size changed from '%s' to '%s'\n", | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from ./analysisd/rules.h:17, from ./analysisd/eventinfo.h:13, from analysisd/decoders/syscheck.c:12: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 28 or more bytes (assuming 161368) into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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] 88 | int OS_Alert_InsertDB(const alert_data *al_data, DBConfig *db_config) | ^~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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 In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from analysisd/decoders/decode-xml.c:10: In function 'strncpy', inlined from '_loadmemory' at analysisd/decoders/decode-xml.c:842:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/decoders/decode-xml.c: In function '_loadmemory': analysisd/decoders/decode-xml.c:836:24: note: length computed here 836 | if ((strsize = strlen(str)) < OS_SIZE_8192) { | ^~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs libcJSON.a external/cJSON/cJSON.o ranlib libcJSON.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/include/pgsql -I/usr/include/pgsql -DARGV0=\"ossec-dbd\" -c os_dbd/dbd_help.c -o os_dbd/dbd_help.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs config.a config/active-response.o config/agentlessd-config.o config/alerts-config.o config/client-config.o config/config.o config/csyslogd-config.o config/dbd-config.o config/email-alerts-config.o config/global-config.o config/localfile-config.o config/remote-config.o config/reports-config.o config/rootcheck-config.o config/rules-config.o config/syscheck-config.o ranlib config.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs shared.a shared/agent_op.o shared/custom_output_search_replace.o shared/debug_op.o shared/dirtree_op.o shared/file-queue.o shared/file_op.o shared/fs_op.o shared/hash_op.o shared/help.o shared/list_op.o shared/math_op.o shared/mem_op.o shared/mq_op.o shared/privsep_op.o shared/pthreads_op.o shared/randombytes.o shared/read-agents.o shared/read-alert.o shared/regex_op.o shared/report_op.o shared/rules_op.o shared/sig_op.o shared/store_op.o shared/string_op.o shared/validate_op.o shared/wait_op.o ranlib shared.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs os_regex.a os_regex/os_converter.o os_regex/os_match.o os_regex/os_match_compile.o os_regex/os_match_execute.o os_regex/os_match_free_pattern.o os_regex/os_pcre2.o os_regex/os_pcre2_compile.o os_regex/os_pcre2_execute.o os_regex/os_pcre2_free_pattern.o os_regex/os_pcre2_free_substrings.o os_regex/os_regex.o os_regex/os_regex_compile.o os_regex/os_regex_execute.o os_regex/os_regex_free_pattern.o os_regex/os_regex_free_substrings.o os_regex/os_regex_maps.o os_regex/os_regex_match.o os_regex/os_regex_startswith.o os_regex/os_regex_str.o os_regex/os_regex_strbreak.o ranlib os_regex.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs os_xml.a os_xml/os_xml.o os_xml/os_xml_access.o os_xml/os_xml_node_access.o os_xml/os_xml_variables.o os_xml/os_xml_writer.o ranlib os_xml.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs rootcheck.a rootcheck/check_open_ports.o rootcheck/check_rc_dev.o rootcheck/check_rc_files.o rootcheck/check_rc_if.o rootcheck/check_rc_pids.o rootcheck/check_rc_policy.o rootcheck/check_rc_ports.o rootcheck/check_rc_readproc.o rootcheck/check_rc_sys.o rootcheck/check_rc_trojans.o rootcheck/common.o rootcheck/common_rcl.o rootcheck/config.o rootcheck/os_string.o rootcheck/rootcheck.o rootcheck/run_rk_check.o rootcheck/unix-process.o rootcheck/win-common.o rootcheck/win-process.o ranlib rootcheck.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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] 272 | snprintf(portAsString, 6, ""); | ^~ os_dbd/db_op.c:270:36: warning: '%u' directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Wformat-truncation=] 270 | snprintf(portAsString, 6, "%u", port); | ^~ os_dbd/db_op.c:270:35: note: directive argument in the range [1, 4294967295] 270 | snprintf(portAsString, 6, "%u", port); | ^~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from os_dbd/dbd.h:13, from os_dbd/db_op.c:12: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 6 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/dodiff.c -o analysisd/dodiff-live.o analysisd/dodiff.c: In function 'doDiff': analysisd/dodiff.c:100:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'const unsigned int'} [-Wformat=] 100 | merror("%s: ERROR: event size (%ld) too long for diff.", ARGV0, lf->size); | ~~^ ~~~~~~~~ | | | | long int size_t {aka const unsigned int} | %d make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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=] 40 | snprintf(b_filename, OS_MAXSTR - 1, "rules/%s", a_filename); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 7 and 6150 bytes into a destination of size 6143 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 41 | snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); | ^ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin_snprintf' output between 1 and 6144 bytes into a destination of size 6143 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 45 | snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); | ^ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin_snprintf' output between 1 and 6144 bytes into a destination of size 6143 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 48 | snprintf(b_filename, OS_MAXSTR - 1, "%s.cdb", a_filename); | ^~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 5 and 6148 bytes into a destination of size 6143 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs alerts.a analysisd/alerts/exec.o analysisd/alerts/getloglocation.o analysisd/alerts/log.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs cdb.a analysisd/cdb/cdb.o analysisd/cdb/cdb_hash.o analysisd/cdb/cdb_make.o analysisd/cdb/uint32_pack.o analysisd/cdb/uint32_unpack.o ranlib cdb.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs decoders-live.a analysisd/decoders/decode-xml-live.o analysisd/decoders/decoder-live.o analysisd/decoders/decoders_list-live.o analysisd/decoders/geoip-live.o analysisd/decoders/hostinfo-live.o analysisd/decoders/plugin_decoders-live.o analysisd/decoders/rootcheck-live.o analysisd/decoders/syscheck-live.o analysisd/decoders/plugins/ossecalert_decoder-live.o analysisd/decoders/plugins/pf_decoder-live.o analysisd/decoders/plugins/sonicwall_decoder-live.o analysisd/decoders/plugins/symantecws_decoder-live.o analysisd/compiled_rules/generic_samples-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs decoders-test.a analysisd/decoders/decode-xml-test.o analysisd/decoders/decoder-test.o analysisd/decoders/decoders_list-test.o analysisd/decoders/geoip-test.o analysisd/decoders/hostinfo-test.o analysisd/decoders/plugin_decoders-test.o analysisd/decoders/rootcheck-test.o analysisd/decoders/syscheck-test.o analysisd/decoders/plugins/ossecalert_decoder-test.o analysisd/decoders/plugins/pf_decoder-test.o analysisd/decoders/plugins/sonicwall_decoder-test.o analysisd/decoders/plugins/symantecws_decoder-test.o analysisd/compiled_rules/generic_samples-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/rules.c -o analysisd/rules-test.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from analysisd/rules.h:17, from analysisd/rules.c:10: In function 'strncpy', inlined from 'loadmemory' at analysisd/rules.c:1573:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/rules.c: In function 'loadmemory': analysisd/rules.c:1567:24: note: length computed here 1567 | if ((strsize = strlen(str)) < OS_SIZE_2048) { | ^~~~~~~~~~~ analysisd/rules.c: In function 'Rules_OP_ReadRules': analysisd/rules.c:1187:25: warning: '%s' directive argument is null [-Wformat-overflow=] 1187 | merror(REGEX_COMPILE, ARGV0, id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1188 | config_ruleinfo->id_pcre2->error); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./headers/shared.h:217, from analysisd/rules.h:17, from analysisd/rules.c:10: ./error_messages/error_messages.h:193:67: note: format string is defined here 193 | #define REGEX_COMPILE "%s(1450): ERROR: Syntax error on regex: '%s': %d." | ^~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_crypto/shared/keys.c -o os_crypto/shared/keys.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from os_crypto/shared/keys.c:10: In function 'strncpy', inlined from 'OS_ReadKeys' at os_crypto/shared/keys.c:195:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 2048 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_crypto/shared/keys.c: In function 'OS_ReadKeys': os_crypto/shared/keys.c:95:32: warning: '%s' directive output may be truncated writing up to 32 bytes into a region of size between 17 and 49 [-Wformat-truncation=] 95 | snprintf(_finalstr, 49, "%s%s", filesum2, filesum1); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from os_crypto/shared/keys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 1 and 65 bytes into a destination of size 49 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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:412:37: warning: '%s' directive output may be truncated writing up to 6145 bytes into a region of size between 6112 and 6144 [-Wformat-truncation=] 412 | snprintf(_finmsg, OS_MAXSTR, "%s%s", md5sum, _tmpmsg); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from os_crypto/shared/msgs.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 1 and 6178 bytes into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ os_execd/config.o os_execd/exec.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 -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o ossec-execd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ agentlessd/agentlessd.o agentlessd/main.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o ossec-agentlessd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ remoted/ar-forward.o remoted/config.o remoted/main.o remoted/manager.o remoted/remoted.o remoted/secure.o remoted/sendmsg.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 -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o ossec-remoted make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ os_csyslogd/alert.o os_csyslogd/config.o os_csyslogd/csyslogd.o os_csyslogd/main.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 -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o ossec-csyslogd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ logcollector/config.o logcollector/logcollector.o logcollector/main.o logcollector/read_audit.o logcollector/read_command.o logcollector/read_djb_multilog.o logcollector/read_fullcommand.o logcollector/read_mssql_log.o logcollector/read_multiline.o logcollector/read_multiline_indented.o logcollector/read_mysql_log.o logcollector/read_nmapg.o logcollector/read_ossecalert.o logcollector/read_postgresql_log.o logcollector/read_snortfull.o logcollector/read_syslog.o logcollector/read_win_el.o logcollector/read_win_event_channel.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o ossec-logcollector make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ util/clear_stats.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o clear_stats make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ addagent/b64.o addagent/main.o addagent/manage_agents.o addagent/manage_keys.o addagent/read_from_user.o addagent/validate.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o manage_agents make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ 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 libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o syscheck_update make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ util/list_agents.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o list_agents make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/analysisd.c -o analysisd/analysisd-live.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from analysisd/analysisd.c:18: In function 'strncpy', inlined from 'OS_ReadMSG' at analysisd/analysisd.c:655:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 3 bytes from a string of length 3 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'OS_ReadMSG' at analysisd/analysisd.c:751:21: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 3 bytes from a string of length 3 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ 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 libcJSON.a -lm -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o agent_control make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ 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 libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o syscheck_control make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ 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 libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o rootcheck_control make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ util/ossec-regex.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o ossec-regex make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ util/ossec-regex-convert.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o ossec-regex-convert make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ util/verify-agent-conf.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o verify-agent-conf make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ syscheckd/config.o syscheckd/create_db.o syscheckd/run_check.o syscheckd/run_realtime.o syscheckd/seechanges.o syscheckd/syscheck.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 -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o ossec-syscheckd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_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 -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o ossec-reportd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ monitord/compress_log.o monitord/generate_reports.o monitord/main.o monitord/manage_files.o monitord/monitor_agents.o monitord/monitord.o monitord/sendcustomemail.o monitord/sign_log.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o ossec-monitord make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -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 libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o ossec-authd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/include/pgsql -I/usr/include/pgsql -I./external/cJSON/ os_dbd/alert.o os_dbd/config.o os_dbd/db_op.o os_dbd/dbd.o os_dbd/dbd_help.o os_dbd/main.o os_dbd/rules.o os_dbd/server.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 -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o ossec-dbd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE analysisd/accumulator-test.o analysisd/active-response-test.o analysisd/cleanevent-test.o analysisd/config-test.o analysisd/dodiff-test.o analysisd/eventinfo-test.o analysisd/eventinfo_list-test.o analysisd/fts-test.o analysisd/lists-test.o analysisd/lists_list-test.o analysisd/lists_make-test.o analysisd/rules-test.o analysisd/rules_list-test.o analysisd/stats-test.o analysisd/output/jsonout.o analysisd/output/prelude.o analysisd/output/zeromq.o analysisd/format/json_extended.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 libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o ossec-logtest make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ os_maild/config.o os_maild/mail_list.o os_maild/maild.o os_maild/os_maild_client.o os_maild/sendcustomemail.o os_maild/sendmail.o os_dns/os_dns.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -levent ./external/compat/imsg.c ./external/compat/imsg-buffer.c -o ossec-maild make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ client-agent/agentd.o client-agent/config.o client-agent/event-forward.o client-agent/intcheck_op.o client-agent/main.o client-agent/notify.o client-agent/receiver-win.o client-agent/receiver.o client-agent/sendmsg.o client-agent/start_agent.o os_dns/os_dns.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -levent ./external/compat/imsg.c ./external/compat/imsg-buffer.c -o ossec-agentd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/rules.c -o analysisd/rules-live.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from analysisd/rules.h:17, from analysisd/rules.c:10: In function 'strncpy', inlined from 'loadmemory' at analysisd/rules.c:1573:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/rules.c: In function 'loadmemory': analysisd/rules.c:1567:24: note: length computed here 1567 | if ((strsize = strlen(str)) < OS_SIZE_2048) { | ^~~~~~~~~~~ analysisd/rules.c: In function 'Rules_OP_ReadRules': analysisd/rules.c:1187:25: warning: '%s' directive argument is null [-Wformat-overflow=] 1187 | merror(REGEX_COMPILE, ARGV0, id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1188 | config_ruleinfo->id_pcre2->error); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./headers/shared.h:217, from analysisd/rules.h:17, from analysisd/rules.c:10: ./error_messages/error_messages.h:193:67: note: format string is defined here 193 | #define REGEX_COMPILE "%s(1450): ERROR: Syntax error on regex: '%s': %d." | ^~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ analysisd/makelists-live.o analysisd/accumulator-live.o analysisd/active-response-live.o analysisd/cleanevent-live.o analysisd/config-live.o analysisd/dodiff-live.o analysisd/eventinfo-live.o analysisd/eventinfo_list-live.o analysisd/fts-live.o analysisd/lists-live.o analysisd/lists_list-live.o analysisd/lists_make-live.o analysisd/rules-live.o analysisd/rules_list-live.o analysisd/stats-live.o analysisd/format/json_extended.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 libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o ossec-makelists make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ analysisd/accumulator-live.o analysisd/active-response-live.o analysisd/cleanevent-live.o analysisd/config-live.o analysisd/dodiff-live.o analysisd/eventinfo-live.o analysisd/eventinfo_list-live.o analysisd/fts-live.o analysisd/lists-live.o analysisd/lists_list-live.o analysisd/lists_make-live.o analysisd/rules-live.o analysisd/rules_list-live.o analysisd/stats-live.o analysisd/analysisd-live.o analysisd/output/jsonout.o analysisd/output/prelude.o analysisd/output/zeromq.o analysisd/format/json_extended.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 libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz -o ossec-analysisd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make settings make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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: yes ZLIB_INCLUDE: ZLIB_LIB: os_zlib.a PCRE2 settings: PCRE2_SYSTEM: yes PCRE2_INCLUDE: 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: USE_PCRE2_JIT: yes Mysql settings: includes: libs: Pgsql settings: includes: -I/usr/include/pgsql -I/usr/include/pgsql libs: -L/usr/lib -L/usr/lib/pgsql Defines: -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR="/var/lib/ossec" -DUSER="ossec" -DREMUSER="ossecr" -DGROUPGLOBAL="ossec" -DMAILUSER="ossecm" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED Compiler: CFLAGS -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR="/var/lib/ossec" -DUSER="ossec" -DREMUSER="ossecr" -DGROUPGLOBAL="ossec" -DMAILUSER="ossecm" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DPGSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ LDFLAGS -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -L/usr/lib/pgsql -lpq -lssl -lcrypto -lz CC cc make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' MAKE make make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' Done building server make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' + mkdir postgres + cp ossec-dbd postgres/ + make -j8 clean make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' rm -f external/cJSON/cJSON.o libcJSON.a libpcre2-8.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cd external/zlib-1.2.11/ && make -f Makefile.in distclean make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/zlib-1.2.11' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/zlib-1.2.11' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' rm -f tests/test_os_crypto.o tests/test_os_net.o tests/test_os_regex.o tests/test_os_xml.o tests/test_os_zlib.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.6.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/zlib-1.2.11' cd external/lua-5.2.3/ && make clean make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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/add-localfile.o win32/agent_auth.o win32/read-registry.o win32/setup-iis.o win32/setup-shared.o win32/setup-syscheck.o win32/setup-win.o win32/win_agent.o win32/win_service.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.6.0/src' cd src && make clean make[2]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/lua-5.2.3/src' #cd external/pcre2-10.32/ && make distclean make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' rm -f os_zlib/os_zlib.o os_zlib.a rm -f os_xml/os_xml.o os_xml/os_xml_access.o os_xml/os_xml_node_access.o os_xml/os_xml_variables.o os_xml/os_xml_writer.o os_xml.a rm -f os_regex/os_converter.o os_regex/os_match.o os_regex/os_match_compile.o os_regex/os_match_execute.o os_regex/os_match_free_pattern.o os_regex/os_pcre2.o os_regex/os_pcre2_compile.o os_regex/os_pcre2_execute.o os_regex/os_pcre2_free_pattern.o os_regex/os_pcre2_free_substrings.o os_regex/os_regex.o os_regex/os_regex_compile.o os_regex/os_regex_execute.o os_regex/os_regex_free_pattern.o os_regex/os_regex_free_substrings.o os_regex/os_regex_maps.o os_regex/os_regex_match.o os_regex/os_regex_startswith.o os_regex/os_regex_str.o os_regex/os_regex_strbreak.o os_regex.a rm -f os_net/os_net.o os_net.a rm -f shared/agent_op.o shared/custom_output_search_replace.o shared/debug_op.o shared/dirtree_op.o shared/file-queue.o shared/file_op.o shared/fs_op.o shared/hash_op.o shared/help.o shared/list_op.o shared/math_op.o shared/mem_op.o shared/mq_op.o shared/privsep_op.o shared/pthreads_op.o shared/randombytes.o shared/read-agents.o shared/read-alert.o shared/regex_op.o shared/report_op.o shared/rules_op.o shared/sig_op.o shared/store_op.o shared/string_op.o shared/validate_op.o shared/wait_op.o shared.a rm -f config/active-response.o config/agentlessd-config.o config/alerts-config.o config/client-config.o config/config.o config/csyslogd-config.o config/dbd-config.o config/email-alerts-config.o config/global-config.o config/localfile-config.o config/remote-config.o config/reports-config.o config/rootcheck-config.o config/rules-config.o config/syscheck-config.o config.a rm -f os_maild/config.o os_maild/mail_list.o os_maild/maild.o os_maild/os_maild_client.o os_maild/sendcustomemail.o os_maild/sendmail.o os_dns/os_dns.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/alert.o os_csyslogd/config.o os_csyslogd/csyslogd.o os_csyslogd/main.o ossec-csyslogd rm -f os_dbd/alert.o os_dbd/config.o os_dbd/db_op.o os_dbd/dbd.o os_dbd/dbd_help.o os_dbd/main.o os_dbd/rules.o os_dbd/server.o ossec-dbd rm -f agentlessd/agentlessd.o agentlessd/main.o ossec-agentlessd rm -f os_execd/config.o os_execd/exec.o os_execd/execd.o os_execd/win_execd.o ossec-execd rm -f logcollector/config.o logcollector/logcollector.o logcollector/main.o logcollector/read_audit.o logcollector/read_command.o logcollector/read_djb_multilog.o logcollector/read_fullcommand.o logcollector/read_mssql_log.o logcollector/read_multiline.o logcollector/read_multiline_indented.o logcollector/read_mysql_log.o logcollector/read_nmapg.o logcollector/read_ossecalert.o logcollector/read_postgresql_log.o logcollector/read_snortfull.o logcollector/read_syslog.o logcollector/read_win_el.o logcollector/read_win_event_channel.o logcollector/config-event.o logcollector/logcollector-event.o logcollector/main-event.o logcollector/read_audit-event.o logcollector/read_command-event.o logcollector/read_djb_multilog-event.o logcollector/read_fullcommand-event.o logcollector/read_mssql_log-event.o logcollector/read_multiline-event.o logcollector/read_multiline_indented-event.o logcollector/read_mysql_log-event.o logcollector/read_nmapg-event.o logcollector/read_ossecalert-event.o logcollector/read_postgresql_log-event.o logcollector/read_snortfull-event.o logcollector/read_syslog-event.o logcollector/read_win_el-event.o logcollector/read_win_event_channel-event.o ossec-logcollector rm -f remoted/ar-forward.o remoted/config.o remoted/main.o remoted/manager.o remoted/remoted.o remoted/secure.o remoted/sendmsg.o remoted/syslog.o remoted/syslogtcp.o ossec-remoted rm -f reportd/report.o ossec-reportd rm -f client-agent/agentd.o client-agent/config.o client-agent/event-forward.o client-agent/intcheck_op.o client-agent/main.o client-agent/notify.o client-agent/receiver-win.o client-agent/receiver.o client-agent/sendmsg.o client-agent/start_agent.o os_dns/os_dns.o ossec-agentd rm -f addagent/b64.o addagent/main.o addagent/manage_agents.o addagent/manage_keys.o addagent/read_from_user.o addagent/validate.o manage_agents rm -f util/agent_control.o util/clear_stats.o util/list_agents.o util/ossec-regex-convert.o util/ossec-regex.o util/rootcheck_control.o util/syscheck_control.o util/syscheck_update.o util/verify-agent-conf.o syscheck_update clear_stats list_agents agent_control syscheck_control rootcheck_control verify-agent-conf ossec-regex ossec-regex-convert rm -f rootcheck/check_open_ports.o rootcheck/check_rc_dev.o rootcheck/check_rc_files.o rootcheck/check_rc_if.o rootcheck/check_rc_pids.o rootcheck/check_rc_policy.o rootcheck/check_rc_ports.o rootcheck/check_rc_readproc.o rootcheck/check_rc_sys.o rootcheck/check_rc_trojans.o rootcheck/common.o rootcheck/common_rcl.o rootcheck/config.o rootcheck/os_string.o rootcheck/rootcheck-config.o rootcheck/rootcheck.o rootcheck/run_rk_check.o rootcheck/unix-process.o rootcheck/win-common.o rootcheck/win-process.o rootcheck/check_open_ports_rk.o rootcheck/check_rc_dev_rk.o rootcheck/check_rc_files_rk.o rootcheck/check_rc_if_rk.o rootcheck/check_rc_pids_rk.o rootcheck/check_rc_policy_rk.o rootcheck/check_rc_ports_rk.o rootcheck/check_rc_readproc_rk.o rootcheck/check_rc_sys_rk.o rootcheck/check_rc_trojans_rk.o rootcheck/common_rk.o rootcheck/common_rcl_rk.o rootcheck/config_rk.o rootcheck/os_string_rk.o rootcheck/rootcheck-config_rk.o rootcheck/rootcheck_rk.o rootcheck/run_rk_check_rk.o rootcheck/unix-process_rk.o rootcheck/win-common_rk.o rootcheck/win-process_rk.o rootcheck.a rm -f syscheckd/config.o syscheckd/create_db.o syscheckd/run_check.o syscheckd/run_realtime.o syscheckd/seechanges.o syscheckd/syscheck.o syscheckd/win-registry.o ossec-syscheckd rm -f monitord/compress_log.o monitord/generate_reports.o monitord/main.o monitord/manage_files.o monitord/monitor_agents.o monitord/monitord.o monitord/sendcustomemail.o monitord/sign_log.o ossec-monitord rm -f os_auth/check_cert.o os_auth/main-client.o os_auth/main-server.o os_auth/ssl-test.o os_auth/ssl.o ossec-authd agent-auth rm -f analysisd/cdb/cdb.o analysisd/cdb/cdb_hash.o analysisd/cdb/cdb_make.o analysisd/cdb/uint32_pack.o analysisd/cdb/uint32_unpack.o analysisd/alerts/exec.o analysisd/alerts/getloglocation.o analysisd/alerts/log.o analysisd/decoders/decode-xml.o analysisd/decoders/decoder.o analysisd/decoders/decoders_list.o analysisd/decoders/geoip.o analysisd/decoders/hostinfo.o analysisd/decoders/plugin_decoders.o analysisd/decoders/rootcheck.o analysisd/decoders/syscheck.o analysisd/decoders/plugins/ossecalert_decoder.o analysisd/decoders/plugins/pf_decoder.o analysisd/decoders/plugins/sonicwall_decoder.o analysisd/decoders/plugins/symantecws_decoder.o analysisd/compiled_rules/generic_samples.o analysisd/decoders/decode-xml-test.o analysisd/decoders/decoder-test.o analysisd/decoders/decoders_list-test.o analysisd/decoders/geoip-test.o analysisd/decoders/hostinfo-test.o analysisd/decoders/plugin_decoders-test.o analysisd/decoders/rootcheck-test.o analysisd/decoders/syscheck-test.o analysisd/decoders/plugins/ossecalert_decoder-test.o analysisd/decoders/plugins/pf_decoder-test.o analysisd/decoders/plugins/sonicwall_decoder-test.o analysisd/decoders/plugins/symantecws_decoder-test.o analysisd/compiled_rules/generic_samples-test.o analysisd/decoders/decode-xml-live.o analysisd/decoders/decoder-live.o analysisd/decoders/decoders_list-live.o analysisd/decoders/geoip-live.o analysisd/decoders/hostinfo-live.o analysisd/decoders/plugin_decoders-live.o analysisd/decoders/rootcheck-live.o analysisd/decoders/syscheck-live.o analysisd/decoders/plugins/ossecalert_decoder-live.o analysisd/decoders/plugins/pf_decoder-live.o analysisd/decoders/plugins/sonicwall_decoder-live.o analysisd/decoders/plugins/symantecws_decoder-live.o analysisd/compiled_rules/generic_samples-live.o analysisd/format/json_extended.o analysisd/format/to_json.o analysisd/output/jsonout.o analysisd/output/prelude.o analysisd/output/zeromq.o analysisd/accumulator.o analysisd/active-response.o analysisd/cleanevent.o analysisd/config.o analysisd/dodiff.o analysisd/eventinfo.o analysisd/eventinfo_list.o analysisd/fts.o analysisd/lists.o analysisd/lists_list.o analysisd/lists_make.o analysisd/rules.o analysisd/rules_list.o analysisd/stats.o analysisd/accumulator-test.o analysisd/active-response-test.o analysisd/cleanevent-test.o analysisd/config-test.o analysisd/dodiff-test.o analysisd/eventinfo-test.o analysisd/eventinfo_list-test.o analysisd/fts-test.o analysisd/lists-test.o analysisd/lists_list-test.o analysisd/lists_make-test.o analysisd/rules-test.o analysisd/rules_list-test.o analysisd/stats-test.o analysisd/accumulator-live.o analysisd/active-response-live.o analysisd/cleanevent-live.o analysisd/config-live.o analysisd/dodiff-live.o analysisd/eventinfo-live.o analysisd/eventinfo_list-live.o analysisd/fts-live.o analysisd/lists-live.o analysisd/lists_list-live.o analysisd/lists_make-live.o analysisd/rules-live.o analysisd/rules_list-live.o analysisd/stats-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.6.0/src' + make -j8 DATABASE=mysql MAXAGENTS=16384 USE_GEOIP=1 TARGET=server V=1 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.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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 /usr/include/string.h:532, from ./headers/shared.h:61, from os_maild/os_maild_client.c:10: In function 'strncpy', inlined from 'OS_RecvMailQ' at os_maild/os_maild_client.c:330:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/local/include -c os_dns/os_dns.c -o os_dns/os_dns.o os_dns/os_dns.c: In function 'osdns_accept': os_dns/os_dns.c:91:70: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'ssize_t' {aka 'int'} [-Wformat=] 91 | merror("%s [dns]: ERROR: DNS_REQ wrong length (%lu)", dname, datalen); | ~~^ ~~~~~~~ | | | | | ssize_t {aka int} | long unsigned int | %u make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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:34:29: warning: '%s' directive output may be truncated writing up to 129 bytes into a region of size 118 [-Wformat-truncation=] 34 | #define SUBJECT "Subject: %s\r\n" | ^~~~~~~~~~~~~~~~~ os_maild/sendmail.c:416:32: note: in expansion of macro 'SUBJECT' 416 | snprintf(snd_msg, 127, SUBJECT, _g_subject); | ^~~~~~~ os_maild/sendmail.c:34:39: note: format string is defined here 34 | #define SUBJECT "Subject: %s\r\n" | ^~ In file included from /usr/include/stdio.h:866, from /usr/include/event2/event.h:199, from /usr/include/event.h:69, from os_maild/sendmail.c:12: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 12 and 141 bytes into a destination of size 127 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/config.c -o config/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/custom_output_search_replace.c -o shared/custom_output_search_replace.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from shared/custom_output_search_replace.c:1: In function 'strncpy', inlined from 'searchAndReplace' at shared/custom_output_search_replace.c:41:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shared/custom_output_search_replace.c: In function 'searchAndReplace': shared/custom_output_search_replace.c:9:30: note: length computed here 9 | const size_t value_len = strlen(value); | ^~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/help.c -o shared/help.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/fs_op.c -o shared/fs_op.o shared/fs_op.c: In function 'IsNFS': shared/fs_op.c:49:47: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'const unsigned int'} and '__fsword_t' {aka 'int'} [-Wsign-compare] 49 | if(network_file_systems[i].f_type == stfs.f_type ) { | ^~ shared/fs_op.c: In function 'skipFS': shared/fs_op.c:86:44: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'const unsigned int'} and '__fsword_t' {aka 'int'} [-Wsign-compare] 86 | if(skip_file_systems[i].f_type == stfs.f_type ) { | ^~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c config/syscheck-config.c -o config/syscheck-config.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from config/syscheck-config.c:10: In function 'strncpy', inlined from 'Read_Syscheck' at config/syscheck-config.c:801:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 6143 bytes from a string of length 6143 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'Read_Syscheck' at config/syscheck-config.c:808:21: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config/syscheck-config.c: In function 'Read_Syscheck': config/syscheck-config.c:808:21: note: length computed here 808 | strncpy(syscheck->prefilter_cmd, cmd, strlen(cmd)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/randombytes.c -o shared/randombytes.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/read-alert.c -o shared/read-alert.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from shared/read-alert.c:12: In function 'strncpy', inlined from 'GetAlertData' at shared/read-alert.c:255:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shared/read-alert.c: In function 'GetAlertData': shared/read-alert.c:253:17: note: length computed here 253 | z = strlen(p) - strlen(m); | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/validate_op.c -o shared/validate_op.o 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=] 600 | snprintf(ret, 12, "%c%s%s", ng == 0 ? '.' : '!', first_hour, second_hour); | ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from shared/validate_op.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 2 and 14 bytes into a destination of size 12 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 595 | snprintf(ret, 12, "!%s%s", second_hour, first_hour); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from shared/validate_op.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 2 and 14 bytes into a destination of size 12 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_converter.c -o os_regex/os_converter.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2.c -o os_regex/os_pcre2.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c shared/read-agents.c -o shared/read-agents.o In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from shared/read-agents.c:10: In function 'snprintf', inlined from '_do_print_rootcheck' at shared/read-agents.c:659:17: /usr/include/bits/stdio2.h:70:10: warning: '%s' directive argument is null [-Wformat-truncation=] 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from shared/read-agents.c:10: In function 'strncpy', inlined from '_do_print_syscheck' at shared/read-agents.c:433:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 23 bytes from a string of length 24 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2_free_pattern.c -o os_regex/os_pcre2_free_pattern.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2_compile.c -o os_regex/os_pcre2_compile.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2_free_substrings.c -o os_regex/os_pcre2_free_substrings.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_pcre2_execute.c -o os_regex/os_pcre2_execute.o os_regex/os_pcre2_execute.c: In function 'OSPcre2_Execute_pcre2_match': os_regex/os_pcre2_execute.c:52:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 52 | if (sub_string_start != -1) { | ^~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_regex/os_regex_execute.c -o os_regex/os_regex_execute.o os_regex/os_regex_execute.c: In function 'OSRegex_Execute_pcre2_match': os_regex/os_regex_execute.c:57:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 57 | if (sub_string_start != -1) { | ^~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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=] 179 | "XMLERR: Unknown variable" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | ": '%s'.", lvar); | ~~~~ os_xml/os_xml_variables.c:180:46: note: format string is defined here 180 | ": '%s'.", lvar); | ^~ In file included from /usr/include/stdio.h:866, from os_xml/os_xml_variables.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 30 and 285 bytes into a destination of size 128 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-execd\" -c os_execd/exec.c -o os_execd/exec.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from os_execd/exec.c:10: In function 'strncpy', inlined from 'ReadExecConfig' at os_execd/exec.c:64:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 256 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'ReadExecConfig' at os_execd/exec.c:117:21: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' accessing 256 bytes at offsets [0, 16705] and [0, 16705] may overlap up to 256 bytes at offset [0, 255] [-Wrestrict] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-agentlessd\" -c agentlessd/agentlessd.c -o agentlessd/agentlessd.o agentlessd/agentlessd.c: In function 'run_periodic_cmd.isra': agentlessd/agentlessd.c:233:45: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size between 1015 and 2039 [-Wformat-truncation=] 233 | snprintf(diff_cmd, 2048, "diff \"%s\" \"%s\" > \"%s/%s->%s/diff.%d\" " | ^~ 234 | "2>/dev/null", 235 | tmp_location, old_location, | ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from agentlessd/agentlessd.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 63 or more bytes (assuming 2111) into a destination of size 2048 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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=] 436 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~ os_execd/execd.c:436:49: note: directive argument in the range [-2147483647, 6] 436 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from os_execd/execd.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 9 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 478 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~ os_execd/execd.c:478:49: note: directive argument in the range [-2147483647, 6] 478 | snprintf(ntimes, 9, "%d", ntimes_int); | ^~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from os_execd/execd.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 9 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_audit.c -o logcollector/read_audit.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_djb_multilog.c -o logcollector/read_djb_multilog.o logcollector/read_djb_multilog.c: In function 'read_djbmultilog': logcollector/read_djb_multilog.c:147:76: warning: '%s' directive output may be truncated writing up to 6118 bytes into a region of size between 5616 and 6128 [-Wformat-truncation=] 147 | snprintf(buffer, OS_MAXSTR, "%s %02d %02d:%02d:%02d %s %s: %s", | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from logcollector/read_djb_multilog.c:12: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 17 or more bytes (assuming 6647) into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_mssql_log.c -o logcollector/read_mssql_log.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_mssql_log.c:12: In function 'strncpy', inlined from 'read_mssql_log' at logcollector/read_mssql_log.c:111:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_mssql_log' at logcollector/read_mssql_log.c:102:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'read_mssql_log' at logcollector/read_mssql_log.c:137:17: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying 6144 bytes from a string of length 6144 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_multiline.c -o logcollector/read_multiline.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_multiline.c:10: In function 'strncpy', inlined from 'read_multiline' at logcollector/read_multiline.c:72:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying between 0 and 6142 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_mysql_log.c -o logcollector/read_mysql_log.o logcollector/read_mysql_log.c: In function 'read_mysql_log': logcollector/read_mysql_log.c:92:56: warning: '%s' directive output may be truncated writing up to 6129 bytes into a region of size between 6115 and 6132 [-Wformat-truncation=] 92 | snprintf(buffer, OS_MAXSTR, "MySQL log: %s %s", | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from logcollector/read_mysql_log.c:12: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 13 and 6159 bytes into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_multiline_indented.c -o logcollector/read_multiline_indented.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_multiline_indented.c:13: In function 'strncpy', inlined from 'read_multiline_indented' at logcollector/read_multiline_indented.c:100:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' output may be truncated copying between 4 and 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_postgresql_log.c -o logcollector/read_postgresql_log.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_postgresql_log.c:12: In function 'strncpy', inlined from 'read_postgresql_log' at logcollector/read_postgresql_log.c:107:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' output may be truncated copying between 2 and 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_postgresql_log' at logcollector/read_postgresql_log.c:99:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin___strncpy_chk' output may be truncated copying between 2 and 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_nmapg.c -o logcollector/read_nmapg.o logcollector/read_nmapg.c: In function 'read_nmapg': logcollector/read_nmapg.c:207:49: warning: ', open ports:' directive output may be truncated writing 13 bytes into a region of size between 0 and 6138 [-Wformat-truncation=] 207 | snprintf(final_msg, OS_MAXSTR, "Host: %s, open ports:", | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from logcollector/read_nmapg.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 20 and 6158 bytes into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_nmapg.c:10: In function 'strncat', inlined from 'read_nmapg' at logcollector/read_nmapg.c:231:13: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 27 and 6141 bytes from a string of length 6144 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_syslog.c -o logcollector/read_syslog.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-logcollector\" -c logcollector/read_snortfull.c -o logcollector/read_snortfull.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from logcollector/read_snortfull.c:10: In function 'strncpy', inlined from 'read_snortfull' at logcollector/read_snortfull.c:40:17: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 6144 bytes from a string of length 6144 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/config.c -o remoted/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/ar-forward.c -o remoted/ar-forward.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/remoted.c -o remoted/remoted.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/main.c -o remoted/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/secure.c -o remoted/secure.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src/external/lua-5.2.3/src' cc -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.6.0/src/external/lua-5.2.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/syslog.c -o remoted/syslog.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/sendmsg.c -o remoted/sendmsg.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/syslogtcp.c -o remoted/syslogtcp.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from remoted/syslogtcp.c:10: In function 'strncat', inlined from 'HandleClient' at remoted/syslogtcp.c:98:9: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 6144 bytes from a string of length 6145 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'HandleClient' at remoted/syslogtcp.c:129:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 6144 bytes from a string of length 6145 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'HandleClient' at remoted/syslogtcp.c:75:13: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 6144 bytes from a string of length 6145 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make[3]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src/external/lua-5.2.3/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/agentd.c -o client-agent/agentd.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/config.c -o client-agent/config.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./remoted -DARGV0=\"ossec-remoted\" -c remoted/manager.c -o remoted/manager.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from remoted/manager.c:10: In function 'strncpy', inlined from 'c_files' at remoted/manager.c:252:5: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'c_files' at remoted/manager.c:234:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/main.c -o client-agent/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/sendmsg.c -o client-agent/sendmsg.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/notify.c -o client-agent/notify.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -DARGV0=\"manage_agents\" -c addagent/b64.c -o addagent/b64.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -DARGV0=\"manage_agents\" -c addagent/main.c -o addagent/main.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -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:201:58: warning: '%s' directive output may be truncated writing up to 6145 bytes into a region of size 6136 [-Wformat-truncation=] 201 | snprintf(fmsg, OS_MAXSTR, "%c:%s:%s", LOCALFILE_MQ, | ^~ 202 | "ossec", msg); | ~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from client-agent/start_agent.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 9 and 6154 bytes into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./client-agent -DARGV0=\"ossec-agentd\" -c client-agent/receiver.c -o client-agent/receiver.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/syscheck_update.c -o util/syscheck_update.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/list_agents.c -o util/list_agents.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -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:375:41: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] 375 | snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); | ^~ ~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from addagent/manage_agents.h:10, from addagent/manage_agents.c:14: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 3 and 280 bytes into a destination of size 66 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/manage_agents.c:376:41: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] 376 | snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); | ^~ ~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from addagent/manage_agents.h:10, from addagent/manage_agents.c:14: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 3 or more bytes (assuming 260) into a destination of size 66 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -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:46:5: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector] 46 | int k_import(const char *cmdimport) | ^~~~~~~~ addagent/manage_keys.c: In function 'k_bulkload': addagent/manage_keys.c:462:37: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] 462 | snprintf(str1, STR_SIZE, "%d%s%d", (int)(time3 - time2), name, (int)rand1); | ^~ ~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from addagent/manage_agents.h:10, from addagent/manage_keys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 3 and 280 bytes into a destination of size 66 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addagent/manage_keys.c:463:37: warning: '%s' directive output may be truncated writing up to 257 bytes into a region of size between 55 and 65 [-Wformat-truncation=] 463 | snprintf(str2, STR_SIZE, "%d%s%s%d", (int)(time2 - time1), ip, id, (int)rand2); | ^~ ~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from addagent/manage_agents.h:10, from addagent/manage_keys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 3 and 537 bytes into a destination of size 66 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/verify-agent-conf.c -o util/verify-agent-conf.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./addagent -DARGV0=\"manage_agents\" -c addagent/validate.c -o addagent/validate.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/clear_stats.c -o util/clear_stats.o util/clear_stats.c: In function 'main': util/clear_stats.c:149:51: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 6144 [-Wformat-truncation=] 149 | snprintf(full_path, OS_MAXSTR, "%s/%s", dir_path, | ^ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from util/clear_stats.c:12: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 2 and 6401 bytes into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/ossec-regex.c -o util/ossec-regex.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/ossec-regex-convert.c -o util/ossec-regex-convert.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/agent_control.c -o util/agent_control.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/rootcheck_control.c -o util/rootcheck_control.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./util -DARGV0=\"utils\" -c util/syscheck_control.c -o util/syscheck_control.o util/syscheck_control.c: In function 'main': util/syscheck_control.c:416:13: warning: 'json_root' may be used uninitialized in this function [-Wmaybe-uninitialized] 416 | printf("%s", cJSON_PrintUnformatted(json_root)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.isra': 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=] 42 | snprintf(op_msg, OS_SIZE_1024, "File '%s' present on /dev." | ^~ ...... 135 | read_dev_file(f_name); | ~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_dev.c:11: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 47 and 4144 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_if.c -o rootcheck/check_rc_if.o In file included from /usr/include/string.h:532, from rootcheck/check_rc_if.c:18: In function 'strncpy', inlined from 'check_rc_if' at rootcheck/check_rc_if.c:84:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 511 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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=] 394 | "diff \"%s\" \"%s\" > \"%s\" 2> /dev/null", | ^~ 395 | new_tmp, | ~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from syscheckd/seechanges.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 29 and 18461 bytes into a destination of size 2048 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 126 | snprintf(diff_alert, 4096 - 1, "%s%s", | ^~ 127 | buf, n >= 19 ? | ~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from syscheckd/seechanges.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 1 and 6160 bytes into a destination of size 4095 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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:162:47: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1023 [-Wformat-truncation=] 162 | snprintf(file_path, OS_SIZE_1024, "%s/%s", basedir, file); | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_files.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1026) into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rootcheck/check_rc_files.c:168:54: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1015 [-Wformat-truncation=] 168 | snprintf(op_msg, OS_SIZE_1024, "Rootkit '%s' detected " | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_files.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 48 and 2096 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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=] 94 | snprintf(op_msg, OS_SIZE_1024, "Trojaned version of file " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 95 | "'%s' detected. Signature used: '%s' (%s).", 96 | file_path, | ~~~~~~~~~ rootcheck/check_rc_trojans.c:95:28: note: format string is defined here 95 | "'%s' detected. Signature used: '%s' (%s).", | ^~ rootcheck/check_rc_trojans.c:94:48: note: assuming directive output of 7 bytes 94 | snprintf(op_msg, OS_SIZE_1024, "Trojaned version of file " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_trojans.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 61 or more bytes (assuming 1092) into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"rootcheck\" -c rootcheck/check_rc_pids.c -o rootcheck/check_rc_pids.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.isra': 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=] 92 | snprintf(op_msg, OS_SIZE_1024, "Anomaly detected in file " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 294 | read_sys_file(f_name, do_read); | ~~~~~~ rootcheck/check_rc_sys.c:93:32: note: format string is defined here 93 | "'%s'. File size doesn't match what we found. " | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 99 and 4196 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 121 | snprintf(op_msg, OS_SIZE_1024, "File '%s' is owned by root " | ^~ ...... 294 | read_sys_file(f_name, do_read); | ~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 62 and 4159 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 39 | snprintf(op_msg, OS_SIZE_1024, "Anomaly detected in file '%s'. " | ^~ ...... 294 | read_sys_file(f_name, do_read); | ~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/check_rc_sys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 106 and 4203 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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=] 27 | 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, 32768] 27 | snprintf(command, OS_SIZE_1024, "%s -p %d 2> /dev/null", ps, mpid); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from rootcheck/unix-process.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 19 and 1047 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ./analysisd/compiled_rules/register_rule.sh build *Build completed. make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/ssl.c -o os_auth/ssl.o os_auth/ssl.c: In function 'get_ssl_context': os_auth/ssl.c:107:5: warning: 'TLSv1_2_method' is deprecated [-Wdeprecated-declarations] 107 | sslmeth = TLSv1_2_method(); | ^~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from os_auth/auth.h:38, from os_auth/ssl.c:28: /usr/include/openssl/ssl.h:1894:1: note: declared here 1894 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_method(void)) /* TLSv1.2 */ | ^~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/check_cert.c -o os_auth/check_cert.o os_auth/check_cert.c: In function 'asn1_to_cstr': os_auth/check_cert.c:306:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] 306 | if (!(tmp = (char *)ASN1_STRING_data(astr))) { | ^~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from os_auth/check_cert.h:30, from os_auth/check_cert.c:33: /usr/include/openssl/asn1.h:554:1: note: declared here 554 | DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) | ^~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./os_auth -DARGV0=\"ossec-authd\" -c os_auth/main-server.c -o os_auth/main-server.o os_auth/main-server.c: In function '__generatetmppass': os_auth/main-server.c:110:41: warning: '%s' directive output may be truncated writing up to 32 bytes into a region of size between 31 and 63 [-Wformat-truncation=] 110 | snprintf(str1, STR_SIZE, "%d%d%s%d%s%s",(int)time(0), rand1, muname, rand2, md3, md4); | ^~ ~~~ In file included from /usr/include/stdio.h:866, from /usr/include/openssl/crypto.h:20, from /usr/include/openssl/comp.h:16, from /usr/include/openssl/ssl.h:17, from os_auth/auth.h:38, from os_auth/main-server.c:38: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 68) into a destination of size 66 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_auth/main-server.c: In function 'main': os_auth/main-server.c:559:103: warning: '%s' directive output may be truncated writing up to 2048 bytes into a region of size 2004 [-Wformat-truncation=] 536 | agentname = fname; | ~~~~~ ...... 559 | snprintf(response, 2048, "ERROR: Internal manager error adding agent: %s\n\n", agentname); | ^~ In file included from /usr/include/stdio.h:866, from /usr/include/openssl/crypto.h:20, from /usr/include/openssl/comp.h:16, from /usr/include/openssl/ssl.h:17, from os_auth/auth.h:38, from os_auth/main-server.c:38: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 47 and 2095 bytes into a destination of size 2048 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -DARGV0=\"ossec-analysisd\" -I./analysisd -I./analysisd/decoders -c analysisd/format/json_extended.c -o analysisd/format/json_extended.o analysisd/format/json_extended.c: In function 'W_JSON_ParseLocation': analysisd/format/json_extended.c:276:65: warning: unused parameter 'archives' [-Wunused-parameter] 276 | void W_JSON_ParseLocation(cJSON* root, const Eventinfo* lf, int archives) | ~~~~^~~~~~~~ In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from ./analysisd/rules.h:17, from ./analysisd/eventinfo.h:13, from analysisd/format/json_extended.h:9, from analysisd/format/json_extended.c:6: In function 'strncpy', inlined from 'add_groupPCI' at analysisd/format/json_extended.c:193:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/format/json_extended.c: In function 'add_groupPCI': analysisd/format/json_extended.c:193:29: note: length computed here 193 | strncpy(aux, group, strlen(group) - 1 ); | ^~~~~~~~~~~~~ analysisd/format/json_extended.c:178:5: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector] 178 | int add_groupPCI(cJSON* rule, char* group, int firstPCI) | ^~~~~~~~~~~~ In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from ./analysisd/rules.h:17, from ./analysisd/eventinfo.h:13, from analysisd/format/json_extended.h:9, from analysisd/format/json_extended.c:6: In function 'strncpy', inlined from 'add_groupCIS' at analysisd/format/json_extended.c:214:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/format/json_extended.c: In function 'add_groupCIS': analysisd/format/json_extended.c:214:29: note: length computed here 214 | strncpy(aux, group, strlen(group) - 1); | ^~~~~~~~~~~~~ analysisd/format/json_extended.c:202:5: warning: stack protector not protecting local variables: variable length buffer [-Wstack-protector] 202 | int add_groupCIS(cJSON* rule, char* group, int firstCIS) | ^~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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 In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from analysisd/decoders/decode-xml.c:10: In function 'strncpy', inlined from '_loadmemory' at analysisd/decoders/decode-xml.c:842:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/decoders/decode-xml.c: In function '_loadmemory': analysisd/decoders/decode-xml.c:836:24: note: length computed here 836 | if ((strsize = strlen(str)) < OS_SIZE_8192) { | ^~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/dodiff.c -o analysisd/dodiff-test.o analysisd/dodiff.c: In function 'doDiff': analysisd/dodiff.c:100:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'const unsigned int'} [-Wformat=] 100 | merror("%s: ERROR: event size (%ld) too long for diff.", ARGV0, lf->size); | ~~^ ~~~~~~~~ | | | | long int size_t {aka const unsigned int} | %d make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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 analysisd/decoders/syscheck.c: In function 'DecodeSyscheck': analysisd/decoders/syscheck.c:487:46: warning: '%s' directive output may be truncated writing up to 161340 bytes into a region of size 237 [-Wformat-truncation=] 325 | saved_sum += 3; | ~~~~~~~~~~~~~~ ...... 487 | "Size changed from '%s' to '%s'\n", | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from ./analysisd/rules.h:17, from ./analysisd/eventinfo.h:13, from analysisd/decoders/syscheck.c:12: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 28 or more bytes (assuming 161368) into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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=] 40 | snprintf(b_filename, OS_MAXSTR - 1, "rules/%s", a_filename); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 7 and 6150 bytes into a destination of size 6143 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 41 | snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); | ^ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin_snprintf' output between 1 and 6144 bytes into a destination of size 6143 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 45 | snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); | ^ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin_snprintf' output between 1 and 6144 bytes into a destination of size 6143 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 48 | snprintf(b_filename, OS_MAXSTR - 1, "%s.cdb", a_filename); | ^~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 5 and 6148 bytes into a destination of size 6143 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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 In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from analysisd/decoders/decode-xml.c:10: In function 'strncpy', inlined from '_loadmemory' at analysisd/decoders/decode-xml.c:842:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/decoders/decode-xml.c: In function '_loadmemory': analysisd/decoders/decode-xml.c:836:24: note: length computed here 836 | if ((strsize = strlen(str)) < OS_SIZE_8192) { | ^~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/analysisd.c -o analysisd/analysisd-test.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from analysisd/analysisd.c:18: In function 'strncpy', inlined from 'OS_ReadMSG_analysisd' at analysisd/analysisd.c:655:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 3 bytes from a string of length 3 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'OS_ReadMSG_analysisd' at analysisd/analysisd.c:751:21: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 3 bytes from a string of length 3 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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 analysisd/decoders/syscheck.c: In function 'DecodeSyscheck': analysisd/decoders/syscheck.c:487:46: warning: '%s' directive output may be truncated writing up to 161340 bytes into a region of size 237 [-Wformat-truncation=] 325 | saved_sum += 3; | ~~~~~~~~~~~~~~ ...... 487 | "Size changed from '%s' to '%s'\n", | ^~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from ./analysisd/rules.h:17, from ./analysisd/eventinfo.h:13, from analysisd/decoders/syscheck.c:12: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 28 or more bytes (assuming 161368) into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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] 88 | int OS_Alert_InsertDB(const alert_data *al_data, DBConfig *db_config) | ^~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs libcJSON.a external/cJSON/cJSON.o ranlib libcJSON.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/include/mysql -DARGV0=\"ossec-dbd\" -c os_dbd/dbd_help.c -o os_dbd/dbd_help.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs config.a config/active-response.o config/agentlessd-config.o config/alerts-config.o config/client-config.o config/config.o config/csyslogd-config.o config/dbd-config.o config/email-alerts-config.o config/global-config.o config/localfile-config.o config/remote-config.o config/reports-config.o config/rootcheck-config.o config/rules-config.o config/syscheck-config.o ranlib config.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs shared.a shared/agent_op.o shared/custom_output_search_replace.o shared/debug_op.o shared/dirtree_op.o shared/file-queue.o shared/file_op.o shared/fs_op.o shared/hash_op.o shared/help.o shared/list_op.o shared/math_op.o shared/mem_op.o shared/mq_op.o shared/privsep_op.o shared/pthreads_op.o shared/randombytes.o shared/read-agents.o shared/read-alert.o shared/regex_op.o shared/report_op.o shared/rules_op.o shared/sig_op.o shared/store_op.o shared/string_op.o shared/validate_op.o shared/wait_op.o ranlib shared.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs os_regex.a os_regex/os_converter.o os_regex/os_match.o os_regex/os_match_compile.o os_regex/os_match_execute.o os_regex/os_match_free_pattern.o os_regex/os_pcre2.o os_regex/os_pcre2_compile.o os_regex/os_pcre2_execute.o os_regex/os_pcre2_free_pattern.o os_regex/os_pcre2_free_substrings.o os_regex/os_regex.o os_regex/os_regex_compile.o os_regex/os_regex_execute.o os_regex/os_regex_free_pattern.o os_regex/os_regex_free_substrings.o os_regex/os_regex_maps.o os_regex/os_regex_match.o os_regex/os_regex_startswith.o os_regex/os_regex_str.o os_regex/os_regex_strbreak.o ranlib os_regex.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs os_xml.a os_xml/os_xml.o os_xml/os_xml_access.o os_xml/os_xml_node_access.o os_xml/os_xml_variables.o os_xml/os_xml_writer.o ranlib os_xml.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs rootcheck.a rootcheck/check_open_ports.o rootcheck/check_rc_dev.o rootcheck/check_rc_files.o rootcheck/check_rc_if.o rootcheck/check_rc_pids.o rootcheck/check_rc_policy.o rootcheck/check_rc_ports.o rootcheck/check_rc_readproc.o rootcheck/check_rc_sys.o rootcheck/check_rc_trojans.o rootcheck/common.o rootcheck/common_rcl.o rootcheck/config.o rootcheck/os_string.o rootcheck/rootcheck.o rootcheck/run_rk_check.o rootcheck/unix-process.o rootcheck/win-common.o rootcheck/win-process.o ranlib rootcheck.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/dodiff.c -o analysisd/dodiff-live.o analysisd/dodiff.c: In function 'doDiff': analysisd/dodiff.c:100:42: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'const unsigned int'} [-Wformat=] 100 | merror("%s: ERROR: event size (%ld) too long for diff.", ARGV0, lf->size); | ~~^ ~~~~~~~~ | | | | long int size_t {aka const unsigned int} | %d make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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=] 40 | snprintf(b_filename, OS_MAXSTR - 1, "rules/%s", a_filename); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 7 and 6150 bytes into a destination of size 6143 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 41 | snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); | ^ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin_snprintf' output between 1 and 6144 bytes into a destination of size 6143 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 45 | snprintf(a_filename, OS_MAXSTR - 1, "%s", b_filename); | ^ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin_snprintf' output between 1 and 6144 bytes into a destination of size 6143 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 48 | snprintf(b_filename, OS_MAXSTR - 1, "%s.cdb", a_filename); | ^~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from ./config/global-config.h:13, from analysisd/config.h:14, from analysisd/lists.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 5 and 6148 bytes into a destination of size 6143 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs alerts.a analysisd/alerts/exec.o analysisd/alerts/getloglocation.o analysisd/alerts/log.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/rules.c -o analysisd/rules-test.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from analysisd/rules.h:17, from analysisd/rules.c:10: In function 'strncpy', inlined from 'loadmemory' at analysisd/rules.c:1573:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/rules.c: In function 'loadmemory': analysisd/rules.c:1567:24: note: length computed here 1567 | if ((strsize = strlen(str)) < OS_SIZE_2048) { | ^~~~~~~~~~~ analysisd/rules.c: In function 'Rules_OP_ReadRules': analysisd/rules.c:1187:25: warning: '%s' directive argument is null [-Wformat-overflow=] 1187 | merror(REGEX_COMPILE, ARGV0, id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1188 | config_ruleinfo->id_pcre2->error); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./headers/shared.h:217, from analysisd/rules.h:17, from analysisd/rules.c:10: ./error_messages/error_messages.h:193:67: note: format string is defined here 193 | #define REGEX_COMPILE "%s(1450): ERROR: Syntax error on regex: '%s': %d." | ^~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs cdb.a analysisd/cdb/cdb.o analysisd/cdb/cdb_hash.o analysisd/cdb/cdb_make.o analysisd/cdb/uint32_pack.o analysisd/cdb/uint32_unpack.o ranlib cdb.a make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs decoders-live.a analysisd/decoders/decode-xml-live.o analysisd/decoders/decoder-live.o analysisd/decoders/decoders_list-live.o analysisd/decoders/geoip-live.o analysisd/decoders/hostinfo-live.o analysisd/decoders/plugin_decoders-live.o analysisd/decoders/rootcheck-live.o analysisd/decoders/syscheck-live.o analysisd/decoders/plugins/ossecalert_decoder-live.o analysisd/decoders/plugins/pf_decoder-live.o analysisd/decoders/plugins/sonicwall_decoder-live.o analysisd/decoders/plugins/symantecws_decoder-live.o analysisd/compiled_rules/generic_samples-live.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' ar -crs decoders-test.a analysisd/decoders/decode-xml-test.o analysisd/decoders/decoder-test.o analysisd/decoders/decoders_list-test.o analysisd/decoders/geoip-test.o analysisd/decoders/hostinfo-test.o analysisd/decoders/plugin_decoders-test.o analysisd/decoders/rootcheck-test.o analysisd/decoders/syscheck-test.o analysisd/decoders/plugins/ossecalert_decoder-test.o analysisd/decoders/plugins/pf_decoder-test.o analysisd/decoders/plugins/sonicwall_decoder-test.o analysisd/decoders/plugins/symantecws_decoder-test.o analysisd/compiled_rules/generic_samples-test.o make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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:412:37: warning: '%s' directive output may be truncated writing up to 6145 bytes into a region of size between 6112 and 6144 [-Wformat-truncation=] 412 | snprintf(_finmsg, OS_MAXSTR, "%s%s", md5sum, _tmpmsg); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from os_crypto/shared/msgs.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 1 and 6178 bytes into a destination of size 6144 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -c os_crypto/shared/keys.c -o os_crypto/shared/keys.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from os_crypto/shared/keys.c:10: In function 'strncpy', inlined from 'OS_ReadKeys' at os_crypto/shared/keys.c:195:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 2048 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os_crypto/shared/keys.c: In function 'OS_ReadKeys': os_crypto/shared/keys.c:95:32: warning: '%s' directive output may be truncated writing up to 32 bytes into a region of size between 17 and 49 [-Wformat-truncation=] 95 | snprintf(_finalstr, 49, "%s%s", filesum2, filesum1); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from ./headers/shared.h:58, from os_crypto/shared/keys.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 1 and 65 bytes into a destination of size 49 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ os_execd/config.o os_execd/exec.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 -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o ossec-execd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ agentlessd/agentlessd.o agentlessd/main.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o ossec-agentlessd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ os_csyslogd/alert.o os_csyslogd/config.o os_csyslogd/csyslogd.o os_csyslogd/main.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 -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o ossec-csyslogd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/analysisd.c -o analysisd/analysisd-live.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from analysisd/analysisd.c:18: In function 'strncpy', inlined from 'OS_ReadMSG' at analysisd/analysisd.c:655:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 3 bytes from a string of length 3 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'OS_ReadMSG' at analysisd/analysisd.c:751:21: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 3 bytes from a string of length 3 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ addagent/b64.o addagent/main.o addagent/manage_agents.o addagent/manage_keys.o addagent/read_from_user.o addagent/validate.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o manage_agents make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ util/clear_stats.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o clear_stats make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ remoted/ar-forward.o remoted/config.o remoted/main.o remoted/manager.o remoted/remoted.o remoted/secure.o remoted/sendmsg.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 -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o ossec-remoted make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ logcollector/config.o logcollector/logcollector.o logcollector/main.o logcollector/read_audit.o logcollector/read_command.o logcollector/read_djb_multilog.o logcollector/read_fullcommand.o logcollector/read_mssql_log.o logcollector/read_multiline.o logcollector/read_multiline_indented.o logcollector/read_mysql_log.o logcollector/read_nmapg.o logcollector/read_ossecalert.o logcollector/read_postgresql_log.o logcollector/read_snortfull.o logcollector/read_syslog.o logcollector/read_win_el.o logcollector/read_win_event_channel.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o ossec-logcollector make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ 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 libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o syscheck_update make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ 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 libcJSON.a -lm -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o agent_control make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ util/list_agents.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o list_agents make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ 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 libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o syscheck_control make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ 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 libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o rootcheck_control make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ util/ossec-regex.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o ossec-regex make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ util/ossec-regex-convert.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o ossec-regex-convert make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ util/verify-agent-conf.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o verify-agent-conf make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_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 -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o ossec-reportd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ syscheckd/config.o syscheckd/create_db.o syscheckd/run_check.o syscheckd/run_realtime.o syscheckd/seechanges.o syscheckd/syscheck.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 -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o ossec-syscheckd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ monitord/compress_log.o monitord/generate_reports.o monitord/main.o monitord/manage_files.o monitord/monitor_agents.o monitord/monitord.o monitord/sendcustomemail.o monitord/sign_log.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o ossec-monitord make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ os_maild/config.o os_maild/mail_list.o os_maild/maild.o os_maild/os_maild_client.o os_maild/sendcustomemail.o os_maild/sendmail.o os_dns/os_dns.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -levent ./external/compat/imsg.c ./external/compat/imsg-buffer.c -o ossec-maild make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I./external/cJSON/ -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 libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o ossec-authd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DTESTRULE analysisd/accumulator-test.o analysisd/active-response-test.o analysisd/cleanevent-test.o analysisd/config-test.o analysisd/dodiff-test.o analysisd/eventinfo-test.o analysisd/eventinfo_list-test.o analysisd/fts-test.o analysisd/lists-test.o analysisd/lists_list-test.o analysisd/lists_make-test.o analysisd/rules-test.o analysisd/rules_list-test.o analysisd/stats-test.o analysisd/output/jsonout.o analysisd/output/prelude.o analysisd/output/zeromq.o analysisd/format/json_extended.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 libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o ossec-logtest make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -I/usr/include/mysql -I./external/cJSON/ os_dbd/alert.o os_dbd/config.o os_dbd/db_op.o os_dbd/dbd.o os_dbd/dbd_help.o os_dbd/main.o os_dbd/rules.o os_dbd/server.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 -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o ossec-dbd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ client-agent/agentd.o client-agent/config.o client-agent/event-forward.o client-agent/intcheck_op.o client-agent/main.o client-agent/notify.o client-agent/receiver-win.o client-agent/receiver.o client-agent/sendmsg.o client-agent/start_agent.o os_dns/os_dns.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -levent ./external/compat/imsg.c ./external/compat/imsg-buffer.c -o ossec-agentd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ -DARGV0=\"ossec-analysisd\" -I./analysisd -c analysisd/rules.c -o analysisd/rules-live.o In file included from /usr/include/string.h:532, from ./headers/shared.h:61, from analysisd/rules.h:17, from analysisd/rules.c:10: In function 'strncpy', inlined from 'loadmemory' at analysisd/rules.c:1573:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysisd/rules.c: In function 'loadmemory': analysisd/rules.c:1567:24: note: length computed here 1567 | if ((strsize = strlen(str)) < OS_SIZE_2048) { | ^~~~~~~~~~~ analysisd/rules.c: In function 'Rules_OP_ReadRules': analysisd/rules.c:1187:25: warning: '%s' directive argument is null [-Wformat-overflow=] 1187 | merror(REGEX_COMPILE, ARGV0, id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1188 | config_ruleinfo->id_pcre2->error); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./headers/shared.h:217, from analysisd/rules.h:17, from analysisd/rules.c:10: ./error_messages/error_messages.h:193:67: note: format string is defined here 193 | #define REGEX_COMPILE "%s(1450): ERROR: Syntax error on regex: '%s': %d." | ^~ make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ analysisd/makelists-live.o analysisd/accumulator-live.o analysisd/active-response-live.o analysisd/cleanevent-live.o analysisd/config-live.o analysisd/dodiff-live.o analysisd/eventinfo-live.o analysisd/eventinfo_list-live.o analysisd/fts-live.o analysisd/lists-live.o analysisd/lists_list-live.o analysisd/lists_make-live.o analysisd/rules-live.o analysisd/rules_list-live.o analysisd/stats-live.o analysisd/format/json_extended.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 libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o ossec-makelists make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR=\"/var/lib/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ analysisd/accumulator-live.o analysisd/active-response-live.o analysisd/cleanevent-live.o analysisd/config-live.o analysisd/dodiff-live.o analysisd/eventinfo-live.o analysisd/eventinfo_list-live.o analysisd/fts-live.o analysisd/lists-live.o analysisd/lists_list-live.o analysisd/lists_make-live.o analysisd/rules-live.o analysisd/rules_list-live.o analysisd/stats-live.o analysisd/analysisd-live.o analysisd/output/jsonout.o analysisd/output/prelude.o analysisd/output/zeromq.o analysisd/format/json_extended.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 libcJSON.a -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz -o ossec-analysisd make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' make settings make[1]: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.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: yes ZLIB_INCLUDE: ZLIB_LIB: os_zlib.a PCRE2 settings: PCRE2_SYSTEM: yes PCRE2_INCLUDE: 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: USE_PCRE2_JIT: yes Mysql settings: includes: -I/usr/include/mysql libs: -L/usr/lib -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 -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED Compiler: CFLAGS -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fpic -fPIE -Wformat -Wformat-security -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wstack-protector -I./external/compat -I./external/compat -DMAX_AGENTS=16384 -DOSSECHIDS -DDEFAULTDIR="/var/lib/ossec" -DUSER="ossec" -DREMUSER="ossecr" -DGROUPGLOBAL="ossec" -DMAILUSER="ossecm" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBGEOIP_ENABLED -DMYSQL_DATABASE_ENABLED -DLIBOPENSSL_ENABLED -Wall -Wextra -I./ -I./headers/ LDFLAGS -fPIE -pie -Wl,-z,relro -lm -lpthread -lpcre2-8 -lGeoIP -L/usr/lib -lmysqlclient -lssl -lcrypto -lz CC cc make[1]: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' MAKE make make: Entering directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' Done building server make: Leaving directory '/usr/src/RPM/BUILD/ossec-hids-3.6.0/src' + popd ~/RPM/BUILD/ossec-hids-3.6.0 + echo 'DIRECTORY="/var/lib/ossec"' + echo 'VERSION="3.6.0"' ++ date + echo 'DATE="Fri May 28 13:53:00 UTC 2021"' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.78928 + 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.6.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/lib/ossec/active-response/bin + mkdir -p /usr/src/tmp/ossec-hids-buildroot/usr/lib/ossec/agentless + mkdir -p /usr/src/tmp/ossec-hids-buildroot/usr/lib/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/lib/ossec/ossec-agent/active-response/bin + mkdir -p /usr/src/tmp/ossec-hids-buildroot/usr/lib/ossec/ossec-agent/agentless + mkdir -p /usr/src/tmp/ossec-hids-buildroot/usr/lib/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/cloudflare-ban.sh 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/lib/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/lib/ossec/ossec-agent/agentless + install -pD -m 0644 src/hybrid/agent-auth /usr/src/tmp/ossec-hids-buildroot/usr/lib/ossec/ossec-agent/bin + install -pD -m 0550 src/hybrid/manage_agent /usr/src/tmp/ossec-hids-buildroot/usr/lib/ossec/ossec-agent/bin/ + install -pD -m 0550 src/hybrid/ossec-agentd /usr/src/tmp/ossec-hids-buildroot/usr/lib/ossec/ossec-agent/bin/ + install -pD -m 0550 src/init/ossec-client.sh /usr/src/tmp/ossec-hids-buildroot/usr/lib/ossec/ossec-agent/bin/ossec-control + install -pD -m 0550 src/hybrid/ossec-execd /usr/src/tmp/ossec-hids-buildroot/usr/lib/ossec/ossec-agent/bin + install -pD -m 0550 src/hybrid/ossec-logcollector /usr/src/tmp/ossec-hids-buildroot/usr/lib/ossec/ossec-agent/bin + install -pD -m 0550 src/external/lua/src/ossec-lua /usr/src/tmp/ossec-hids-buildroot/usr/lib/ossec/ossec-agent/bin/ + install -pD -m 0550 src/external/lua/src/ossec-luac /usr/src/tmp/ossec-hids-buildroot/usr/lib/ossec/ossec-agent/bin/ + install -pD -m 0550 src/hybrid/ossec-syscheckd /usr/src/tmp/ossec-hids-buildroot/usr/lib/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_solaris11_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_pw.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/kesl_rules.xml etc/rules/last_rootlogin_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/mhn_cowrie_rules.xml etc/rules/mhn_dionaea_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/ms_powershell_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/topleveldomain_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.6.0/src ~/RPM/BUILD/ossec-hids-3.6.0 + install -pD -m 0550 clients/agent-auth /usr/src/tmp/ossec-hids-buildroot/usr/lib/ossec/bin + install -pD -m 0550 clients/client-logcollector /usr/src/tmp/ossec-hids-buildroot/usr/lib/ossec/bin + install -pD -m 0550 clients/client-syscheckd /usr/src/tmp/ossec-hids-buildroot/usr/lib/ossec/bin + install -pD -m 0550 clients/manage_agent /usr/src/tmp/ossec-hids-buildroot/usr/lib/ossec/bin + install -pD -m 0550 clients/ossec-agentd /usr/src/tmp/ossec-hids-buildroot/usr/lib/ossec/bin/ + ln -snf /usr/lib/ossec/bin/agent-auth /usr/src/tmp/ossec-hids-buildroot/usr/bin/agent-auth + ln -snf /usr/lib/ossec/bin/client-logcollector /usr/src/tmp/ossec-hids-buildroot/usr/bin/client-logcollector + ln -snf /usr/lib/ossec/bin/client-syscheckd /usr/src/tmp/ossec-hids-buildroot/usr/bin/client-syscheckd + ln -snf /usr/lib/ossec/bin/manage_agent /usr/src/tmp/ossec-hids-buildroot/usr/bin/manage_agent + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/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/lib/ossec/bin/ + ln -snf /usr/lib/ossec/bin/rootcheck_control /usr/src/tmp/ossec-hids-buildroot/usr/bin/rootcheck_control + ln -sf /usr/lib/ossec/bin/ossec-server.sh /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-control + install -pD -m 0550 external/lua/src/ossec-lua /usr/src/tmp/ossec-hids-buildroot/usr/lib/ossec/bin/ + install -pD -m 0550 external/lua/src/ossec-luac /usr/src/tmp/ossec-hids-buildroot/usr/lib/ossec/bin/ + install -pD -m 0550 ossec-dbd /usr/src/tmp/ossec-hids-buildroot/usr/lib/ossec/bin/ossec-dbd + install -pD -m 0550 postgres/ossec-dbd /usr/src/tmp/ossec-hids-buildroot/usr/lib/ossec/bin/ossec-pgsql-dbd + popd ~/RPM/BUILD/ossec-hids-3.6.0 + install -pD -m 0755 active-response/cloudflare-ban.sh 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/lib/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_solaris11_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_pw.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/lib/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/lib/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/lib/ossec/ossec-agent/bin/ossec-syscheckd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/ossec-agent/bin/ossec-luac' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/ossec-agent/bin/ossec-lua' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/ossec-agent/bin/ossec-logcollector' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/ossec-agent/bin/ossec-execd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/ossec-agent/bin/ossec-control' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/ossec-agent/bin/ossec-agentd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/ossec-agent/bin/manage_agent' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/ossec-agent/agentless/su.exp' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/ossec-agent/agentless/sshlogin.exp' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/ossec-agent/agentless/ssh_pixconfig_diff' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/ossec-agent/agentless/ssh_nopass.exp' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/ossec-agent/agentless/ssh_integrity_check_linux' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/ossec-agent/agentless/ssh_integrity_check_bsd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/ossec-agent/agentless/ssh_generic_diff' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/ossec-agent/agentless/ssh_foundry_diff' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/ossec-agent/agentless/ssh_asa-fwsmconfig_diff' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/ossec-agent/agentless/ssh.exp' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/ossec-agent/agentless/register_host.sh' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/ossec-agent/agentless/main.exp' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/ossec-server.sh' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/ossec-client.sh' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/ossec-pgsql-dbd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/ossec-dbd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/ossec-luac' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/ossec-lua' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/rootcheck_control' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/syscheck_control' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/agent_control' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/syscheck_update' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/ossec-regex' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/list_agents' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/clear_stats' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/verify-agent-conf' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/ossec-makelists' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/ossec-authd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/ossec-csyslogd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/ossec-logtest' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/ossec-remoted' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/ossec-maild' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/ossec-reportd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/ossec-monitord' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/ossec-analysisd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/ossec-agentlessd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/manage_agents' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/ossec-execd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/ossec-syscheckd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/ossec-logcollector' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/ossec-agentd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/manage_agent' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/client-syscheckd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/client-logcollector' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/bin/agent-auth' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/agentless/su.exp' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/agentless/sshlogin.exp' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/agentless/ssh_pixconfig_diff' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/agentless/ssh_nopass.exp' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/agentless/ssh_integrity_check_linux' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/agentless/ssh_integrity_check_bsd' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/agentless/ssh_generic_diff' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/agentless/ssh_foundry_diff' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/agentless/ssh_asa-fwsmconfig_diff' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/agentless/ssh.exp' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/ossec/agentless/register_host.sh' changed from 0550 (r-xr-x---) to 0750 (rwxr-x---) mode of 'usr/lib/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: (from :0) ./var/lib: (from :0) ./usr/lib: (from :0) 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) verify-elf: WARNING: ./usr/lib/ossec/ossec-agent/bin/ossec-syscheckd: uses non-LFS functions: __lxstat __xstat fcntl fopen mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/ossec-agent/bin/ossec-luac: uses non-LFS functions: fopen freopen verify-elf: WARNING: ./usr/lib/ossec/ossec-agent/bin/ossec-lua: uses non-LFS functions: fopen freopen mkstemp verify-elf: WARNING: ./usr/lib/ossec/ossec-agent/bin/ossec-logcollector: uses non-LFS functions: __xstat fcntl fopen mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/ossec-agent/bin/ossec-execd: uses non-LFS functions: __xstat fcntl fopen mkstemp open verify-elf: WARNING: ./usr/lib/ossec/ossec-agent/bin/ossec-agentd: uses non-LFS functions: __xstat fcntl fopen mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/ossec-agent/bin/manage_agent: uses non-LFS functions: __xstat fcntl fgetpos fopen fsetpos mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/ossec-agent/bin/agent-auth: uses non-LFS functions: __xstat fcntl fgetpos fopen fsetpos mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/ossec-pgsql-dbd: uses non-LFS functions: __xstat fcntl fopen mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/ossec-dbd: uses non-LFS functions: __xstat fcntl fopen mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/ossec-luac: uses non-LFS functions: fopen freopen verify-elf: WARNING: ./usr/lib/ossec/bin/ossec-lua: uses non-LFS functions: fopen freopen mkstemp verify-elf: WARNING: ./usr/lib/ossec/bin/rootcheck_control: uses non-LFS functions: __xstat fcntl fgetpos fopen fsetpos mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/syscheck_control: uses non-LFS functions: __xstat fcntl fgetpos fopen fsetpos mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/agent_control: uses non-LFS functions: __xstat fcntl fgetpos fopen fsetpos mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/syscheck_update: uses non-LFS functions: __xstat fcntl fgetpos fopen fsetpos mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/ossec-regex: uses non-LFS functions: __xstat fopen mkstemp open verify-elf: WARNING: ./usr/lib/ossec/bin/list_agents: uses non-LFS functions: __xstat fcntl fopen mkstemp open verify-elf: WARNING: ./usr/lib/ossec/bin/clear_stats: uses non-LFS functions: __xstat fopen mkstemp open verify-elf: WARNING: ./usr/lib/ossec/bin/verify-agent-conf: uses non-LFS functions: __xstat fcntl fopen mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/ossec-makelists: uses non-LFS functions: __fxstat __xstat fcntl fopen lseek mkstemp mmap open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/ossec-authd: uses non-LFS functions: __xstat fcntl fgetpos fopen fsetpos mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/ossec-csyslogd: uses non-LFS functions: __xstat fcntl fopen mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/ossec-logtest: uses non-LFS functions: __fxstat __xstat fcntl fopen lseek mkstemp mmap open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/ossec-remoted: uses non-LFS functions: __xstat fcntl fopen mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/ossec-maild: uses non-LFS functions: __xstat fcntl fopen mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/ossec-reportd: uses non-LFS functions: __xstat fopen mkstemp open verify-elf: WARNING: ./usr/lib/ossec/bin/ossec-monitord: uses non-LFS functions: __xstat fcntl fopen mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/ossec-analysisd: uses non-LFS functions: __fxstat __xstat fcntl fopen lseek mkstemp mmap open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/ossec-agentlessd: uses non-LFS functions: __xstat fcntl fopen mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/manage_agents: uses non-LFS functions: __xstat fcntl fgetpos fopen fsetpos mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/ossec-execd: uses non-LFS functions: __xstat fcntl fopen mkstemp open verify-elf: WARNING: ./usr/lib/ossec/bin/ossec-syscheckd: uses non-LFS functions: __lxstat __xstat fcntl fopen mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/ossec-logcollector: uses non-LFS functions: __xstat fcntl fopen mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/ossec-agentd: uses non-LFS functions: __xstat fcntl fopen mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/manage_agent: uses non-LFS functions: __xstat fcntl fgetpos fopen fsetpos mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/client-syscheckd: uses non-LFS functions: __lxstat __xstat fcntl fopen mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/client-logcollector: uses non-LFS functions: __xstat fcntl fopen mkstemp open readdir verify-elf: WARNING: ./usr/lib/ossec/bin/agent-auth: uses non-LFS functions: __xstat fcntl fgetpos fopen fsetpos mkstemp open readdir Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.81442 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ossec-hids-3.6.0 + pushd src ~/RPM/BUILD/ossec-hids-3.6.0/src ~/RPM/BUILD/ossec-hids-3.6.0 + popd ~/RPM/BUILD/ossec-hids-3.6.0 + exit 0 Processing files: ossec-hids-3.6.0-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.81442 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ossec-hids-3.6.0 + DOCDIR=/usr/src/tmp/ossec-hids-buildroot/usr/share/doc/ossec-hids-3.6.0 + export DOCDIR + rm -rf /usr/src/tmp/ossec-hids-buildroot/usr/share/doc/ossec-hids-3.6.0 + /bin/mkdir -p /usr/src/tmp/ossec-hids-buildroot/usr/share/doc/ossec-hids-3.6.0 + cp -prL BUGS CONFIG CONTRIBUTORS INSTALL LICENSE README.md CHANGELOG.md doc contrib /usr/src/tmp/ossec-hids-buildroot/usr/share/doc/ossec-hids-3.6.0 + chmod -R go-w /usr/src/tmp/ossec-hids-buildroot/usr/share/doc/ossec-hids-3.6.0 + chmod -R a+rX /usr/src/tmp/ossec-hids-buildroot/usr/share/doc/ossec-hids-3.6.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qQluUT find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.arArSS find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,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.C5DukR find-scriptlet-requires: FINDPACKAGE-COMMANDS: groupadd id useradd Requires: /bin/bash, /bin/sh, /etc/logrotate.d, /lib/ld-linux.so.2, /usr/bin/env, coreutils, curl, expect, grep, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.29), 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.1Y4gnR Processing files: ossec-hids-agent-3.6.0-alt1 warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/agent-auth -> /usr/lib/ossec/bin/agent-auth warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/client-logcollector -> /usr/lib/ossec/bin/client-logcollector warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/client-syscheckd -> /usr/lib/ossec/bin/client-syscheckd warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/manage_agent -> /usr/lib/ossec/bin/manage_agent warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-agentd -> /usr/lib/ossec/bin/ossec-agentd warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-analysisd -> /usr/lib/ossec/bin/ossec-analysisd warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-execd -> /usr/lib/ossec/bin/ossec-execd Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JElHyR find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/agent-auth -> /usr/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/ossec/bin/ossec-execd is not going to provide anything find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kr5HAT find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,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.oNAk3R 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.4AqF7P find-scriptlet-requires: FINDPACKAGE-COMMANDS: rm Requires: ossec-hids = 3.6.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, /lib/ld-linux.so.2, coreutils, grep, libGeoIP.so.1 >= set:lirQgL92WTABh7, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.27), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libcrypto.so.1.1 >= set:qlDCwEnyNAKqC9HLgRIKQQAW2LtUsYGpFl461bPdsActP5dp0cGjxlRjptmyNqDa47tWj1, libcrypto.so.1.1(OPENSSL_1_1_0), libevent_core-2.1.so.6 >= set:mjJ9b2p3cXl69M, libpcre2-8.so.0 >= set:kgJAZn6jc94cWvUdk4CaDYi6NCl3, libpthread.so.0(GLIBC_2.0), libpthread.so.0(GLIBC_2.2), libssl.so.1.1 >= set:mh0JWqbBFOMgJZcCZo6fwbhGdPyZycRpagVXPrh4TL4u0qmx0GBf, libssl.so.1.1(OPENSSL_1_1_0), libz.so.1 >= set:kiuXihG0, 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.spZfTT Creating ossec-hids-agent-debuginfo package Processing files: ossec-hids-hybrid-3.6.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JDZAhS find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.xkualQ find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,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.sxDeUQ 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.6.0-alt1, /bin/bash, /bin/sh, /etc/ossec-init.conf, /lib/ld-linux.so.2, /usr/bin/env, coreutils, curl, expect, grep, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.27), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libcrypto.so.1.1 >= set:qlDCwEnyNAKqC9HLgRIKQQAW2LtUsYGpFl461bPdsActP5dp0cGjxlRjptmyNqDa47tWj1, libcrypto.so.1.1(OPENSSL_1_1_0), libevent_core-2.1.so.6 >= set:mjJ9b2p3cXl69M, libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.29), libpcre2-8.so.0 >= set:kgJAZn6jc94cWvUdk4CaDYi6NCl3, libpthread.so.0(GLIBC_2.0), libpthread.so.0(GLIBC_2.2), libssl.so.1.1 >= set:mh0JWqbBFOMgJZcCZo6fwbhGdPyZycRpagVXPrh4TL4u0qmx0GBf, libssl.so.1.1(OPENSSL_1_1_0), libz.so.1 >= set:kiuXihG0, net-tools, procps, rtld(GNU_HASH), wget Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) 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.MiHsqU Creating ossec-hids-hybrid-debuginfo package Processing files: ossec-hids-mysql-3.6.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.sQFWiR find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HD32FR find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: ossec-hids-server = 3.6.0-alt1, /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.27), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libmysqlclient.so.21 >= set:kgMz2DJOFgLGe0ZyiLFReNTQ1, libmysqlclient.so.21(libmysqlclient_21.0), libpcre2-8.so.0 >= set:kgJAZn6jc94cWvUdk4CaDYi6NCl3, libpthread.so.0(GLIBC_2.0), 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.NS7c5P Creating ossec-hids-mysql-debuginfo package Processing files: ossec-hids-postgres-3.6.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hkbAWR find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.exhbHU find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,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.GfDTvT find-scriptlet-requires: FINDPACKAGE-COMMANDS: ln Requires: ossec-hids-server = 3.6.0-alt1, /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.27), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libpcre2-8.so.0 >= set:kgJAZn6jc94cWvUdk4CaDYi6NCl3, libpq.so.5 >= set:lhmyNuL6fTofV2wQf4QR1qCvQq0, libpthread.so.0(GLIBC_2.0), 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.dsShyU Creating ossec-hids-postgres-debuginfo package Processing files: ossec-hids-server-3.6.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/lib/ossec/bin/agent_control warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/clear_stats -> /usr/lib/ossec/bin/clear_stats warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/list_agents -> /usr/lib/ossec/bin/list_agents warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/manage_agents -> /usr/lib/ossec/bin/manage_agents warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-agentlessd -> /usr/lib/ossec/bin/ossec-agentlessd warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-analysisd -> /usr/lib/ossec/bin/ossec-analysisd warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-authd -> /usr/lib/ossec/bin/ossec-authd warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-control -> /usr/lib/ossec/bin/ossec-server.sh warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-csyslogd -> /usr/lib/ossec/bin/ossec-csyslogd warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-execd -> /usr/lib/ossec/bin/ossec-execd warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-logcollector -> /usr/lib/ossec/bin/ossec-logcollector warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-logtest -> /usr/lib/ossec/bin/ossec-logtest warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-maild -> /usr/lib/ossec/bin/ossec-maild warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-makelists -> /usr/lib/ossec/bin/ossec-makelists warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-monitord -> /usr/lib/ossec/bin/ossec-monitord warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-regex -> /usr/lib/ossec/bin/ossec-regex warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-remoted -> /usr/lib/ossec/bin/ossec-remoted warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-reportd -> /usr/lib/ossec/bin/ossec-reportd warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-syscheckd -> /usr/lib/ossec/bin/ossec-syscheckd warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/rootcheck_control -> /usr/lib/ossec/bin/rootcheck_control warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/syscheck_control -> /usr/lib/ossec/bin/syscheck_control warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/syscheck_update -> /usr/lib/ossec/bin/syscheck_update warning: absolute symlink: /usr/src/tmp/ossec-hids-buildroot/usr/bin/verify-agent-conf -> /usr/lib/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.7nWkFT find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/agent_control -> /usr/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/ossec/bin/ossec-authd is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-control -> /usr/lib/ossec/bin/ossec-server.sh is not going to provide anything find-provides: absolute symbolic link /usr/src/tmp/ossec-hids-buildroot/usr/bin/ossec-csyslogd -> /usr/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/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/lib/ossec/bin/verify-agent-conf is not going to provide anything find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TgxuwS find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) 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.F379KQ 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.7kSNaR 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.aErPtS find-scriptlet-requires: FINDPACKAGE-COMMANDS: rm Provides: ossec-server = 3.6.0-alt1 Requires: ossec-hids = 3.6.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, /lib/ld-linux.so.2, /usr/bin/env, coreutils, grep, libGeoIP.so.1 >= set:lirQgL92WTABh7, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.27), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.2), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libcrypto.so.1.1 >= set:qlDCwEnyNAKqC9HLgRIKQQAW2LtUsYGpFl461bPdsActP5dp0cGjxlRjptmyNqDa47tWj1, libcrypto.so.1.1(OPENSSL_1_1_0), libevent_core-2.1.so.6 >= set:mjJ9b2p3cXl69M, libpcre2-8.so.0 >= set:kgJAZn6jc94cWvUdk4CaDYi6NCl3, libpthread.so.0(GLIBC_2.0), libpthread.so.0(GLIBC_2.1), libpthread.so.0(GLIBC_2.2), libpthread.so.0(GLIBC_2.3.2), libssl.so.1.1 >= set:mhwyRDZsSipGcckrfrWz6fwbhGdPapYK5dRpagVXPrh4TL4u0qmx0GBf, libssl.so.1.1(OPENSSL_1_1_0), libz.so.1 >= set:khUJb7ovNJ1AHYFvK6, libz.so.1(ZLIB_1.2.3.3), 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.ZFdAgR Creating ossec-hids-server-debuginfo package Processing files: ossec-hids-agent-debuginfo-3.6.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.48QPoR find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.mCWuMT find-requires: running scripts (debuginfo) Requires: ossec-hids-agent = 3.6.0-alt1 Processing files: ossec-hids-hybrid-debuginfo-3.6.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GmrlQR find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Vu7N7R find-requires: running scripts (debuginfo) Requires: ossec-hids-hybrid = 3.6.0-alt1 Processing files: ossec-hids-mysql-debuginfo-3.6.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4jnUyS find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.SDGGeR find-requires: running scripts (debuginfo) Requires: ossec-hids-mysql = 3.6.0-alt1 Processing files: ossec-hids-postgres-debuginfo-3.6.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lz448P find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ptl8jS find-requires: running scripts (debuginfo) Requires: ossec-hids-postgres = 3.6.0-alt1 Processing files: ossec-hids-server-debuginfo-3.6.0-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Fodi2S find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bWHgKR find-requires: running scripts (debuginfo) Requires: ossec-hids-server = 3.6.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 86 sources provided by ossec-hids-server-debuginfo also prunning dir /usr/src/debug/ossec-hids-3.6.0/src/config also prunning dir /usr/src/debug/ossec-hids-3.6.0/src/external/compat also prunning dir /usr/src/debug/ossec-hids-3.6.0/src/os_net also prunning dir /usr/src/debug/ossec-hids-3.6.0/src/os_regex also prunning dir /usr/src/debug/ossec-hids-3.6.0/src/os_xml also prunning dir /usr/src/debug/ossec-hids-3.6.0/src/external Adding to ossec-hids-postgres-debuginfo a strict dependency on ossec-hids-server-debuginfo Removing from ossec-hids-postgres-debuginfo 86 sources provided by ossec-hids-server-debuginfo also prunning dir /usr/src/debug/ossec-hids-3.6.0/src/config also prunning dir /usr/src/debug/ossec-hids-3.6.0/src/external/compat also prunning dir /usr/src/debug/ossec-hids-3.6.0/src/os_net also prunning dir /usr/src/debug/ossec-hids-3.6.0/src/os_regex also prunning dir /usr/src/debug/ossec-hids-3.6.0/src/os_xml also prunning dir /usr/src/debug/ossec-hids-3.6.0/src/external warning: ossec-hids-hybrid: non-strict dependency on ossec-hids-agent warning: ossec-hids-hybrid: non-strict dependency on ossec-hids-server Removing 12 extra deps from ossec-hids-agent due to repentancy on ossec-hids Removing 20 extra deps from ossec-hids-hybrid due to repentancy on ossec-hids Removing 9 extra deps from ossec-hids-mysql due to repentancy on ossec-hids Removing 9 extra deps from ossec-hids-postgres due to repentancy on ossec-hids Removing 14 extra deps from ossec-hids-server due to repentancy on ossec-hids Removing 7 extra deps from ossec-hids-mysql due to repentancy on ossec-hids-server Removing 9 extra deps from ossec-hids-postgres due to repentancy on ossec-hids-server warning: File(s) packaged into both ossec-hids-agent-3.6.0-alt1 and ossec-hids-hybrid-3.6.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_solaris11_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_pw.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.6.0-alt1 and ossec-hids-server-3.6.0-alt1: /etc/ossec-init.conf /etc/rc.d/init.d/ossec-hids /usr/bin/ossec-analysisd /usr/bin/ossec-execd /usr/lib/ossec/bin/agent-auth /usr/lib/ossec/bin/ossec-agentd /usr/lib/ossec/bin/ossec-analysisd /usr/lib/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/i586/ossec-hids-3.6.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/ossec-hids-agent-3.6.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/ossec-hids-hybrid-3.6.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/ossec-hids-mysql-3.6.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/ossec-hids-postgres-3.6.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/ossec-hids-server-3.6.0-alt1.i586.rpm (w2T8.xzdio) Wrote: /usr/src/RPM/RPMS/i586/ossec-hids-agent-debuginfo-3.6.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/ossec-hids-hybrid-debuginfo-3.6.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/ossec-hids-mysql-debuginfo-3.6.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/ossec-hids-postgres-debuginfo-3.6.0-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/ossec-hids-server-debuginfo-3.6.0-alt1.i586.rpm (w2.lzdio) 142.84user 24.74system 1:35.05elapsed 176%CPU (0avgtext+0avgdata 71720maxresident)k 0inputs+0outputs (0major+8184835minor)pagefaults 0swaps 149.92user 27.97system 1:45.10elapsed 169%CPU (0avgtext+0avgdata 104084maxresident)k 8392inputs+0outputs (0major+8730462minor)pagefaults 0swaps --- ossec-hids-server-3.6.0-alt1.i586.rpm.repo 2021-04-19 11:18:53.000000000 +0000 +++ ossec-hids-server-3.6.0-alt1.i586.rpm.hasher 2021-05-28 13:54:16.565992679 +0000 @@ -262,3 +262,3 @@ Requires: ossec-hids = 3.6.0-alt1:sisyphus+270162.300.3.1 -Requires: rpmlib(PayloadIsLzma) +Requires: rpmlib(PayloadIsXz) Provides: ossec-server = 3.6.0-alt1