[package - main-armv7-default][graphics/php-facedetect] Failed for php81-facedetect-1.1_17 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 15 Sep 2024 23:45:29 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:        https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/p13f486017d78_s3df987c99/logs/php81-facedetect-1.1_17.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=p13f486017d78_s3df987c99
Log:

=>> Building graphics/php-facedetect
build started at Sun Sep 15 23:45:00 UTC 2024
port directory: /usr/ports/graphics/php-facedetect
package name: php81-facedetect-1.1_17
building for: FreeBSD main-armv7-default-job-04 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 arm
maintained by: mm@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 563 May  4 01:03 /usr/ports/graphics/php-facedetect/Makefile
Ports top last git commit: 13f486017d7
Ports top unclean checkout: no
Port dir last git commit: 0a2c5ca042f
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500023
Job Id: 04

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500023
UNAME_v=FreeBSD 15.0-CURRENT 1500023
UNAME_r=15.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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/main-armv7-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-armv7-default/04/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=php81
MAKE_ARGS= FLAVOR=php81
---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-php81  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/php-facedetect/work-php81  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/php-facedetect/work-php81/.cache  HOME=/wrkdirs/usr/ports/graphics/php-facedetect/work-php81 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/php-facedetect/work-php81/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/php-facedetect/work-php81/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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-php81  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/php-facedetect/work-php81  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/php-facedetect/work-php81/.cache  HOME=/wrkdirs/usr/ports/graphics/php-facedetect/work-php81 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/php-facedetect/work-php81/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/php-facedetect/work-php81/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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 /u
sr/local/include -fno-strict-aliasing  -isystem /usr/local/include " 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=20210902 OSREL=15.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=20210902 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---
# 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 3 jobs
MAKE_JOBS_NUMBER=3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# 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 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
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)  524288
stack size              (kbytes, -s)  65536
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)  8192
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   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License PHP30 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   php81-facedetect-1.1_17 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-armv7-default-job-04] Installing pkg-1.21.3...
[main-armv7-default-job-04] Extracting pkg-1.21.3: .......... done
===>   php81-facedetect-1.1_17 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of php81-facedetect-1.1_17
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License PHP30 accepted by the user
===> Fetching all distfiles required by php81-facedetect-1.1_17 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License PHP30 accepted by the user
===> Fetching all distfiles required by php81-facedetect-1.1_17 for building
=> SHA256 Checksum OK for infusion-PHP-Facedetect-1.1-0e243c5_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License PHP30 accepted by the user
===> Fetching all distfiles required by php81-facedetect-1.1_17 for building
===>  Extracting for php81-facedetect-1.1_17
=> SHA256 Checksum OK for infusion-PHP-Facedetect-1.1-0e243c5_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for php81-facedetect-1.1_17
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   php81-facedetect-1.1_17 depends on file: /usr/local/bin/phpize - not found
===>   Installing existing package /packages/All/php81-8.1.29_1.pkg
[main-armv7-default-job-04] Installing php81-8.1.29_1...
[main-armv7-default-job-04] `-- Installing libargon2-20190702_1...
[main-armv7-default-job-04] `-- Extracting libargon2-20190702_1: .......... done
[main-armv7-default-job-04] `-- Installing libxml2-2.11.8...
[main-armv7-default-job-04] |   `-- Installing readline-8.2.13...
[main-armv7-default-job-04] |   | `-- Installing indexinfo-0.3.1...
[main-armv7-default-job-04] |   | `-- Extracting indexinfo-0.3.1: .... done
[main-armv7-default-job-04] |   `-- Extracting readline-8.2.13: .......... done
[main-armv7-default-job-04] `-- Extracting libxml2-2.11.8: .......... done
[main-armv7-default-job-04] `-- Installing pcre2-10.43...
[main-armv7-default-job-04] `-- Extracting pcre2-10.43: .......... done
[main-armv7-default-job-04] Extracting php81-8.1.29_1: .......... done
=====
Message from php81-8.1.29_1:

--
===>   NOTICE:

