[package - main-arm64-default][graphics/php-facedetect] Failed for php74-facedetect-1.1_11 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 05 Sep 2021 14:50:58 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     mm@FreeBSD.org
Log URL:        http://ampere2.nyi.freebsd.org/data/main-arm64-default/pa985fc1b4ec1_scd85b97e0e/logs/php74-facedetect-1.1_11.log
Build URL:      http://ampere2.nyi.freebsd.org/build.html?mastername=main-arm64-default&build=pa985fc1b4ec1_scd85b97e0e
Log:

=>> Building graphics/php-facedetect
build started at Sun Sep  5 14:49:47 UTC 2021
port directory: /usr/ports/graphics/php-facedetect
package name: php74-facedetect-1.1_11
building for: FreeBSD main-arm64-default-job-10 14.0-CURRENT FreeBSD 14.0-CURRENT 1400032 arm64
maintained by: mm@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1400032
Job Id: 10




!!! Jail is newer than host. (Jail: 1400032, Host: 1400008) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1400032
UNAME_v=FreeBSD 14.0-CURRENT 1400032
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=php74
DEPENDS_ARGS=
MAKE_ARGS= FLAVOR=php74
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
mm@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-facedetect --with-php-config=/usr/local/bin/php-config --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/php-facedetect/work-php74  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/php-facedetect/work-php74  HOME=/wrkdirs/usr/ports/graphics/php-facedetect/work-php74 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/php-facedetect/work-php74/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/php-facedetect/work-php74  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/php-facedetect/work-php74  HOME=/wrkdirs/usr/ports/graphics/php-facedetect/work-php74 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/php-facedetect/work-php74/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -fstack-protector-strong " LIBS="-lopencv_core -L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  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=20190902 OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/facedetect"  EXAMPLESDIR="share/examples/facedetect"  DATADIR="share/facedetect"  WWWDIR="www/facedetect"  ETCDIR="etc/facedetect"
--End PLIST_SUB--

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

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400032
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License PHP30 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   php74-facedetect-1.1_11 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.1.pkg
[main-arm64-default-job-10] Installing pkg-1.17.1...
[main-arm64-default-job-10] Extracting pkg-1.17.1: .......... done
===>   php74-facedetect-1.1_11 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of php74-facedetect-1.1_11
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License PHP30 accepted by the user
===> Fetching all distfiles required by php74-facedetect-1.1_11 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License PHP30 accepted by the user
===> Fetching all distfiles required by php74-facedetect-1.1_11 for building
=> SHA256 Checksum OK for infusion-PHP-Facedetect-1.1-2a8974b_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License PHP30 accepted by the user
===> Fetching all distfiles required by php74-facedetect-1.1_11 for building
===>  Extracting for php74-facedetect-1.1_11
=> SHA256 Checksum OK for infusion-PHP-Facedetect-1.1-2a8974b_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for php74-facedetect-1.1_11
===========================================================================
=======================<phase: build-depends  >============================
===>   php74-facedetect-1.1_11 depends on file: /usr/local/bin/phpize - not found
===>   Installing existing package /packages/All/php74-7.4.23.pkg
[main-arm64-default-job-10] Installing php74-7.4.23...
[main-arm64-default-job-10] `-- Installing libargon2-20190702...
[main-arm64-default-job-10] `-- Extracting libargon2-20190702: .......... done
[main-arm64-default-job-10] `-- Installing libxml2-2.9.12...
[main-arm64-default-job-10] `-- Extracting libxml2-2.9.12: .......... done
[main-arm64-default-job-10] `-- Installing pcre2-10.37...
[main-arm64-default-job-10] `-- Extracting pcre2-10.37: .......... done
[main-arm64-default-job-10] Extracting php74-7.4.23: .......... done
<snip>
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/site/index.html, if documentation was installed).
=====
Message from ca_root_nss-3.69_1:

--
FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.


This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem
=====
Message from freeglut-3.2.1:

--
Joystick support is untested and it is unknown if it works.

