[package - 141amd64-default][finance/ledger] Failed for ledger-3.3.2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 08 Oct 2024 13:40:41 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:     woodycarey@hotmail.com
Log URL:        https://pkg-status.freebsd.org/beefy22/data/141amd64-default/478972069f29/logs/ledger-3.3.2.log
Build URL:      https://pkg-status.freebsd.org/beefy22/build.html?mastername=141amd64-default&build=478972069f29
Log:

=>> Building finance/ledger
build started at Tue Oct  8 13:40:19 UTC 2024
port directory: /usr/ports/finance/ledger
package name: ledger-3.3.2
building for: FreeBSD 141amd64-default-job-10 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 amd64
maintained by: woodycarey@hotmail.com
Makefile datestamp: -rw-r--r--  1 root wheel 1000 Oct  5 01:01 /usr/ports/finance/ledger/Makefile
Ports top last git commit: 478972069f
Ports top unclean checkout: no
Port dir last git commit: fd17258b34
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1401000
Job Id: 10

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1401000
UNAME_v=FreeBSD 14.1-RELEASE-p5
UNAME_r=14.1-RELEASE-p5
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/141amd64-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/141amd64-default/10/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=141amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/141amd64-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=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for ledger-3.3.2:
     GNUPG=off: GNU Privacy Guard support
     PYTHON=off: Python bindings or support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
woodycarey@hotmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

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

--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/finance/ledger/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/finance/ledger/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/finance/ledger/work/.cache  HOME=/wrkdirs/usr/ports/finance/ledger/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/finance/ledger/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/finance/ledger/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/finance/ledger/work/stage 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="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-st
rict-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--
 GNUPG="@comment " NO_GNUPG="" PYTHON="@comment " NO_PYTHON="" CMAKE_BUILD_TYPE="release" OSREL=14.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ledger"  EXAMPLESDIR="share/examples/ledger"  DATADIR="share/ledger"  WWWDIR="www/ledger"  ETCDIR="etc/ledger"
--End PLIST_SUB--

--SUB_LIST--
 GNUPG="@comment " NO_GNUPG="" PYTHON="@comment " NO_PYTHON="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/ledger DOCSDIR=/usr/local/share/doc/ledger EXAMPLESDIR=/usr/local/share/examples/ledger  WWWDIR=/usr/local/www/ledger ETCDIR=/usr/local/etc/ledger
--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
####  ####
# 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
DISABLE_MAKE_JOBS=poudriere
---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
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   ledger-3.3.2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[141amd64-default-job-10] Installing pkg-1.21.3...
[141amd64-default-job-10] Extracting pkg-1.21.3: .......... done
===>   ledger-3.3.2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ledger-3.3.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 BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ledger-3.3.2 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ledger-3.3.2 for building
=> SHA256 Checksum OK for ledger-ledger-v3.3.2_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 BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by ledger-3.3.2 for building
===>  Extracting for ledger-3.3.2
=> SHA256 Checksum OK for ledger-ledger-v3.3.2_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 ledger-3.3.2
===>  Applying FreeBSD patches for ledger-3.3.2 from /usr/ports/finance/ledger/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   ledger-3.3.2 depends on package: utf8cpp>=0 - not found
===>   Installing existing package /packages/All/utf8cpp-4.0.5.pkg
[141amd64-default-job-10] Installing utf8cpp-4.0.5...
[141amd64-default-job-10] Extracting utf8cpp-4.0.5: .......... done
===>   ledger-3.3.2 depends on package: utf8cpp>=0 - found
===>   Returning to build of ledger-3.3.2
===>   ledger-3.3.2 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.30.4.pkg
[141amd64-default-job-10] Installing cmake-core-3.30.4...
[141amd64-default-job-10] `-- Installing expat-2.6.3...
[141amd64-default-job-10] `-- Extracting expat-2.6.3: .......... done
[141amd64-default-job-10] `-- Installing jsoncpp-1.9.6_1...
[141amd64-default-job-10] `-- Extracting jsoncpp-1.9.6_1: .......... done
[141amd64-default-job-10] `-- Installing libuv-1.49.0...
[141amd64-default-job-10] `-- Extracting libuv-1.49.0: .......... done
[141amd64-default-job-10] `-- Installing rhash-1.4.4_1...
[141amd64-default-job-10] |   `-- Installing gettext-runtime-0.22.5...
[141amd64-default-job-10] |   | `-- Installing indexinfo-0.3.1...
[141amd64-default-job-10] |   | `-- Extracting indexinfo-0.3.1: .... done
[141amd64-default-job-10] |   `-- Extracting gettext-runtime-0.22.5: .......... done
[141amd64-default-job-10] `-- Extracting rhash-1.4.4_1: .......... done
[141amd64-default-job-10] Extracting cmake-core-3.30.4: .......... done
===>   ledger-3.3.2 depends on file: /usr/local/bin/cmake - found
===>   Returning to build of ledger-3.3.2
===>   ledger-3.3.2 depends on executable: ninja - not found
===>   Installing existing package /packages/All/ninja-1.11.1,4.pkg
[141amd64-default-job-10] Installing ninja-1.11.1,4...
[141amd64-default-job-10] `-- Installing python311-3.11.10...
[141amd64-default-job-10] |   `-- Installing libffi-3.4.6...
[141amd64-default-job-10] |   `-- Extracting libffi-3.4.6: .......... done
[141amd64-default-job-10] |   `-- Installing mpdecimal-4.0.0...
[141amd64-default-job-10] |   `-- Extracting mpdecimal-4.0.0: .......... done
[141amd64-default-job-10] |   `-- Installing readline-8.2.13_1...
[141amd64-default-job-10] |   `-- Extracting readline-8.2.13_1: .......... done
[141amd64-default-job-10] `-- Extracting python311-3.11.10: .......... done
[141amd64-default-job-10] Extracting ninja-1.11.1,4: ........ done
=====
Message from python311-3.11.10:

