[ZBX-19621] 5.2.7: build fails against net-snmp 5.9.1 Created: 2021 Jul 01  Updated: 2024 Apr 10  Resolved: 2021 Sep 07

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: None
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Tomasz Kłoczko Assignee: Vladislavs Sokurenko
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux x96_64, net-snmp 5.9.1


Attachments: Text File config.log    
Team: Team A
Sprint: Sprint 80 (Sep 2021)

 Description   

Build fails with

make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.2.7/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:572:77: error: ‘usmDESPrivProtocol’ undeclared (first use in this function); did you mean ‘usmAESPrivProtocol’?
  572 |                                                 session.securityPrivProto = usmDESPrivProtocol;
      |                                                                             ^~~~~~~~~~~~~~~~~~
      |                                                                             usmAESPrivProtocol
../../../../src/zabbix_server/poller/checks_snmp.c:572:77: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [Makefile:770: libzbxpoller_a-checks_snmp.o] Error 1
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.2.7/x86_64-redhat-linux-gnu-mysql/src/zabbix_server/poller'
make[2]: *** [Makefile:838: all-recursive] Error 1
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.2.7/x86_64-redhat-linux-gnu-mysql/src/zabbix_server'
make[1]: *** [Makefile:523: all-recursive] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zabbix-5.2.7/x86_64-redhat-linux-gnu-mysql/src'

 



 Comments   
Comment by Tomasz Kłoczko [ 2021 Jul 05 ]

BTW that issue is not 5.2.x specyfic. 5.4.x fails as well.

 

Comment by Dmitry Krupornitsky [ 2021 Jul 05 ]

Hello, 

Please provide config.log file of unsuccessful build. 

Comment by Tomasz Kłoczko [ 2021 Jul 06 ]

Here it is

config.log

Comment by Tomasz Kłoczko [ 2021 Aug 24 ]

Any progres?

 

Comment by Vladislavs Sokurenko [ 2021 Sep 07 ]

Thank you for your report, this will be fixed under ZBX-19635

Generated at Sun May 25 07:38:51 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.