Do not hesitate to contact x11@FreeBSD.org if this causes issues.
=====
Message from proj-7.2.1,1:

--
Since proj 7, datum grids are available from a CDN at https://cdn.proj.org and
should either be fetched dynamically at runtime (disabled by default, cf
https://proj.org/usage/network.html) or be fetched locally depending on your
work area needs, using the projsync command. 

DATA option allows you to download all the data, but it requires more than 400mb!
This option is disabled by default.

It is better to use the projsync command.

Use projsync --list-files to list the CDN content.

They can either by installed in the user homedir (under ~/.local/share/proj)

$ projsync --file fr_ign_ntf_r93.tif
Downloading from https://cdn.proj.org into /home/user/.local/share/proj
Total to download: 93581 bytes
Downloading https://cdn.proj.org/fr_ign_ntf_r93.tif... (1 / 1)

or systemwide in the default PROJ_LIB dir (under /usr/local/share/proj, cf
https://proj.org/resource_files.html)

# projsync --system-directory --file fr_ign_ntf_r93.tif
Downloading from https://cdn.proj.org into /usr/local/share/proj
Total to download: 93581 bytes
Downloading https://cdn.proj.org/fr_ign_ntf_r93.tif... (1 / 1)

If not using the default, make sure to set PROJ_LIB environment variable
accordingly.
=====
Message from boost-libs-1.72.0_5:

--
You have built the Boost library with thread support.

Don't forget to add -pthread to your linker options when
linking your code.
=====
Message from python38-3.8.11:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py38-gdbm       databases/py-gdbm@py38
py38-sqlite3    databases/py-sqlite3@py38
py38-tkinter    x11-toolkits/py-tkinter@py38
=====
Message from postgresql12-client-12.8:

--
The PostgreSQL port has a collection of "side orders":

postgresql-docs
  For all of the html documentation

p5-Pg
  A perl5 API for client access to PostgreSQL databases.

postgresql-tcltk 
  If you want tcl/tk client support.

postgresql-jdbc
  For Java JDBC support.

postgresql-odbc
  For client access from unix applications using ODBC as access
  method. Not needed to access unix PostgreSQL servers from Win32
  using ODBC. See below.

ruby-postgres, py-psycopg2
  For client access to PostgreSQL databases using the ruby & python
  languages.

postgresql-plperl, postgresql-pltcl & postgresql-plruby
  For using perl5, tcl & ruby as procedural languages.

postgresql-contrib
  Lots of contributed utilities, postgresql functions and
  datatypes. There you find pg_standby, pgcrypto and many other cool
  things.

etc...
=====
Message from gcc10-10.3.0:

--
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc10

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
=====
Message from argp-standalone-1.3_4:

--
===>   NOTICE:

The argp-standalone port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
=====
Message from opencl-3.0:

--
OpenCL is the first open, royalty-free standard for cross-platform,
parallel programming of modern processors.
=====
Message from metis-5.1.0_8:

--
===>   NOTICE:

The metis port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
===>   php74-facedetect-1.1_11 depends on shared library: libopencv_objdetect.so - found (/usr/local/lib/libopencv_objdetect.so)
===>   Returning to build of php74-facedetect-1.1_11
===========================================================================
=======================<phase: configure      >============================
===>  PHPizing for php74-facedetect-1.1_11
===>  Configuring for php74-facedetect-1.1_11
Configuring for:
PHP Api Version:         20190902
Zend Module Api No:      20190902
Zend Extension Api No:   320190902
configure: loading site script /usr/ports/Templates/config.site
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking pkg-config is at least version 0.9.0... yes
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... Abort trap (core dumped)
configure: error: in `/wrkdirs/usr/ports/graphics/php-facedetect/work-php74/PHP-Facedetect-2a8974b':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
===>  Script "configure" failed unexpectedly.
Please report the problem to mm@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/graphics/php-facedetect/work-php74/PHP-Facedetect-2a8974b/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/graphics/php-facedetect