Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle Generic CPEs for "Running On" Configurations #23549

Closed

CL:

66d4bcf
Select commit
Loading
Failed to load commit list.
Closed

Handle Generic CPEs for "Running On" Configurations #23549

CL:
66d4bcf
Select commit
Loading
Failed to load commit list.
Wazuh CI / Build Linux arm32v7 agent deb package succeeded Jun 13, 2024 in 9m 41s

Packages_builder_debian

Below you have the stage output

Details

[truncated]
d::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_st
ring<char, std::char_traits<char>, std::allocator<char> >&>, std::tuple<>}; _Key = std::__cxx11::basic_string<char>; _Val = std::pair<const std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_2
::basic_json<> >; _KeyOfValue = std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_2::basic_json<> > >; _Compare = std::less<void>; _Alloc = std::allocator<std:
:pair<const std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_2::basic_json<> > >]':
/usr/local/gcc-9.4.0/include/c++/9.4.0/bits/stl_tree.h:2457:7: note: parameter passing for argument of type 'std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<
char>, nlohmann::json_abi_v3_11_2::basic_json<> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_2::basic_json<> > >, std::less<void>, std::allocator<std::
pair<const std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_2::basic_json<> > > >::const_iterator' {aka 'std::_Rb_tree_const_iterator<std::pair<const std::__cxx11::basic_string<char>, nlohma
nn::json_abi_v3_11_2::basic_json<> > >'} changed in GCC 7.1
 2457 |       _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/include/c++/9.4.0/map:61,
                 from /build_wazuh/agent/wazuh-agent-5.0.0/src/external/nlohmann/json.hpp:165,
                 from /build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/dbsync/include/dbsync.hpp:29,
                 from /build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/src/db/src/fimDB.hpp:14,
                 from /build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/src/db/src/fimDB.cpp:12:
/usr/local/gcc-9.4.0/include/c++/9.4.0/bits/stl_map.h: In member function 'bool nlohmann::json_abi_v3_11_2::detail::json_sax_dom_parser<BasicJsonType>::key(nlohmann::json_abi_v3_11_2::detail::json_sax
_dom_parser<BasicJsonType>::string_t&) [with BasicJsonType = nlohmann::json_abi_v3_11_2::basic_json<>]':
/usr/local/gcc-9.4.0/include/c++/9.4.0/bits/stl_map.h:499:8: note: parameter passing for argument of type 'std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<ch
ar>, nlohmann::json_abi_v3_11_2::basic_json<> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_2::basic_json<> > >, std::less<void>, std::allocator<std::pa
ir<const std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_2::basic_json<> > > >::const_iterator' {aka 'std::_Rb_tree_const_iterator<std::pair<const std::__cxx11::basic_string<char>, nlohmann
::json_abi_v3_11_2::basic_json<> > >'} changed in GCC 7.1
  499 |    __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
/usr/local/gcc-9.4.0/include/c++/9.4.0/bits/stl_map.h: In member function 'bool nlohmann::json_abi_v3_11_2::detail::json_sax_dom_callback_parser<BasicJsonType>::key(nlohmann::json_abi_v3_11_2::detail:
:json_sax_dom_callback_parser<BasicJsonType>::string_t&) [with BasicJsonType = nlohmann::json_abi_v3_11_2::basic_json<>]':
/usr/local/gcc-9.4.0/include/c++/9.4.0/bits/stl_map.h:499:8: note: parameter passing for argument of type 'std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<ch
ar>, nlohmann::json_abi_v3_11_2::basic_json<> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_2::basic_json<> > >, std::less<void>, std::allocator<std::pa
ir<const std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_2::basic_json<> > > >::const_iterator' {aka 'std::_Rb_tree_const_iterator<std::pair<const std::__cxx11::basic_string<char>, nlohmann
::json_abi_v3_11_2::basic_json<> > >'} changed in GCC 7.1
  499 |    __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
