[package - 15stable-amd64-default][textproc/luceneplusplus] Failed for lucene++-3.0.9_2 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 24 Sep 2025 09:26:43 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:     fluffy@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy17/data/15stable-amd64-default/69aa10aa5e95/logs/lucene++-3.0.9_2.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=15stable-amd64-default&build=69aa10aa5e95
Log:

=>> Building textproc/luceneplusplus
build started at Wed Sep 24 09:26:35 -00 2025
port directory: /usr/ports/textproc/luceneplusplus
package name: lucene++-3.0.9_2
building for: FreeBSD 15stable-amd64-default-job-09 15.0-ALPHA3 FreeBSD 15.0-ALPHA3 1500064 amd64
maintained by: fluffy@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1067 Jun  5 01:01 /usr/ports/textproc/luceneplusplus/Makefile
Ports top last git commit: 69aa10aa5e9
Ports top unclean checkout: no
Port dir last git commit: 18632db919c
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.3
Host OSVERSION: 1600000
Jail OSVERSION: 1500064
Job Id: 09

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500064
UNAME_v=FreeBSD 15.0-ALPHA3 1500064
UNAME_r=15.0-ALPHA3
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.3
MASTERMNT=/usr/local/poudriere/data/.m/15stable-amd64-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/15stable-amd64-default/09/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=15stable-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/15stable-amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.3
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

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

--MAINTAINER--
fluffy@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/luceneplusplus/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/luceneplusplus/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/luceneplusplus/work/.cache  HOME=/wrkdirs/usr/ports/textproc/luceneplusplus/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/textproc/luceneplusplus/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/textproc/luceneplusplus/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/luceneplusplus/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/luceneplusplus/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/luceneplusplus/work/.cache  HOME=/wrkdirs/usr/ports/textproc/luceneplusplus/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/textproc/luceneplusplus/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/textproc/luceneplusplus/work/.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 DESTDIR=/wrkdirs/usr/ports/textproc/luceneplusplus/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing   " BSD_INSTALL_PROGRAM="install  -s -m 555"  B
SD_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--
LIBVERSION="3.0.9" CMAKE_BUILD_TYPE="release" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/lucene++"  EXAMPLESDIR="share/examples/lucene++"  DATADIR="share/lucene++"  WWWDIR="www/lucene++"  ETCDIR="etc/lucene++"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/lucene++ DOCSDIR=/usr/local/share/doc/lucene++ EXAMPLESDIR=/usr/local/share/examples/lucene++  WWWDIR=/usr/local/www/lucene++ ETCDIR=/usr/local/etc/lucene++
--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)  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)  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
pipebuf                         (-y)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License LGPL3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   lucene++-3.0.9_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.3.1.pkg
[15stable-amd64-default-job-09] Installing pkg-2.3.1...
[15stable-amd64-default-job-09] Extracting pkg-2.3.1: .......... done
===>   lucene++-3.0.9_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of lucene++-3.0.9_2
===========================================================================
=======================<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 LGPL3 accepted by the user
===> Fetching all distfiles required by lucene++-3.0.9_2 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License LGPL3 accepted by the user
===> Fetching all distfiles required by lucene++-3.0.9_2 for building
=> SHA256 Checksum OK for luceneplusplus-LucenePlusPlus-rel_3.0.9_GH0.tar.gz.
=> SHA256 Checksum OK for c18ead2b0c4aa62af01450cb12353a0baa51411f.patch.
=> SHA256 Checksum OK for e6a376836e5c891577eae6369263152106b9bc02.patch.
===========================================================================
=======================<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 LGPL3 accepted by the user
===> Fetching all distfiles required by lucene++-3.0.9_2 for building
===>  Extracting for lucene++-3.0.9_2
=> SHA256 Checksum OK for luceneplusplus-LucenePlusPlus-rel_3.0.9_GH0.tar.gz.
=> SHA256 Checksum OK for c18ead2b0c4aa62af01450cb12353a0baa51411f.patch.
=> SHA256 Checksum OK for e6a376836e5c891577eae6369263152106b9bc02.patch.
===========================================================================
=======================<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 lucene++-3.0.9_2
===>  Applying distribution patches for lucene++-3.0.9_2
/usr/bin/sed -i.bak "/cotire/d" /wrkdirs/usr/ports/textproc/luceneplusplus/work/LucenePlusPlus-rel_3.0.9/src/contrib/CMakeLists.txt  /wrkdirs/usr/ports/textproc/luceneplusplus/work/LucenePlusPlus-rel_3.0.9/src/core/CMakeLists.txt  /wrkdirs/usr/ports/textproc/luceneplusplus/work/LucenePlusPlus-rel_3.0.9/src/test/CMakeLists.txt
/usr/bin/sed -i.bak 's,LIB_DESTINATION}/pkgconfig,CMAKE_INSTALL_LIBDIR}/pkgconfig,'  /wrkdirs/usr/ports/textproc/luceneplusplus/work/LucenePlusPlus-rel_3.0.9/src/config/core/CMakeLists.txt
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   lucene++-3.0.9_2 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.31.7_1.pkg
[15stable-amd64-default-job-09] Installing cmake-core-3.31.7_1...
[15stable-amd64-default-job-09] `-- Installing expat-2.7.1...
[15stable-amd64-default-job-09] `-- Extracting expat-2.7.1: .......... done
[15stable-amd64-default-job-09] `-- Installing jsoncpp-1.9.6_1...
[15stable-amd64-default-job-09] `-- Extracting jsoncpp-1.9.6_1: .......... done
[15stable-amd64-default-job-09] `-- Installing libidn2-2.3.8...
[15stable-amd64-default-job-09] |   `-- Installing indexinfo-0.3.1_1...
[15stable-amd64-default-job-09] |   `-- Extracting indexinfo-0.3.1_1: .... done
[15stable-amd64-default-job-09] |   `-- Installing libunistring-1.3...
[15stable-amd64-default-job-09] |   `-- Extracting libunistring-1.3: .......... done
[15stable-amd64-default-job-09] `-- Extracting libidn2-2.3.8: .......... done
[15stable-amd64-default-job-09] `-- Installing libuv-1.51.0...
[15stable-amd64-default-job-09] `-- Extracting libuv-1.51.0: .......... done
[15stable-amd64-default-job-09] `-- Installing rhash-1.4.4_1...
[15stable-amd64-default-job-09] |   `-- Installing gettext-runtime-0.23.1...
[15stable-amd64-default-job-09] |   `-- Extracting gettext-runtime-0.23.1: .......... done
[15stable-amd64-default-job-09] `-- Extracting rhash-1.4.4_1: .......... done
[15stable-amd64-default-job-09] Extracting cmake-core-3.31.7_1: .......... done
===>   lucene++-3.0.9_2 depends on file: /usr/local/bin/cmake - found
===>   Returning to build of lucene++-3.0.9_2
===>   lucene++-3.0.9_2 depends on executable: ninja - not found
===>   Installing existing package /packages/All/ninja-1.13.1,4.pkg
[15stable-amd64-default-job-09] Installing ninja-1.13.1,4...
[15stable-amd64-default-job-09] `-- Installing python311-3.11.13_1...
[15stable-amd64-default-job-09] |   `-- Installing libffi-3.5.1...
[15stable-amd64-default-job-09] |   `-- Extracting libffi-3.5.1: .......... done
[15stable-amd64-default-job-09] |   `-- Installing mpdecimal-4.0.1...
[15stable-amd64-default-job-09] |   `-- Extracting mpdecimal-4.0.1: .......... done
[15stable-amd64-default-job-09] |   `-- Installing readline-8.2.13_2...
[15stable-amd64-default-job-09] |   `-- Extracting readline-8.2.13_2: .......... done
[15stable-amd64-default-job-09] `-- Extracting python311-3.11.13_1: .......... done
[15stable-amd64-default-job-09] Extracting ninja-1.13.1,4: ........ done
=====
Message from python311-3.11.13_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
===>   lucene++-3.0.9_2 depends on executable: ninja - found
===>   Returning to build of lucene++-3.0.9_2
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   lucene++-3.0.9_2 depends on shared library: libboost_system.so - not found
===>   Installing existing package /packages/All/boost-libs-1.88.0_2.pkg
[15stable-amd64-default-job-09] Installing boost-libs-1.88.0_2...
[15stable-amd64-default-job-09] `-- Installing icu-76.1,1...
[15stable-amd64-default-job-09] `-- Extracting icu-76.1,1: .......... done
[15stable-amd64-default-job-09] `-- Installing zstd-1.5.7...
[15stable-amd64-default-job-09] |   `-- Installing liblz4-1.10.0,1...
[15stable-amd64-default-job-09] |   `-- Extracting liblz4-1.10.0,1: .......... done
[15stable-amd64-default-job-09] `-- Extracting zstd-1.5.7: .......... done
[15stable-amd64-default-job-09] Extracting boost-libs-1.88.0_2: .......... done
=====
Message from boost-libs-1.88.0_2:

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

