zabbix7-server requires libxml2. However, its USE_GNOME directive wrongly leaks through to the zabbix7-agent's Makefile. The agent doesn't actually use this library. None of its binaries link to libxml2. USE_GNOME=libxml2 should be removed from the agent build. It should probably also be removed from zabbix6-agent and zabbix72-agent , but I haven't personally checked those.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9d3d924c73083952a585387eff19079d0a90fbb7 commit 9d3d924c73083952a585387eff19079d0a90fbb7 Author: Juraj Lutter <otis@FreeBSD.org> AuthorDate: 2025-06-06 11:16:15 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2025-06-06 12:04:16 +0000 net-mgmt/zabbix5-agent: Do not depend on libxml2 Do not depend on libxml2, it's not being used in agent. Move libxml2 dependency to only server and proxy builds. PR: 287330 net-mgmt/zabbix5-agent/Makefile | 1 + net-mgmt/zabbix5-server/Makefile | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5b0bf0e7d2a2d305a0e987c5bfc215bbb54513b7 commit 5b0bf0e7d2a2d305a0e987c5bfc215bbb54513b7 Author: Juraj Lutter <otis@FreeBSD.org> AuthorDate: 2025-06-06 11:18:19 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2025-06-06 12:04:17 +0000 net-mgmt/zabbix72-agent: Do not depend on libxml2 Do not depend on libxml2, it's not being used in agent. Move libxml2 dependency to only server and proxy builds. PR: 287330 net-mgmt/zabbix72-agent/Makefile | 2 +- net-mgmt/zabbix72-server/Makefile | 15 +++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=771b30447c4b550907438b378cae34d8cc24cd10 commit 771b30447c4b550907438b378cae34d8cc24cd10 Author: Juraj Lutter <otis@FreeBSD.org> AuthorDate: 2025-06-06 11:18:03 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2025-06-06 12:04:17 +0000 net-mgmt/zabbix7-agent: Do not depend on libxml2 Do not depend on libxml2, it's not being used in agent. Move libxml2 dependency to only server and proxy builds. PR: 287330 net-mgmt/zabbix7-agent/Makefile | 2 +- net-mgmt/zabbix7-server/Makefile | 15 +++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=700da7c5495f141493a25e7d1c7324d76d91f04d commit 700da7c5495f141493a25e7d1c7324d76d91f04d Author: Juraj Lutter <otis@FreeBSD.org> AuthorDate: 2025-06-06 11:17:34 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2025-06-06 12:04:16 +0000 net-mgmt/zabbix6-agent: Do not depend on libxml2 Do not depend on libxml2, it's not being used in agent. Move libxml2 dependency to only server and proxy builds. PR: 287330 net-mgmt/zabbix6-agent/Makefile | 2 +- net-mgmt/zabbix6-server/Makefile | 15 +++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-)
Committed, thanks.
Thanks for the fix!