[ 28%] Linking CXX shared library ../../lib/libfimdb.so
make[6]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/build'
[ 28%] Built target fimdb
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/build'
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/build'
Scanning dependencies of target fimdb_test_tool
make[6]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/build'
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.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-5.0.0/src/syscheckd/build'
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/build'
[ 36%] Building C object CMakeFiles/wazuh-syscheckd.dir/src/config.c.o
[ 44%] 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
[ 48%] Building C object CMakeFiles/wazuh-syscheckd.dir/src/main.c.o
/build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/src/create_db.c: In function 'fim_get_checksum':
/build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/src/create_db.c:1372:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=]
 1372 |             "%d:%s:%s:%s:%s:%s:%s:%lu:%llu:%s:%s:%s",
      |              ~^
      |               |
      |               int
      |              %ld
 1373 |             data->size,
      |             ~~~~~~~~~~
      |                 |
      |                 long unsigned int
/build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/src/create_db.c:1389:15: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=]
 1389 |             "%d:%s:%s:%s:%s:%s:%s:%lu:%llu:%s:%s:%s",
      |              ~^
      |               |
      |               int
      |              %ld
 1390 |             data->size,
      |             ~~~~~~~~~~
      |                 |
      |                 long unsigned int
[ 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-5.0.0/src/syscheckd/build'
[ 96%] Built target wazuh-syscheckd
In file included from /usr/local/gcc-9.4.0/include/c++/9.4.0/map:60,
                 from /build_wazuh/agent/wazuh-agent-5.0.0/src/external/nlohmann/json.hpp:165,
                 from /build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/src/db/testtool/main.cpp:15:
/usr/local/gcc-9.4.0/include/c++/9.4.0/bits/stl_tree.h: In member function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:
:_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_st
ring<char, std::char_traits<char>, std::allocator<char> >&>, std::tuple<>}; _Key = std::__cxx11::basic_string<char>; _Val = std::pair<const std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_2
::basic_json<> >; _KeyOfValue = std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_2::basic_json<> > >; _Compare = std::less<void>; _Alloc = std::allocator<std:
:pair<const std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_2::basic_json<> > >]':
/usr/local/gcc-9.4.0/include/c++/9.4.0/bits/stl_tree.h:2457:7: note: parameter passing for argument of type 'std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<
char>, nlohmann::json_abi_v3_11_2::basic_json<> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_2::basic_json<> > >, std::less<void>, std::allocator<std::
pair<const std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_2::basic_json<> > > >::const_iterator' {aka 'std::_Rb_tree_const_iterator<std::pair<const std::__cxx11::basic_string<char>, nlohma
nn::json_abi_v3_11_2::basic_json<> > >'} changed in GCC 7.1
 2457 |       _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/gcc-9.4.0/include/c++/9.4.0/map:61,
                 from /build_wazuh/agent/wazuh-agent-5.0.0/src/external/nlohmann/json.hpp:165,
                 from /build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/src/db/testtool/main.cpp:15:
/usr/local/gcc-9.4.0/include/c++/9.4.0/bits/stl_map.h: In member function 'bool nlohmann::json_abi_v3_11_2::detail::json_sax_dom_parser<BasicJsonType>::key(nlohmann::json_abi_v3_11_2::detail::json_sax
_dom_parser<BasicJsonType>::string_t&) [with BasicJsonType = nlohmann::json_abi_v3_11_2::basic_json<>]':
/usr/local/gcc-9.4.0/include/c++/9.4.0/bits/stl_map.h:499:8: note: parameter passing for argument of type 'std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<ch
ar>, nlohmann::json_abi_v3_11_2::basic_json<> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_2::basic_json<> > >, std::less<void>, std::allocator<std::pa
ir<const std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_2::basic_json<> > > >::const_iterator' {aka 'std::_Rb_tree_const_iterator<std::pair<const std::__cxx11::basic_string<char>, nlohmann
::json_abi_v3_11_2::basic_json<> > >'} changed in GCC 7.1
  499 |    __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
/usr/local/gcc-9.4.0/include/c++/9.4.0/bits/stl_map.h: In member function 'bool nlohmann::json_abi_v3_11_2::detail::parser<BasicJsonType, InputAdapterType>::sax_parse_internal(SAX*) [with SAX = nlohma
nn::json_abi_v3_11_2::detail::json_sax_dom_parser<nlohmann::json_abi_v3_11_2::basic_json<> >; BasicJsonType = nlohmann::json_abi_v3_11_2::basic_json<>; InputAdapterType = nlohmann::json_abi_v3_11_2::d
etail::input_stream_adapter]':
/usr/local/gcc-9.4.0/include/c++/9.4.0/bits/stl_map.h:499:8: note: parameter passing for argument of type 'std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<ch
ar>, nlohmann::json_abi_v3_11_2::basic_json<> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_2::basic_json<> > >, std::less<void>, std::allocator<std::pa
ir<const std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_2::basic_json<> > > >::const_iterator' {aka 'std::_Rb_tree_const_iterator<std::pair<const std::__cxx11::basic_string<char>, nlohmann
::json_abi_v3_11_2::basic_json<> > >'} changed in GCC 7.1
  499 |    __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
