Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Feb 2019 23:45:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 235631] net-mgmt/zabbix4-server  cannot build with MariaDB 10.3
Message-ID:  <bug-235631-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235631

            Bug ID: 235631
           Summary: net-mgmt/zabbix4-server  cannot build with MariaDB
                    10.3
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: 000.fbsd@quip.cz
                CC: pg@pakhom.spb.ru
                CC: pg@pakhom.spb.ru
             Flags: maintainer-feedback?(pg@pakhom.spb.ru)

Created attachment 201880
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D201880&action=
=3Dedit
build log failure

I am trying to build Zabbix 4 and Zabbix 3.4 in poudriere on FreeBSD 11.2 w=
ith
MariaDB 10.3. Both versions (4.0 and 3.4) failed with the same error:

checking for architecture... freebsd (freebsd11.2)
checking size of void *... 8
checking for mysql_config... /usr/local/bin/mysql_config
checking for main in -lmariadb... no
configure: error: Not found mariadb library
=3D=3D=3D>  Script "configure" failed unexpectedly.


This is make.conf for Poudriere

OPTIONS_UNSET=3D X11 GUI CUPS DOCS EXAMPLES NLS HAL

DEFAULT_VERSIONS=3Dapache=3D2.4 perl5=3D5.28 mysql=3D10.3m php=3D7.1 python=
=3D2.7
python3=3D3.6 pgsql=3D9.6 ssl=3Dopenssl bdb=3D5


And Zabbix options

---Begin OPTIONS List---
=3D=3D=3D> The following configuration options are available for
zabbix34-server-3.4.15:
     CURL=3Don: Support for web monitoring
     FPING=3Don: Build/install fping for ping checks
     IPMI=3Don: Support for IPMI checks
     IPV6=3Don: IPv6 protocol support
     JABBER=3Doff: Support for Jabber media type
     LDAP=3Doff: Support for LDAP server checks
     LIBXML2=3Doff: Support for libxml2 (required by monitoring VMware)
     NMAP=3Don: Build/install nmap for o/s detection
     SSH=3Don: Support for SSH-based checks
=3D=3D=3D=3D> Options available for the single DB: you have to select exact=
ly one of
them
     MYSQL=3Don: MySQL database support
     PGSQL=3Doff: PostgreSQL database support
     SQLITE=3Doff: SQLite database support
     ORACLE=3Doff: Oracle database support
=3D=3D=3D=3D> Support for database checks via ODBC: you have to select exac=
tly one of
them
     IODBC=3Doff: ODBC backend via iODBC
     UNIXODBC=3Don: ODBC backend via unixODBC
=3D=3D=3D=3D> SSL protocol support: you have to select exactly one of them
     OPENSSL=3Don: SSL/TLS support via OpenSSL
     GNUTLS=3Doff: SSL/TLS support via GnuTLS
=3D=3D=3D> Use 'make config' to modify these settings
---End OPTIONS List---


I found similar reports on the net but they were for older versions, marked=
 as
fixed more then year ago.

I am using / building Zabbix with the same settings with MariaDB 10.1 witho=
ut
problem.=20



I tried to build it manually in /usr/ports but the same error occurred:

checking for -rdynamic linking option... yes
checking for libperfstat 5.2.0.40 fileset... no
checking for libperfstat 5.3.0.60 fileset... no
checking for architecture... freebsd (freebsd11.2)
checking size of void *... 8
checking for mysql_config... /usr/local/bin/mysql_config
checking for main in -lmariadb... no
configure: error: Not found mariadb library
=3D=3D=3D>  Script "configure" failed unexpectedly.
Please report the problem to pg@pakhom.spb.ru [maintainer] and attach the
"/var/ports/usr/ports/default/net-mgmt/zabbix4-server/work/zabbix-4.0.3/con=
fig.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/default/net-mgmt/zabbix4-server
*** Error code 1

Stop.
make: stopped in /usr/ports/default/net-mgmt/zabbix4-server

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235631-7788>