[package - 141releng-armv7-default][editors/pragtical] Failed for pragtical-3.3.1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 02 Feb 2025 08:59:39 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:     danfe@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere3/data/141releng-armv7-default/86e28c84a7e0/logs/pragtical-3.3.1.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=141releng-armv7-default&build=86e28c84a7e0
Log:

=>> Building editors/pragtical
build started at Sun Feb  2 08:59:24 UTC 2025
port directory: /usr/ports/editors/pragtical
package name: pragtical-3.3.1
building for: FreeBSD 141releng-armv7-default-job-12 14.1-RELEASE-p6 FreeBSD 14.1-RELEASE-p6 1401000 arm
maintained by: danfe@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1219 Apr 27  2024 /usr/ports/editors/pragtical/Makefile
Ports top last git commit: 86e28c84a7e
Ports top unclean checkout: no
Port dir last git commit: 27bc50357c5
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500028
Jail OSVERSION: 1401000
Job Id: 12

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

---Begin OPTIONS List---
===> The following configuration options are available for pragtical-3.3.1:
     DOCS=on: Build and/or install documentation
     JIT=on: Use Lua JIT compiler
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
danfe@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 -Duse_system_lua=true -Dppm=false _build
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/editors/pragtical/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/editors/pragtical/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/editors/pragtical/work/.cache  HOME=/wrkdirs/usr/ports/editors/pragtical/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/editors/pragtical/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/editors/pragtical/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] " SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/editors/pragtical/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/editors/pragtical/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/editors/pragtical/work/.cache  HOME=/wrkdirs/usr/ports/editors/pragtical/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/editors/pragtical/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/editors/pragtical/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/editors/pragtical/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 -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe
 -fstack-protector-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--
PORTDOCS="" DOCS="" NO_DOCS="@comment " JIT="" NO_JIT="@comment " OSREL=14.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/pragtical"  EXAMPLESDIR="share/examples/pragtical"  DATADIR="share/pragtical"  WWWDIR="www/pragtical"  ETCDIR="etc/pragtical"
--End PLIST_SUB--

--SUB_LIST--
 DOCS="" NO_DOCS="@comment " JIT="" NO_JIT="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/pragtical DOCSDIR=/usr/local/share/doc/pragtical EXAMPLESDIR=/usr/local/share/examples/pragtical  WWWDIR=/usr/local/www/pragtical ETCDIR=/usr/local/etc/pragtical
