Improved alphanumeric_symbols regex to cover certain SCA remediation fields #16756
Wazuh CI / Build Linux amd64 agent deb package
succeeded
May 10, 2023 in 4m 53s
Packages_builder_debian
Below you have the stage output
Details
[truncated]
�[0m �[33mwazuh_db/wdb_metadata.o�[0m
�[34mCC�[0m �[33mwazuh_db/wdb_parser.o�[0m
�[34mCC�[0m �[33mwazuh_db/wdb_rootcheck.o�[0m
�[34mCC�[0m �[33mwazuh_db/wdb_sca.o�[0m
�[34mCC�[0m �[33mwazuh_db/wdb_scan_info.o�[0m
�[34mCC�[0m �[33mwazuh_db/wdb_state.o�[0m
�[34mCC�[0m �[33mwazuh_db/wdb_syscollector.o�[0m
�[34mCC�[0m �[33mwazuh_db/wdb_task.o�[0m
�[34mCC�[0m �[33mwazuh_db/wdb_upgrade.o�[0m
�[34mCC�[0m �[33mwazuh_db/helpers/wdb_agents_helpers.o�[0m
�[34mCC�[0m �[33mwazuh_db/helpers/wdb_global_helpers.o�[0m
�[34mCC�[0m �[33mwazuh_db/schema_agents.o�[0m
�[34mCC�[0m �[33mwazuh_db/schema_global.o�[0m
�[34mCC�[0m �[33mwazuh_db/schema_global_upgrade_v1.o�[0m
�[34mCC�[0m �[33mwazuh_db/schema_global_upgrade_v2.o�[0m
�[34mCC�[0m �[33mwazuh_db/schema_global_upgrade_v3.o�[0m
�[34mCC�[0m �[33mwazuh_db/schema_global_upgrade_v4.o�[0m
�[34mCC�[0m �[33mwazuh_db/schema_global_upgrade_v5.o�[0m
�[34mCC�[0m �[33mwazuh_db/schema_task_manager.o�[0m
�[34mCC�[0m �[33mwazuh_db/schema_upgrade_v1.o�[0m
�[34mCC�[0m �[33mwazuh_db/schema_upgrade_v10.o�[0m
�[34mCC�[0m �[33mwazuh_db/schema_upgrade_v2.o�[0m
�[34mCC�[0m �[33mwazuh_db/schema_upgrade_v3.o�[0m
�[34mCC�[0m �[33mwazuh_db/schema_upgrade_v4.o�[0m
�[34mCC�[0m �[33mwazuh_db/schema_upgrade_v5.o�[0m
�[34mCC�[0m �[33mwazuh_db/schema_upgrade_v6.o�[0m
�[34mCC�[0m �[33mwazuh_db/schema_upgrade_v7.o�[0m
�[34mCC�[0m �[33mwazuh_db/schema_upgrade_v8.o�[0m
�[34mCC�[0m �[33mwazuh_db/schema_upgrade_v9.o�[0m
�[34mCC�[0m �[33mwazuh_db/schema_vuln_detector.o�[0m
�[34mCC�[0m �[33mos_crypto/blowfish/bf_op.o�[0m
�[34mCC�[0m �[33mos_crypto/md5/md5_op.o�[0m
�[34mCC�[0m �[33mos_crypto/sha1/sha1_op.o�[0m
�[34mCC�[0m �[33mos_crypto/shared/keys.o�[0m
�[34mCC�[0m �[33mos_crypto/shared/msgs.o�[0m
�[34mCC�[0m �[33mos_crypto/md5_sha1/md5_sha1_op.o�[0m
�[34mCC�[0m �[33mos_crypto/md5_sha1_sha256/md5_sha1_sha256_op.o�[0m
�[34mCC�[0m �[33mos_crypto/sha256/sha256_op.o�[0m
�[34mCC�[0m �[33mos_crypto/sha512/sha512_op.o�[0m
�[34mCC�[0m �[33mos_crypto/aes/aes_op.o�[0m
�[34mCC�[0m �[33mos_crypto/hmac/hmac.o�[0m
�[34mCC�[0m �[33mos_crypto/signature/signature.o�[0m
�[34mCC�[0m �[33mshared/agent_op.o�[0m
�[34mCC�[0m �[33mshared/atomic.o�[0m
�[34mCC�[0m �[33mshared/audit_op.o�[0m
�[34mCC�[0m �[33mshared/auth_client.o�[0m
�[34mCC�[0m �[33mshared/b64.o�[0m
�[34mCC�[0m �[33mshared/bqueue_op.o�[0m
�[34mCC�[0m �[33mshared/buffer_op.o�[0m
�[34mCC�[0m �[33mshared/bzip2_op.o�[0m
�[34mCC�[0m �[33mshared/cluster_utils.o�[0m
�[34mCC�[0m �[33mshared/cryptography.o�[0m
�[34mCC�[0m �[33mshared/custom_output_search_replace.o�[0m
�[34mCC�[0m �[33mshared/debug_op.o�[0m
�[34mCC�[0m �[33mshared/dll_load_notify.o�[0m
�[34mCC�[0m �[33mshared/enrollment_op.o�[0m
�[34mCC�[0m �[33mshared/exec_op.o�[0m
�[34mCC�[0m �[33mshared/expression.o�[0m
�[34mCC�[0m �[33mshared/file-queue.o�[0m
�[34mCC�[0m �[33mshared/file_op.o�[0m
�[34mCC�[0m �[33mshared/fs_op.o�[0m
�[34mCC�[0m �[33mshared/hash_op.o�[0m
�[34mCC�[0m �[33mshared/help.o�[0m
�[34mCC�[0m �[33mshared/integrity_op.o�[0m
�[34mCC�[0m �[33mshared/json-queue.o�[0m
�[34mCC�[0m �[33mshared/json_op.o�[0m
�[34mCC�[0m �[33mshared/labels_op.o�[0m
�[34mCC�[0m �[33mshared/list_op.o�[0m
�[34mCC�[0m �[33mshared/log_builder.o�[0m
�[34mCC�[0m �[33mshared/logging_helper.o�[0m
�[34mCC�[0m �[33mshared/math_op.o�[0m
�[34mCC�[0m �[33mshared/mem_op.o�[0m
�[34mCC�[0m �[33mshared/mq_op.o�[0m
�[34mCC�[0m �[33mshared/notify_op.o�[0m
�[34mCC�[0m �[33mshared/os_utils.o�[0m
�[34mCC�[0m �[33mshared/privsep_op.o�[0m
�[34mCC�[0m �[33mshared/pthreads_op.o�[0m
�[34mCC�[0m �[33mshared/queue_linked_op.o�[0m
�[34mCC�[0m �[33mshared/queue_op.o�[0m
�[34mCC�[0m �[33mshared/randombytes.o�[0m
�[34mCC�[0m �[33mshared/rbtree_op.o�[0m
�[34mCC�[0m �[33mshared/read-agents.o�[0m
�[34mCC�[0m �[33mshared/read-alert.o�[0m
�[34mCC�[0m �[33mshared/regex_op.o�[0m
�[34mCC�[0m �[33mshared/remoted_op.o�[0m
�[34mCC�[0m �[33mshared/report_op.o�[0m
�[34mCC�[0m �[33mshared/request_op.o�[0m
�[34mCC�[0m �[33mshared/rootcheck_op.o�[0m
�[34mCC�[0m �[33mshared/rules_op.o�[0m
�[34mCC�[0m �[33mshared/rwlock_op.o�[0m
�[34mCC�[0m �[33mshared/schedule_scan.o�[0m
�[34mCC�[0m �[33mshared/sig_op.o�[0m
�[34mCC�[0m �[33mshared/store_op.o�[0m
�[34mCC�[0m �[33mshared/string_op.o�[0m
�[34mCC�[0m �[33mshared/sym_load.o�[0m
�[34mCC�[0m �[33mshared/syscheck_op.o�[0m
�[34mCC�[0m �[33mshared/sysinfo_utils.o�[0m
�[34mCC�[0m �[33mshared/time_op.o�[0m
�[34mCC�[0m �[33mshared/url.o�[0m
�[34mCC�[0m �[33mshared/utf8_op.o�[0m
�[34mCC�[0m �[33mshared/validate_op.o�[0m
�[34mCC�[0m �[33mshared/vector_op.o�[0m
�[34mCC�[0m �[33mshared/version_op.o�[0m
�[34mCC�[0m �[33mshared/wait_op.o�[0m
�[34mCC�[0m �[33mshared/wazuhdb_op.o�[0m
�[34mCC�[0m �[33mshared/yaml2json.o�[0m
�[34mCC�[0m �[33mos_net/os_net.o�[0m
�[34mCC�[0m �[33mos_regex/os_match.o�[0m
�[34mCC�[0m �[33mos_regex/os_match_compile.o�[0m
�[34mCC�[0m �[33mos_regex/os_match_execute.o�[0m
�[34mCC�[0m �[33mos_regex/os_match_free_pattern.o�[0m
�[34mCC�[0m �[33mos_regex/os_regex.o�[0m
�[34mCC�[0m �[33mos_regex/os_regex_compile.o�[0m
�[34mCC�[0m �[33mos_regex/os_regex_execute.o�[0m
�[34mCC�[0m �[33mos_regex/os_regex_free_pattern.o�[0m
�[34mCC�[0m �[33mos_regex/os_regex_maps.o�[0m
�[34mCC�[0m �[33mos_regex/os_regex_match.o�[0m
�[34mCC�[0m �[33mos_regex/os_regex_startswith.o�[0m
�[34mCC�[0m �[33mos_regex/os_regex_str.o�[0m
�[34mCC�[0m �[33mos_regex/os_regex_strbreak.o�[0m
�[34mCC�[0m �[33mos_xml/os_xml.o�[0m
�[34mCC�[0m �[33mos_xml/os_xml_access.o�[0m
�[34mCC�[0m �[33mos_xml/os_xml_node_access.o�[0m
�[34mCC�[0m �[33mos_xml/os_xml_variables.o�[0m
�[34mCC�[0m �[33mos_xml/os_xml_writer.o�[0m
�[34mCC�[0m �[33mos_zlib/os_zlib.o�[0m
�[34mCC�[0m �[33mos_auth/ssl.o�[0m
�[34mCC�[0m �[33mos_auth/check_cert.o�[0m
�[34mCC�[0m �[33maddagent/validate.o�[0m
�[34mCC�[0m �[33manalysisd/logmsg.o�[0m
�[34mCC�[0m �[33mos_auth/main-client.o�[0m
�[34mCC�[0m �[33mlogcollector/config.o�[0m
�[34mCC�[0m �[33mlogcollector/lccom.o�[0m
�[34mCC�[0m �[33mlogcollector/logcollector.o�[0m
�[34mCC�[0m �[33mlogcollector/macos_log.o�[0m
�[34mCC�[0m �[33mlogcollector/main.o�[0m
�[34mCC�[0m �[33mlogcollector/read_audit.o�[0m
�[34mCC�[0m �[33mlogcollector/read_command.o�[0m
�[34mCC�[0m �[33mlogcollector/read_djb_multilog.o�[0m
�[34mCC�[0m �[33mlogcollector/read_fullcommand.o�[0m
�[34mCC�[0m �[33mlogcollector/read_json.o�[0m
�[34mCC�[0m �[33mlogcollector/read_macos.o�[0m
�[34mCC�[0m �[33mlogcollector/read_mssql_log.o�[0m
�[34mCC�[0m �[33mlogcollector/read_multiline.o�[0m
�[34mCC�[0m �[33mlogcollector/read_multiline_regex.o�[0m
�[34mCC�[0m �[33mlogcollector/read_mysql_log.o�[0m
�[34mCC�[0m �[33mlogcollector/read_nmapg.o�[0m
�[34mCC�[0m �[33mlogcollector/read_ossecalert.o�[0m
�[34mCC�[0m �[33mlogcollector/read_postgresql_log.o�[0m
�[34mCC�[0m �[33mlogcollector/read_snortfull.o�[0m
�[34mCC�[0m �[33mlogcollector/read_syslog.o�[0m
�[34mCC�[0m �[33mlogcollector/read_ucs2_be.o�[0m
�[34mCC�[0m �[33mlogcollector/read_ucs2_le.o�[0m
�[34mCC�[0m �[33mlogcollector/read_win_el.o�[0m
�[34mCC�[0m �[33mlogcollector/read_win_event_channel.o�[0m
�[34mCC�[0m �[33mlogcollector/state.o�[0m
�[34mCC�[0m �[33mrootcheck/check_open_ports.o�[0m
�[34mCC�[0m �[33mrootcheck/check_rc_dev.o�[0m
�[34mCC�[0m �[33mrootcheck/check_rc_files.o�[0m
�[34mCC�[0m �[33mrootcheck/check_rc_if.o�[0m
�[34mCC�[0m �[33mrootcheck/check_rc_pids.o�[0m
�[34mCC�[0m �[33mrootcheck/check_rc_policy.o�[0m
�[34mCC�[0m �[33mrootcheck/check_rc_ports.o�[0m
�[34mCC�[0m �[33mrootcheck/check_rc_readproc.o�[0m
�[34mCC�[0m �[33mrootcheck/check_rc_sys.o�[0m
�[34mCC�[0m �[33mrootcheck/check_rc_trojans.o�[0m
�[34mCC�[0m �[33mrootcheck/common.o�[0m
�[34mCC�[0m �[33mrootcheck/common_rcl.o�[0m
�[34mCC�[0m �[33mrootcheck/config.o�[0m
�[34mCC�[0m �[33mrootcheck/os_string.o�[0m
�[34mCC�[0m �[33mrootcheck/rootcheck.o�[0m
�[34mCC�[0m �[33mrootcheck/run_rk_check.o�[0m
�[34mCC�[0m �[33mrootcheck/unix-process.o�[0m
�[34mCC�[0m �[33mrootcheck/win-common.o�[0m
�[34mCC�[0m �[33mrootcheck/win-process.o�[0m
cd shared_modules/dbsync/ && mkdir -p build && cd build && cmake .. && make
-- Configuring done
-- Generating done
-- Build files have been written to: /build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build
make[4]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
�[34mCC�[0m �[33mos_execd/config.o�[0m
�[34mCC�[0m �[33mos_execd/exec.o�[0m
make[5]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
[ 60%] Built target dbsync
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
�[34mCC�[0m �[33mos_execd/execd.o�[0m
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
[ 80%] Built target dbsync_example
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
[100%] Built target dbsync_test_tool
make[5]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
make[4]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
cd shared_modules/rsync/ && mkdir -p build && cd build && cmake .. && make
-- Configuring done
-- Generating done
-- Build files have been written to: /build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build
make[4]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
make[5]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
[ 37%] Built target rsync
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
[100%] Built target rsync_test_tool
make[5]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
make[4]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
�[34mCC�[0m �[33mos_execd/main.o�[0m
�[34mCC�[0m �[33mos_execd/wcom.o�[0m
�[34mCC�[0m �[33mactive-response/active_responses.o�[0m
�[34mCC�[0m �[33maddagent/main.o�[0m
�[34mCC�[0m �[33maddagent/manage_agents.o�[0m
�[34mCC�[0m �[33maddagent/manage_keys.o�[0m
�[34mCC�[0m �[33maddagent/read_from_user.o�[0m
�[34mCC�[0m �[33mactive-response/firewalls/default-firewall-drop.o�[0m
�[34mCC�[0m �[33mshared/file_op_proc.o�[0m
�[34mCC�[0m �[33mshared/debug_op_proc.o�[0m
�[34mCC�[0m �[33mactive-response/firewalls/pf.o�[0m
�[34mCC�[0m �[33mactive-response/firewalls/npf.o�[0m
�[34mCC�[0m �[33mactive-response/firewalls/ipfw.o�[0m
�[34mCC�[0m �[33mactive-response/firewalld-drop.o�[0m
�[34mCC�[0m �[33mactive-response/disable-account.o�[0m
�[34mCC�[0m �[33mactive-response/host-deny.o�[0m
�[34mCC�[0m �[33mactive-response/ip-customblock.o�[0m
�[34mCC�[0m �[33mactive-response/restart-wazuh.o�[0m
�[34mCC�[0m �[33mactive-response/route-null.o�[0m
�[34mCC�[0m �[33mactive-response/kaspersky.o�[0m
�[34mCC�[0m �[33mactive-response/wazuh-slack.o�[0m
�[34mCC�[0m �[33mwazuh_modules/main.o�[0m
�[34;1mLINK�[0m �[37;1mlibwazuh.a�[0m
�[34;1mRANLIB�[0m �[37;1mlibwazuh.a�[0m
�[34;1mLINK�[0m �[37;1mlibrootcheck.a�[0m
�[34;1mRANLIB�[0m �[37;1mlibrootcheck.a�[0m
�[34;1mCC�[0m �[37;1mwazuh-execd�[0m
�[34;1mCC�[0m �[37;1mmanage_agents�[0m
�[34;1mCC�[0m �[37;1mlibwazuhshared.so�[0m
�[34;1mCC�[0m �[37;1mwazuh-agentd�[0m
�[34;1mCC�[0m �[37;1magent-auth�[0m
�[34;1mCC�[0m �[37;1mwazuh-logcollector�[0m
cd syscheckd && mkdir -p build && cd build && cmake -DCMAKE_C_FLAGS="-DOSSECHIDS -DUSER=\"wazuh\" -DGROUPGLOBAL=\"wazuh\" -DLinux -DINOTIFY_ENABLED -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -DIMAGE_TRUST_CHE
CKS=1 -DCA_NAME='DigiCert High Assurance EV Root CA' -DENABLE_SYSC -DENABLE_CISCAT -DENABLE_AUDIT -DCLIENT -pipe -Wall -Wextra -std=gnu99" .. && make
�[34;1mCC�[0m �[37;1mdefault-firewall-drop�[0m
�[34;1mCC�[0m �[37;1mpf�[0m
�[34;1mCC�[0m �[37;1mnpf�[0m
�[34;1mCC�[0m �[37;1mipfw�[0m
-- The C compiler identification is GNU 9.4.0
�[34;1mCC�[0m �[37;1mfirewalld-drop�[0m
�[34;1mCC�[0m �[37;1mdisable-account�[0m
�[34;1mCC�[0m �[37;1mhost-deny�[0m
�[34;1mCC�[0m �[37;1mip-customblock�[0m
�[34;1mCC�[0m �[37;1mrestart-wazuh�[0m
�[34;1mCC�[0m �[37;1mroute-null�[0m
-- The CXX compiler identification is GNU 9.4.0
-- Detecting C compiler ABI info
�[34;1mCC�[0m �[37;1mkaspersky�[0m
�[34;1mCC�[0m �[37;1mwazuh-slack�[0m
�[34;1mCC�[0m �[37;1mwazuh-modulesd�[0m
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build
make[4]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
make[5]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
Scanning dependencies of target fimdb
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
[ 8%] Building CXX object src/db/CMakeFiles/fimdb.dir/src/dbFileItem.cpp.o
[ 8%] Building CXX object src/db/CMakeFiles/fimdb.dir/src/db.cpp.o
[ 12%] Building CXX object src/db/CMakeFiles/fimdb.dir/src/dbRegistryValue.cpp.o
[ 16%] Building CXX object src/db/CMakeFiles/fimdb.dir/src/dbRegistryKey.cpp.o
[ 20%] Building CXX object src/db/CMakeFiles/fimdb.dir/src/file.cpp.o
[ 24%] Building CXX object src/db/CMakeFiles/fimdb.dir/src/fimDB.cpp.o
[ 28%] Linking CXX shared library ../../lib/libfimdb.so
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
[ 28%] Built target fimdb
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
Scanning dependencies of target fimdb_test_tool
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
[ 32%] Building CXX object src/db/testtool/CMakeFiles/fimdb_test_tool.dir/main.cpp.o
Scanning dependencies of target wazuh-syscheckd
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
[ 40%] Building C object CMakeFiles/wazuh-syscheckd.dir/src/config.c.o
[ 40%] Building C object CMakeFiles/wazuh-syscheckd.dir/src/create_db.c.o
[ 44%] Building C object CMakeFiles/wazuh-syscheckd.dir/src/fim_diff_changes.c.o
/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/src/create_db.c: In function 'transaction_callback':
/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/src/create_db.c:322:12: warning: unused variable 'aux' [-Wunused-variable]
322 | cJSON *aux = NULL;
| ^~~
[ 48%] Building C object CMakeFiles/wazuh-syscheckd.dir/src/main.c.o
[ 52%] Building C object CMakeFiles/wazuh-syscheckd.dir/src/registry/events.c.o
[ 56%] Building C object CMakeFiles/wazuh-syscheckd.dir/src/registry/registry.c.o
[ 60%] Building C object CMakeFiles/wazuh-syscheckd.dir/src/run_check.c.o
[ 64%] Building C object CMakeFiles/wazuh-syscheckd.dir/src/run_realtime.c.o
[ 68%] Building C object CMakeFiles/wazuh-syscheckd.dir/src/syscheck.c.o
[ 72%] Building C object CMakeFiles/wazuh-syscheckd.dir/src/syscom.c.o
[ 76%] Building C object CMakeFiles/wazuh-syscheckd.dir/src/whodata/audit_healthcheck.c.o
[ 80%] Building C object CMakeFiles/wazuh-syscheckd.dir/src/whodata/audit_parse.c.o
[ 84%] Building C object CMakeFiles/wazuh-syscheckd.dir/src/whodata/audit_rule_handling.c.o
[ 88%] Building C object CMakeFiles/wazuh-syscheckd.dir/src/whodata/syscheck_audit.c.o
[ 92%] Building C object CMakeFiles/wazuh-syscheckd.dir/src/whodata/win_whodata.c.o
[ 96%] Linking C executable bin/wazuh-syscheckd
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
[ 96%] Built target wazuh-syscheckd
[100%] Linking CXX executable ../../../bin/fimdb_test_tool
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
[100%] Built target fimdb_test_tool
make[5]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
make[4]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
make[3]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src'
make settings
make[3]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src'
General settings:
TARGET: agent
V:
DEBUG: no
DEBUGAD
INSTALLDIR:
DATABASE:
ONEWAY: no
CLEANFULL: no
RESOURCES_URL: https://packages.wazuh.com/deps/21
EXTERNAL_SRC_ONLY:
User settings:
WAZUH_GROUP: wazuh
WAZUH_USER: wazuh
USE settings:
USE_ZEROMQ: no
USE_GEOIP: no
USE_PRELUDE: no
USE_INOTIFY: no
USE_BIG_ENDIAN: no
USE_SELINUX: yes
USE_AUDIT: yes
DISABLE_SYSC: no
DISABLE_CISCAT: no
IMAGE_TRUST_CHECKS: 1
CA_NAME: DigiCert High Assurance EV Root CA
Mysql settings:
includes:
libs:
Pgsql settings:
includes:
libs:
Defines:
-DOSSECHIDS -DUSER="wazuh" -DGROUPGLOBAL="wazuh" -DLinux -DINOTIFY_ENABLED -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -DIMAGE_TRUST_CHECKS=1 -DCA_NAME='DigiCert High Assurance EV Root CA' -DENABLE_SYSC -DE
NABLE_CISCAT -DENABLE_AUDIT -DCLIENT
Compiler:
CFLAGS -pthread -Iexternal/libdb/build_unix/ -Iexternal/pacman/lib/libalpm/ -Iexternal/libarchive/libarchive -Wl,--start-group -Iexternal/audit-userspace/lib -DNDEBUG -O2 -DOSSECHIDS -D
USER="wazuh" -DGROUPGLOBAL="wazuh" -DLinux -DINOTIFY_ENABLED -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -DIMAGE_TRUST_CHECKS=1 -DCA_NAME='DigiCert High Assurance EV Root CA' -DENABLE_SYSC -DENABLE_CISCAT -DENA
BLE_AUDIT -DCLIENT -pipe -Wall -Wextra -std=gnu99 -I./ -I./headers/ -Iexternal/openssl/include -Iexternal/cJSON/ -Iexternal/libyaml/include -Iexternal/curl/include -Iexternal/msgpack/include -Iexterna
l/bzip2/ -Ishared_modules/common -Ishared_modules/dbsync/include -Ishared_modules/rsync/include -Iwazuh_modules/syscollector/include -Idata_provider/include -Iexternal/libpcre2/include -Iexternal/rp
m//builddir/output/include -Isyscheckd/include
LDFLAGS '-Wl,-rpath,/../lib' -pthread -lrt -ldl -O2 -Lshared_modules/dbsync/build/lib -Lshared_modules/rsync/build/lib -Lwazuh_modules/syscollector/build/lib -Ldata_provider/build/lib -
Lsyscheckd/build/lib
LIBS -lrt -ldl -lm
CC gcc
MAKE make
make[3]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src'
�[32;1mDone building agent
�[0m
make[2]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src'
USER_LANGUAGE="en" \
USER_NO_STOP="y" \
USER_INSTALL_TYPE="agent" \
USER_DIR="/var/ossec" \
USER_DELETE_DIR="y" \
USER_ENABLE_ACTIVE_RESPONSE="y" \
USER_ENABLE_SYSCHECK="y" \
USER_ENABLE_ROOTCHECK="y" \
USER_ENABLE_OPENSCAP="y" \
USER_ENABLE_CISCAT="y" \
USER_ENABLE_SYSCOLLECTOR="y" \
USER_UPDATE="n" \
USER_AGENT_SERVER_IP="MANAGER_IP" \
USER_CA_STORE="/path/to/my_cert.pem" \
USER_AUTO_START="n" \
./install.sh
Wazuh v4.5.0 (Rev. 40500) Installation Script - https://www.wazuh.com
You are about to start the installation process of Wazuh.
You must have a C compiler pre-installed in your system.
- System: Linux ip-172-31-76-94.ec2.internal 5.10.178-162.673.amzn2.x86_64 (debian 7.0)
- User: root
- Host: ip-172-31-76-94.ec2.internal
-- Press ENTER to continue or Ctrl-C to abort. --
- Installation will be made at /var/ossec .
3- Configuring Wazuh.
3.2- Do you want to run the integrity check daemon? (y/n) [y]:
- Running syscheck (integrity check daemon).
3.3- Do you want to run the rootkit detection engine? (y/n) [y]:
- Running rootcheck (rootkit detection).
3.5 - Do you want to enable active response? (y/n) [y]:
- Active response enabled.
3.6- Remote upgrades use packages signed by the system maintainer. The
corresponding certificate (or root certificate) must be installed
in the system in order to verify the WPK packages. By default,
the root certificate by Wazuh is installed.
- Do you want to add more certificates? (y/n)? [n]: - Enter the path to a X509 certificate or a certificate folder:
Warning: No such file or directory "/path/to/my_cert.pem".
3.7- Setting the configuration to analyze the following logs:
-- /var/ossec/logs/active-responses.log
-- /var/log/dpkg.log
- If you want to monitor any other file, just change
the ossec.conf and add a new localfile entry.
Any questions about the configuration can be answered
by visiting us online at https://documentation.wazuh.com/.
--- Press ENTER to continue ---
4- Installing the system
DIR="/var/ossec"
- Running the Makefile
make[2]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src'
make build_sysinfo build_shared_modules build_syscollector
make[3]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src'
cd data_provider/ && mkdir -p build && cd build && cmake .. && make
cd shared_modules/dbsync/ && mkdir -p build && cd build && cmake .. && make
-- Configuring done
-- Configuring done
-- Generating done
-- Generating done
-- Build files have been written to: /build_wazuh/agent/wazuh-agent-4.5.0/src/data_provider/build
-- Build files have been written to: /build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build
make[4]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/data_provider/build'
make[4]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
make[5]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/data_provider/build'
make[5]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/data_provider/build'
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/data_provider/build'
[ 60%] Built target dbsync
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
[ 84%] Built target sysinfo
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/data_provider/build'
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/data_provider/build'
[ 80%] Built target dbsync_example
[100%] Built target dbsync_test_tool
make[5]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
[100%] Built target sysinfo_test_tool
make[5]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/data_provider/build'
make[4]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
cd shared_modules/rsync/ && mkdir -p build && cd build && cmake .. && make
make[4]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/data_provider/build'
-- Configuring done
-- Generating done
-- Build files have been written to: /build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build
make[4]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
make[5]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
[ 37%] Built target rsync
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
[100%] Built target rsync_test_tool
make[5]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
make[4]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
cd wazuh_modules/syscollector/ && mkdir -p build && cd build && cmake .. && make
-- Configuring done
-- Generating done
-- Build files have been written to: /build_wazuh/agent/wazuh-agent-4.5.0/src/wazuh_modules/syscollector/build
make[4]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/wazuh_modules/syscollector/build'
make[5]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/wazuh_modules/syscollector/build'
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/wazuh_modules/syscollector/build'
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/wazuh_modules/syscollector/build'
[ 66%] Built target syscollector
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/wazuh_modules/syscollector/build'
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/wazuh_modules/syscollector/build'
[100%] Built target syscollector_test_tool
make[5]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/wazuh_modules/syscollector/build'
make[4]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/wazuh_modules/syscollector/build'
make[3]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src'
make wazuh-agentd agent-auth wazuh-logcollector wazuh-syscheckd wazuh-execd manage_agents active-responses wazuh-modulesd
make[3]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src'
make[3]: `wazuh-agentd' is up to date.
make[3]: `agent-auth' is up to date.
make[3]: `wazuh-logcollector' is up to date.
cd shared_modules/dbsync/ && mkdir -p build && cd build && cmake .. && make
make[3]: `wazuh-execd' is up to date.
make[3]: `manage_agents' is up to date.
make[3]: Nothing to be done for `active-responses'.
make[3]: `wazuh-modulesd' is up to date.
-- Configuring done
-- Generating done
-- Build files have been written to: /build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build
make[4]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
make[5]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
[ 60%] Built target dbsync
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
[ 80%] Built target dbsync_example
[100%] Built target dbsync_test_tool
make[5]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
make[4]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build'
cd shared_modules/rsync/ && mkdir -p build && cd build && cmake .. && make
-- Configuring done
-- Generating done
-- Build files have been written to: /build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build
make[4]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
make[5]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
[ 37%] Built target rsync
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
[100%] Built target rsync_test_tool
make[5]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
make[4]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build'
cd syscheckd && mkdir -p build && cd build && cmake -DCMAKE_C_FLAGS="-DOSSECHIDS -DUSER=\"wazuh\" -DGROUPGLOBAL=\"wazuh\" -DLinux -DINOTIFY_ENABLED -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -DIMAGE_TRUST_CHE
CKS=1 -DCA_NAME='DigiCert High Assurance EV Root CA' -DENABLE_SYSC -DENABLE_CISCAT -DENABLE_AUDIT -DCLIENT -pipe -Wall -Wextra -std=gnu99" .. && make
-- Configuring done
-- Generating done
-- Build files have been written to: /build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build
make[4]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
make[5]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
[ 28%] Built target fimdb
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
make[6]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
[ 36%] Built target fimdb_test_tool
make[6]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
[100%] Built target wazuh-syscheckd
make[5]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
make[4]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build'
make[3]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src'
make settings
make[3]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0/src'
General settings:
TARGET: agent
V:
DEBUG:
DEBUGAD
INSTALLDIR: /var/ossec
DATABASE:
ONEWAY: no
CLEANFULL: no
RESOURCES_URL: https://packages.wazuh.com/deps/21
EXTERNAL_SRC_ONLY:
User settings:
WAZUH_GROUP: wazuh
WAZUH_USER: wazuh
USE settings:
USE_ZEROMQ: no
USE_GEOIP: no
USE_PRELUDE: no
USE_INOTIFY: no
USE_BIG_ENDIAN: no
USE_SELINUX: yes
USE_AUDIT: yes
DISABLE_SYSC: no
DISABLE_CISCAT: no
IMAGE_TRUST_CHECKS: 1
CA_NAME: DigiCert High Assurance EV Root CA
Mysql settings:
includes:
libs:
Pgsql settings:
includes:
libs:
Defines:
-DOSSECHIDS -DUSER="wazuh" -DGROUPGLOBAL="wazuh" -DLinux -DINOTIFY_ENABLED -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -DIMAGE_TRUST_CHECKS=1 -DCA_NAME='DigiCert High Assurance EV Root CA' -DENABLE_SYSC -DE
NABLE_CISCAT -DENABLE_AUDIT -DCLIENT
Compiler:
CFLAGS -pthread -Iexternal/libdb/build_unix/ -Iexternal/pacman/lib/libalpm/ -Iexternal/libarchive/libarchive -Wl,--start-group -Iexternal/audit-userspace/lib -DNDEBUG -O2 -DOSSECHIDS -D
USER="wazuh" -DGROUPGLOBAL="wazuh" -DLinux -DINOTIFY_ENABLED -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -DIMAGE_TRUST_CHECKS=1 -DCA_NAME='DigiCert High Assurance EV Root CA' -DENABLE_SYSC -DENABLE_CISCAT -DENA
BLE_AUDIT -DCLIENT -pipe -Wall -Wextra -std=gnu99 -I./ -I./headers/ -Iexternal/openssl/include -Iexternal/cJSON/ -Iexternal/libyaml/include -Iexternal/curl/include -Iexternal/msgpack/include -Iexterna
l/bzip2/ -Ishared_modules/common -Ishared_modules/dbsync/include -Ishared_modules/rsync/include -Iwazuh_modules/syscollector/include -Idata_provider/include -Iexternal/libpcre2/include -Iexternal/rp
m//builddir/output/include -Isyscheckd/include
LDFLAGS '-Wl,-rpath,/../lib' -pthread -lrt -ldl -O2 -Lshared_modules/dbsync/build/lib -Lshared_modules/rsync/build/lib -Lwazuh_modules/syscollector/build/lib -Ldata_provider/build/lib -
Lsyscheckd/build/lib
LIBS -lrt -ldl -lm
CC gcc
MAKE make
make[3]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src'
�[32;1mDone building agent
�[0m
make[2]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0/src'
Wait for success...
success
Removing old SCA policies...
Installing SCA policies...
- System is Debian (Ubuntu or derivative).
- Init script modified to start Wazuh during boot.
- Configuration finished properly.
- To start Wazuh:
/var/ossec/bin/wazuh-control start
- To stop Wazuh:
/var/ossec/bin/wazuh-control stop
- The configuration can be viewed or modified at /var/ossec/etc/ossec.conf
Thanks for using Wazuh.
Please don't hesitate to contact us if you need help or find
any bugs.
Use our public Mailing List at:
https://groups.google.com/forum/#!forum/wazuh
More information can be found at:
- http://www.wazuh.com
--- Press ENTER to finish (maybe more information below). ---
- More information at:
https://documentation.wazuh.com/
# Copying init.d script
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent/etc/init.d/
sed -i "s:WAZUH_HOME_TMP:/var/ossec:g" src/init/templates/ossec-hids-debian.init
cp src/init/templates/ossec-hids-debian.init /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent/etc/init.d/wazuh-agent
# Copying systemd file
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent/usr/lib/systemd/system/
sed -i "s:WAZUH_HOME_TMP:/var/ossec:g" src/init/templates/wazuh-agent.service
install -m 0644 src/init/templates/wazuh-agent.service /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent/usr/lib/systemd/system/
# Generating permission restoration file for postinstall
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"
# Remove preinstalled log files
rm -rf /var/ossec/logs/*.log
rm -rf /var/ossec/logs/*.json
# Clean the preinstalled configuration assesment files
rm -rf /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent/var/ossec/ruleset/sca
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent/var/ossec/ruleset/sca
./gen_permissions.sh /var/ossec/ /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/restore-permissions.sh
# Copying to target
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent/var/ossec/
cp -r /var/ossec/. /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent/var/ossec/
# Copying install scripts to /usr/share
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/
cp gen_ossec.sh /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/
cp add_localfiles.sh /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/src
cp src/VERSION /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/src/
cp src/REVISION /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/src/
# Install configuration assesment files and files templates
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/applications
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/generic
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/debian/7
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/debian/8
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/debian/9
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/debian/10
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/debian/11
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/ubuntu/12/04
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/ubuntu/14/04
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/ubuntu/16/04
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/ubuntu/18/04
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/ubuntu/20/04
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/ubuntu/22/04
cp -r ruleset/sca/* /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca
cp etc/templates/config/generic/sca.files /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/generic
cp etc/templates/config/generic/sca.manager.files /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/generic
cp etc/templates/config/debian/sca.files /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/debian
cp etc/templates/config/debian/7/sca.files /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/debian/7
cp etc/templates/config/debian/8/sca.files /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/debian/8
cp etc/templates/config/debian/9/sca.files /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/debian/9
cp etc/templates/config/debian/10/sca.files /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/debian/10
cp etc/templates/config/debian/11/sca.files /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/debian/11
cp etc/templates/config/ubuntu/sca.files /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/ubuntu
cp etc/templates/config/ubuntu/12/04/sca.files /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/ubuntu/12/04
cp etc/templates/config/ubuntu/14/04/sca.files /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/ubuntu/14/04
cp etc/templates/config/ubuntu/16/04/sca.files /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/ubuntu/16/04
cp etc/templates/config/ubuntu/18/04/sca.files /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/ubuntu/18/04
cp etc/templates/config/ubuntu/20/04/sca.files /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/ubuntu/20/04
cp etc/templates/config/ubuntu/22/04/sca.files /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/ubuntu/22/04
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/src/init
cp -r src/init/* /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/src/init
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/etc/templates/config/generic
cp -r etc/templates/config/generic /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/etc/templates/config/
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/etc/templates/config/debian
cp -r etc/templates/config/debian /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/etc/templates/config/
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/etc/templates/config/ubuntu
cp -r etc/templates/config/ubuntu /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/etc/templates/config/
# Copying systemd file
mkdir -p /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent/etc/systemd/system/
sed -i "s:WAZUH_HOME_TMP:/var/ossec:g" src/init/templates/wazuh-agent.service
cp src/init/templates/wazuh-agent.service /build_wazuh/agent/wazuh-agent-4.5.0/debian/wazuh-agent/etc/systemd/system/
make[1]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0'
dh_installdocs
install -g 0 -o 0 -d debian/wazuh-agent/usr/share/doc/wazuh-agent
install -g 0 -o 0 -m 644 -p debian/copyright debian/wazuh-agent/usr/share/doc/wazuh-agent/copyright
dh_installchangelogs
install -o 0 -g 0 -p -m644 debian/changelog debian/wazuh-agent/usr/share/doc/wazuh-agent/changelog.Debian
dh_installexamples
dh_installman
dh_installcatalogs
dh_installcron
dh_installdebconf
install -o 0 -g 0 -d debian/wazuh-agent/DEBIAN
install -o 0 -g 0 -m 644 -p debian/templates debian/wazuh-agent/DEBIAN/templates
(grep -s -v misc:Depends debian/wazuh-agent.substvars; echo "misc:Depends=debconf (>= 0.5) | debconf-2.0") > debian/wazuh-agent.substvars.new
mv debian/wazuh-agent.substvars.new debian/wazuh-agent.substvars
echo "# Automatically added by dh_installdebconf">> debian/wazuh-agent.postrm.debhelper
sed "" /usr/share/debhelper/autoscripts/postrm-debconf >> debian/wazuh-agent.postrm.debhelper
echo '# End automatically added section' >> debian/wazuh-agent.postrm.debhelper
dh_installemacsen
dh_installifupdown
dh_installinfo
dh_pysupport
dh_pysupport: This program is deprecated, you should use dh_python2 instead. Migration guide: http://deb.li/dhs2p
/usr/share/python-support/private/movemodules debian/wazuh-agent
(grep -s -v python:Depends debian/wazuh-agent.substvars; echo python:Depends=python) > debian/wazuh-agent.substvars.new
mv debian/wazuh-agent.substvars.new debian/wazuh-agent.substvars
dh_installinit
dh_installmenu
dh_installmime
dh_installmodules
dh_installlogcheck
dh_installlogrotate
dh_installpam
dh_installppp
dh_installudev
dh_installwm
dh_installxfonts
dh_installgsettings
dh_bugfiles
dh_ucf
dh_lintian
install -d debian/wazuh-agent/usr/share/lintian/overrides
install -p -m644 debian/wazuh-agent.lintian-overrides debian/wazuh-agent/usr/share/lintian/overrides/wazuh-agent
dh_gconf
dh_icons
dh_perl
dh_usrlocal
dh_link
dh_compress
cd debian/wazuh-agent
chmod a-x usr/share/doc/wazuh-agent/changelog.Debian
gzip -9nf usr/share/doc/wazuh-agent/changelog.Debian
cd '/build_wazuh/agent/wazuh-agent-4.5.0'
dh_fixperms
find debian/wazuh-agent -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
find debian/wazuh-agent ! -type l -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
find debian/wazuh-agent/usr/share/doc -type f ! -regex 'debian/wazuh-agent/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 644
find debian/wazuh-agent/usr/share/doc -type d -print0 2>/dev/null | xargs -0r chmod 755
find debian/wazuh-agent/usr/share/man debian/wazuh-agent/usr/man/ debian/wazuh-agent/usr/X11*/man/ -type f -print0 2>/dev/null | xargs -0r chmod 644
find debian/wazuh-agent -perm -5 -type f \( -name '*.so.*' -or -name '*.so' -or -name '*.la' -or -name '*.a' \) -print0 2>/dev/null | xargs -0r chmod 644
find debian/wazuh-agent/usr/include -type f -print0 2>/dev/null | xargs -0r chmod 644
find debian/wazuh-agent/usr/share/applications -type f -print0 2>/dev/null | xargs -0r chmod 644
find debian/wazuh-agent -perm -5 -type f \( -name '*.cmxs' \) -print0 2>/dev/null | xargs -0r chmod 644
find debian/wazuh-agent/usr/lib/perl5 debian/wazuh-agent/usr/share/perl5 -type f -perm -5 -name '*.pm' -print0 2>/dev/null | xargs -0r chmod a-X
find debian/wazuh-agent/etc/init.d -type f -print0 2>/dev/null | xargs -0r chmod a+x
find debian/wazuh-agent/usr/lib -type f -name '*.ali' -print0 2>/dev/null | xargs -0r chmod uga-w
find debian/wazuh-agent/usr/share/lintian/overrides -type f -print0 2>/dev/null | xargs -0r chmod 644
debian/rules override_dh_strip
make[1]: Entering directory `/build_wazuh/agent/wazuh-agent-4.5.0'
dh_strip --no-automatic-dbgsym
Unknown option: no-automatic-dbgsym
strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/wazuh-agent/var/ossec/lib/libwazuhshared.so
strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/wazuh-agent/var/ossec/lib/libwazuhext.so
strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/wazuh-agent/var/ossec/lib/libgcc_s.so.1
strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/wazuh-agent/var/ossec/lib/libdbsync.so
strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/wazuh-agent/var/ossec/lib/libsysinfo.so
strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/wazuh-agent/var/ossec/lib/libsyscollector.so
strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/wazuh-agent/var/ossec/lib/libfimdb.so
strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/wazuh-agent/var/ossec/lib/libstdc\+\+.so.6
strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/wazuh-agent/var/ossec/lib/librsync.so
strip --remove-section=.comment --remove-section=.note debian/wazuh-agent/var/ossec/bin/wazuh-logcollector
strip --remove-section=.comment --remove-section=.note debian/wazuh-agent/var/ossec/bin/wazuh-modulesd
strip --remove-section=.comment --remove-section=.note debian/wazuh-agent/var/ossec/bin/wazuh-agentd
strip --remove-section=.comment --remove-section=.note debian/wazuh-agent/var/ossec/bin/agent-auth
strip --remove-section=.comment --remove-section=.note debian/wazuh-agent/var/ossec/bin/wazuh-execd
strip --remove-section=.comment --remove-section=.note debian/wazuh-agent/var/ossec/bin/wazuh-syscheckd
strip --remove-section=.comment --remove-section=.note debian/wazuh-agent/var/ossec/bin/manage_agents
strip --remove-section=.comment --remove-section=.note debian/wazuh-agent/var/ossec/active-response/bin/pf
strip --remove-section=.comment --remove-section=.note debian/wazuh-agent/var/ossec/active-response/bin/firewalld-drop
strip --remove-section=.comment --remove-section=.note debian/wazuh-agent/var/ossec/active-response/bin/route-null
strip --remove-section=.comment --remove-section=.note debian/wazuh-agent/var/ossec/active-response/bin/ipfw
strip --remove-section=.comment --remove-section=.note debian/wazuh-agent/var/ossec/active-response/bin/wazuh-slack
strip --remove-section=.comment --remove-section=.note debian/wazuh-agent/var/ossec/active-response/bin/ip-customblock
strip --remove-section=.comment --remove-section=.note debian/wazuh-agent/var/ossec/active-response/bin/npf
strip --remove-section=.comment --remove-section=.note debian/wazuh-agent/var/ossec/active-response/bin/kaspersky
strip --remove-section=.comment --remove-section=.note debian/wazuh-agent/var/ossec/active-response/bin/disable-account
strip --remove-section=.comment --remove-section=.note debian/wazuh-agent/var/ossec/active-response/bin/host-deny
strip --remove-section=.comment --remove-section=.note debian/wazuh-agent/var/ossec/active-response/bin/restart-wazuh
strip --remove-section=.comment --remove-section=.note debian/wazuh-agent/var/ossec/active-response/bin/default-firewall-drop
strip --remove-section=.comment --remove-section=.note debian/wazuh-agent/var/ossec/active-response/bin/firewall-drop
make[1]: Leaving directory `/build_wazuh/agent/wazuh-agent-4.5.0'
dh_makeshlibs
rm -f debian/wazuh-agent/DEBIAN/shlibs
echo 'libgcc_s 1 wazuh-agent' >>debian/wazuh-agent/DEBIAN/shlibs
echo 'libstdc++ 6 wazuh-agent' >>debian/wazuh-agent/DEBIAN/shlibs
echo "# Automatically added by dh_makeshlibs">> debian/wazuh-agent.postinst.debhelper
sed "" /usr/share/debhelper/autoscripts/postinst-makeshlibs >> debian/wazuh-agent.postinst.debhelper
echo '# End automatically added section' >> debian/wazuh-agent.postinst.debhelper
echo "# Automatically added by dh_makeshlibs"> debian/wazuh-agent.postrm.debhelper.new
sed "" /usr/share/debhelper/autoscripts/postrm-makeshlibs >> debian/wazuh-agent.postrm.debhelper.new
echo '# End automatically added section' >> debian/wazuh-agent.postrm.debhelper.new
cat debian/wazuh-agent.postrm.debhelper >> debian/wazuh-agent.postrm.debhelper.new
mv debian/wazuh-agent.postrm.debhelper.new debian/wazuh-agent.postrm.debhelper
chmod 644 debian/wazuh-agent/DEBIAN/shlibs
chown 0:0 debian/wazuh-agent/DEBIAN/shlibs
dh_installdeb
perl -pe 's~#DEBHELPER#~qx{cat debian/wazuh-agent.postinst.debhelper}~eg' < debian/postinst > debian/wazuh-agent/DEBIAN/postinst
chown 0:0 debian/wazuh-agent/DEBIAN/postinst
chmod 755 debian/wazuh-agent/DEBIAN/postinst
sed s/#DEBHELPER#// < debian/preinst > debian/wazuh-agent/DEBIAN/preinst
chown 0:0 debian/wazuh-agent/DEBIAN/preinst
chmod 755 debian/wazuh-agent/DEBIAN/preinst
sed s/#DEBHELPER#// < debian/prerm > debian/wazuh-agent/DEBIAN/prerm
chown 0:0 debian/wazuh-agent/DEBIAN/prerm
chmod 755 debian/wazuh-agent/DEBIAN/prerm
perl -pe 's~#DEBHELPER#~qx{cat debian/wazuh-agent.postrm.debhelper}~eg' < debian/postrm > debian/wazuh-agent/DEBIAN/postrm
chown 0:0 debian/wazuh-agent/DEBIAN/postrm
chmod 755 debian/wazuh-agent/DEBIAN/postrm
install -o 0 -g 0 -m 644 -p debian/conffiles debian/wazuh-agent/DEBIAN/conffiles
find debian/wazuh-agent/etc -type f -printf '/etc/%P
' >> debian/wazuh-agent/DEBIAN/conffiles
chmod 644 debian/wazuh-agent/DEBIAN/conffiles
dh_gencontrol
dpkg-gencontrol -ldebian/changelog -Tdebian/wazuh-agent.substvars -Pdebian/wazuh-agent
dpkg-gencontrol: warning: Depends field of package wazuh-agent: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: package wazuh-agent: unused substitution variable ${misc:Depends}
dpkg-gencontrol: warning: package wazuh-agent: unused substitution variable ${python:Depends}
chmod 644 debian/wazuh-agent/DEBIAN/control
chown 0:0 debian/wazuh-agent/DEBIAN/control
dh_md5sums
(cd debian/wazuh-agent >/dev/null ; find . -type f ! -path "./etc/init.d/wazuh-agent" ! -path "./etc/systemd/system/wazuh-agent.service" ! -regex './DEBIAN/.*' -printf '%P\0' | LC_ALL=C sort -z | xa
rgs -r0 md5sum > DEBIAN/md5sums) >/dev/null
chmod 644 debian/wazuh-agent/DEBIAN/md5sums
chown 0:0 debian/wazuh-agent/DEBIAN/md5sums
dh_builddeb
dpkg-deb --build debian/wazuh-agent ..
dpkg-deb: building package `wazuh-agent' in `../wazuh-agent_4.5.0-0.commitdf2b5db_amd64.deb'.
dpkg-genchanges -b >../wazuh-agent_4.5.0-0.commitdf2b5db_amd64.changes
dpkg-genchanges: binary-only upload - not including any source code
dpkg-source --after-build wazuh-agent-4.5.0
dpkg-buildpackage: binary only upload (no source included)
Now running lintian...
warning: the authors of lintian do not recommend running it with root privileges!
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/bin/wazuh-syscheckd /build_wazuh/agent/wazuh-agent-4.5.0/src/syscheckd/build/lib
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/bin/wazuh-syscheckd /build_wazuh/agent/wazuh-agent-4.5.0/src
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/bin/wazuh-syscheckd /build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build/lib
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/bin/wazuh-syscheckd /build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build/lib
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libdbsync.so /build_wazuh/agent/wazuh-agent-4.5.0/src/external/sqlite
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libdbsync.so /build_wazuh/agent/wazuh-agent-4.5.0/src
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libdbsync.so /build_wazuh/agent/wazuh-agent-4.5.0/src/external/cJSON
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libfimdb.so /build_wazuh/agent/wazuh-agent-4.5.0/src
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libfimdb.so /build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build/lib
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libfimdb.so /build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build/lib
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/librsync.so /build_wazuh/agent/wazuh-agent-4.5.0/src
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/librsync.so /build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build/lib
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/librsync.so /build_wazuh/agent/wazuh-agent-4.5.0/src/external/cJSON
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/librsync.so /build_wazuh/agent/wazuh-agent-4.5.0/src/external/openssl
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsyscollector.so /build_wazuh/agent/wazuh-agent-4.5.0/src/external/bzip2
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsyscollector.so /build_wazuh/agent/wazuh-agent-4.5.0/src/external/sqlite
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsyscollector.so /build_wazuh/agent/wazuh-agent-4.5.0/src
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsyscollector.so /build_wazuh/agent/wazuh-agent-4.5.0/src/external/cJSON
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsyscollector.so /build_wazuh/agent/wazuh-agent-4.5.0/src/external/openssl
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsyscollector.so /build_wazuh/agent/wazuh-agent-4.5.0/src/external/procps
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsyscollector.so /build_wazuh/agent/wazuh-agent-4.5.0/src/data_provider/build/lib
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsyscollector.so /build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/dbsync/build/lib
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsyscollector.so /build_wazuh/agent/wazuh-agent-4.5.0/src/shared_modules/rsync/build/lib
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-4.5.0/src/external/bzip2
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-4.5.0/src/external/sqlite
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-4.5.0/src/external/libdb/build_unix
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-4.5.0/src
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-4.5.0/src/external/cJSON
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-4.5.0/src/external/openssl
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-4.5.0/src/external/pacman/lib/libalpm
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-4.5.0/src/external/libplist/bin/lib
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-4.5.0/src/external/procps
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-4.5.0/src/external/libarchive/.libs
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-4.5.0/src/external/rpm/builddir
W: wazuh-agent: syntax-error-in-debian-changelog line 147 "unrecognised line"
W: wazuh-agent: syntax-error-in-debian-changelog line 153 "unrecognised line"
W: wazuh-agent: syntax-error-in-debian-changelog line 165 "unrecognised line"
W: wazuh-agent: syntax-error-in-debian-changelog line 171 "unrecognised line"
W: wazuh-agent: syntax-error-in-debian-changelog line 181 "unrecognised line"
W: wazuh-agent: syntax-error-in-debian-changelog line 183 "found change data where expected next heading or eof"
W: wazuh-agent: syntax-error-in-debian-changelog line 211 "unrecognised line"
W: wazuh-agent: syntax-error-in-debian-changelog line 213 "found change data where expected next heading or eof"
W: wazuh-agent: syntax-error-in-debian-changelog line 217 "unrecognised line"
W: wazuh-agent: syntax-error-in-debian-changelog line 219 "found change data where expected next heading or eof"
W: wazuh-agent: syntax-error-in-debian-changelog line 223 "unrecognised line"
W: wazuh-agent: syntax-error-in-debian-changelog line 225 "found change data where expected next heading or eof"
W: wazuh-agent: syntax-error-in-debian-changelog line 231 "unrecognised line"
E: wazuh-agent: no-debconf-config
W: wazuh-agent: malformed-prompt-in-templates wazuh-agent/server-ip
W: wazuh-agent: too-long-short-description-in-templates wazuh-agent/server-ip
W: wazuh-agent: postrm-does-not-purge-debconf
W: wazuh-agent: description-too-long
E: wazuh-agent: extended-description-is-empty
W: wazuh-agent: breaks-without-version ossec-hids
W: wazuh-agent: breaks-without-version ossec-hids-agent
W: wazuh-agent: breaks-without-version wazuh-manager
W: wazuh-agent: script-in-etc-init.d-not-registered-via-update-rc.d etc/init.d/wazuh-agent
W: wazuh-agent: init.d-script-has-bad-lsb-line etc/init.d/wazuh-agent:18
E: wazuh-agent: init.d-script-does-not-implement-required-option etc/init.d/wazuh-agent force-reload
E: wazuh-agent: python-script-but-no-python-dep var/ossec/active-response/bin/kaspersky.py
E: wazuh-agent: missing-dep-for-interpreter expect => expect (var/ossec/agentless/main.exp)
E: wazuh-agent: missing-dep-for-interpreter expect => expect (var/ossec/agentless/ssh.exp)
E: wazuh-agent: missing-dep-for-interpreter expect => expect (var/ossec/agentless/ssh_asa-fwsmconfig_diff)
E: wazuh-agent: missing-dep-for-interpreter expect => expect (var/ossec/agentless/ssh_foundry_diff)
E: wazuh-agent: missing-dep-for-interpreter expect => expect (var/ossec/agentless/ssh_generic_diff)
E: wazuh-agent: missing-dep-for-interpreter expect => expect (var/ossec/agentless/ssh_integrity_check_bsd)
E: wazuh-agent: missing-dep-for-interpreter expect => expect (var/ossec/agentless/ssh_integrity_check_linux)
E: wazuh-agent: missing-dep-for-interpreter expect => expect (var/ossec/agentless/ssh_nopass.exp)
E: wazuh-agent: missing-dep-for-interpreter expect => expect (var/ossec/agentless/ssh_pixconfig_diff)
E: wazuh-agent: missing-dep-for-interpreter expect => expect (var/ossec/agentless/sshlogin.exp)
E: wazuh-agent: missing-dep-for-interpreter expect => expect (var/ossec/agentless/su.exp)
W: wazuh-agent: script-not-executable var/ossec/packages_files/agent_installation_scripts/src/init/darwin-delete-oldusers.sh
W: wazuh-agent: script-not-executable var/ossec/packages_files/agent_installation_scripts/src/init/dist-detect.sh
W: wazuh-agent: script-not-executable var/ossec/packages_files/agent_installation_scripts/src/init/inst-functions.sh
W: wazuh-agent: script-not-executable var/ossec/packages_files/agent_installation_scripts/src/init/pkg_installer.sh
W: wazuh-agent: script-not-executable var/ossec/packages_files/agent_installation_scripts/src/init/pkg_installer_mac.sh
W: wazuh-agent: script-not-executable var/ossec/packages_files/agent_installation_scripts/src/init/template-select.sh
E: wazuh-agent: missing-dep-for-interpreter ksh => ksh | mksh | pdksh | zsh (var/ossec/packages_files/agent_installation_scripts/src/init/templates/ossec-hids-aix.init)
W: wazuh-agent: unusual-interpreter var/ossec/packages_files/agent_installation_scripts/src/init/templates/ossec-hids-gentoo.init #!/sbin/runscript
W: wazuh-agent: script-not-executable var/ossec/packages_files/agent_installation_scripts/src/init/templates/ossec-hids-hpux.init
W: wazuh-agent: script-not-executable var/ossec/packages_files/agent_installation_scripts/src/init/wazuh-local.sh
W: wazuh-agent: script-not-executable var/ossec/packages_files/agent_installation_scripts/src/init/wazuh/wazuh.sh
E: wazuh-agent: python-script-but-no-python-dep var/ossec/wodles/aws/aws-s3
E: wazuh-agent: python-script-but-no-python-dep var/ossec/wodles/azure/azure-logs
E: wazuh-agent: python-script-but-no-python-dep var/ossec/wodles/docker/DockerListener
E: wazuh-agent: python-script-but-no-python-dep var/ossec/wodles/gcloud/buckets/access_logs.py
E: wazuh-agent: python-script-but-no-python-dep var/ossec/wodles/gcloud/buckets/bucket.py
E: wazuh-agent: python-script-but-no-python-dep var/ossec/wodles/gcloud/gcloud
E: wazuh-agent: python-script-but-no-python-dep var/ossec/wodles/gcloud/integration.py
E: wazuh-agent: python-script-but-no-python-dep var/ossec/wodles/gcloud/pubsub/subscriber.py
E: wazuh-agent: python-script-but-no-python-dep var/ossec/wodles/gcloud/tools.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/packages_files/agent_installation_scripts/etc/templates/config/generic/localfile-logs/snort-logs.template
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/utils.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/packages_files/agent_installation_scripts/etc/templates/config/generic/localfile-logs/ossec-logs.template
W: wazuh-agent: executable-not-elf-or-script var/ossec/packages_files/agent_installation_scripts/etc/templates/config/generic/localfile-logs/syslog-logs.template
W: wazuh-agent: executable-not-elf-or-script var/ossec/packages_files/agent_installation_scripts/etc/templates/config/generic/ar-definitions.template
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/azure/orm.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/packages_files/agent_installation_scripts/etc/templates/config/generic/localfile-logs/apache-logs.template
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/gcloud/exceptions.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/packages_files/agent_installation_scripts/etc/templates/config/generic/localfile-logs/audit-logs.template
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/__init__.py
N: 307 tags overridden (3 errors, 304 warnings)
Finished running lintian.
WARNING generated by debuild:
Making debian/rules executable!
+ deb_file=wazuh-agent_4.5.0-0.commitdf2b5db
+ [[ amd64 == \p\p\c\6\4\l\e ]]
+ deb_file=wazuh-agent_4.5.0-0.commitdf2b5db_amd64.deb
+ pkg_path=/build_wazuh/agent
+ [[ no == \y\e\s ]]
+ mv /build_wazuh/agent/wazuh-agent_4.5.0-0.commitdf2b5db_amd64.deb /var/local/wazuh