/usr/local/gcc-9.4.0/include/c++/9.4.0/bits/stl_map.h: In member function 'bool nlohmann::json_abi_v3_11_2::detail::json_sax_dom_callback_parser<BasicJsonType>::key(nlohmann::json_abi_v3_11_2::detail:
:json_sax_dom_callback_parser<BasicJsonType>::string_t&) [with BasicJsonType = nlohmann::json_abi_v3_11_2::basic_json<>]':
/usr/local/gcc-9.4.0/include/c++/9.4.0/bits/stl_map.h:499:8: note: parameter passing for argument of type 'std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<ch
ar>, nlohmann::json_abi_v3_11_2::basic_json<> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_2::basic_json<> > >, std::less<void>, std::allocator<std::pa
ir<const std::__cxx11::basic_string<char>, nlohmann::json_abi_v3_11_2::basic_json<> > > >::const_iterator' {aka 'std::_Rb_tree_const_iterator<std::pair<const std::__cxx11::basic_string<char>, nlohmann
::json_abi_v3_11_2::basic_json<> > >'} changed in GCC 7.1
  499 |    __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
[100%] Linking CXX executable ../../../bin/fimdb_test_tool
make[6]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/build'
[100%] Built target fimdb_test_tool
make[5]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/build'
make[4]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/build'
make[3]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src'
make settings
make[3]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src'
Makefile:2650: warning: overriding recipe for target 'win32/ui_resource.o'
Makefile:2590: warning: ignoring old recipe for target 'win32/ui_resource.o'
Makefile:2653: warning: overriding recipe for target 'win32/auth_resource.o'
Makefile:2593: warning: ignoring old recipe for target 'win32/auth_resource.o'
General settings:
    TARGET:             agent
    V:                  
    DEBUG:              no
    DEBUGAD             
    INSTALLDIR:         
    DATABASE:           
    ONEWAY:             no
    CLEANFULL:          no
    RESOURCES_URL:      https://packages.wazuh.com/deps/30
    EXTERNAL_SRC_ONLY:  
    HTTP_REQUEST_BRANCH:v1.0.0
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 Assured ID 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 Assured ID Root CA' -DENABLE_SYSC -DENABLE_C
ISCAT -DENABLE_AUDIT -DCLIENT
Compiler:
    CFLAGS            -pthread -Iexternal/pacman/lib/libalpm/ -Iexternal/libarchive/libarchive -Wl,--start-group -Iexternal/audit-userspace/lib -DNDEBUG -O2 -DOSSECHIDS -DUSER="wazuh" -DGROUPGLOBAL="w
azuh" -DLinux -DINOTIFY_ENABLED -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -DIMAGE_TRUST_CHECKS=1 -DCA_NAME='DigiCert Assured ID Root CA' -DENABLE_SYSC -DENABLE_CISCAT -DENABLE_AUDIT -DCLIENT -pipe -Wall -Wext
ra -std=gnu99 -I./ -I./headers/ -Iexternal/openssl/include -Iexternal/cJSON/ -Iexternal/libyaml/include -Iexternal/curl/include -Iexternal/msgpack/include -Iexternal/bzip2/ -Ishared_modules/common -Is
hared_modules/dbsync/include -Ishared_modules/rsync/include -Iwazuh_modules/syscollector/include  -Idata_provider/include  -Iexternal/libpcre2/include -Iexternal/rpm//builddir/output/include -Isyschec
kd/include -Ishared_modules/router/include -Ishared_modules/content_manager/include -Iwazuh_modules/vulnerability_scanner/include -I./shared_modules/ 
    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-5.0.0/src'
