Bug 287341 - net-mgmt/zabbix7-frontend: port provided no flavors
Summary: net-mgmt/zabbix7-frontend: port provided no flavors
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Juraj Lutter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-06 12:30 UTC by Einar Bjarni Halldórsson
Modified: 2025-06-06 16:18 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (otis)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Einar Bjarni Halldórsson 2025-06-06 12:30:04 UTC
Looks like https://cgit.freebsd.org/ports/commit/?id=771b30447c4b550907438b378cae34d8cc24cd10 broke FLAVORS in zabbix*-frontend.

Error from poudriere:

[00:00:04] Warning: (net-mgmt/zabbix7-frontend@php83): Error: /usr/local/share/poudriere/bulk.sh:gather_port_vars_port:174:gather_port_vars_port: net-mgmt/zabbix7-frontend had FLAVOR=php83 but port provided no flavors?
[00:00:05] Error: /usr/local/share/poudriere/bulk.sh:gather_port_vars:183:Fatal errors encountered gathering ports metadata
[142amd64-142amd64_default-default] [2025-06-06_12h05m01s] [crashed] Time: 00:00:03
[00:00:05] Logs: /usr/local/poudriere/data/logs/bulk/142amd64-142amd64_default-default/2025-06-06_12h05m01s
Comment 1 Christian Ullrich 2025-06-06 13:22:10 UTC
That commit moved the line "USES=iconv pkgconfig" outside of the ".if not frontend" block that now starts at line 23.

Quick workaround: Change "USES=" on line 21 to "USES+=". It may bring in a few extra dependencies, but as far as -frontend is concerned it isn't any worse than before.
Comment 2 commit-hook freebsd_committer freebsd_triage 2025-06-06 16:18:20 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6176af49b61e53c2eadee35ea0ac38be48143da0

commit 6176af49b61e53c2eadee35ea0ac38be48143da0
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2025-06-06 15:41:31 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2025-06-06 16:17:43 +0000

    net-mgmt/zabbix7-server: Move USES to correct part of Makefile

    PR:             287341

 net-mgmt/zabbix7-server/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2025-06-06 16:18:22 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=71f51f701941a5d05f47e1c9a4fdc8986371762b

commit 71f51f701941a5d05f47e1c9a4fdc8986371762b
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2025-06-06 15:41:14 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2025-06-06 16:17:41 +0000

    net-mgmt/zabbix6-server: Move USES to correct part of Makefile

    PR:             287341

 net-mgmt/zabbix6-server/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2025-06-06 16:18:23 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7dc85cd7f75b4bc1f4cee7e457f73944de4c9e73

commit 7dc85cd7f75b4bc1f4cee7e457f73944de4c9e73
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2025-06-06 15:41:42 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2025-06-06 16:17:41 +0000

    net-mgmt/zabbix72-server: Move USES to correct part of Makefile

    PR:             287341

 net-mgmt/zabbix72-server/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Comment 5 Juraj Lutter freebsd_committer freebsd_triage 2025-06-06 16:18:55 UTC
Should be fixed now, tested using poudriere.

Thanks for the report.