Bug 270211 - zabbix64-frontend-php81 does not install php81-filter, which it depends on
Summary: zabbix64-frontend-php81 does not install php81-filter, which it depends on
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: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-14 16:07 UTC by Þorsteinn
Modified: 2023-03-15 11:06 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Þorsteinn 2023-03-14 16:07:46 UTC
The port net-mgmt/zabbix64-frontend-php81 does not install security/php81-filter which causes an error when trying to display a list of host through Monitoring -> Hosts in Zabbix's web interface. The list is empty with a 500 error in the browser console, and 

Got error 'PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function filter_var()...

In /var/log/messages. Installing security/php81-filter fixes the issue.

The package was built with poudriere with PGSQL set and MYSQLI unset.

Cheers,
Þorsteinn
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-03-14 17:08:49 UTC
A commit in branch main references this bug:

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

commit d17835ba7adcab68a26cffbd49b0b1c2a3ea0a77
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-03-14 17:05:07 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-03-14 17:06:54 +0000

    net-mgmt/zabbix64-frontend: Fix RUNTIME dependency

    Add missing php filter module

    PR:             270211
    Reported by:    thorsteinn@isnic.is

 net-mgmt/zabbix64-frontend/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-03-15 07:02:08 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=42b92f2955a3175b8f7f6ad22b7f63112619db4c

commit 42b92f2955a3175b8f7f6ad22b7f63112619db4c
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2023-03-15 06:58:42 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2023-03-15 06:58:42 +0000

    net-mgmt/zabbix6-frontend: Add php-filter runtime dependency

    Re-add php-filter runtime dependency, similarly to zabbix64-frontend.

    PR:             270211

 net-mgmt/zabbix6-frontend/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Comment 3 Juraj Lutter freebsd_committer freebsd_triage 2023-03-15 08:49:59 UTC
I'd like to very kindly ask you, for the future, to assign the tickets to maintainer.
Comment 4 Þorsteinn 2023-03-15 09:27:02 UTC
I'll remember to do that in the future, thanks for the heads up.
Comment 5 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2023-03-15 10:50:34 UTC
(In reply to Þorsteinn from comment #4)
Hey .. This was actually not meant for you. But as I have worked on your bug reports previously so I want to ask you whether if you assigned me this PR or not. We are just trying to debug the problem with bugzilla now.
Comment 6 Þorsteinn 2023-03-15 11:03:15 UTC
(In reply to Muhammad Moinur Rahman from comment #5)
Hi mate,

as far as I know I left the assignee field blank.
Comment 7 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2023-03-15 11:06:42 UTC
(In reply to Þorsteinn from comment #6)
Thanks for the info.

(In reply to Juraj Lutter from comment #3)
I am looping in bugmeister@

bugmeister@ can you check why the bugzilla-automation assigned this to me instead of the original MAINTAINER?