Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2017 00:23:51 -0300
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
To:        Johan Hendriks <joh.hendriks@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: zabbix32-server and frontend fails to build on poudriere
Message-ID:  <20170822032351.d3pnfqu62v5qrlpi@dx240.localdomain>
In-Reply-To: <06fc7097-f6c9-436b-1895-b583f3e668f7@gmail.com>
References:  <13bce5b2-b897-d28e-b895-4d72b3863ab0@gmail.com> <20170821024537.nkeq3j4qdqceecho@dbaio.bs2cloud.com.br> <06fc7097-f6c9-436b-1895-b583f3e668f7@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--6mzfpu6xcsevwetk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 21, 2017 at 10:01:20PM +0200, Johan Hendriks wrote:
>=20
>=20
> Op 21/08/2017 om 04:45 schreef Danilo G. Baio:
> > On Mon, Aug 21, 2017 at 12:12:19AM +0200, Johan Hendriks wrote:
> >> Hello all,
> >>
> >> It seems zabbix32-server and zabbix32-frontend fails to build with
> >> poudriere.
> >>
> >> This is the log from poudriere.
> >>
> >> zabbix32-frontend
> >>
> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<pha=
se: check-sanity   >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >> Unknown extension mysql for PHP 70.
> >> *** Error code 1
> > That's because mysql extension does not exist in PHP 7.0+
> > This should fix zabbix32-frontend:
> > https://people.freebsd.org/~dbaio/svn-patch-zabbix3-frontend-mysql.patch
> >
> >> And this I get from zabbix32-server
> >>
> >> configure: error: Not found mysqlclient library
> >> =3D=3D=3D>  Script "configure" failed unexpectedly.
> >> Please report the problem to pg@pakhom.spb.ru [maintainer] and attach =
the
> >> "/wrkdirs/usr/ports/net-mgmt/zabbix32-server/work/zabbix-3.2.7/config.=
log"
> >> including the output of the failure of your make command. Also, it mig=
ht be
> >> a good idea to provide an overview of all packages installed on your s=
ystem
> >> (e.g. a /usr/local/sbin/pkg-static info -g -Ea).
> >> *** Error code 1
> > I wasn't able to reproduce this, could you send your list of port optio=
ns and
> > the full build log?
> >
> > Regards.
> If I apply your patch, it will not build zabbix32_frontend with the
> following message
> Ignored: cannot be installed: doesn't work with lang/php70 port (doesn't
> support PHP 7.0)
>=20


[net-mgmt/zabbix32-frontend]

The patch just removes MYSQL as default option.

It won't build with PHP70 if MYSQL is enabled.

It needs to be like this(poudriere log):

---Begin OPTIONS List---
=3D=3D=3D> The following configuration options are available for zabbix32-f=
rontend-3.2.7:
     MYSQL=3Doff: MySQL database support
     MYSQLI=3Don: MySQLI backend
     ORACLE=3Doff: Oracle database support
     PGSQL=3Doff: PostgreSQL database support
     SQLITE=3Doff: SQLite database support
=3D=3D=3D> Use 'make config' to modify these settings
---End OPTIONS List---



> checking for mysql_config... /usr/local/bin/mysql_config
> checking for main in -l... no
> configure: error: Not found mysqlclient library
> =3D=3D=3D>  Script "configure" failed unexpectedly.
> Please report the problem to pg@pakhom.spb.ru [maintainer] and attach the
> "/wrkdirs/usr/ports/net-mgmt/zabbix32-server/work/zabbix-3.2.7/config.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 syst=
em
> (e.g. a /usr/local/sbin/pkg-static info -g -Ea).
> *** Error code 1
>=20
> Stop.
> make: stopped in /usr/ports/net-mgmt/zabbix32-server
> =3D=3D=3D=3D>> Cleaning up wrkdir
> =3D=3D=3D>  Cleaning for zabbix32-server-3.2.7
> build of net-mgmt/zabbix32-server ended at Mon Aug 21 04:45:31 CEST 2017
> build time: 00:00:14
> !!! build failure encountered !!!
>=20
>=20
> My /etc/make.conf
>=20
> BATCH_DELETE_OLD_FILES=3D yes
> WANT_OPENLDAP_SASL=3Dyes
> DEFAULT_VERSIONS+=3D   pgsql=3D9.6 php=3D7.0 mysql=3D10.2m ssl=3Dopenssl =
apache=3D2.4
>=20

[net-mgmt/zabbix32-server]

And you are using mariadb, I'll make some tests with this.

Regards.
--=20
Danilo G. Baio (dbaio)

--6mzfpu6xcsevwetk
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEORj0UTsjzCy+enIkmpN7LfMuiNcFAlmbo8IACgkQmpN7LfMu
iNdltxAAtt3MI2EcX4hsr/1Yh/fvn69kj3fX/cerNPfRAVG0EazQStlcXikZTxCc
WNLTd91u357DWjxXpXDcjrvdf0SEvjzujVia3yCLHjkUPY7ZgmpVFPwpGwYiRurO
SxfoH2hckuA5VtEnnJ/4fktJi2SSgnie/z0MGAdPtojOoeiQV8/MGS2nxKYDPj00
2Sbm78qwcjX317Qtj7VM0J6GHJm2p3FxpKTIU0Z80FhYGWleTNs5XfUzZoxlb/28
lFQhqyY7KutBLinrkcSMVF2izurjic4gR5Qkk9XAa+Z4SA/U1Lvq7StSXqq1+wmA
29dZ3GlVG/+5XIZE6qJg0j0xX7m451DgJ2CdJWknBif1DtM5uL1hMRcpy2Z0oPyq
g2evFzaX0XeISjzg4IN6vcI87QiMCjlYyfY2859BwYqNAUbHolvr0VUUrh6FyaMY
7hwRrw5IVhOwUtZ4YRftpjbXP9CquHeZU50I9KE+6BHDHwt6lnP6yPFiDNP5m4h0
AIRG6GZ543AiTPW1T02Kfztmi/+sYWwnVJekuqBktfBygkNgFOr9khBykiSfWfDw
DZKGf9mCO4yRO/By5k8UEVRoG4MFWx16scADS6VDV9G+eG00YSslz0HxmHa0pe/L
p2U5UwTIqgZPEfyFUfin6IhXADl7/gxFmsIqP1V+iK68N3YeBuU=
=FGPp
-----END PGP SIGNATURE-----

--6mzfpu6xcsevwetk--



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