[ZBX-19635] linking fails when LTO is used Created: 2021 Jul 05 Updated: 2024 Apr 10 Resolved: 2021 Sep 17 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G) |
Affects Version/s: | 5.4.2 |
Fix Version/s: | 5.4.5rc1, 6.0.0alpha3, 6.0 (plan) |
Type: | Problem report | Priority: | Trivial |
Reporter: | Tomasz Kłoczko | Assignee: | Vladislavs Sokurenko |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Linux 86_64 |
Attachments: |
![]() ![]() ![]() ![]() ![]() |
Team: | |
Sprint: | Sprint 79 (Aug 2021), Sprint 80 (Sep 2021) |
Story Points: | 0.5 |
Description |
Making all in zabbix_get make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.2/x86_64-redhat-linux-gnu-mysql/src/zabbix_get' /bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -L/usr/lib -rdynamic -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o zabbix_get zabbix_get.o ../../src/libs/zbxcomms/libzbxcomms.a ../../src/libs/zbxcommon/libzbxcommon.a ../../src/libs/zbxlog/libzbxlog.a ../../src/libs/zbxcrypto/libzbxcrypto.a ../../src/libs/zbxsys/libzbxsys.a ../../src/libs/zbxnix/libzbxnix.a ../../src/libs/zbxconf/libzbxconf.a ../../src/libs/zbxcompress/libzbxcompress.a ../../src/libs/zbxjson/libzbxjson.a ../../src/libs/zbxalgo/libzbxalgo.a ../../src/libs/zbxcommon/libzbxcommon.a ../../src/libs/zbxregexp/libzbxregexp.a -lz -lpthread -lssl -lcrypto -lz -lpthread -lm -lresolv -lxml2 -lpcre libtool: link: /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -rdynamic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o zabbix_get zabbix_get.o -L/usr/lib ../../src/libs/zbxcomms/libzbxcomms.a ../../src/libs/zbxlog/libzbxlog.a ../../src/libs/zbxcrypto/libzbxcrypto.a ../../src/libs/zbxsys/libzbxsys.a ../../src/libs/zbxnix/libzbxnix.a ../../src/libs/zbxconf/libzbxconf.a ../../src/libs/zbxcompress/libzbxcompress.a ../../src/libs/zbxjson/libzbxjson.a ../../src/libs/zbxalgo/libzbxalgo.a ../../src/libs/zbxcommon/libzbxcommon.a ../../src/libs/zbxregexp/libzbxregexp.a -lssl -lcrypto -lz -lpthread -lm -lresolv -lxml2 -lpcre /usr/bin/ld: /usr/bin/ld: DWARF error: invalid abstract instance DIE ref /tmp/ccd6YLWC.lto.o: in function `zbx_xml_node_free': <artificial>:(.text.zbx_xml_node_free[.text.zbx_xml_node_free.group]+0x5c): undefined reference to `zbx_str_free' /usr/bin/ld: <artificial>:(.text.zbx_xml_node_free[.text.zbx_xml_node_free.group]+0x78): undefined reference to `zbx_vector_str_clear_ext' /usr/bin/ld: <artificial>:(.text.zbx_xml_node_free[.text.zbx_xml_node_free.group]+0x80): undefined reference to `zbx_vector_str_destroy' /usr/bin/ld: /tmp/ccd6YLWC.lto.o: in function `version': <artificial>:(.text.version[.text.version.group]+0x73): undefined reference to `zbx_tls_version' /usr/bin/ld: /tmp/ccd6YLWC.lto.o: in function `vector_to_json': <artificial>:(.text.vector_to_json[.text.vector_to_json.group]+0x78): undefined reference to `zbx_json_close' /usr/bin/ld: <artificial>:(.text.vector_to_json[.text.vector_to_json.group]+0x143): undefined reference to `zbx_json_addstring' /usr/bin/ld: <artificial>:(.text.vector_to_json[.text.vector_to_json.group]+0x1a3): undefined reference to `zbx_json_addobject' /usr/bin/ld: <artificial>:(.text.vector_to_json[.text.vector_to_json.group]+0x1de): undefined reference to `zbx_json_addstring' /usr/bin/ld: <artificial>:(.text.vector_to_json[.text.vector_to_json.group]+0x23d): undefined reference to `zbx_json_addstring' /usr/bin/ld: <artificial>:(.text.vector_to_json[.text.vector_to_json.group]+0x2b8): undefined reference to `zbx_json_addstring' /usr/bin/ld: <artificial>:(.text.vector_to_json[.text.vector_to_json.group]+0x2c4): undefined reference to `zbx_json_close' /usr/bin/ld: <artificial>:(.text.vector_to_json[.text.vector_to_json.group]+0x36a): undefined reference to `zbx_json_addstring' /usr/bin/ld: <artificial>:(.text.vector_to_json[.text.vector_to_json.group]+0x37c): undefined reference to `zbx_json_close' /usr/bin/ld: <artificial>:(.text.vector_to_json[.text.vector_to_json.group]+0x3e7): undefined reference to `zbx_json_addarray' /usr/bin/ld: <artificial>:(.text.vector_to_json[.text.vector_to_json.group]+0x44f): undefined reference to `zbx_json_addstring' /usr/bin/ld: /tmp/ccd6YLWC.lto.o: in function `zbx_create_token': <artificial>:(.text.zbx_create_token[.text.zbx_create_token.group]+0x62): undefined reference to `zbx_md5_init' /usr/bin/ld: <artificial>:(.text.zbx_create_token[.text.zbx_create_token.group]+0x74): undefined reference to `zbx_md5_append' /usr/bin/ld: <artificial>:(.text.zbx_create_token[.text.zbx_create_token.group]+0x84): undefined reference to `zbx_md5_append' /usr/bin/ld: <artificial>:(.text.zbx_create_token[.text.zbx_create_token.group]+0x8f): undefined reference to `zbx_md5_finish' /usr/bin/ld: /tmp/ccd6YLWC.lto.o: in function `json_to_xmlnode': <artificial>:(.text.json_to_xmlnode[.text.json_to_xmlnode.group]+0x13d): undefined reference to `zbx_json_pair_next' /usr/bin/ld: <artificial>:(.text.json_to_xmlnode[.text.json_to_xmlnode.group]+0x15e): undefined reference to `zbx_json_decodevalue' /usr/bin/ld: <artificial>:(.text.json_to_xmlnode[.text.json_to_xmlnode.group]+0x228): undefined reference to `zbx_json_brackets_open' /usr/bin/ld: <artificial>:(.text.json_to_xmlnode[.text.json_to_xmlnode.group]+0x286): undefined reference to `zbx_json_next_value' /usr/bin/ld: <artificial>:(.text.json_to_xmlnode[.text.json_to_xmlnode.group]+0x304): undefined reference to `zbx_json_valuetype' /usr/bin/ld: <artificial>:(.text.json_to_xmlnode[.text.json_to_xmlnode.group]+0x479): undefined reference to `zbx_json_next' /usr/bin/ld: <artificial>:(.text.json_to_xmlnode[.text.json_to_xmlnode.group]+0x48b): undefined reference to `zbx_json_valuetype' /usr/bin/ld: /tmp/ccd6YLWC.lto.o: in function `zbx_vector_xml_node_ptr_create': <artificial>:(.text.zbx_vector_xml_node_ptr_create[.text.zbx_vector_xml_node_ptr_create.group]+0x7): undefined reference to `zbx_default_mem_malloc_func' /usr/bin/ld: <artificial>:(.text.zbx_vector_xml_node_ptr_create[.text.zbx_vector_xml_node_ptr_create.group]+0x21): undefined reference to `zbx_default_mem_realloc_func' /usr/bin/ld: <artificial>:(.text.zbx_vector_xml_node_ptr_create[.text.zbx_vector_xml_node_ptr_create.group]+0x2c): undefined reference to `zbx_default_mem_free_func' /usr/bin/ld: /tmp/ccd6YLWC.lto.o: in function `xml_to_vector': <artificial>:(.text.xml_to_vector[.text.xml_to_vector.group]+0x29): undefined reference to `zbx_default_mem_malloc_func' /usr/bin/ld: <artificial>:(.text.xml_to_vector[.text.xml_to_vector.group]+0x47): undefined reference to `zbx_default_mem_realloc_func' /usr/bin/ld: <artificial>:(.text.xml_to_vector[.text.xml_to_vector.group]+0x53): undefined reference to `zbx_default_mem_free_func' /usr/bin/ld: <artificial>:(.text.xml_to_vector[.text.xml_to_vector.group]+0xa8): undefined reference to `zbx_default_mem_malloc_func' /usr/bin/ld: <artificial>:(.text.xml_to_vector[.text.xml_to_vector.group]+0xc6): undefined reference to `zbx_default_mem_realloc_func' /usr/bin/ld: <artificial>:(.text.xml_to_vector[.text.xml_to_vector.group]+0xd8): undefined reference to `zbx_default_mem_free_func' /usr/bin/ld: <artificial>:(.text.xml_to_vector[.text.xml_to_vector.group]+0xf1): undefined reference to `zbx_vector_str_create' /usr/bin/ld: <artificial>:(.text.xml_to_vector[.text.xml_to_vector.group]+0x2a3): undefined reference to `zbx_vector_str_append' /usr/bin/ld: <artificial>:(.text.xml_to_vector[.text.xml_to_vector.group]+0x2ff): undefined reference to `zbx_vector_str_append' /usr/bin/ld: <artificial>:(.text.xml_to_vector[.text.xml_to_vector.group]+0x321): undefined reference to `zbx_vector_str_append' /usr/bin/ld: /tmp/ccd6YLWC.lto.o: in function `comms_parse_response': <artificial>:(.text.comms_parse_response[.text.comms_parse_response.group]+0x1a4): undefined reference to `str_base64_decode' /usr/bin/ld: <artificial>:(.text.comms_parse_response[.text.comms_parse_response.group]+0x29a): undefined reference to `str_base64_decode' /usr/bin/ld: <artificial>:(.text.comms_parse_response[.text.comms_parse_response.group]+0x2f4): undefined reference to `str_base64_decode' /usr/bin/ld: <artificial>:(.text.comms_parse_response[.text.comms_parse_response.group]+0x358): undefined reference to `str_base64_decode' /usr/bin/ld: <artificial>:(.text.comms_parse_response[.text.comms_parse_response.group]+0x3af): undefined reference to `str_base64_decode' /usr/bin/ld: /tmp/ccd6YLWC.lto.o:<artificial>:(.text.comms_parse_response[.text.comms_parse_response.group]+0x40b): more undefined references to `str_base64_decode' follow /usr/bin/ld: /tmp/ccd6YLWC.lto.o: in function `zbx_xml_to_json': <artificial>:(.text.zbx_xml_to_json[.text.zbx_xml_to_json.group]+0x92): undefined reference to `zbx_json_init' /usr/bin/ld: <artificial>:(.text.zbx_xml_to_json[.text.zbx_xml_to_json.group]+0x99): undefined reference to `zbx_default_mem_malloc_func' /usr/bin/ld: <artificial>:(.text.zbx_xml_to_json[.text.zbx_xml_to_json.group]+0xb4): undefined reference to `zbx_default_mem_realloc_func' /usr/bin/ld: <artificial>:(.text.zbx_xml_to_json[.text.zbx_xml_to_json.group]+0xc9): undefined reference to `zbx_default_mem_free_func' /usr/bin/ld: <artificial>:(.text.zbx_xml_to_json[.text.zbx_xml_to_json.group]+0x123): undefined reference to `zbx_json_free' /usr/bin/ld: /tmp/ccd6YLWC.lto.o: in function `zbx_json_to_xml': <artificial>:(.text.zbx_json_to_xml[.text.zbx_json_to_xml.group]+0x68): undefined reference to `zbx_json_open' /usr/bin/ld: <artificial>:(.text.zbx_json_to_xml[.text.zbx_json_to_xml.group]+0x171): undefined reference to `zbx_json_strerror' /usr/bin/ld: /tmp/ccd6YLWC.lto.o: in function `zbx_vector_var_create': <artificial>:(.text.zbx_vector_var_create[.text.zbx_vector_var_create.group]+0x7): undefined reference to `zbx_default_mem_malloc_func' /usr/bin/ld: <artificial>:(.text.zbx_vector_var_create[.text.zbx_vector_var_create.group]+0x21): undefined reference to `zbx_default_mem_realloc_func' /usr/bin/ld: <artificial>:(.text.zbx_vector_var_create[.text.zbx_vector_var_create.group]+0x2c): undefined reference to `zbx_default_mem_free_func' /usr/bin/ld: /tmp/ccd6YLWC.lto.o: in function `zbx_variant_clear': <artificial>:(.text.zbx_variant_clear[.text.zbx_variant_clear.group]+0x4d): undefined reference to `zbx_vector_dbl_destroy' /usr/bin/ld: /tmp/ccd6YLWC.lto.o: in function `zbx_variant_copy': <artificial>:(.text.zbx_variant_copy[.text.zbx_variant_copy.group]+0x57): undefined reference to `zbx_vector_dbl_create' /usr/bin/ld: <artificial>:(.text.zbx_variant_copy[.text.zbx_variant_copy.group]+0x69): undefined reference to `zbx_vector_dbl_append_array' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:534: zabbix_get] Error 1 make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.2/x86_64-redhat-linux-gnu-mysql/src/zabbix_get' make[1]: *** [Makefile:530: all-recursive] Error 1 make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.2/x86_64-redhat-linux-gnu-mysql/src' make: *** [Makefile:614: all-recursive] Error 1 To reproduce that please use below script: CFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none' CXXFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none' LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -flto=auto -flto-partition=none -fuse-linker-plugin' CC=/usr/bin/gcc CXX=/usr/bin/g++ AR=/usr/bin/gcc-ar NM=/usr/bin/gcc-nm RANLIB=/usr/bin/gcc-ranlib export CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS CC CXX FC AR NM RANLIB ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --disable-silent-rules --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc/zabbix --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-agent --enable-ipv6 --enable-proxy --enable-server --without-jabber --disable-java --with-ldap --with-libcurl --with-libxml2 --with-mysql --with-net-snmp --with-openipmi --with-openssl --without-oracle --without-postgresql --with-ssh2 --with-unixodbc make |
Comments |
Comment by Dmitry Krupornitsky [ 2021 Jul 06 ] |
Hello, Please provide your platform/version and gcc version. Any issues while building other parts, like zabbix_send with the same toolchain and parameters? |
Comment by Tomasz Kłoczko [ 2021 Jul 06 ] |
Linux x86_64, gcc 11.1.1 So it was possible to reproduce that issue using above scriipt? |
Comment by Jurijs Klopovskis [ 2021 Jul 08 ] |
Don't know if this will help in this case, but in the packaging build environment I had to symlink liblto_plugin.so to make it work. ln -s /usr/libexec/gcc/x86_64-redhat-linux/8/liblto_plugin.so /usr/lib/bfd-plugins/liblto_plugin.so This is on RHEL-8. |
Comment by Tomasz Kłoczko [ 2021 Jul 08 ] |
If it helps on RHEL-8. it means that gcc is broken in your dev env or RHEL-8. In env with gcc 11. [tkloczko@barrel SPECS]$ rpm -qal | grep liblto_plugin /usr/lib64/bfd-plugins/liblto_plugin.so /usr/libexec/gcc/x86_64-redhat-linux/11/liblto_plugin.so [tkloczko@barrel SPECS]$ rpm -qal | grep liblto_plugin| xargs rpm -qf gcc-11.1.1-6.fc35.x86_64 gcc-11.1.1-6.fc35.x86_64 Please verify your gcc using "rpm -V gcc" Nevertheless that issue has nothing to do with gcc but with visibility of the public symbols in zabbix code. |
Comment by Vladislavs Sokurenko [ 2021 Jul 27 ] |
Please try this yurii: diff --git a/src/libs/zbxcommon/xml.c b/src/libs/zbxcommon/xml.c index 52938a7585..bf4de36854 100644 --- a/src/libs/zbxcommon/xml.c +++ b/src/libs/zbxcommon/xml.c @@ -388,8 +388,8 @@ static int compare_xml_nodes_by_name(const void *d1, const void *d2) return strcmp(p1->name, p2->name); } - -static void zbx_xml_node_free(zbx_xml_node_t *node) +void zbx_xml_node_free(zbx_xml_node_t *node); +void zbx_xml_node_free(zbx_xml_node_t *node) { zbx_vector_xml_node_ptr_clear_ext(&node->chnodes, zbx_xml_node_free); zbx_vector_xml_node_ptr_destroy(&node->chnodes); |
Comment by Jurijs Klopovskis [ 2021 Jul 28 ] |
Nope doesn't seem to help. Tested with gcc 8 on centos 8 (zabbix 5.4.3), vso |
Comment by Vladislavs Sokurenko [ 2021 Jul 28 ] |
Does it help commenting out zbx_xml_node_free everywhere ? |
Comment by Jurijs Klopovskis [ 2021 Jul 28 ] |
No difference. I'm testing on CentOS Linux release 8.4.2105 though. I think there is a misunderstanding here. The aforementioned symlink hack works in my case. I will try on proper RHEL 8.3 now. |
Comment by Jurijs Klopovskis [ 2021 Jul 28 ] |
Yep, exactly the same behavior on Red Hat Enterprise Linux release 8.4 (Ootpa) |
Comment by Jurijs Klopovskis [ 2021 Jul 28 ] |
kloczek, What's your exact environment and how did you install gcc 11 ? RHEL/CentOS 8 does not seem to have it. Not even a module. https://access.redhat.com/solutions/19458 |
Comment by Tomasz Kłoczko [ 2021 Jul 29 ] |
Yes I'm using gcc 11 and I've antready I've mentioned about that. |
Comment by Vladislavs Sokurenko [ 2021 Jul 29 ] |
Could you please be so kind and try patch ZBX-19635-2.diff gcc --version gcc (GCC) 11.1.1 20210531 (Red Hat 11.1.1-3) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
rpm -qal | grep liblto_plugin /usr/lib/debug/usr/libexec/gcc/x86_64-redhat-linux/9/liblto_plugin.so.0.0.0-9.2.1-1.fc30.x86_64.debug /usr/lib64/bfd-plugins/liblto_plugin.so /usr/libexec/gcc/x86_64-redhat-linux/11/liblto_plugin.so rpm -qal | grep liblto_plugin| xargs rpm -qf gcc-debuginfo-9.2.1-1.fc30.x86_64 gcc-11.1.1-3.fc34.x86_64 gcc-11.1.1-3.fc34.x86_64 ... Making all in zabbix_get make[2]: Entering directory '/var/www/html/zabbix/src/zabbix_get' /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../../include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o zabbix_get.o zabbix_get.c /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -L/usr/lib -rdynamic -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -flto=auto -flto-partition=none -fuse-linker-plugin -o zabbix_get zabbix_get.o ../../src/libs/zbxcomms/libzbxcomms.a ../../src/libs/zbxcommon/libzbxcommon.a ../../src/libs/zbxlog/libzbxlog.a ../../src/libs/zbxcrypto/libzbxcrypto.a ../../src/libs/zbxsys/libzbxsys.a ../../src/libs/zbxnix/libzbxnix.a ../../src/libs/zbxconf/libzbxconf.a ../../src/libs/zbxcompress/libzbxcompress.a ../../src/libs/zbxjson/libzbxjson.a ../../src/libs/zbxalgo/libzbxalgo.a ../../src/libs/zbxcommon/libzbxcommon.a ../../src/libs/zbxregexp/libzbxregexp.a -lz -lpthread -lssl -lcrypto -lz -lpthread -lm -ldl -lresolv -lxml2 -lpcre make[2]: Leaving directory '/var/www/html/zabbix/src/zabbix_get' Making all in zabbix_sender ... |
Comment by Tomasz Kłoczko [ 2021 Aug 03 ] |
Sorry I was busy a bit. [tkloczko@barrel x86_64-redhat-linux-gnu-mysql]$ make -k Making all in include make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/include' make all-am make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/include' make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/include' make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/include' Making all in src make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src' Making all in libs make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs' Making all in zbxcrypto make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxcrypto' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxcrypto' Making all in zbxcommon make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxcommon' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxcommon' Making all in zbxlog make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxlog' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxlog' Making all in zbxalgo make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxalgo' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxalgo' Making all in zbxnix make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxnix' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxnix' Making all in zbxconf make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxconf' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxconf' Making all in zbxhttp make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxhttp' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxhttp' Making all in zbxsysinfo make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxsysinfo' Making all in agent make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxsysinfo/agent' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxsysinfo/agent' Making all in common make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxsysinfo/common' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxsysinfo/common' Making all in simple make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxsysinfo/simple' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxsysinfo/simple' Making all in linux make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxsysinfo/linux' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxsysinfo/linux' make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxsysinfo' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxsysinfo' make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxsysinfo' Making all in zbxsys make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxsys' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxsys' Making all in zbxcomms make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxcomms' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxcomms' Making all in zbxjson make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxjson' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxjson' Making all in zbxexec make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxexec' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxexec' Making all in zbxmodules make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxmodules' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxmodules' Making all in zbxregexp make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxregexp' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxregexp' Making all in zbxipcservice make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxipcservice' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxipcservice' Making all in zbxcompress make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxcompress' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxcompress' Making all in zbxcommshigh make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxcommshigh' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxcommshigh' Making all in zbxdb make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxdb' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxdb' Making all in zbxdbupgrade make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxdbupgrade' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxdbupgrade' Making all in zbxdbcache make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxdbcache' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxdbcache' Making all in zbxdbhigh make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxdbhigh' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxdbhigh' Making all in zbxhttp make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxhttp' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxhttp' Making all in zbxmemory make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxmemory' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxmemory' Making all in zbxserver make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxserver' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxserver' Making all in zbxicmpping make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxicmpping' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxicmpping' Making all in zbxmedia make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxmedia' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxmedia' Making all in zbxself make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxself' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxself' Making all in zbxtasks make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxtasks' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxtasks' Making all in zbxhistory make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxhistory' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxhistory' Making all in zbxcompress make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxcompress' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxcompress' Making all in zbxembed make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxembed' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxembed' Making all in zbxprometheus make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxprometheus' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxprometheus' Making all in zbxvault make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxvault' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxvault' Making all in zbxdiag make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxdiag' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxdiag' Making all in zbxtrends make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxtrends' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxtrends' Making all in zbxavailability make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxavailability' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxavailability' Making all in zbxeval make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxeval' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs/zbxeval' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs' make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/libs' Making all in zabbix_agent make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_agent' Making all in logfiles make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_agent/logfiles' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_agent/logfiles' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_agent' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_agent' make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_agent' Making all in zabbix_get make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get' Making all in zabbix_sender make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_sender' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_sender' Making all in zabbix_server make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server' Making all in alerter make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/alerter' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/alerter' Making all in dbsyncer make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/dbsyncer' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/dbsyncer' Making all in dbconfig make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/dbconfig' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/dbconfig' Making all in discoverer make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/discoverer' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/discoverer' Making all in housekeeper make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/housekeeper' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/housekeeper' Making all in httppoller make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/httppoller' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/httppoller' Making all in pinger make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/pinger' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/pinger' Making all in poller make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/poller' /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../../../../src/zabbix_server/poller -I../../../include -I../../../../include -I../../../../src/libs/zbxsysinfo/simple -I../../../../src/libs/zbxdbcache -I. -I/usr/include -I/usr/include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o libzbxpoller_a-checks_snmp.o `test -f 'checks_snmp.c' || echo '../../../../src/zabbix_server/poller/'`checks_snmp.c ../../../../src/zabbix_server/poller/checks_snmp.c: In function ‘zbx_snmp_open_session’: ../../../../src/zabbix_server/poller/checks_snmp.c:588:77: error: ‘usmDESPrivProtocol’ undeclared (first use in this function); did you mean ‘usmAESPrivProtocol’? 588 | session.securityPrivProto = usmDESPrivProtocol; | ^~~~~~~~~~~~~~~~~~ | usmAESPrivProtocol ../../../../src/zabbix_server/poller/checks_snmp.c:588:77: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [Makefile:754: libzbxpoller_a-checks_snmp.o] Error 1 make[3]: Target 'all' not remade because of errors. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/poller' Making all in snmptrapper make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/snmptrapper' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/snmptrapper' Making all in timer make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/timer' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/timer' Making all in trapper make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/trapper' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/trapper' Making all in escalator make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/escalator' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/escalator' Making all in proxypoller make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/proxypoller' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/proxypoller' Making all in selfmon make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/selfmon' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/selfmon' Making all in vmware make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/vmware' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/vmware' Making all in taskmanager make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/taskmanager' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/taskmanager' Making all in ipmi make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/ipmi' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/ipmi' Making all in odbc make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/odbc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/odbc' Making all in scripts make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/scripts' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/scripts' Making all in preprocessor make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/preprocessor' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/preprocessor' Making all in availability make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/availability' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/availability' Making all in lld make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/lld' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/lld' Making all in reporter make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/reporter' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/reporter' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server' make[3]: *** No rule to make target 'poller/libzbxpoller.a', needed by 'zabbix_server'. make[3]: Target 'all-am' not remade because of errors. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server' make[2]: *** [Makefile:853: all-recursive] Error 1 make[2]: Target 'all' not remade because of errors. make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server' Making all in zabbix_js make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_js' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_js' Making all in zabbix_proxy make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_proxy' Making all in heart make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_proxy/heart' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_proxy/heart' Making all in housekeeper make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_proxy/housekeeper' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_proxy/housekeeper' Making all in proxyconfig make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_proxy/proxyconfig' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_proxy/proxyconfig' Making all in datasender make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_proxy/datasender' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_proxy/datasender' Making all in taskmanager make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_proxy/taskmanager' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_proxy/taskmanager' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_proxy' make[3]: *** No rule to make target '../../src/zabbix_server/poller/libzbxpoller.a', needed by 'zabbix_proxy'. make[3]: Target 'all-am' not remade because of errors. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_proxy' make[2]: *** [Makefile:826: all-recursive] Error 1 make[2]: Target 'all' not remade because of errors. make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_proxy' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src' make[1]: *** [Makefile:530: all-recursive] Error 1 make[1]: Target 'all' not remade because of errors. make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src' Making all in database make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/database' Making all in mysql make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/database/mysql' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/database/mysql' Making all in oracle make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/database/oracle' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/database/oracle' Making all in postgresql make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/database/postgresql' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/database/postgresql' Making all in sqlite3 make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/database/sqlite3' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/database/sqlite3' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/database' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/database' make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/database' Making all in man make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/man' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/man' Making all in misc make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/misc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/misc' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql' make: *** [Makefile:614: all-recursive] Error 1 make: Target 'all' not remade because of errors.
|
Comment by Tomasz Kłoczko [ 2021 Aug 03 ] |
The same without that patch still fails: [tkloczko@barrel x86_64-redhat-linux-gnu-mysql]$ make -k [..] make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_agent' make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_agent' Making all in zabbix_get make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get' /bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -L/usr/lib -rdynamic -Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o zabbix_get zabbix_get.o ../../src/libs/zbxcomms/libzbxcomms.a ../../src/libs/zbxcommon/libzbxcommon.a ../../src/libs/zbxlog/libzbxlog.a ../../src/libs/zbxcrypto/libzbxcrypto.a ../../src/libs/zbxsys/libzbxsys.a ../../src/libs/zbxnix/libzbxnix.a ../../src/libs/zbxconf/libzbxconf.a ../../src/libs/zbxcompress/libzbxcompress.a ../../src/libs/zbxjson/libzbxjson.a ../../src/libs/zbxalgo/libzbxalgo.a ../../src/libs/zbxcommon/libzbxcommon.a ../../src/libs/zbxregexp/libzbxregexp.a -lz -lpthread -lssl -lcrypto -lz -lpthread -lm -lxml2 -lpcre libtool: link: /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -rdynamic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o zabbix_get zabbix_get.o -L/usr/lib ../../src/libs/zbxcomms/libzbxcomms.a ../../src/libs/zbxlog/libzbxlog.a ../../src/libs/zbxcrypto/libzbxcrypto.a ../../src/libs/zbxsys/libzbxsys.a ../../src/libs/zbxnix/libzbxnix.a ../../src/libs/zbxconf/libzbxconf.a ../../src/libs/zbxcompress/libzbxcompress.a ../../src/libs/zbxjson/libzbxjson.a ../../src/libs/zbxalgo/libzbxalgo.a ../../src/libs/zbxcommon/libzbxcommon.a ../../src/libs/zbxregexp/libzbxregexp.a -lssl -lcrypto -lz -lpthread -lm -lxml2 -lpcre /usr/bin/ld: /tmp/cczMSZ7o.lto.o: in function `zbx_xml_node_free': /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:396: undefined reference to `zbx_str_free' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:396: undefined reference to `zbx_vector_str_clear_ext' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:397: undefined reference to `zbx_vector_str_destroy' /usr/bin/ld: /tmp/cczMSZ7o.lto.o: in function `version': /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/str.c:61: undefined reference to `zbx_tls_version' /usr/bin/ld: /tmp/cczMSZ7o.lto.o: in function `vector_to_json': /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:566: undefined reference to `zbx_json_close' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:619: undefined reference to `zbx_json_addstring' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:599: undefined reference to `zbx_json_addobject' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:603: undefined reference to `zbx_json_addstring' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:619: undefined reference to `zbx_json_addstring' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:619: undefined reference to `zbx_json_addstring' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:622: undefined reference to `zbx_json_close' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:619: undefined reference to `zbx_json_addstring' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:626: undefined reference to `zbx_json_close' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:576: undefined reference to `zbx_json_addarray' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:619: undefined reference to `zbx_json_addstring' /usr/bin/ld: /tmp/cczMSZ7o.lto.o: in function `zbx_create_token': /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/misc.c:3808: undefined reference to `zbx_md5_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/misc.c:3809: undefined reference to `zbx_md5_append' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/misc.c:3810: undefined reference to `zbx_md5_append' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/misc.c:3811: undefined reference to `zbx_md5_finish' /usr/bin/ld: /tmp/cczMSZ7o.lto.o: in function `json_to_xmlnode': /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:823: undefined reference to `zbx_json_pair_next' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:827: undefined reference to `zbx_json_decodevalue' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:896: undefined reference to `zbx_json_brackets_open' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:839: undefined reference to `zbx_json_next_value' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:828: undefined reference to `zbx_json_valuetype' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:847: undefined reference to `zbx_json_next' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:848: undefined reference to `zbx_json_valuetype' /usr/bin/ld: /tmp/cczMSZ7o.lto.o: in function `zbx_vector_xml_node_ptr_create': /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:52: undefined reference to `zbx_default_mem_malloc_func' /usr/bin/ld: /tmp/cczMSZ7o.lto.o:/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:52: undefined reference to `zbx_default_mem_realloc_func' /usr/bin/ld: /tmp/cczMSZ7o.lto.o:/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:52: undefined reference to `zbx_default_mem_free_func' /usr/bin/ld: /tmp/cczMSZ7o.lto.o: in function `xml_to_vector': /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:52: undefined reference to `zbx_default_mem_malloc_func' /usr/bin/ld: /tmp/cczMSZ7o.lto.o:/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:52: undefined reference to `zbx_default_mem_realloc_func' /usr/bin/ld: /tmp/cczMSZ7o.lto.o:/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:52: undefined reference to `zbx_default_mem_free_func' /usr/bin/ld: /tmp/cczMSZ7o.lto.o: in function `xml_to_vector': /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:52: undefined reference to `zbx_default_mem_malloc_func' /usr/bin/ld: /tmp/cczMSZ7o.lto.o:/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:52: undefined reference to `zbx_default_mem_realloc_func' /usr/bin/ld: /tmp/cczMSZ7o.lto.o:/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:52: undefined reference to `zbx_default_mem_free_func' /usr/bin/ld: /tmp/cczMSZ7o.lto.o: in function `xml_to_vector': /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:437: undefined reference to `zbx_vector_str_create' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:469: undefined reference to `zbx_vector_str_append' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:466: undefined reference to `zbx_vector_str_append' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:474: undefined reference to `zbx_vector_str_append' /usr/bin/ld: /tmp/cczMSZ7o.lto.o: in function `comms_parse_response': /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/comms.c:65: undefined reference to `str_base64_decode' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/comms.c:53: undefined reference to `str_base64_decode' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/comms.c:41: undefined reference to `str_base64_decode' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/comms.c:104: undefined reference to `str_base64_decode' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/comms.c:86: undefined reference to `str_base64_decode' /usr/bin/ld: /tmp/cczMSZ7o.lto.o:/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/comms.c:77: more undefined references to `str_base64_decode' follow /usr/bin/ld: /tmp/cczMSZ7o.lto.o: in function `zbx_xml_to_json': /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:769: undefined reference to `zbx_json_init' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:52: undefined reference to `zbx_default_mem_malloc_func' /usr/bin/ld: /tmp/cczMSZ7o.lto.o:/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:52: undefined reference to `zbx_default_mem_realloc_func' /usr/bin/ld: /tmp/cczMSZ7o.lto.o:/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:52: undefined reference to `zbx_default_mem_free_func' /usr/bin/ld: /tmp/cczMSZ7o.lto.o: in function `zbx_xml_to_json': /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:780: undefined reference to `zbx_json_free' /usr/bin/ld: /tmp/cczMSZ7o.lto.o: in function `zbx_json_to_xml': /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:958: undefined reference to `zbx_json_open' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/xml.c:960: undefined reference to `zbx_json_strerror' /usr/bin/ld: /tmp/cczMSZ7o.lto.o: in function `zbx_vector_var_create': /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/variant.c:26: undefined reference to `zbx_default_mem_malloc_func' /usr/bin/ld: /tmp/cczMSZ7o.lto.o:/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/variant.c:26: undefined reference to `zbx_default_mem_realloc_func' /usr/bin/ld: /tmp/cczMSZ7o.lto.o:/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/variant.c:26: undefined reference to `zbx_default_mem_free_func' /usr/bin/ld: /tmp/cczMSZ7o.lto.o: in function `zbx_variant_clear': /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/variant.c:75: undefined reference to `zbx_vector_dbl_destroy' /usr/bin/ld: /tmp/cczMSZ7o.lto.o: in function `zbx_variant_copy': /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/variant.c:175: undefined reference to `zbx_vector_dbl_create' /usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get/../libs/zbxcommon/../../../../src/libs/zbxcommon/variant.c:176: undefined reference to `zbx_vector_dbl_append_array' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:534: zabbix_get] Error 1 make[2]: Target 'all' not remade because of errors. make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_get' Making all in zabbix_sender make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_sender' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_sender' Making all in zabbix_server make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server' Making all in alerter make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/alerter' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/alerter' Making all in dbsyncer make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/dbsyncer' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/dbsyncer' Making all in dbconfig make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/dbconfig' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/dbconfig' Making all in discoverer make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/discoverer' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/discoverer' Making all in housekeeper make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/housekeeper' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/housekeeper' Making all in httppoller make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/httppoller' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/httppoller' Making all in pinger make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/pinger' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/pinger' Making all in poller make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/poller' /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../../../../src/zabbix_server/poller -I../../../include -I../../../../include -I../../../../src/libs/zbxsysinfo/simple -I../../../../src/libs/zbxdbcache -I. -I/usr/include -I/usr/include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o libzbxpoller_a-checks_snmp.o `test -f 'checks_snmp.c' || echo '../../../../src/zabbix_server/poller/'`checks_snmp.c ../../../../src/zabbix_server/poller/checks_snmp.c: In function ‘zbx_snmp_open_session’: ../../../../src/zabbix_server/poller/checks_snmp.c:588:77: error: ‘usmDESPrivProtocol’ undeclared (first use in this function); did you mean ‘usmAESPrivProtocol’? 588 | session.securityPrivProto = usmDESPrivProtocol; | ^~~~~~~~~~~~~~~~~~ | usmAESPrivProtocol ../../../../src/zabbix_server/poller/checks_snmp.c:588:77: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [Makefile:754: libzbxpoller_a-checks_snmp.o] Error 1 make[3]: Target 'all' not remade because of errors. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.3/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/poller' |
Comment by Vladislavs Sokurenko [ 2021 Sep 07 ] |
Fixed in pull request feature/ZBX-19635-5.4 |
Comment by Vladislavs Sokurenko [ 2021 Sep 07 ] |
Please try branch feature/ZBX-19635-5.4 kloczek, both issues should be fixed now. |
Comment by Tomasz Kłoczko [ 2021 Sep 08 ] |
I'm struggling wit obraining raw diff/patch. Can you drop URL to such diff/patch? |
Comment by Vladislavs Sokurenko [ 2021 Sep 08 ] |
Sure, please try ZBX-19635-3.diff |
Comment by Tomasz Kłoczko [ 2021 Sep 08 ] |
Cannot apply cleanly that patch. I've removed from it patching tests/ tree which does not exist in dist tar ball however even with that I have some rejections I've been trying 5.4.3 and 5.4.4 .. Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SgAb2p + umask 022 + cd /home/tkloczko/rpmbuild/BUILD + cd /home/tkloczko/rpmbuild/BUILD + rm -rf zabbix-5.4.4 + /usr/bin/gzip -dc /home/tkloczko/rpmbuild/SOURCES/zabbix-5.4.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd zabbix-5.4.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-init.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-default-config.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-default-item_type_zabbix_item_active.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-default-graph_1200x300.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-default-create_graph_with_default_all_func.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-default-proxy_ZBX_MAX_HRECORDS_50000.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-no_enable-static.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-ac_fixes-LT_INIT.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-ac_fixes-CPPFLAGS_top_srcdir_include.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-API-zabbix-1.0-v5.0.1.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-zbx_mod_dummy-v4.4.0.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-use_libldap_r.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-ZBX-19635-2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-ZBX-19635-3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch 2 out of 2 hunks FAILED -- saving rejects to file src/libs/zbxcommon/xml.c.rej Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] 1 out of 1 hunk ignored -- saving rejects to file src/zabbix_get/Makefile.am.rej error: Bad exit status from /var/tmp/rpm-tmp.SgAb2p (%prep) And none of my patches are fiddling around that path [tkloczko@barrel SPECS]$ grep src/libs/zbxcommon/xml.c /home/tkloczko/rpmbuild/SOURCES/zabbix-ZBX-19635-2.patch:diff --git a/src/zabbix_get/Makefile.am b/src/zabbix_get/Makefile.am /home/tkloczko/rpmbuild/SOURCES/zabbix-ZBX-19635-2.patch:--- a/src/zabbix_get/Makefile.am /home/tkloczko/rpmbuild/SOURCES/zabbix-ZBX-19635-2.patch:+++ b/src/zabbix_get/Makefile.am /home/tkloczko/rpmbuild/SOURCES/zabbix-ZBX-19635-3.patch:diff --git a/src/zabbix_get/Makefile.am b/src/zabbix_get/Makefile.am /home/tkloczko/rpmbuild/SOURCES/zabbix-ZBX-19635-3.patch:--- a/src/zabbix_get/Makefile.am /home/tkloczko/rpmbuild/SOURCES/zabbix-ZBX-19635-3.patch:+++ b/src/zabbix_get/Makefile.am Which one base dist tar ball I should use? |
Comment by Vladislavs Sokurenko [ 2021 Sep 08 ] |
Please try latest release/5.4 from git if that is an option |
Comment by Tomasz Kłoczko [ 2021 Sep 08 ] |
I can easy apply series of patches taken after tag from git however this would be a bit problematic as it will force me to check each patch is each patch against what is in dist tar ball or in in tests/ |
Comment by Tomasz Kłoczko [ 2021 Sep 08 ] |
OK I see a solution. Will try to use github tagged tar ball instead official dist tar ball. With that all patches from above 5.4.4 tag should be possible to apply without problem. Will back shortly. |
Comment by Vladislavs Sokurenko [ 2021 Sep 08 ] |
Or just exclude "/usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix- |
Comment by Tomasz Kłoczko [ 2021 Sep 08 ] |
Nope still cannot apply that patch on top of release/5.4 branch [tkloczko@barrel SPECS]$ rpmbuild -ba zabbix.spec warning: Downloading https://github.com/zabbix/zabbix//archive/5.4.4/zabbix-5.4.4.tar.gz to /home/tkloczko/rpmbuild/SOURCES/zabbix-5.4.4.tar.gz warning: Macro expanded in comment on line 23: %(v=%{version}; echo ${v%.*})/zabbix-%{version}.tar.gzwarning: Macro expanded in comment on line 53: %{name}-go_linkig.patchwarning: Downloading https://github.com/zabbix/zabbix//commit/dc3fcfd4.patch#/zabbix-.F.-ZBX-19581-fixed-untranslated-and-incorrectly-tra.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.F.-ZBX-19581-fixed-untranslated-and-incorrectly-tra.patch warning: Downloading https://github.com/zabbix/zabbix//commit/eb7ccbc7.patch#/zabbix-.D.-ZBX-19581-added-changelog-file.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.D.-ZBX-19581-added-changelog-file.patch warning: Macro expanded in comment on line 57: %{VCS}/commit/f11790d3.patch#/%{name}-.T-ZBX-18680-fixed-multi-channel-notification-issue-.patchwarning: Macro expanded in comment on line 58: %{VCS}/commit/ea00798e.patch#/%{name}-.T-ZBX-18680-code-fix-according-to-comments.patchwarning: Downloading https://github.com/zabbix/zabbix//commit/a3bfe6b1.patch#/zabbix-.T-ZBXNEXT-6789-added-template-for-Travis-CI.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBXNEXT-6789-added-template-for-Travis-CI.patch warning: Downloading https://github.com/zabbix/zabbix//commit/f6cdfbd9.patch#/zabbix-.T-ZBXNEXT-6789-fixed-according-to-reviewer-comments.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBXNEXT-6789-fixed-according-to-reviewer-comments.patch warning: Downloading https://github.com/zabbix/zabbix//commit/1f877c2c.patch#/zabbix-.T-ZBXNEXT-6789-fixed-according-to-reviewer-comments-2.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBXNEXT-6789-fixed-according-to-reviewer-comments-2.patch warning: Macro expanded in comment on line 62: %{VCS}/commit/aeddf1ad.patch#/%{name}-.T-ZBX-18680-resolve-merge-conflicts.patchwarning: Macro expanded in comment on line 63: %{VCS}/commit/e227a2df.patch#/%{name}-.T-ZBX-18680-fixed-various-code-issues.patchwarning: Downloading https://github.com/zabbix/zabbix//commit/ed9e3b37.patch#/zabbix-.T-ZBX-19623-fixed-Jira-URL-in-webhook.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBX-19623-fixed-Jira-URL-in-webhook.patch warning: Downloading https://github.com/zabbix/zabbix//commit/945ad979.patch#/zabbix-.T-ZBX-19835-fixed-incorrect-master-item-in-template.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBX-19835-fixed-incorrect-master-item-in-template.patch warning: Downloading https://github.com/zabbix/zabbix//commit/c3e8b275.patch#/zabbix-.T-ZBX-19623-fixed-Jira-Service-Desk-URL-in-webhook.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBX-19623-fixed-Jira-Service-Desk-URL-in-webhook.patch warning: Downloading https://github.com/zabbix/zabbix//commit/cbab7000.patch#/zabbix-.-DEV-1411-added-new-scenarios-for-change-delete-glo.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.-DEV-1411-added-new-scenarios-for-change-delete-glo.patch warning: Downloading https://github.com/zabbix/zabbix//commit/abf11ec2.patch#/zabbix-.-DEV-1411-fixed-fields-length.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.-DEV-1411-fixed-fields-length.patch warning: Downloading https://github.com/zabbix/zabbix//commit/76ba895e.patch#/zabbix-.-DEV-1411-added-context-refactored-data-cases.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.-DEV-1411-added-context-refactored-data-cases.patch warning: Downloading https://github.com/zabbix/zabbix//commit/8aad342f.patch#/zabbix-.-ZBXNEXT-826-updated-release-version-5.4.5rc1-updat.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-826-updated-release-version-5.4.5rc1-updat.patch warning: Downloading https://github.com/zabbix/zabbix//commit/5c734f9a.patch#/zabbix-.T-ZBX-19865-fixed-typos-in-F5-Big-IP-SNMP-template.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBX-19865-fixed-typos-in-F5-Big-IP-SNMP-template.patch warning: Downloading https://github.com/zabbix/zabbix//commit/312fc75d.patch#/zabbix-.T-ZBXNEXT-6789-fixed-template-description.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBXNEXT-6789-fixed-template-description.patch warning: Downloading https://github.com/zabbix/zabbix//commit/a3764814.patch#/zabbix-A.-ZBX-19857-dropped-support-for-the-non-working-opt.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-A.-ZBX-19857-dropped-support-for-the-non-working-opt.patch warning: Downloading https://github.com/zabbix/zabbix//commit/aca84844.patch#/zabbix-.-ZBX-19822-cherry-picked-from-5.0-and-fixed-conflic.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBX-19822-cherry-picked-from-5.0-and-fixed-conflic.patch warning: Downloading https://github.com/zabbix/zabbix//commit/6dad5613.patch#/zabbix-.D.-ZBX-19822-fixed-ChangeLog-entry.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.D.-ZBX-19822-fixed-ChangeLog-entry.patch warning: Downloading https://github.com/zabbix/zabbix//commit/05e576a2.patch#/zabbix-A.-ZBX-19822-updated-configuration-checks-in-bypass-.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-A.-ZBX-19822-updated-configuration-checks-in-bypass-.patch warning: Downloading https://github.com/zabbix/zabbix//commit/cda137c3.patch#/zabbix-.T-ZBX-19849-fixed-a-trigger-name-typo-in-the-MSSQL-.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBX-19849-fixed-a-trigger-name-typo-in-the-MSSQL-.patch warning: Downloading https://github.com/zabbix/zabbix//commit/9eddc142.patch#/zabbix-.S.-ZBX-19236-fixed-task-manager-constantly-busy-wit.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.S.-ZBX-19236-fixed-task-manager-constantly-busy-wit.patch warning: Downloading https://github.com/zabbix/zabbix//commit/44b5e809.patch#/zabbix-.G.-ZBX-16803-fixed-ability-to-use-Interface-Guid-in.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.G.-ZBX-16803-fixed-ability-to-use-Interface-Guid-in.patch warning: Downloading https://github.com/zabbix/zabbix//commit/b27f000b.patch#/zabbix-.G.-ZBX-19510-fixed-re-reading-of-old-Windows-events.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.G.-ZBX-19510-fixed-re-reading-of-old-Windows-events.patch warning: Downloading https://github.com/zabbix/zabbix//commit/4ed77ada.patch#/zabbix-.G.-ZBX-19613-fixed-Zabbix-agent-2-redis-plugin-to-c.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.G.-ZBX-19613-fixed-Zabbix-agent-2-redis-plugin-to-c.patch warning: Downloading https://github.com/zabbix/zabbix//commit/75444d3b.patch#/zabbix-.S.-ZBXNEXT-6820-added-utf8mb3-when-checking-for-sup.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.S.-ZBXNEXT-6820-added-utf8mb3-when-checking-for-sup.patch warning: Downloading https://github.com/zabbix/zabbix//commit/4f3b4eed.patch#/zabbix-.-ZBXNEXT-826-updated-4.0.34rc1-ChangeLog-entries.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-826-updated-4.0.34rc1-ChangeLog-entries.patch warning: Downloading https://github.com/zabbix/zabbix//commit/7f486d35.patch#/zabbix-.-ZBXNEXT-826-updated-5.0.16rc1-ChangeLog-entries.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-826-updated-5.0.16rc1-ChangeLog-entries.patch warning: Macro expanded in comment on line 85: %{VCS}/commit/feafbfcf.patch#/%{name}-.-ZBXNEXT-826-updated-5.4.5rc1-ChangeLog-entries.patchwarning: Downloading https://github.com/zabbix/zabbix//commit/8835ac3d.patch#/zabbix-.-ZBX-1357-automatic-translation-file-sync-for-5.4.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBX-1357-automatic-translation-file-sync-for-5.4.patch warning: Downloading https://github.com/zabbix/zabbix//commit/9ba7c0f3.patch#/zabbix-.-ZBXNEXT-686-fixed-non-stable-testDiscoveryRuleLLDM.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-686-fixed-non-stable-testDiscoveryRuleLLDM.patch warning: Downloading https://github.com/zabbix/zabbix//commit/2061f0cc.patch#/zabbix-.-ZBXNEXT-686-updated-changelog.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-686-updated-changelog.patch warning: Downloading https://github.com/zabbix/zabbix//commit/e0f70341.patch#/zabbix-.-ZBXNEXT-686-updated-changelog-1.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-686-updated-changelog-1.patch warning: Downloading https://github.com/zabbix/zabbix//commit/35883d2b.patch#/zabbix-.-ZBXNEXT-686-updated-changelog-2.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-686-updated-changelog-2.patch warning: Downloading https://github.com/zabbix/zabbix//commit/c7751f78.patch#/zabbix-.-ZBXNEXT-686-updated-changelog-3.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-686-updated-changelog-3.patch warning: Downloading https://github.com/zabbix/zabbix//commit/6340dc79.patch#/zabbix-.-ZBXNEXT-826-updated-changelog-4.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-826-updated-changelog-4.patch warning: Downloading https://github.com/zabbix/zabbix//commit/8bffaf88.patch#/zabbix-.-ZBXNEXT-686-changed-changelog-5.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-686-changed-changelog-5.patch warning: Downloading https://github.com/zabbix/zabbix//commit/779eb10a.patch#/zabbix-.F.-ZBX-19581-fixed-fix-for-string-translation-relat.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.F.-ZBX-19581-fixed-fix-for-string-translation-relat.patch warning: Downloading https://github.com/zabbix/zabbix//commit/a1d46b0f.patch#/zabbix-.G.-ZBX-19675-fixed-Zabbix-agent-2-R-windows-service.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.G.-ZBX-19675-fixed-Zabbix-agent-2-R-windows-service.patch warning: Downloading https://github.com/zabbix/zabbix//commit/1ec8aad2.patch#/zabbix-.F.-ZBX-19817-fixed-module-config-not-being-stored-i.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-.F.-ZBX-19817-fixed-module-config-not-being-stored-i.patch warning: Macro expanded in comment on line 97: %{name}-ZBX-19635-2.patchwarning: Downloading https://support.zabbix.com/secure/attachment/145037/ZBX-19635-3.diff#/zabbix-ZBX-19635-3.patch to /home/tkloczko/rpmbuild/SOURCES/zabbix-ZBX-19635-3.patch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Jsqfgx + umask 022 + cd /home/tkloczko/rpmbuild/BUILD + cd /home/tkloczko/rpmbuild/BUILD + rm -rf zabbix-5.4.4 + /usr/bin/gzip -dc /home/tkloczko/rpmbuild/SOURCES/zabbix-5.4.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd zabbix-5.4.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-init.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-default-config.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-default-item_type_zabbix_item_active.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-default-graph_1200x300.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-default-create_graph_with_default_all_func.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-default-proxy_ZBX_MAX_HRECORDS_50000.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-am_fixes-top_srcdir-5.0.4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-no_enable-static.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-ac_fixes-LT_INIT.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-ac_fixes-CPPFLAGS_top_srcdir_include.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-API-zabbix-1.0-v5.0.1.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-zbx_mod_dummy-v4.4.0.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-use_libldap_r.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.F.-ZBX-19581-fixed-untranslated-and-incorrectly-tra.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.D.-ZBX-19581-added-changelog-file.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBXNEXT-6789-added-template-for-Travis-CI.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBXNEXT-6789-fixed-according-to-reviewer-comments.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBXNEXT-6789-fixed-according-to-reviewer-comments-2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBX-19623-fixed-Jira-URL-in-webhook.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBX-19835-fixed-incorrect-master-item-in-template.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBX-19623-fixed-Jira-Service-Desk-URL-in-webhook.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-DEV-1411-added-new-scenarios-for-change-delete-glo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-DEV-1411-fixed-fields-length.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-DEV-1411-added-context-refactored-data-cases.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-826-updated-release-version-5.4.5rc1-updat.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBX-19865-fixed-typos-in-F5-Big-IP-SNMP-template.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBXNEXT-6789-fixed-template-description.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-A.-ZBX-19857-dropped-support-for-the-non-working-opt.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBX-19822-cherry-picked-from-5.0-and-fixed-conflic.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.D.-ZBX-19822-fixed-ChangeLog-entry.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-A.-ZBX-19822-updated-configuration-checks-in-bypass-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBX-19849-fixed-a-trigger-name-typo-in-the-MSSQL-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.S.-ZBX-19236-fixed-task-manager-constantly-busy-wit.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.G.-ZBX-16803-fixed-ability-to-use-Interface-Guid-in.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.G.-ZBX-19510-fixed-re-reading-of-old-Windows-events.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.G.-ZBX-19613-fixed-Zabbix-agent-2-redis-plugin-to-c.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.S.-ZBXNEXT-6820-added-utf8mb3-when-checking-for-sup.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-826-updated-4.0.34rc1-ChangeLog-entries.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-826-updated-5.0.16rc1-ChangeLog-entries.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBX-1357-automatic-translation-file-sync-for-5.4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-686-fixed-non-stable-testDiscoveryRuleLLDM.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-686-updated-changelog.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-686-updated-changelog-1.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-686-updated-changelog-2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-686-updated-changelog-3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-826-updated-changelog-4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-686-changed-changelog-5.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.F.-ZBX-19581-fixed-fix-for-string-translation-relat.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.G.-ZBX-19675-fixed-Zabbix-agent-2-R-windows-service.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.F.-ZBX-19817-fixed-module-config-not-being-stored-i.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-ZBX-19635-3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch 1 out of 1 hunk FAILED -- saving rejects to file src/zabbix_js/Makefile.am.rej error: Bad exit status from /var/tmp/rpm-tmp.Jsqfgx (%prep) |
Comment by Tomasz Kłoczko [ 2021 Sep 08 ] |
One sec .. looks like one of my patches is in collision
|
Comment by Vladislavs Sokurenko [ 2021 Sep 08 ] |
If you use latest release/5.4 branch then you don't need to apply any patches as fix is already merged there |
Comment by Tomasz Kłoczko [ 2021 Sep 08 ] |
I think that some of my patches are worth to add to your tree.
|
Comment by Tomasz Kłoczko [ 2021 Sep 08 ] |
zabbix-go_linkig.patch moved some lines from autoconf (which forses to add two AC_SUBST() doirectly to exaxt Makefile.am. which makes everytjing a bit simpler and at the same time in Makefile.am is full visibility of with with what agent is linked. |
Comment by Tomasz Kłoczko [ 2021 Sep 08 ] |
OK now everything applies + umask 022 + cd /home/tkloczko/rpmbuild/BUILD + cd /home/tkloczko/rpmbuild/BUILD + rm -rf zabbix-5.4.4 + /usr/bin/gzip -dc /home/tkloczko/rpmbuild/SOURCES/zabbix-5.4.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd zabbix-5.4.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-init.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-default-config.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-default-item_type_zabbix_item_active.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-default-graph_1200x300.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-default-create_graph_with_default_all_func.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-default-proxy_ZBX_MAX_HRECORDS_50000.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-no_enable-static.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-ac_fixes-LT_INIT.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-ac_fixes-CPPFLAGS_top_srcdir_include.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-API-zabbix-1.0-v5.0.1.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-zbx_mod_dummy-v4.4.0.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-use_libldap_r.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.F.-ZBX-19581-fixed-untranslated-and-incorrectly-tra.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.D.-ZBX-19581-added-changelog-file.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBXNEXT-6789-added-template-for-Travis-CI.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBXNEXT-6789-fixed-according-to-reviewer-comments.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBXNEXT-6789-fixed-according-to-reviewer-comments-2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBX-19623-fixed-Jira-URL-in-webhook.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBX-19835-fixed-incorrect-master-item-in-template.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBX-19623-fixed-Jira-Service-Desk-URL-in-webhook.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-DEV-1411-added-new-scenarios-for-change-delete-glo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-DEV-1411-fixed-fields-length.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-DEV-1411-added-context-refactored-data-cases.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-826-updated-release-version-5.4.5rc1-updat.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBX-19865-fixed-typos-in-F5-Big-IP-SNMP-template.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBXNEXT-6789-fixed-template-description.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-A.-ZBX-19857-dropped-support-for-the-non-working-opt.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBX-19822-cherry-picked-from-5.0-and-fixed-conflic.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.D.-ZBX-19822-fixed-ChangeLog-entry.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-A.-ZBX-19822-updated-configuration-checks-in-bypass-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.T-ZBX-19849-fixed-a-trigger-name-typo-in-the-MSSQL-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.S.-ZBX-19236-fixed-task-manager-constantly-busy-wit.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.G.-ZBX-16803-fixed-ability-to-use-Interface-Guid-in.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.G.-ZBX-19510-fixed-re-reading-of-old-Windows-events.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.G.-ZBX-19613-fixed-Zabbix-agent-2-redis-plugin-to-c.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.S.-ZBXNEXT-6820-added-utf8mb3-when-checking-for-sup.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-826-updated-4.0.34rc1-ChangeLog-entries.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-826-updated-5.0.16rc1-ChangeLog-entries.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBX-1357-automatic-translation-file-sync-for-5.4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-686-fixed-non-stable-testDiscoveryRuleLLDM.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-686-updated-changelog.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-686-updated-changelog-1.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-686-updated-changelog-2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-686-updated-changelog-3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-826-updated-changelog-4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.-ZBXNEXT-686-changed-changelog-5.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.F.-ZBX-19581-fixed-fix-for-string-translation-relat.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.G.-ZBX-19675-fixed-Zabbix-agent-2-R-windows-service.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-.F.-ZBX-19817-fixed-module-config-not-being-stored-i.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-ZBX-19635-3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-go_linkig.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/zabbix-am_fixes-top_srcdir-5.4.4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch Here is the second my patch whcu replaces all $(top_srcdir) by $(top_builddir) in case of libraries. I'm using off-trre build like autoreconf -fiv mkdir build-{mysql,psql} cd build-mysql ../condigigure <mysql_options> cd - cd cd build-psql ../condigigure <psql_options> cd - And without that patch above procedure fails Really PLEAS remember not use $(top_srcdir) in Makefile.am files in case of all build products OK .. lets see if it now builds |
Comment by Tomasz Kłoczko [ 2021 Sep 08 ] |
Looks like it fails because missing definition about how to generate one file Making all in zbxdbhigh make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.4/x86_64-redhat-linux-gnu-mysql/src/libs/zbxdbhigh' make[3]: *** No rule to make target 'dbschema.c', needed by 'libzbxdbhigh_a-dbschema.o'. Stop. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.4/x86_64-redhat-linux-gnu-mysql/src/libs/zbxdbhigh' make[2]: *** [Makefile:571: all-recursive] Error 1 make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.4/x86_64-redhat-linux-gnu-mysql/src/libs' make[1]: *** [Makefile:528: all-recursive] Error 1 make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.4.4/x86_64-redhat-linux-gnu-mysql/src' IIRC in dist tar ball that file is included but in case tagged git tree that file is missing. Probably it is necessary to add rule abbot how to generate that file :
|
Comment by Vladislavs Sokurenko [ 2021 Sep 08 ] |
Usually it should be automatically generated but you can try invoking "make dbschema" |
Comment by Vladislavs Sokurenko [ 2021 Sep 08 ] |
Fixed in:
|
Comment by Tomasz Kłoczko [ 2021 Sep 08 ] |
OK looks like that it is yet another off-tree-build issue. Here is the small patch
Unable to find source-code formatter for language: patch. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml --- a/configure.ac~ 2021-09-08 13:19:02.000000000 +0100 +++ b/configure.ac 2021-09-08 13:22:00.393783197 +0100 @@ -1372,7 +1372,7 @@ [ipv6=no]) AM_CONDITIONAL(IPV6, test "x$ipv6" = "xyes") -AM_CONDITIONAL([DBSCHEMA], [test -d create]) +AM_CONDITIONAL([DBSCHEMA], [test -d ${srcdir}/create]) AM_CONDITIONAL([ZBXCMOCKA], [(test -f m4/conf_tests.m4) && (test "x$server" = "xyes" || test "x$proxy" = "xyes" || test "x$agent" = "xyes")]) and whole off-tree-build need additional autoconf param: autoreconf -fiv mkdir build-{mysql,psql} cd build-mysql ../condigigure <mysql_options> --srcdir=../ cd - cd cd build-psql ../condigigure <psql_options> --srcdir=../ cd - Just been able pass without issue %build %install failed but that is because in "all" target are not build database schemas In other words ZBX-19635-3.diff Thank you Is it will be possible to merge zabbix-go_linkig.patch and zabbix-off_tree_build-5.4.4.patch patches?
|
Comment by Vladislavs Sokurenko [ 2021 Sep 08 ] |
Thanks for testing, not sure how to reproduce the latter but sure it is possible to include, please create new bug report with the details and mention ticket number here and we will review the ticket. |