Bug 264957 - net-mgmt/zabbix5-server: make package fails for zabbix5-frontend child port
Summary: net-mgmt/zabbix5-server: make package fails for zabbix5-frontend child port
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Juraj Lutter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-29 21:40 UTC by wolfgang
Modified: 2022-07-01 12:50 UTC (History)
3 users (show)

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


Attachments
Visual diff (66.90 KB, image/png)
2022-06-30 14:57 UTC, Michael Osipov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description wolfgang 2022-06-29 21:40:46 UTC
"make package" in the net-mgmt/zabbix5-frontend port fails, because it tries to install LC_MESSAGE files for languages "nb" and "sv". I have not looked for the reason these files are missing, maybe they have been removed upstream.

Workaround: in net-mgmt/zabbix5-server/pkg-plist.frontend remove the lines containing "locale/nb/LC_MESSAGES" and "locale/sv/LC_MESSAGES".
This fixes package building in poudriere for me.
Comment 1 Juraj Lutter freebsd_committer freebsd_triage 2022-06-30 10:40:39 UTC
This is not the case any longer. Can you please share if you are building from main branch or from quarterly?
Comment 2 wolfgang 2022-06-30 12:23:38 UTC
I am building from quarterly; sorry, should have mentioned that.
Comment 3 Michael Osipov 2022-06-30 14:56:46 UTC
Just had the very same problem today! I have to modify pkg-plist.frontend. See attachment.
Comment 4 Michael Osipov 2022-06-30 14:57:23 UTC
Created attachment 235003 [details]
Visual diff

This needs to be applied to 2022Q2.
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-07-01 12:49:19 UTC
A commit in branch 2022Q2 references this bug:

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

commit 0dfc123f20bf0959f37854b14338cfe913153d9d
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2022-07-01 12:40:00 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2022-07-01 12:40:00 +0000

    net-mgmt/zabbix5-server: Fix pkg-plist for frontend

    Fix pkg-plist for zabbix5-frontend that has not been caught
    up in previous commit to zabbix5-server.

    This is a direct commit to 2022Q2

    PR:             264957

 net-mgmt/zabbix5-server/pkg-plist.frontend | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
Comment 6 Juraj Lutter freebsd_committer freebsd_triage 2022-07-01 12:50:52 UTC
Fixed in commit 0dfc123f20bf0959f37854b14338cfe913153d9d in 2022Q2