--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 MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   pragtical-3.3.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[141releng-armv7-default-job-12] Installing pkg-1.21.3...
[141releng-armv7-default-job-12] Extracting pkg-1.21.3: .......... done
===>   pragtical-3.3.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of pragtical-3.3.1
===========================================================================
=======================<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 MIT accepted by the user
===> Fetching all distfiles required by pragtical-3.3.1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===> Fetching all distfiles required by pragtical-3.3.1 for building
=> SHA256 Checksum OK for pragtical-pragtical-v3.3.1_GH0.tar.gz.
=> SHA256 Checksum OK for pragtical-colors-83be02c_GH0.tar.gz.
=> SHA256 Checksum OK for pragtical-plugins-eeab671_GH0.tar.gz.
=> SHA256 Checksum OK for pragtical-widget-a5f14c2_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 MIT accepted by the user
===> Fetching all distfiles required by pragtical-3.3.1 for building
===>  Extracting for pragtical-3.3.1
=> SHA256 Checksum OK for pragtical-pragtical-v3.3.1_GH0.tar.gz.
=> SHA256 Checksum OK for pragtical-colors-83be02c_GH0.tar.gz.
=> SHA256 Checksum OK for pragtical-plugins-eeab671_GH0.tar.gz.
=> SHA256 Checksum OK for pragtical-widget-a5f14c2_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 pragtical-3.3.1
===>  Applying FreeBSD patches for pragtical-3.3.1 from /usr/ports/editors/pragtical/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   pragtical-3.3.1 depends on executable: update-desktop-database - not found
===>   Installing existing package /packages/All/desktop-file-utils-0.27.pkg
[141releng-armv7-default-job-12] Installing desktop-file-utils-0.27...
[141releng-armv7-default-job-12] `-- Installing gettext-runtime-0.23.1...
[141releng-armv7-default-job-12] |   `-- Installing indexinfo-0.3.1...
[141releng-armv7-default-job-12] |   `-- Extracting indexinfo-0.3.1: .... done
[141releng-armv7-default-job-12] `-- Extracting gettext-runtime-0.23.1: .......... done
[141releng-armv7-default-job-12] `-- Installing glib-2.80.5_1,2...
[141releng-armv7-default-job-12] |   `-- Installing libffi-3.4.6...
<snip>
[141releng-armv7-default-job-12] |   | `-- Extracting liblz4-1.10.0,1: .......... done
[141releng-armv7-default-job-12] |   `-- Extracting zstd-1.5.6: .......... done
[141releng-armv7-default-job-12] `-- Extracting mesa-libs-24.1.7_1: .......... done
[141releng-armv7-default-job-12] `-- Installing vulkan-loader-1.4.305...
[141releng-armv7-default-job-12] `-- Extracting vulkan-loader-1.4.305: .......... done
[141releng-armv7-default-job-12] Extracting sdl2-2.30.10_1: .......... done
=====
Message from libinotify-20240724:

--
You might want to consider increasing the kern.maxfiles tunable if you plan
to use this library for applications that need to monitor activity of a lot
of files.
=====
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.7.0_1:

--
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
===>   pragtical-3.3.1 depends on file: /usr/local/bin/sdl2-config - found
===>   Returning to build of pragtical-3.3.1
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   pragtical-3.3.1 depends on shared library: libfreetype.so - not found
===>   Installing existing package /packages/All/freetype2-2.13.3.pkg
[141releng-armv7-default-job-12] Installing freetype2-2.13.3...
[141releng-armv7-default-job-12] `-- Installing brotli-1.1.0,1...
[141releng-armv7-default-job-12] `-- Extracting brotli-1.1.0,1: .......... done
[141releng-armv7-default-job-12] `-- Installing png-1.6.45...
[141releng-armv7-default-job-12] `-- Extracting png-1.6.45: .......... done
[141releng-armv7-default-job-12] Extracting freetype2-2.13.3: .......... done
=====
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).
===>   pragtical-3.3.1 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so)
===>   Returning to build of pragtical-3.3.1
===>   pragtical-3.3.1 depends on shared library: libpcre2-8.so - found (/usr/local/lib/libpcre2-8.so)
===>   pragtical-3.3.1 depends on shared library: libuchardet.so - not found
===>   Installing existing package /packages/All/uchardet-0.0.8_1.pkg
[141releng-armv7-default-job-12] Installing uchardet-0.0.8_1...
[141releng-armv7-default-job-12] Extracting uchardet-0.0.8_1: .......... done
===>   pragtical-3.3.1 depends on shared library: libuchardet.so - found (/usr/local/lib/libuchardet.so)
===>   Returning to build of pragtical-3.3.1
===>   pragtical-3.3.1 depends on shared library: libluajit-5.1.so - not found
===>   Installing existing package /packages/All/luajit-devel-2.1.0.20250113.pkg
[141releng-armv7-default-job-12] Installing luajit-devel-2.1.0.20250113...
[141releng-armv7-default-job-12] Extracting luajit-devel-2.1.0.20250113: .......... done
===>   pragtical-3.3.1 depends on shared library: libluajit-5.1.so - found (/usr/local/lib/libluajit-5.1.so)
===>   Returning to build of pragtical-3.3.1
===>   pragtical-3.3.1 depends on shared library: libSDL2.so - found (/usr/local/lib/libSDL2.so)
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for pragtical-3.3.1
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.6.1
Source dir: /wrkdirs/usr/ports/editors/pragtical/work/pragtical-3.3.1
Build dir: /wrkdirs/usr/ports/editors/pragtical/work/pragtical-3.3.1/_build
Build type: native build
Project name: pragtical
Project version: 3.3.1
C compiler for the host machine: cc (clang 18.1.5 "FreeBSD clang version 18.1.5 (https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15a9eac9)")
C linker for the host machine: cc ld.lld 18.1.5
Host machine cpu family: arm
Host machine cpu: armv7
Found pkg-config: YES (/usr/local/bin/pkgconf) 2.3.0
Run-time dependency luajit found: YES 2.1.1736781742
Library m found: YES
Library dl found: YES
Library rt found: YES
Run-time dependency libpcre2-8 found: YES 10.43
Run-time dependency freetype2 found: YES 26.2.20
Run-time dependency uchardet found: YES 0.0.8
Run-time dependency sdl2 found: YES 2.30.10
Library X11 found: YES

Executing subproject colors 

colors| Project name: colors
colors| Project version: GIT
colors| Build targets in project: 0
colors| Subproject colors finished.


Executing subproject plugins 

plugins| Project name: plugins
plugins| Project version: GIT
plugins| Program sh found: YES (/bin/sh)
plugins| Build targets in project: 0
plugins| Subproject plugins finished.

Configuring start.lua using configuration
Checking for function "inotify_init" : NO 
Checking for function "kqueue" : YES 
Message: dirmonitor_backend: kqueue
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libkqueue found: NO (tried pkgconfig and cmake)
Build targets in project: 1

pragtical 3.3.1

  Subprojects
    colors            : YES
    plugins           : YES

  User defined options
    auto_features     : enabled
    b_colorout        : never
    buildtype         : release
    infodir           : share/info
    localstatedir     : /var
    optimization      : plain
    ppm               : false
    prefix            : /usr/local
    python.bytecompile: -1
    strip             : true
    use_system_lua    : true

Found ninja-1.11.1 at /usr/local/bin/ninja
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for pragtical-3.3.1
[  4% 3/21] cc -Isrc/pragtical.p -Isrc -I../src -I/usr/local/include/luajit-2.1 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/uchardet -fdiagnostics-color=never -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -D_REENTRANT -D_THREAD_SAFE -DSDL_MAIN_HANDLED -DPCRE2_STATIC '-DPRAGTICAL_ARCH_TUPLE="arm-freebsd"' -DLUA_JIT -DX11_FOUND -MD -MQ src/pragtical.p/api_api.c.o -MF src/pragtical.p/api_api.c.o.d -o src/pragtical.p/api_api.c.o -c ../src/api/api.c
[  9% 4/21] cc -Isrc/pragtical.p -Isrc -I../src -I/usr/local/include/luajit-2.1 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/uchardet -fdiagnostics-color=never -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -D_REENTRANT -D_THREAD_SAFE -DSDL_MAIN_HANDLED -DPCRE2_STATIC '-DPRAGTICAL_ARCH_TUPLE="arm-freebsd"' -DLUA_JIT -DX11_FOUND -MD -MQ src/pragtical.p/api_regex.c.o -MF src/pragtical.p/api_regex.c.o.d -o src/pragtical.p/api_regex.c.o -c ../src/api/regex.c
[ 14% 5/21] cc -Isrc/pragtical.p -Isrc -I../src -I/usr/local/include/luajit-2.1 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/uchardet -fdiagnostics-color=never -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -D_REENTRANT -D_THREAD_SAFE -DSDL_MAIN_HANDLED -DPCRE2_STATIC '-DPRAGTICAL_ARCH_TUPLE="arm-freebsd"' -DLUA_JIT -DX11_FOUND -MD -MQ src/pragtical.p/api_renderer.c.o -MF src/pragtical.p/api_renderer.c.o.d -o src/pragtical.p/api_renderer.c.o -c ../src/api/renderer.c
[ 19% 6/21] cc -Isrc/pragtical.p -Isrc -I../src -I/usr/local/include/luajit-2.1 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/uchardet -fdiagnostics-color=never -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -D_REENTRANT -D_THREAD_SAFE -DSDL_MAIN_HANDLED -DPCRE2_STATIC '-DPRAGTICAL_ARCH_TUPLE="arm-freebsd"' -DLUA_JIT -DX11_FOUND -MD -MQ src/pragtical.p/api_process.c.o -MF src/pragtical.p/api_process.c.o.d -o src/pragtical.p/api_process.c.o -c ../src/api/process.c
[ 23% 7/21] cc -Isrc/pragtical.p -Isrc -I../src -I/usr/local/include/luajit-2.1 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/uchardet -fdiagnostics-color=never -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -D_REENTRANT -D_THREAD_SAFE -DSDL_MAIN_HANDLED -DPCRE2_STATIC '-DPRAGTICAL_ARCH_TUPLE="arm-freebsd"' -DLUA_JIT -DX11_FOUND -MD -MQ src/pragtical.p/api_system.c.o -MF src/pragtical.p/api_system.c.o.d -o src/pragtical.p/api_system.c.o -c ../src/api/system.c
[ 28% 8/21] cc -Isrc/pragtical.p -Isrc -I../src -I/usr/local/include/luajit-2.1 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/uchardet -fdiagnostics-color=never -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -D_REENTRANT -D_THREAD_SAFE -DSDL_MAIN_HANDLED -DPCRE2_STATIC '-DPRAGTICAL_ARCH_TUPLE="arm-freebsd"' -DLUA_JIT -DX11_FOUND -MD -MQ src/pragtical.p/api_channel.c.o -MF src/pragtical.p/api_channel.c.o.d -o src/pragtical.p/api_channel.c.o -c ../src/api/channel.c
[ 33% 9/21] cc -Isrc/pragtical.p -Isrc -I../src -I/usr/local/include/luajit-2.1 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/uchardet -fdiagnostics-color=never -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -D_REENTRANT -D_THREAD_SAFE -DSDL_MAIN_HANDLED -DPCRE2_STATIC '-DPRAGTICAL_ARCH_TUPLE="arm-freebsd"' -DLUA_JIT -DX11_FOUND -MD -MQ src/pragtical.p/api_utf8.c.o -MF src/pragtical.p/api_utf8.c.o.d -o src/pragtical.p/api_utf8.c.o -c ../src/api/utf8.c
FAILED: src/pragtical.p/api_utf8.c.o 
cc -Isrc/pragtical.p -Isrc -I../src -I/usr/local/include/luajit-2.1 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/uchardet -fdiagnostics-color=never -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -D_REENTRANT -D_THREAD_SAFE -DSDL_MAIN_HANDLED -DPCRE2_STATIC '-DPRAGTICAL_ARCH_TUPLE="arm-freebsd"' -DLUA_JIT -DX11_FOUND -MD -MQ src/pragtical.p/api_utf8.c.o -MF src/pragtical.p/api_utf8.c.o.d -o src/pragtical.p/api_utf8.c.o -c ../src/api/utf8.c
../src/api/utf8.c:470:36: warning: unused variable 'canon_cls' [-Wunused-variable]
  470 |   unsigned int prev_canon_cls = 0, canon_cls = 0;
      |                                    ^~~~~~~~~
../src/api/utf8.c:854:22: error: use of undeclared identifier 'INT_MAX'
  854 |   if (pose - posi >= INT_MAX)  /* (lua_Integer -> int) overflow? */
      |                      ^
../src/api/utf8.c:2060:15: warning: unused variable 's' [-Wunused-variable]
 2060 |   const char *s = luaL_checklstring(L, 1, &len);
      |               ^
2 warnings and 1 error generated.
[ 38% 9/21] cc -Isrc/pragtical.p -Isrc -I../src -I/usr/local/include/luajit-2.1 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/uchardet -fdiagnostics-color=never -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -D_REENTRANT -D_THREAD_SAFE -DSDL_MAIN_HANDLED -DPCRE2_STATIC '-DPRAGTICAL_ARCH_TUPLE="arm-freebsd"' -DLUA_JIT -DX11_FOUND -MD -MQ src/pragtical.p/api_shmem.c.o -MF src/pragtical.p/api_shmem.c.o.d -o src/pragtical.p/api_shmem.c.o -c ../src/api/shmem.c
[ 42% 9/21] cc -Isrc/pragtical.p -Isrc -I../src -I/usr/local/include/luajit-2.1 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/uchardet -fdiagnostics-color=never -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -D_REENTRANT -D_THREAD_SAFE -DSDL_MAIN_HANDLED -DPCRE2_STATIC '-DPRAGTICAL_ARCH_TUPLE="arm-freebsd"' -DLUA_JIT -DX11_FOUND -MD -MQ src/pragtical.p/api_thread.c.o -MF src/pragtical.p/api_thread.c.o.d -o src/pragtical.p/api_thread.c.o -c ../src/api/thread.c
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/editors/pragtical