Skip to content

Instantly share code, notes, and snippets.

@lwhsu
Created April 7, 2024 18:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lwhsu/176e6d8b133029830c03fc6c49a5edd8 to your computer and use it in GitHub Desktop.
Save lwhsu/176e6d8b133029830c03fc6c49a5edd8 to your computer and use it in GitHub Desktop.
=>> Building www/pecl-solr
build started at Sun Apr 7 18:56:58 UTC 2024
port directory: /usr/ports/www/pecl-solr
package name: php82-pecl-solr-2.7.0
building for: FreeBSD 14_0_amd64-default-job-01 14.0-RELEASE FreeBSD 14.0-RELEASE amd64
maintained by: gaod@hychen.org
Makefile datestamp: -rw-r--r-- 1 1129 493 429 Apr 7 18:56 /usr/ports/www/pecl-solr/Makefile
Poudriere version: poudriere-git-3.4.99.20240122_1
Host OSVERSION: 1400507
Jail OSVERSION: 1400097
Job Id: 01
---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400097
UNAME_v=FreeBSD 14.0-RELEASE
UNAME_r=14.0-RELEASE
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
WARNING_WAIT=0
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.99.20240122_1
MASTERMNT=/usr/local/poudriere/data/.m/14_0_amd64-default/ref
DEV_WARNING_WAIT=0
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen-256color
GID=0
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
UID=0
PWD=/usr/local/poudriere/data/.m/14_0_amd64-default/01/.p
OUTPUT_REDIRECTED_STDOUT=3
NO_WARNING_PKG_INSTALL_EOL=yes
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=14_0_amd64-default
HTTP_PROXY=http://proxy.nyi.freebsd.org:3128
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/14_0_amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---
---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=php82
MAKE_ARGS= FLAVOR=php82
---End Poudriere Port Flags/Env---
---Begin OPTIONS List---
---End OPTIONS List---
--MAINTAINER--
gaod@hychen.org
--End MAINTAINER--
--CONFIGURE_ARGS--
LIBXML_CFLAGS=-I/usr/local/include/libxml2 LIBXML_LIBS=-L/usr/local/include/libxml2 --with-php-config=/usr/local/bin/php-config --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/pecl-solr/work-php82 XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/pecl-solr/work-php82 XDG_CACHE_HOME=/wrkdirs/usr/ports/www/pecl-solr/work-php82/.cache HOME=/wrkdirs/usr/ports/www/pecl-solr/work-php82 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/pecl-solr/work-php82/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/pecl-solr/work-php82/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh 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/www/pecl-solr/work-php82 XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/pecl-solr/work-php82 XDG_CACHE_HOME=/wrkdirs/usr/ports/www/pecl-solr/work-php82/.cache HOME=/wrkdirs/usr/ports/www/pecl-solr/work-php82 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/pecl-solr/work-php82/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/pecl-solr/work-php82/.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 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " 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=20220829 OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/solr" EXAMPLESDIR="share/examples/solr" DATADIR="share/solr" WWWDIR="www/solr" ETCDIR="etc/solr"
--End PLIST_SUB--
--SUB_LIST--
PHP_EXT_DIR=20220829 PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/solr DOCSDIR=/usr/local/share/doc/solr EXAMPLESDIR=/usr/local/share/examples/solr WWWDIR=/usr/local/www/solr ETCDIR=/usr/local/etc/solr
--End SUB_LIST--
---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
---End make.conf---
--Resource limits--
cpu time (seconds, -t) unlimited
file size (512-blocks, -f) unlimited
data seg size (kbytes, -d) 33554432
stack size (kbytes, -s) 524288
core file size (512-blocks, -c) unlimited
max memory size (kbytes, -m) unlimited
locked memory (kbytes, -l) unlimited
max user processes (-u) 63694
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: DEVELOPER_MODE=yes DEVELOPER=1 STRICT_DEPENDS=yes USER=nobody UID=65534 GID=65534
===> License PHP301 accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===== env: DEVELOPER_MODE=yes USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> php82-pecl-solr-2.7.0 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.21.0.pkg
[14_0_amd64-default-job-01] Installing pkg-1.21.0...
[14_0_amd64-default-job-01] Extracting pkg-1.21.0: .......... done
===> php82-pecl-solr-2.7.0 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of php82-pecl-solr-2.7.0
===========================================================================
=======================<phase: fetch-depends >============================
===== env: DEVELOPER_MODE=yes USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch >============================
===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=root UID=0 GID=0
===> License PHP301 accepted by the user
===> php82-pecl-solr-2.7.0 depends on file: /usr/local/sbin/pkg - found
=> solr-2.7.0.tgz doesn't seem to exist in /portdistfiles/PECL.
=> Attempting to fetch https://pecl.php.net/get/solr-2.7.0.tgz
solr-2.7.0.tgz 613 kB 31 MBps 00s
===> Fetching all distfiles required by php82-pecl-solr-2.7.0 for building
===========================================================================
=======================<phase: checksum >============================
===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=root UID=0 GID=0
===> License PHP301 accepted by the user
===> php82-pecl-solr-2.7.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by php82-pecl-solr-2.7.0 for building
=> SHA256 Checksum OK for PECL/solr-2.7.0.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: DEVELOPER_MODE=yes USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract >============================
===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=nobody UID=65534 GID=65534
===> License PHP301 accepted by the user
===> php82-pecl-solr-2.7.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by php82-pecl-solr-2.7.0 for building
===> Extracting for php82-pecl-solr-2.7.0
=> SHA256 Checksum OK for PECL/solr-2.7.0.tgz.
===========================================================================
=======================<phase: patch-depends >============================
===== env: DEVELOPER_MODE=yes USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch >============================
===== env: DEVELOPER_MODE=yes DEVELOPER=1 STRICT_DEPENDS=yes USER=nobody UID=65534 GID=65534
===> Patching for php82-pecl-solr-2.7.0
===> Applying FreeBSD patches for php82-pecl-solr-2.7.0 from /usr/ports/www/pecl-solr/files
===========================================================================
=======================<phase: build-depends >============================
===== env: DEVELOPER_MODE=yes USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> php82-pecl-solr-2.7.0 depends on file: /usr/local/include/php/main/php.h - not found
===> Installing existing package /packages/All/php82-8.2.17.pkg
[14_0_amd64-default-job-01] Installing php82-8.2.17...
[14_0_amd64-default-job-01] `-- Installing libargon2-20190702_1...
[14_0_amd64-default-job-01] `-- Extracting libargon2-20190702_1: .......... done
[14_0_amd64-default-job-01] `-- Installing libxml2-2.11.7...
[14_0_amd64-default-job-01] | `-- Installing readline-8.2.10...
[14_0_amd64-default-job-01] | | `-- Installing indexinfo-0.3.1...
[14_0_amd64-default-job-01] | | `-- Extracting indexinfo-0.3.1: .... done
[14_0_amd64-default-job-01] | `-- Extracting readline-8.2.10: .......... done
[14_0_amd64-default-job-01] `-- Extracting libxml2-2.11.7: .......... done
[14_0_amd64-default-job-01] `-- Installing pcre2-10.43...
[14_0_amd64-default-job-01] `-- Extracting pcre2-10.43: .......... done
[14_0_amd64-default-job-01] Extracting php82-8.2.17: .......... done
===> php82-pecl-solr-2.7.0 depends on file: /usr/local/include/php/main/php.h - found
===> Returning to build of php82-pecl-solr-2.7.0
===> php82-pecl-solr-2.7.0 depends on file: /usr/local/bin/phpize - found
===> php82-pecl-solr-2.7.0 depends on package: autoconf>0 - not found
===> Installing existing package /packages/All/autoconf-2.72.pkg
[14_0_amd64-default-job-01] Installing autoconf-2.72...
[14_0_amd64-default-job-01] `-- Installing autoconf-switch-20220527...
[14_0_amd64-default-job-01] `-- Extracting autoconf-switch-20220527: .......... done
[14_0_amd64-default-job-01] `-- Installing m4-1.4.19_1,1...
[14_0_amd64-default-job-01] | `-- Installing gettext-runtime-0.22.5...
[14_0_amd64-default-job-01] | `-- Extracting gettext-runtime-0.22.5: .......... done
[14_0_amd64-default-job-01] `-- Extracting m4-1.4.19_1,1: .......... done
[14_0_amd64-default-job-01] `-- Installing perl5-5.36.3_1...
[14_0_amd64-default-job-01] `-- Extracting perl5-5.36.3_1: .......... done
[14_0_amd64-default-job-01] Extracting autoconf-2.72: .......... done
===> php82-pecl-solr-2.7.0 depends on package: autoconf>0 - found
===> Returning to build of php82-pecl-solr-2.7.0
===========================================================================
=======================<phase: lib-depends >============================
===== env: DEVELOPER_MODE=yes USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> php82-pecl-solr-2.7.0 depends on shared library: libcurl.so - not found
===> Installing existing package /packages/All/curl-8.7.1.pkg
[14_0_amd64-default-job-01] Installing curl-8.7.1...
[14_0_amd64-default-job-01] `-- Installing libnghttp2-1.61.0...
[14_0_amd64-default-job-01] `-- Extracting libnghttp2-1.61.0: .......... done
[14_0_amd64-default-job-01] `-- Installing libpsl-0.21.5...
[14_0_amd64-default-job-01] | `-- Installing libidn2-2.3.7...
[14_0_amd64-default-job-01] | | `-- Installing libunistring-1.2...
[14_0_amd64-default-job-01] | | `-- Extracting libunistring-1.2: .......... done
[14_0_amd64-default-job-01] | `-- Extracting libidn2-2.3.7: .......... done
[14_0_amd64-default-job-01] `-- Extracting libpsl-0.21.5: .......... done
[14_0_amd64-default-job-01] `-- Installing libssh2-1.11.0_1,3...
[14_0_amd64-default-job-01] `-- Extracting libssh2-1.11.0_1,3: .......... done
[14_0_amd64-default-job-01] Extracting curl-8.7.1: .......... done
===> php82-pecl-solr-2.7.0 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so)
===> Returning to build of php82-pecl-solr-2.7.0
===> php82-pecl-solr-2.7.0 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so)
===========================================================================
=>> Recording filesystem state for prebuild... done
=======================<phase: configure >============================
===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=nobody UID=65534 GID=65534
===> php82-pecl-solr-2.7.0 depends on file: /usr/local/include/php/main/php.h - found
===> php82-pecl-solr-2.7.0 depends on file: /usr/local/bin/phpize - found
===> php82-pecl-solr-2.7.0 depends on package: autoconf>0 - found
===> php82-pecl-solr-2.7.0 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so)
===> php82-pecl-solr-2.7.0 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so)
===> PHPizing for php82-pecl-solr-2.7.0
===> Configuring for php82-pecl-solr-2.7.0
Configuring for:
PHP Api Version: 20220829
Zend Module Api No: 20220829
Zend Extension Api No: 420220829
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 for pkg-config... no
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... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking how to run the C preprocessor... cpp
checking for egrep -e... (cached) /usr/bin/egrep
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -Wl,-rpath,... yes
checking build system type... amd64-portbld-freebsd14.0
checking host system type... amd64-portbld-freebsd14.0
checking target system type... amd64-portbld-freebsd14.0
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/20220829
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... (cached) /usr/bin/awk
checking if /usr/bin/awk is broken... no
checking whether to enable the Solr extension... yes, shared
checking whether to compile with solr in verbose mode... no
checking whether to enable code coverage... no
checking for pkg-config... no
checking for libcurl... configure: error: pkg-config or libcurl not found
===> Script "configure" failed unexpectedly.
Please report the problem to gaod@hychen.org [maintainer] and attach the
"/wrkdirs/usr/ports/www/pecl-solr/work-php82/solr-2.7.0/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/www/pecl-solr
=>> Cleaning up wrkdir
===> Cleaning for php82-pecl-solr-2.7.0
build of www/pecl-solr@php82 | php82-pecl-solr-2.7.0 ended at Sun Apr 7 18:57:02 UTC 2024
build time: 00:00:04
!!! build failure encountered !!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment