Bug 210807 - security/base: Does not build against PHP70 when MYSQL is enabled
Summary: security/base: Does not build against PHP70 when MYSQL is enabled
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2016-07-04 09:24 UTC by rainer
Modified: 2018-12-05 15:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rainer 2016-07-04 09:24:25 UTC
====>> Building security/base
build started at Mon Jul  4 05:36:01 CEST 2016
port directory: /usr/ports/security/base
building for: FreeBSD 10amd64php7-2016Q3-job-08 10.1-RELEASE-p36 FreeBSD 10.1-RELEASE-p36 amd64
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: branches/2016Q3/security/base/Makefile 412349 2016-04-01 14:25:16Z mat $
Poudriere version: 3.1.14
Host OSVERSION: 1001000
Jail OSVERSION: 1001000

---Begin Environment---
UNAME_v=FreeBSD 10.1-RELEASE-p36
UNAME_r=10.1-RELEASE-p36
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
OPSYS=FreeBSD
ARCH=amd64
SAVED_TERM=screen
MASTERMNT=/usr/local/poudriere/data/.m/10amd64php7-2016Q3/ref
UID=0
FORCE_PACKAGE=yes
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
_JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=base-1.4.5
OSREL=10.1
_OSRELEASE=10.1-RELEASE-p36
PYTHONBASE=/usr/local
OLDPWD=/
_SMP_CPUS=12
PWD=/usr/local/poudriere/data/.m/10amd64php7-2016Q3/ref/.p/pool
HAVE_COMPAT_IA32_KERN=YES LINUX_OSRELEASE=2.6.16
MASTERNAME=10amd64php7-2016Q3
SCRIPTPREFIX=/usr/local/share/poudriere
_JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.14
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
CONFIGURE_MAX_CMD_LEN=262144
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
_JAVA_OS_LIST_REGEXP=native\|linux
OSVERSION=1001000
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for base-1.4.5:
     DOCS=off: Build and/or install documentation
     MYSQL=on: MySQL database support
     PDF=on: PDF document support
     PGSQL=on: PostgreSQL database support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/base/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/base/work  HOME=/wrkdirs/usr/ports/security/base/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/base/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/base/work  HOME=/wrkdirs/usr/ports/security/base/work TMPDIR="/tmp" NO_PIE=yes WITHOUT_DEBUG_FILES=yes WITHOUT_KERNEL_SYMBOLS=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 444"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PHP_EXT_DIR=20151012-zts
OSREL=10.1
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS="@comment
"
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/base"
EXAMPLESDIR="share/examples/base"
DATADIR="share/base"
WWWDIR="www/base"
ETCDIR="etc/base"
--End PLIST_SUB--

--SUB_LIST--
PHP_EXT_DIR=20151012-zts
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/base
DOCSDIR=/usr/local/share/doc/base
EXAMPLESDIR=/usr/local/share/examples/base
WWWDIR=/usr/local/www/base
ETCDIR=/usr/local/etc/base
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
#WITH_CCACHE_BUILD=yes
USE_LOCAL_MK=yes

#### /usr/local/etc/poudriere.d/10amd64php7-make.conf ####
WITH_PKGNG=yes
INSTALL_NODEBUG="yes"
A4=yes
WITH_UTF8=yes
#WITHOUT_X11=yes
#WITHOUT_X=yes
OPTIONS_UNSET=X11

NO_PROFILE=true


APACHE_PORT=www/apache22-worker-mpm
DEFAULT_VERSIONS=php=70 mysql=101m apache=2.2 ruby=2.3 pgsql=9.5 perl5=5.22 python=2.7

#PERL_VERSION=5.16.3
#DEFAULT_MYSQL_VER=55m
#DEFAULT_PGSQL_VER=93
#DEFAULT_PHP_VER=55
#PHP_DEFAULT= 5.5
#RUBY_DEFAULT_VERSION=1.9
#RUBY_VER=1.9
#1.8 is still the default in ports
# deprecated:
#NOPORTDOCS=yes
OPTIONS_UNSET=DOCS

SUEXEC_DOCROOT=/home
SUEXEC_UIDMIN=80
SUEXEC_GIDMIN=80

#PYTHON_VERSION= python2.7
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity   >============================
Unknown extension mysql for PHP 70.
*** Error code 1

Stop.
make: stopped in /usr/ports/security/base
====>> Cleaning up wrkdir
===>  Cleaning for base-1.4.5
build of security/base ended at Mon Jul  4 05:36:03 CEST 2016
build time: 00:00:02
!!! build failure encountered !!!
Comment 1 VK freebsd_triage 2016-07-09 00:41:43 UTC
Thanks for the report. Indeed, PHP 7 is dropping the mysql extension.

The port has no maintainer. Can you perhaps provide a patch for security/base? I don't know if it can work with PDO or mysqli, so either it should adjust USE_PHP for one of those two if PHP 7 is built against, or it should be marked broken for PHP 7.
Comment 2 Rene Ladan freebsd_committer 2018-12-05 15:50:14 UTC
PHP 7.0 reached end-of-life on 2018-12-03 and has been removed.

No feedback in 2 years and 4 months.