<snip>
[main-armv7-default-job-04] `-- Extracting gdcm-3.0.24: .......... done
[main-armv7-default-job-04] `-- Installing gflags-2.2.2_2...
[main-armv7-default-job-04] `-- Extracting gflags-2.2.2_2: .......... done
[main-armv7-default-job-04] `-- Installing glog-0.7.1...
[main-armv7-default-job-04] |   `-- Installing libunwind-20240221...
[main-armv7-default-job-04] |   `-- Extracting libunwind-20240221: .......... done
[main-armv7-default-job-04] `-- Extracting glog-0.7.1: .......... done
[main-armv7-default-job-04] `-- Installing gstreamer1-1.22.10...
[main-armv7-default-job-04] `-- Extracting gstreamer1-1.22.10: .......... done
[main-armv7-default-job-04] `-- Installing gstreamer1-plugins-1.22.10_2...
[main-armv7-default-job-04] |   `-- Installing iso-codes-4.15.0...
[main-armv7-default-job-04] |   `-- Extracting iso-codes-4.15.0: .......... done
[main-armv7-default-job-04] |   `-- Installing orc-0.4.36...
[main-armv7-default-job-04] |   `-- Extracting orc-0.4.36: .......... done
[main-armv7-default-job-04] `-- Extracting gstreamer1-plugins-1.22.10_2: .......... done
[main-armv7-default-job-04] `-- Installing harfbuzz-9.0.0...
[main-armv7-default-job-04] |   `-- Installing graphite2-1.3.14...
[main-armv7-default-job-04] |   `-- Extracting graphite2-1.3.14: .......... done
[main-armv7-default-job-04] `-- Extracting harfbuzz-9.0.0: .......... done
[main-armv7-default-job-04] `-- Installing libdc1394-2.2.6_1...
[main-armv7-default-job-04] `-- Extracting libdc1394-2.2.6_1: .......... done
[main-armv7-default-job-04] `-- Installing libgphoto2-2.5.31...
[main-armv7-default-job-04] |   `-- Installing libexif-0.6.24...
[main-armv7-default-job-04] |   `-- Extracting libexif-0.6.24: .......... done
[main-armv7-default-job-04] |   `-- Installing libgd-2.3.3_13,1...
[main-armv7-default-job-04] |   `-- Extracting libgd-2.3.3_13,1: .......... done
[main-armv7-default-job-04] |   `-- Installing libltdl-2.4.7...
[main-armv7-default-job-04] |   `-- Extracting libltdl-2.4.7: .......... done
[main-armv7-default-job-04] `-- Extracting libgphoto2-2.5.31: .......... done
[main-armv7-default-job-04] `-- Installing libv4l-1.23.0_5...
[main-armv7-default-job-04] |   `-- Installing libudev-devd-0.5.2...
[main-armv7-default-job-04] |   `-- Extracting libudev-devd-0.5.2: ........ done
[main-armv7-default-job-04] `-- Extracting libv4l-1.23.0_5: .......... done
[main-armv7-default-job-04] `-- Installing openblas-0.3.27,2...
[main-armv7-default-job-04] `-- Extracting openblas-0.3.27,2: .......... done
[main-armv7-default-job-04] `-- Installing opencl-3.0.16...
[main-armv7-default-job-04] `-- Extracting opencl-3.0.16: .......... done
[main-armv7-default-job-04] `-- Installing openexr-3.2.4...
[main-armv7-default-job-04] |   `-- Installing Imath-3.1.11...
[main-armv7-default-job-04] |   `-- Extracting Imath-3.1.11: .......... done
[main-armv7-default-job-04] `-- Extracting openexr-3.2.4: .......... done
[main-armv7-default-job-04] `-- Installing py311-numpy-1.26.4_2,1...
[main-armv7-default-job-04] |   `-- Installing py311-setuptools-63.1.0_1...
[main-armv7-default-job-04] |   `-- Extracting py311-setuptools-63.1.0_1: .......... done
[main-armv7-default-job-04] |   `-- Installing suitesparse-umfpack-6.3.3_1...
[main-armv7-default-job-04] |   | `-- Installing suitesparse-amd-3.3.2...
[main-armv7-default-job-04] |   |   `-- Installing suitesparse-config-7.7.0_1...
[main-armv7-default-job-04] |   |   `-- Extracting suitesparse-config-7.7.0_1: .......... done
[main-armv7-default-job-04] |   | `-- Extracting suitesparse-amd-3.3.2: .......... done
[main-armv7-default-job-04] |   | `-- Installing suitesparse-camd-3.3.2...
[main-armv7-default-job-04] |   | `-- Extracting suitesparse-camd-3.3.2: .......... done
[main-armv7-default-job-04] |   | `-- Installing suitesparse-ccolamd-3.3.3...
[main-armv7-default-job-04] |   | `-- Extracting suitesparse-ccolamd-3.3.3: .......... done
[main-armv7-default-job-04] |   | `-- Installing suitesparse-cholmod-5.2.1_1...
[main-armv7-default-job-04] |   |   `-- Installing suitesparse-colamd-3.3.3...
[main-armv7-default-job-04] |   |   `-- Extracting suitesparse-colamd-3.3.3: .......... done
[main-armv7-default-job-04] |   | `-- Extracting suitesparse-cholmod-5.2.1_1: .......... done
[main-armv7-default-job-04] |   `-- Extracting suitesparse-umfpack-6.3.3_1: .......... done
[main-armv7-default-job-04] `-- Extracting py311-numpy-1.26.4_2,1: .......... done
[main-armv7-default-job-04] Extracting opencv-4.9.0_2: .......... done
==> Running trigger: fontconfig.ucl
Running fc-cache to build fontconfig cache...
==> Running trigger: gio-modules.ucl
Generating GIO modules cache
==> Running trigger: glib-schemas.ucl
Compiling glib schemas
No schema files found: doing nothing.
=====
Message from freetype2-2.13.2:

--
The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
the default, emulating a modern version of ClearType. This change inevitably
leads to different rendering results, and you might change port's options to
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
variable).

The environment variable "FREETYPE_PROPERTIES" can be used to control the
driver properties. Example:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
	cff:no-stem-darkening=1 \
	autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

If LONG_PCF_NAMES port's option was enabled, the PCF family names may include
the foundry and information whether they contain wide characters. For example,
"Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at
run time with using pcf:no-long-family-names property, if needed. Example:

FREETYPE_PROPERTIES=pcf:no-long-family-names=1

How to recreate fontconfig cache with using such environment variable,
if needed:
# env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed).
=====
Message from gcc13-13.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/gcc13

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
=====
Message from boost-libs-1.84.0:

--
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 python311-3.11.9_1:

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

py311-gdbm       databases/py-gdbm@py311
py311-sqlite3    databases/py-sqlite3@py311
py311-tkinter    x11-toolkits/py-tkinter@py311
=====
Message from postgresql16-client-16.4:

--
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...
===>   php81-facedetect-1.1_17 depends on shared library: libopencv_objdetect.so - found (/usr/local/lib/libopencv_objdetect.so)
===>   Returning to build of php81-facedetect-1.1_17
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  PHPizing for php81-facedetect-1.1_17
===>  Configuring for php81-facedetect-1.1_17
Configuring for:
PHP Api Version:         20210902
Zend Module Api No:      20210902
Zend Extension Api No:   420210902
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-php81/PHP-Facedetect-0e243c5':
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-php81/PHP-Facedetect-0e243c5/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 making "configure" in /usr/ports/graphics/php-facedetect