On Mon, Aug 21, 2017 at 10:01:20PM +0200, Johan Hendriks wrote: > > > 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 > >> > >> ======================<phase: check-sanity >============================ > >> 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 > >> ===> Script "configure" failed unexpectedly. > >> Please report the problem to p...@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 system > >> (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 options > > 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) >
[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--- ===> The following configuration options are available for zabbix32-frontend-3.2.7: MYSQL=off: MySQL database support MYSQLI=on: MySQLI backend ORACLE=off: Oracle database support PGSQL=off: PostgreSQL database support SQLITE=off: SQLite database support ===> 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 > ===> Script "configure" failed unexpectedly. > Please report the problem to p...@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 system > (e.g. a /usr/local/sbin/pkg-static info -g -Ea). > *** Error code 1 > > Stop. > make: stopped in /usr/ports/net-mgmt/zabbix32-server > ====>> Cleaning up wrkdir > ===> 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 !!! > > > My /etc/make.conf > > BATCH_DELETE_OLD_FILES= yes > WANT_OPENLDAP_SASL=yes > DEFAULT_VERSIONS+= pgsql=9.6 php=7.0 mysql=10.2m ssl=openssl apache=2.4 > [net-mgmt/zabbix32-server] And you are using mariadb, I'll make some tests with this. Regards. -- Danilo G. Baio (dbaio)
signature.asc
Description: PGP signature