[package - 142i386-default][deskutils/foliate] Failed for foliate-3.3.0 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 10 Jun 2025 07:03:10 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:     fox@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy21/data/142i386-default/87ea15e683b9/logs/foliate-3.3.0.log
Build URL:      https://pkg-status.freebsd.org/beefy21/build.html?mastername=142i386-default&build=87ea15e683b9
Log:

=>> Building deskutils/foliate
build started at Tue Jun 10 07:00:58 UTC 2025
port directory: /usr/ports/deskutils/foliate
package name: foliate-3.3.0
building for: FreeBSD 142i386-default-job-10 14.2-RELEASE-p3 FreeBSD 14.2-RELEASE-p3 i386
maintained by: fox@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 753 Jun 10 01:01 /usr/ports/deskutils/foliate/Makefile
Ports top last git commit: 87ea15e683
Ports top unclean checkout: no
Port dir last git commit: 50abd79a88
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2-12-g74a54a88
Host OSVERSION: 1500035
Jail OSVERSION: 1402000
Job Id: 10

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1402000
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=14.2-RELEASE-p3
LOCALBASE=/usr/local
UNAME_v=FreeBSD 14.2-RELEASE-p3
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2-12-g74a54a88
MASTERMNT=/usr/local/poudriere/data/.m/142i386-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/142i386-default/10/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=142i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/142i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2-12-g74a54a88
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 foliate-3.3.0:
     NLS=on: Native Language Support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
fox@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix /usr/local  --localstatedir /var  --infodir share/info --auto-features=enabled -Dpython.bytecompile=-1 -Db_colorout=never --buildtype release  --optimization plain  --strip  _build
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/deskutils/foliate/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/deskutils/foliate/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/deskutils/foliate/work/.cache  HOME=/wrkdirs/usr/ports/deskutils/foliate/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/deskutils/foliate/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/deskutils/foliate/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--
GI_SCANNER_DISABLE_CACHE=1 NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/deskutils/foliate/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/deskutils/foliate/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/deskutils/foliate/work/.cache  HOME=/wrkdirs/usr/ports/deskutils/foliate/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/deskutils/foliate/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/deskutils/foliate/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/deskutils/foliate/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-prot
ector-strong -isystem /usr/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--
 NLS="" NO_NLS="@comment " GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0"  GTK4_VERSION="4.0.0" PYTHON_INCLUDEDIR=include/python3.11  PYTHON_LIBDIR=lib/python3.11  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" OSREL=14.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/foliate"  EXAMPLESDIR="share/examples/foliate"  DATADIR="share/foliate"  WWWDIR="www/foliate"  ETCDIR="etc/foliate"
--End PLIST_SUB--

--SUB_LIST--
 NLS="" NO_NLS="@comment " PYTHON_INCLUDEDIR=/usr/local/include/python3.11  PYTHON_LIBDIR=/usr/local/lib/python3.11  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/foliate DOCSDIR=/usr/local/share/doc/foliate EXAMPLESDIR=/usr/local/share/examples/foliate  WWWDIR=/usr/local/www/foliate ETCDIR=/usr/local/etc/foliate
