Summary: | net-mgmt/icinga2: Build failure with OPTIONS_UNSET+= MYSQL | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Fredrik Eriksson <freebsd> | ||||||
Component: | Individual Port(s) | Assignee: | Dirk Meyer <dinoex> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Many People | CC: | dinoex, dsh, eduardo, freebsd, jako.andras | ||||||
Priority: | --- | Keywords: | patch, regression | ||||||
Version: | Latest | Flags: | dinoex:
maintainer-feedback-
|
||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Same problem here. Exactly the same here. Created attachment 244154 [details]
fix build without mysql
Hi,
I'm attaching a fix for building without mysql.
(In reply to Denis Shaposhnikov from comment #3) Thanks! It builds fine with PostgreSQL and your patch. (In reply to Denis Shaposhnikov from comment #3) Thanks! Can confirm as well, with this patch it builds both with postgres and without any db backend. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=4cd3b097e766618661400a3f554f14d886397800 commit 4cd3b097e766618661400a3f554f14d886397800 Author: Dirk Meyer <dinoex@FreeBSD.org> AuthorDate: 2023-09-14 14:40:50 +0000 Commit: Dirk Meyer <dinoex@FreeBSD.org> CommitDate: 2023-09-14 14:40:50 +0000 net-mgmt/icinga2: fix build options mysql, postgres PR: 273095 net-mgmt/icinga2/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Committed after maintainer timeout (In reply to Dirk Meyer from comment #7) Thanks Dirk. |
Created attachment 244045 [details] poudriere-icinga2-2.14.0.log It looks like icinga2-2.14.0 tries to build with mysql support even if mysql is explicit disabled; causing build failure because of missing mysql libraries. I have previously built icinga2-2.13.7 without mysql, so I guess something changed in the version bump. See attached poudriere build log.