�[32;1mDone building agent
�[0m
make[2]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.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 v5.0.0 (Rev. 50000) 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-144-13.ec2.internal 4.14.294-220.533.amzn2.aarch64 (debian 9.0)
  - User: root
  - Host: ip-172-31-144-13.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-5.0.0/src'
Makefile:2650: warning: overriding recipe for target 'win32/ui_resource.o'
Makefile:2590: warning: ignoring old recipe for target 'win32/ui_resource.o'
Makefile:2653: warning: overriding recipe for target 'win32/auth_resource.o'
Makefile:2593: warning: ignoring old recipe for target 'win32/auth_resource.o'
make build_sysinfo build_shared_modules build_syscollector
make[3]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src'
Makefile:2650: warning: overriding recipe for target 'win32/ui_resource.o'
Makefile:2590: warning: ignoring old recipe for target 'win32/ui_resource.o'
Makefile:2653: warning: overriding recipe for target 'win32/auth_resource.o'
Makefile:2593: warning: ignoring old recipe for target 'win32/auth_resource.o'
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
-- Build files have been written to: /build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/dbsync/build
make[4]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/dbsync/build'
-- Generating done
-- Build files have been written to: /build_wazuh/agent/wazuh-agent-5.0.0/src/data_provider/build
make[5]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/dbsync/build'
make[4]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/data_provider/build'
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/dbsync/build'
make[6]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/dbsync/build'
[ 60%] Built target dbsync
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/dbsync/build'
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/dbsync/build'
make[5]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/data_provider/build'
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/data_provider/build'
make[6]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/dbsync/build'
make[6]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/dbsync/build'
make[6]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.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-5.0.0/src/shared_modules/dbsync/build'
[ 16%] Built target urlrequest
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/data_provider/build'
make[4]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/dbsync/build'
cd shared_modules/rsync/ && mkdir -p build && cd build && cmake     .. && make
make[6]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/data_provider/build'
-- Configuring done
[ 88%] Built target sysinfo
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/data_provider/build'
-- Generating done
-- Build files have been written to: /build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/rsync/build
make[4]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/rsync/build'
make[6]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/data_provider/build'
[100%] Built target sysinfo_test_tool
make[5]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/data_provider/build'
make[5]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/rsync/build'
make[4]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/data_provider/build'
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/rsync/build'
make[6]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/rsync/build'
[ 37%] Built target rsync
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/rsync/build'
make[6]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/rsync/build'
[100%] Built target rsync_test_tool
make[5]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/rsync/build'
make[4]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/rsync/build'
cd wazuh_modules/syscollector/ && mkdir -p build && cd build && cmake -DTARGET=agent     .. && make
-- Configuring done
-- Generating done
-- Build files have been written to: /build_wazuh/agent/wazuh-agent-5.0.0/src/wazuh_modules/syscollector/build
make[4]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/wazuh_modules/syscollector/build'
make[5]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/wazuh_modules/syscollector/build'
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/wazuh_modules/syscollector/build'
make[6]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/wazuh_modules/syscollector/build'
[ 66%] Built target syscollector
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/wazuh_modules/syscollector/build'
make[6]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/wazuh_modules/syscollector/build'
[100%] Built target syscollector_test_tool
make[5]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/wazuh_modules/syscollector/build'
make[4]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/wazuh_modules/syscollector/build'
make[3]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.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-5.0.0/src'
Makefile:2650: warning: overriding recipe for target 'win32/ui_resource.o'
Makefile:2590: warning: ignoring old recipe for target 'win32/ui_resource.o'
Makefile:2653: warning: overriding recipe for target 'win32/auth_resource.o'
Makefile:2593: warning: ignoring old recipe for target 'win32/auth_resource.o'
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-5.0.0/src/shared_modules/dbsync/build
make[4]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/dbsync/build'
make[5]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/dbsync/build'
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/dbsync/build'
make[6]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/dbsync/build'
[ 60%] Built target dbsync
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/dbsync/build'
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/dbsync/build'
make[6]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/dbsync/build'
make[6]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.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-5.0.0/src/shared_modules/dbsync/build'
make[4]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.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-5.0.0/src/shared_modules/rsync/build
make[4]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/rsync/build'
make[5]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/rsync/build'
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/rsync/build'
make[6]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/rsync/build'
[ 37%] Built target rsync
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/rsync/build'
make[6]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/rsync/build'
[100%] Built target rsync_test_tool
make[5]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/rsync/build'
make[4]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.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 Assured ID 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-5.0.0/src/syscheckd/build
make[4]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/build'
make[5]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/build'
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/build'
make[6]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/build'
[ 28%] Built target fimdb
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/build'
make[6]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/build'
make[6]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/build'
[ 36%] Built target fimdb_test_tool
make[6]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/build'
[100%] Built target wazuh-syscheckd
make[5]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/build'
make[4]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/build'
make[3]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0/src'
make settings
make[3]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0/src'
Makefile:2650: warning: overriding recipe for target 'win32/ui_resource.o'
Makefile:2590: warning: ignoring old recipe for target 'win32/ui_resource.o'
Makefile:2653: warning: overriding recipe for target 'win32/auth_resource.o'
Makefile:2593: warning: ignoring old recipe for target 'win32/auth_resource.o'
General settings:
    TARGET:             agent
    V:                  
    DEBUG:              
    DEBUGAD             
    INSTALLDIR:         /var/ossec
    DATABASE:           
    ONEWAY:             no
    CLEANFULL:          no
    RESOURCES_URL:      https://packages.wazuh.com/deps/30
    EXTERNAL_SRC_ONLY:  
    HTTP_REQUEST_BRANCH:v1.0.0
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 Assured ID 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 Assured ID Root CA' -DENABLE_SYSC -DENABLE_C
ISCAT -DENABLE_AUDIT -DCLIENT
Compiler:
    CFLAGS            -pthread -Iexternal/pacman/lib/libalpm/ -Iexternal/libarchive/libarchive -Wl,--start-group -Iexternal/audit-userspace/lib -DNDEBUG -O2 -DOSSECHIDS -DUSER="wazuh" -DGROUPGLOBAL="w
azuh" -DLinux -DINOTIFY_ENABLED -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -DIMAGE_TRUST_CHECKS=1 -DCA_NAME='DigiCert Assured ID Root CA' -DENABLE_SYSC -DENABLE_CISCAT -DENABLE_AUDIT -DCLIENT -pipe -Wall -Wext
ra -std=gnu99 -I./ -I./headers/ -Iexternal/openssl/include -Iexternal/cJSON/ -Iexternal/libyaml/include -Iexternal/curl/include -Iexternal/msgpack/include -Iexternal/bzip2/ -Ishared_modules/common -Is
hared_modules/dbsync/include -Ishared_modules/rsync/include -Iwazuh_modules/syscollector/include  -Idata_provider/include  -Iexternal/libpcre2/include -Iexternal/rpm//builddir/output/include -Isyschec
kd/include -Ishared_modules/router/include -Ishared_modules/content_manager/include -Iwazuh_modules/vulnerability_scanner/include -I./shared_modules/ 
    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-5.0.0/src'
�[32;1mDone building agent
�[0m
make[2]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.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-5.0.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-5.0.0/debian/wazuh-agent/etc/init.d/wazuh-agent
# Copying systemd file
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.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-5.0.0/debian/wazuh-agent/usr/lib/systemd/system/
# Generating permission restoration file for postinstall
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.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-5.0.0/debian/wazuh-agent/var/ossec/ruleset/sca
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent/var/ossec/ruleset/sca
./gen_permissions.sh /var/ossec/ /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/restore-permissions.sh
# Copying to target
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent/var/ossec/
cp -r /var/ossec/. /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent/var/ossec/
# Copying install scripts to /usr/share
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/
cp gen_ossec.sh /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/
cp add_localfiles.sh /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/src
cp src/VERSION /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/src/
cp src/REVISION /build_wazuh/agent/wazuh-agent-5.0.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-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/applications
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/generic
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/debian/7
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/debian/8
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/debian/9
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/debian/10
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/debian/11
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/debian/12
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/ubuntu/12/04
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/ubuntu/14/04
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/ubuntu/16/04
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/ubuntu/18/04
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/ubuntu/20/04
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/ubuntu/22/04
cp -r ruleset/sca/* /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca
cp etc/templates/config/generic/sca.files /build_wazuh/agent/wazuh-agent-5.0.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-5.0.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-5.0.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-5.0.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-5.0.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-5.0.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-5.0.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-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/debian/11
cp etc/templates/config/debian/12/sca.files /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/debian/12
cp etc/templates/config/ubuntu/sca.files /build_wazuh/agent/wazuh-agent-5.0.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-5.0.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-5.0.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-5.0.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-5.0.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-5.0.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-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/sca/ubuntu/22/04
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/src/init
cp -r src/init/*  /build_wazuh/agent/wazuh-agent-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/src/init
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.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-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/etc/templates/config/
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.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-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/etc/templates/config/
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.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-5.0.0/debian/wazuh-agent"/var/ossec/packages_files/agent_installation_scripts"/etc/templates/config/
# Copying systemd file
mkdir -p /build_wazuh/agent/wazuh-agent-5.0.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-5.0.0/debian/wazuh-agent/etc/systemd/system/
make[1]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.0'
   dh_installdocs
	install -d debian/wazuh-agent/usr/share/doc/wazuh-agent
	install -p -m0644 debian/copyright debian/wazuh-agent/usr/share/doc/wazuh-agent/copyright
   dh_installchangelogs
dh_installchangelogs: Compatibility levels before 9 are deprecated (level 7 in use)
	install -p -m0644 debian/changelog debian/wazuh-agent/usr/share/doc/wazuh-agent/changelog.Debian
	install -p -m0644 ./CHANGELOG.md debian/wazuh-agent/usr/share/doc/wazuh-agent/changelog
   dh_installdebconf
	install -d debian/wazuh-agent/DEBIAN
	install -p -m0644 debian/templates debian/wazuh-agent/DEBIAN/templates
	(grep -a -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_lintian
	install -d debian/wazuh-agent/usr/share/lintian/overrides
dh_lintian: Compatibility levels before 9 are deprecated (level 7 in use)
	install -p -m0644 debian/wazuh-agent.lintian-overrides debian/wazuh-agent/usr/share/lintian/overrides/wazuh-agent
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
	cd debian/wazuh-agent
	chmod a-x usr/share/doc/wazuh-agent/changelog usr/share/doc/wazuh-agent/changelog.Debian
	gzip -9nf usr/share/doc/wazuh-agent/changelog usr/share/doc/wazuh-agent/changelog.Debian
	cd '/build_wazuh/agent/wazuh-agent-5.0.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 0644
	find debian/wazuh-agent/usr/share/doc -type d  -print0 2>/dev/null | xargs -0r chmod 0755
	find debian/wazuh-agent/usr/share/man -type f  -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/wazuh-agent/usr/include -type f  -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/wazuh-agent/usr/share/applications -type f  -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/wazuh-agent/usr/lib/arm-linux-gnueabihf/perl5/5.24 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 -perm -5 -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name
 '*.gif' -o -name '*.cmxs' \)  -print0 2>/dev/null | xargs -0r chmod 0644
	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 0644
   debian/rules override_dh_strip
make[1]: Entering directory '/build_wazuh/agent/wazuh-agent-5.0.0'
dh_strip --no-automatic-dbgsym
dh_strip: Compatibility levels before 9 are deprecated (level 7 in use)
	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/libwazuhshared.so
	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/librsync.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/libfimdb.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/libstdc\+\+.so.6
	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 debian/wazuh-agent/var/ossec/bin/wazuh-logcollector
	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/wazuh-execd
	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/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/active-response/bin/firewall-drop
	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/pf
	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/ipfw
	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/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/ip-customblock
	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/route-null
	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/wazuh-slack
make[1]: Leaving directory '/build_wazuh/agent/wazuh-agent-5.0.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
	chmod 0644 -- debian/wazuh-agent/DEBIAN/shlibs
	chown 0:0 -- debian/wazuh-agent/DEBIAN/shlibs
	install -d debian/.debhelper/generated/wazuh-agent
	mv -f debian/.debhelper/generated/wazuh-agent/triggers.new debian/.debhelper/generated/wazuh-agent/triggers
   dh_installdeb
	sed s/#DEBHELPER#// < debian/postinst > debian/wazuh-agent/DEBIAN/postinst
	chmod 0755 -- debian/wazuh-agent/DEBIAN/postinst
	chown 0:0 -- debian/wazuh-agent/DEBIAN/postinst
	sed s/#DEBHELPER#// < debian/preinst > debian/wazuh-agent/DEBIAN/preinst
	chmod 0755 -- debian/wazuh-agent/DEBIAN/preinst
	chown 0:0 -- debian/wazuh-agent/DEBIAN/preinst
	sed s/#DEBHELPER#// < debian/prerm > debian/wazuh-agent/DEBIAN/prerm
	chmod 0755 -- debian/wazuh-agent/DEBIAN/prerm
	chown 0:0 -- debian/wazuh-agent/DEBIAN/prerm
	perl -pe 's~#DEBHELPER#~qx{cat debian/wazuh-agent.postrm.debhelper}~eg' < debian/postrm > debian/wazuh-agent/DEBIAN/postrm
	chmod 0755 -- debian/wazuh-agent/DEBIAN/postrm
	chown 0:0 -- debian/wazuh-agent/DEBIAN/postrm
dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
	install -p -m0644 debian/conffiles debian/wazuh-agent/DEBIAN/conffiles
	install -p -m0644 debian/.debhelper/generated/wazuh-agent/triggers debian/wazuh-agent/DEBIAN/triggers
	find debian/wazuh-agent/etc -type f -printf '/etc/%P
' | LC_ALL=C sort >> debian/wazuh-agent/DEBIAN/conffiles
	chmod 0644 -- debian/wazuh-agent/DEBIAN/conffiles
	chown 0:0 -- debian/wazuh-agent/DEBIAN/conffiles
   dh_gencontrol
	echo misc:Pre-Depends= >> debian/wazuh-agent.substvars
	dpkg-gencontrol -pwazuh-agent -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}
	chmod 0644 -- 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 | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums) >/dev/null
	chmod 0644 -- 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_5.0.0-0.commit66d4bcf_armhf.deb'.
 dpkg-genbuildinfo --build=binary
 dpkg-genchanges --build=binary >../wazuh-agent_5.0.0-0.commit66d4bcf_armhf.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build wazuh-agent-5.0.0
dpkg-buildpackage: info: 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-5.0.0/src/shared_modules/rsync/build/lib
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/bin/wazuh-syscheckd /build_wazuh/agent/wazuh-agent-5.0.0/src
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/bin/wazuh-syscheckd /build_wazuh/agent/wazuh-agent-5.0.0/src/syscheckd/build/lib
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/bin/wazuh-syscheckd /build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/dbsync/build/lib
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libdbsync.so /build_wazuh/agent/wazuh-agent-5.0.0/src/external/cJSON
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libdbsync.so /build_wazuh/agent/wazuh-agent-5.0.0/src/external/sqlite
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libdbsync.so /build_wazuh/agent/wazuh-agent-5.0.0/src
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libfimdb.so /build_wazuh/agent/wazuh-agent-5.0.0/src
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libfimdb.so /build_wazuh/agent/wazuh-agent-5.0.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-5.0.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-5.0.0/src/external/cJSON
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/librsync.so /build_wazuh/agent/wazuh-agent-5.0.0/src/external/openssl
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/librsync.so /build_wazuh/agent/wazuh-agent-5.0.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-5.0.0/src
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsyscollector.so /build_wazuh/agent/wazuh-agent-5.0.0/src/external/cJSON
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsyscollector.so /build_wazuh/agent/wazuh-agent-5.0.0/src/external/flatbuffers/build
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsyscollector.so /build_wazuh/agent/wazuh-agent-5.0.0/src/external/openssl
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsyscollector.so /build_wazuh/agent/wazuh-agent-5.0.0/src/data_provider/build/lib
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsyscollector.so /build_wazuh/agent/wazuh-agent-5.0.0/src
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsyscollector.so /build_wazuh/agent/wazuh-agent-5.0.0/src/external/bzip2
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsyscollector.so /build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/rsync/build/lib
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsyscollector.so /build_wazuh/agent/wazuh-agent-5.0.0/src/external/sqlite
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsyscollector.so /build_wazuh/agent/wazuh-agent-5.0.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-5.0.0/src/external/procps
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-5.0.0/src/external/libplist/bin/lib
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-5.0.0/src/external/bzip2
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-5.0.0/src
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-5.0.0/src/shared_modules/http-request/build
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-5.0.0/src/external/rpm/builddir
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-5.0.0/src/external/cJSON
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-5.0.0/src/external/pacman/lib/libalpm
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-5.0.0/src/external/openssl
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-5.0.0/src/external/curl/lib/.libs
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-5.0.0/src/external/sqlite
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-5.0.0/src/external/procps
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-5.0.0/src/external/libdb/build_unix
E: wazuh-agent: binary-or-shlib-defines-rpath var/ossec/lib/libsysinfo.so /build_wazuh/agent/wazuh-agent-5.0.0/src/external/libarchive/.libs
W: wazuh-agent: syntax-error-in-debian-changelog line 289 "unrecognised line"
W: wazuh-agent: syntax-error-in-debian-changelog line 291 "found change data where expected next heading or eof"
W: wazuh-agent: syntax-error-in-debian-changelog line 319 "unrecognised line"
W: wazuh-agent: syntax-error-in-debian-changelog line 321 "found change data where expected next heading or eof"
W: wazuh-agent: syntax-error-in-debian-changelog line 325 "unrecognised line"
W: wazuh-agent: syntax-error-in-debian-changelog line 327 "found change data where expected next heading or eof"
W: wazuh-agent: syntax-error-in-debian-changelog line 331 "unrecognised line"
W: wazuh-agent: syntax-error-in-debian-changelog line 333 "found change data where expected next heading or eof"
W: wazuh-agent: debian-changelog-line-too-long line 3
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/darwin-init.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/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/update-indexer.sh
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/aws/aws_tools.py
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/azure/azure_services/analytics.py
E: wazuh-agent: python-script-but-no-python-dep var/ossec/wodles/azure/azure_services/graph.py
E: wazuh-agent: python-script-but-no-python-dep var/ossec/wodles/azure/azure_services/storage.py
E: wazuh-agent: python-script-but-no-python-dep var/ossec/wodles/azure/azure_utils.py
E: wazuh-agent: python-script-but-no-python-dep var/ossec/wodles/azure/db/orm.py
E: wazuh-agent: python-script-but-no-python-dep var/ossec/wodles/azure/db/utils.py
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/wodles/aws/buckets_s3/vpcflow.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/aws/buckets_s3/cloudtrail.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/aws/subscribers/sqs_queue.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/aws/buckets_s3/aws_bucket.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/azure/azure_services/__init__.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/aws/services/aws_service.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/__init__.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/gcloud/exceptions.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/aws/buckets_s3/server_access.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/utils.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/aws/subscribers/__init__.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/aws/__init__.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/aws/buckets_s3/waf.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/aws/buckets_s3/guardduty.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/aws/services/cloudwatchlogs.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/wodles/aws/buckets_s3/config.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/azure/db/__init__.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/aws/wazuh_integration.py
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/localfile-logs/audit-logs.template
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/aws/services/__init__.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/aws/services/inspector.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/aws/subscribers/sqs_message_processor.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/aws/buckets_s3/umbrella.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/aws/subscribers/s3_log_handler.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/aws/buckets_s3/__init__.py
W: wazuh-agent: executable-not-elf-or-script var/ossec/wodles/aws/buckets_s3/load_balancers.py
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: package-has-unnecessary-activation-of-ldconfig-trigger
E: wazuh-agent: systemd-service-file-outside-lib etc/systemd/system/wazuh-agent.service
E: wazuh-agent: systemd-service-file-outside-lib usr/lib/systemd/system/wazuh-agent.service
W: wazuh-agent: init.d-script-does-not-source-init-functions etc/init.d/wazuh-agent
W: wazuh-agent: maintainer-script-calls-systemctl postinst:170
W: wazuh-agent: maintainer-script-calls-systemctl preinst:23
W: wazuh-agent: maintainer-script-calls-systemctl prerm:18
N: 318 tags overridden (4 errors, 286 warnings, 28 info)
Finished running lintian.
WARNING generated by debuild:
Making debian/rules executable!
+ deb_file=wazuh-agent_5.0.0-0.commit66d4bcf
+ [[ armhf == \p\p\c\6\4\l\e ]]
+ deb_file=wazuh-agent_5.0.0-0.commit66d4bcf_armhf.deb
+ pkg_path=/build_wazuh/agent
+ [[ no == \y\e\s ]]
+ mv /build_wazuh/agent/wazuh-agent_5.0.0-0.commit66d4bcf_armhf.deb /var/local/wazuh