Don't forget to add -pthread to your linker options when
linking your code.
===>   lucene++-3.0.9_2 depends on shared library: libboost_system.so - found (/usr/local/lib/libboost_system.so)
===>   Returning to build of lucene++-3.0.9_2
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for lucene++-3.0.9_2
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/textproc/luceneplusplus/work/.build
CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- The C compiler identification is Clang 19.1.7
-- The CXX compiler identification is Clang 19.1.7
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at cmake/cotire.cmake:40 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.
Call Stack (most recent call first):
  CMakeLists.txt:36 (include)


-- cotire 1.8.0 loaded.
CMake Warning (dev) at cmake/dependencies.cmake:5 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

Call Stack (most recent call first):
  CMakeLists.txt:44 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Boost: /usr/local/include (found version "1.88.0") found components: date_time filesystem iostreams regex thread chrono atomic
-- Found ZLIB: /usr/lib/libz.so (found version "1.3.1")


** Build Summary **
  Version:          3.0.9
  Prefix:           /usr/local
  Build Type:       Release
  Architecture:     amd64
  System:           FreeBSD
  Boost Include:    /usr/local/include
  Boost Libraries:  /usr/local/lib
  Zlib Include:     /usr/include
  Zlib Library:     /usr/lib/libz.so
-- Configuring done (2.8s)
CMake Error at src/core/CMakeLists.txt:54 (target_link_libraries):
  Target "lucene++" links to:

    Boost::system

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.



CMake Error at src/contrib/CMakeLists.txt:64 (target_link_libraries):
  Target "lucene++-contrib" links to:

    Boost::system

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.



-- Generating done (0.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    FETCHCONTENT_FULLY_DISCONNECTED


CMake Generate step failed.  Build files cannot be regenerated correctly.
*** Error code 1

Stop.
make: stopped making "configure" in /usr/ports/textproc/luceneplusplus