--
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
===>   ledger-3.3.2 depends on executable: ninja - found
===>   Returning to build of ledger-3.3.2
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   ledger-3.3.2 depends on shared library: libgmp.so - not found
===>   Installing existing package /packages/All/gmp-6.3.0.pkg
[141amd64-default-job-10] Installing gmp-6.3.0...
[141amd64-default-job-10] Extracting gmp-6.3.0: .......... done
===>   ledger-3.3.2 depends on shared library: libgmp.so - found (/usr/local/lib/libgmp.so)
===>   Returning to build of ledger-3.3.2
===>   ledger-3.3.2 depends on shared library: libmpfr.so - not found
===>   Installing existing package /packages/All/mpfr-4.2.1,1.pkg
[141amd64-default-job-10] Installing mpfr-4.2.1,1...
[141amd64-default-job-10] Extracting mpfr-4.2.1,1: .......... done
===>   ledger-3.3.2 depends on shared library: libmpfr.so - found (/usr/local/lib/libmpfr.so)
===>   Returning to build of ledger-3.3.2
===>   ledger-3.3.2 depends on shared library: libboost_system.so - not found
===>   Installing existing package /packages/All/boost-libs-1.85.0.pkg
[141amd64-default-job-10] Installing boost-libs-1.85.0...
[141amd64-default-job-10] `-- Installing icu-74.2_1,1...
[141amd64-default-job-10] `-- Extracting icu-74.2_1,1: .......... done
[141amd64-default-job-10] Extracting boost-libs-1.85.0: .......... done
=====
Message from boost-libs-1.85.0:

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

Don't forget to add -pthread to your linker options when
linking your code.
===>   ledger-3.3.2 depends on shared library: libboost_system.so - found (/usr/local/lib/libboost_system.so)
===>   Returning to build of ledger-3.3.2
===>   ledger-3.3.2 depends on shared library: libedit.so.0 - not found
===>   Installing existing package /packages/All/libedit-3.1.20240808,1.pkg
[141amd64-default-job-10] Installing libedit-3.1.20240808,1...
[141amd64-default-job-10] Extracting libedit-3.1.20240808,1: .......... done
===>   ledger-3.3.2 depends on shared library: libedit.so.0 - found (/usr/local/lib/libedit.so.0)
===>   Returning to build of ledger-3.3.2
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for ledger-3.3.2
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/finance/ledger/work/.build
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is Clang 18.1.5
-- The CXX compiler identification is Clang 18.1.5
-- 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
-- Found Python: /usr/local/bin/python3.11 (found version "3.11.10") found components: Interpreter
CMake Warning (dev) at CMakeLists.txt:92 (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.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Boost: /usr/local/include (found suitable version "1.85.0", minimum required is "1.49.0") found components: date_time filesystem system iostreams regex unit_test_framework nowide
-- Looking for getpwuid
-- Looking for getpwuid - found
-- Looking for getpwnam
-- Looking for getpwnam - found
-- Looking for ioctl
-- Looking for ioctl - found
-- Looking for isatty
-- Looking for isatty - found
-- Performing Test UNIX_PIPES_COMPILES
-- Performing Test UNIX_PIPES_COMPILES - Success
-- Performing Test BOOST_REGEX_UNICODE_RUNS
-- Performing Test BOOST_REGEX_UNICODE_RUNS - Failed
-- Looking for readline in edit
-- Looking for readline in edit - found
-- Performing Test HAVE_WORKING_UTFCPP
-- Performing Test HAVE_WORKING_UTFCPP - Success
-- Configuring done (12.0s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_C_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    FETCHCONTENT_FULLY_DISCONNECTED
    THREADS_HAVE_PTHREAD_ARG


-- Build files have been written to: /wrkdirs/usr/ports/finance/ledger/work/.build
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for ledger-3.3.2
[  1% 1/63] /usr/bin/c++ -DBOOST_FILESYSTEM_NO_DEPRECATED -Dlibledger_EXPORTS -I/wrkdirs/usr/ports/finance/ledger/work/ledger-3.3.2/lib/utfcpp/v3/source -I/wrkdirs/usr/ports/finance/ledger/work/.build -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -DNDEBUG -fPIC   -std=c++11 -MD -MT src/CMakeFiles/libledger.dir/stats.cc.o -MF src/CMakeFiles/libledger.dir/stats.cc.o.d -o src/CMakeFiles/libledger.dir/stats.cc.o -c /wrkdirs/usr/ports/finance/ledger/work/ledger-3.3.2/src/stats.cc
FAILED: src/CMakeFiles/libledger.dir/stats.cc.o 
/usr/bin/c++ -DBOOST_FILESYSTEM_NO_DEPRECATED -Dlibledger_EXPORTS -I/wrkdirs/usr/ports/finance/ledger/work/ledger-3.3.2/lib/utfcpp/v3/source -I/wrkdirs/usr/ports/finance/ledger/work/.build -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -DNDEBUG -fPIC   -std=c++11 -MD -MT src/CMakeFiles/libledger.dir/stats.cc.o -MF src/CMakeFiles/libledger.dir/stats.cc.o.d -o src/CMakeFiles/libledger.dir/stats.cc.o -c /wrkdirs/usr/ports/finance/ledger/work/ledger-3.3.2/src/stats.cc
In file included from /wrkdirs/usr/ports/finance/ledger/work/ledger-3.3.2/src/stats.cc:32:
/wrkdirs/usr/ports/finance/ledger/work/.build/system.hh:147:10: fatal error: 'boost/filesystem/convenience.hpp' file not found
  147 | #include <boost/filesystem/convenience.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/finance/ledger