--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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
####  ####
# 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)  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
pipebuf                         (-y)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   foliate-3.3.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.1.4.pkg
[142i386-default-job-10] Installing pkg-2.1.4...
[142i386-default-job-10] Extracting pkg-2.1.4: .......... done
===>   foliate-3.3.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of foliate-3.3.0
===========================================================================
=======================<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 GPLv3 accepted by the user
=> johnfactotum-foliate-3.3.0_GH0.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://codeload.github.com/johnfactotum/foliate/tar.gz/3.3.0?dummy=/johnfactotum-foliate-3.3.0_GH0.tar.gz
fetch: https://codeload.github.com/johnfactotum/foliate/tar.gz/3.3.0?dummy=/johnfactotum-foliate-3.3.0_GH0.tar.gz: size unknown
fetch: https://codeload.github.com/johnfactotum/foliate/tar.gz/3.3.0?dummy=/johnfactotum-foliate-3.3.0_GH0.tar.gz: size of remote file is not known
johnfactotum-foliate-3.3.0_GH0.tar.gz                 7329 kB   27 MBps    00s
=> johnfactotum-foliate-js-052123b_GH0.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://codeload.github.com/johnfactotum/foliate-js/tar.gz/052123b?dummy=/johnfactotum-foliate-js-052123b_GH0.tar.gz
fetch: https://codeload.github.com/johnfactotum/foliate-js/tar.gz/052123b?dummy=/johnfactotum-foliate-js-052123b_GH0.tar.gz: size unknown
fetch: https://codeload.github.com/johnfactotum/foliate-js/tar.gz/052123b?dummy=/johnfactotum-foliate-js-052123b_GH0.tar.gz: size of remote file is not known
johnfactotum-foliate-js-052123b_GH0.tar.gz            3541 kB 7156 kBps    01s
===> Fetching all distfiles required by foliate-3.3.0 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by foliate-3.3.0 for building
=> SHA256 Checksum OK for johnfactotum-foliate-3.3.0_GH0.tar.gz.
=> SHA256 Checksum OK for johnfactotum-foliate-js-052123b_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 GPLv3 accepted by the user
===> Fetching all distfiles required by foliate-3.3.0 for building
===>  Extracting for foliate-3.3.0
=> SHA256 Checksum OK for johnfactotum-foliate-3.3.0_GH0.tar.gz.
=> SHA256 Checksum OK for johnfactotum-foliate-js-052123b_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 foliate-3.3.0
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   foliate-3.3.0 depends on executable: appstream-util - not found
===>   Installing existing package /packages/All/appstream-glib-0.8.3.pkg
[142i386-default-job-10] Installing appstream-glib-0.8.3...
[142i386-default-job-10] `-- Installing at-spi2-core-2.56.2...
[142i386-default-job-10] |   `-- Installing dbus-1.16.2_3,1...
<snip>
=====
Message from freetype2-2.13.3:

--
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 wayland-1.23.1:

--
Wayland requires XDG_RUNTIME_DIR to be defined to a path that will
contain "wayland-%d" unix(4) sockets. This is usually handled by
consolekit2 (via ck-launch-session) or pam_xdg (via login).
=====
Message from libxkbcommon-1.8.1_2:

--
If arrow keys don't work under X11 switch to legacy rules e.g.,

For sh/bash/ksh/zsh run and (optionally) add into ~/.profile:
  export XKB_DEFAULT_RULES=xorg

For csh/tcsh run and (optionally) add into ~/.login:
  setenv XKB_DEFAULT_RULES xorg
