An error occurs during the build process after updating zabbix-agent2-plugin* to version 6.0.49. It caused by new postinst block in new packages.
postinst:
chown root:zabbix /etc/zabbix/zabbix_agent2.d/plugins.d/<plugin>.conf
The build process fails during the plugin installation with the following error:
invalid group: 'root:zabbix'
The addgroup command exists in the postinst script of zabbix-agent2, however it installs the plugins first as a dependency during the build process.