===>   foliate-3.3.0 depends on executable: appstream-util - found
===>   Returning to build of foliate-3.3.0
===>   foliate-3.3.0 depends on executable: gjs-console - not found
===>   Installing existing package /packages/All/gjs-1.76.3.pkg
[142i386-default-job-10] Installing gjs-1.76.3...
[142i386-default-job-10] `-- Installing gtk4-4.18.4...
[142i386-default-job-10] |   `-- Installing graphene-1.10.8_1...
[142i386-default-job-10] |   | `-- Installing py311-pygobject-3.50.0...
[142i386-default-job-10] |   |   `-- Installing py311-cairo-1.28.0,1...
[142i386-default-job-10] |   |   `-- Extracting py311-cairo-1.28.0,1: .......... done
[142i386-default-job-10] |   |   `-- Installing pygobject-common-3.50.0...
[142i386-default-job-10] |   |   `-- Extracting pygobject-common-3.50.0: ..... done
[142i386-default-job-10] |   | `-- Extracting py311-pygobject-3.50.0: .......... done
[142i386-default-job-10] |   `-- Extracting graphene-1.10.8_1: .......... done
[142i386-default-job-10] |   `-- Installing gstreamer1-1.26.1_2...
[142i386-default-job-10] |   | `-- Installing libunwind-20240221_2...
[142i386-default-job-10] |   | `-- Extracting libunwind-20240221_2: .......... done
[142i386-default-job-10] |   `-- Extracting gstreamer1-1.26.1_2: .......... done
[142i386-default-job-10] |   `-- Installing gstreamer1-plugins-1.26.1...
[142i386-default-job-10] |   | `-- Installing iso-codes-4.18.0...
[142i386-default-job-10] |   | `-- Extracting iso-codes-4.18.0: .......... done
[142i386-default-job-10] |   | `-- Installing libdrm-2.4.123,1...
[142i386-default-job-10] |   |   `-- Installing libpciaccess-0.18.1_1...
[142i386-default-job-10] |   |   `-- Extracting libpciaccess-0.18.1_1: ........ done
[142i386-default-job-10] |   | `-- Extracting libdrm-2.4.123,1: .......... done
[142i386-default-job-10] |   | `-- Installing orc-0.4.41...
[142i386-default-job-10] |   | `-- Extracting orc-0.4.41: .......... done
[142i386-default-job-10] |   `-- Extracting gstreamer1-plugins-1.26.1: .......... done
[142i386-default-job-10] |   `-- Installing gstreamer1-plugins-bad-1.26.1...
[142i386-default-job-10] |   `-- Extracting gstreamer1-plugins-bad-1.26.1: .......... done
[142i386-default-job-10] |   `-- Installing gstreamer1-plugins-gl-1.26.1...
[142i386-default-job-10] |   `-- Extracting gstreamer1-plugins-gl-1.26.1: .......... done
[142i386-default-job-10] |   `-- Installing vulkan-headers-1.4.317...
[142i386-default-job-10] |   `-- Extracting vulkan-headers-1.4.317: .......... done
[142i386-default-job-10] |   `-- Installing vulkan-loader-1.4.317...
[142i386-default-job-10] |   `-- Extracting vulkan-loader-1.4.317: .......... done
[142i386-default-job-10] |   `-- Installing wayland-protocols-1.44...
[142i386-default-job-10] |   `-- Extracting wayland-protocols-1.44: .......... done
[142i386-default-job-10] `-- Extracting gtk4-4.18.4: .......... done
[142i386-default-job-10] `-- Installing spidermonkey102-102.9.0_9...
[142i386-default-job-10] |   `-- Installing icu-76.1,1...
[142i386-default-job-10] |   `-- Extracting icu-76.1,1: .......... done
[142i386-default-job-10] |   `-- Installing nspr-4.36...
[142i386-default-job-10] |   `-- Extracting nspr-4.36: .......... done
[142i386-default-job-10] `-- Extracting spidermonkey102-102.9.0_9: .......... done
[142i386-default-job-10] Extracting gjs-1.76.3: .......... done
==> Running trigger: gtk-update-icon-cache.ucl
Generating GTK icon cache for /usr/local/share/icons/hicolor
==> Running trigger: glib-schemas.ucl
Compiling glib schemas
Warning: Schema ?org.gnome.system.locale? has path ?/system/locale/?.  Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Warning: Schema ?org.gnome.system.proxy? has path ?/system/proxy/?.  Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Warning: Schema ?org.gnome.system.proxy.http? has path ?/system/proxy/http/?.  Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Warning: Schema ?org.gnome.system.proxy.https? has path ?/system/proxy/https/?.  Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Warning: Schema ?org.gnome.system.proxy.ftp? has path ?/system/proxy/ftp/?.  Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Warning: Schema ?org.gnome.system.proxy.socks? has path ?/system/proxy/socks/?.  Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
===>   foliate-3.3.0 depends on executable: gjs-console - found
===>   Returning to build of foliate-3.3.0
===>   foliate-3.3.0 depends on executable: update-desktop-database - not found
===>   Installing existing package /packages/All/desktop-file-utils-0.28.pkg
[142i386-default-job-10] Installing desktop-file-utils-0.28...
[142i386-default-job-10] Extracting desktop-file-utils-0.28: .......... done
Building cache database of MIME types
==> Running trigger: desktop-file-utils.ucl
Building cache database of MIME types
===>   foliate-3.3.0 depends on executable: update-desktop-database - found
===>   Returning to build of foliate-3.3.0
===>   foliate-3.3.0 depends on executable: meson - not found
===>   Installing existing package /packages/All/meson-1.7.0.pkg
[142i386-default-job-10] Installing meson-1.7.0...
[142i386-default-job-10] `-- Installing ninja-1.11.1,4...
[142i386-default-job-10] `-- Extracting ninja-1.11.1,4: ........ done
[142i386-default-job-10] Extracting meson-1.7.0: .......... done
===>   foliate-3.3.0 depends on executable: meson - found
===>   Returning to build of foliate-3.3.0
===>   foliate-3.3.0 depends on executable: ninja - found
===>   foliate-3.3.0 depends on file: /usr/local/bin/python3.11 - found
===>   foliate-3.3.0 depends on package: gettext-runtime>=0.22_1 - found
===>   foliate-3.3.0 depends on executable: msgfmt - not found
===>   Installing existing package /packages/All/gettext-tools-0.23.1_1.pkg
[142i386-default-job-10] Installing gettext-tools-0.23.1_1...
[142i386-default-job-10] `-- Installing libtextstyle-0.23.1...
[142i386-default-job-10] `-- Extracting libtextstyle-0.23.1: .......... done
[142i386-default-job-10] Extracting gettext-tools-0.23.1_1: .......... done
===>   foliate-3.3.0 depends on executable: msgfmt - found
===>   Returning to build of foliate-3.3.0
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   foliate-3.3.0 depends on shared library: libadwaita-1.so - not found
===>   Installing existing package /packages/All/libadwaita-1.7.2.pkg
[142i386-default-job-10] Installing libadwaita-1.7.2...
[142i386-default-job-10] `-- Installing AppStream-1.0.5_1...
[142i386-default-job-10] |   `-- Installing libxmlb-0.3.22_1...
[142i386-default-job-10] |   | `-- Installing snowballstemmer-3.0.1...
[142i386-default-job-10] |   | `-- Extracting snowballstemmer-3.0.1: ........ done
[142i386-default-job-10] |   `-- Extracting libxmlb-0.3.22_1: .......... done
[142i386-default-job-10] `-- Extracting AppStream-1.0.5_1: .......... done
[142i386-default-job-10] Extracting libadwaita-1.7.2: .......... done
==> Running trigger: desktop-file-utils.ucl
Building cache database of MIME types
==> Running trigger: gtk-update-icon-cache.ucl
Generating GTK icon cache for /usr/local/share/icons/hicolor
===>   foliate-3.3.0 depends on shared library: libadwaita-1.so - found (/usr/local/lib/libadwaita-1.so)
===>   Returning to build of foliate-3.3.0
===>   foliate-3.3.0 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so)
===>   foliate-3.3.0 depends on shared library: libcairo.so - found (/usr/local/lib/libcairo.so)
===>   foliate-3.3.0 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so)
===>   foliate-3.3.0 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>   foliate-3.3.0 depends on shared library: libgtk-4.so - found (/usr/local/lib/libgtk-4.so)
===>   foliate-3.3.0 depends on shared library: libgirepository-1.0.so - found (/usr/local/lib/libgirepository-1.0.so)
===>   foliate-3.3.0 depends on shared library: libharfbuzz.so - found (/usr/local/lib/libharfbuzz.so)
===>   foliate-3.3.0 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so)
===>   foliate-3.3.0 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for foliate-3.3.0
WARNING: Recommend using either -Dbuildtype or -Doptimization + -Ddebug. Using both is redundant since they override each other. See: https://mesonbuild.com/Builtin-options.html#build-type-options
The Meson build system
Version: 1.7.0
Source dir: /wrkdirs/usr/ports/deskutils/foliate/work/foliate-3.3.0
Build dir: /wrkdirs/usr/ports/deskutils/foliate/work/foliate-3.3.0/_build
Build type: native build
Project name: com.github.johnfactotum.Foliate
Project version: 3.3.0
Host machine cpu family: x86
Host machine cpu: i386
Did not find pkg-config by name 'pkg-config'
Found pkg-config: NO
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency gjs-1.0 found: NO 

meson.build:9:6: ERROR: Dependency lookup for gjs-1.0 with method 'pkgconfig' failed: Pkg-config for machine host machine not found. Giving up.

A full log can be found at /wrkdirs/usr/ports/deskutils/foliate/work/foliate-3.3.0/_build/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
===>  Script "configure" failed unexpectedly.
Please report the problem to fox@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/deskutils/foliate/work/foliate-3.3.0/_build/meson-logs/meson-log.txt"
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/deskutils/foliate