[package - main-amd64-default][games/nlarn] Failed for nlarn-0.7.6 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 18 Jul 2024 14:21:00 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:     egypcio@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p20475401fc2e_sa4469a0d19b/logs/nlarn-0.7.6.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p20475401fc2e_sa4469a0d19b
Log:

=>> Building games/nlarn
build started at Thu Jul 18 14:20:55 UTC 2024
port directory: /usr/ports/games/nlarn
package name: nlarn-0.7.6
building for: FreeBSD main-amd64-default-job-01 15.0-CURRENT FreeBSD 15.0-CURRENT 1500020 amd64
maintained by: egypcio@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 713 Sep  8  2022 /usr/ports/games/nlarn/Makefile
Ports top last git commit: 20475401fc2
Ports top unclean checkout: no
Port dir last git commit: fb16dfecae4
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500019
Jail OSVERSION: 1500020
Job Id: 01




!!! Jail is newer than host. (Jail: 1500020, Host: 1500019) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500020
UNAME_v=FreeBSD 15.0-CURRENT 1500020
UNAME_r=15.0-CURRENT
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.1-30-g79e3edcd
MASTERMNT=/usr/local/poudriere/data/.m/main-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/main-amd64-default/01/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-30-g79e3edcd
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--
egypcio@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/games/nlarn/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/nlarn/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/nlarn/work/.cache  HOME=/wrkdirs/usr/ports/games/nlarn/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/nlarn/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/nlarn/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 LUA_MODLIBDIR=/usr/local/lib/lua/5.3  LUA_MODSHAREDIR=/usr/local/share/lua/5.3  LUA_MODDOCSDIR=/usr/local/share/doc/lua53  LUA_INCDIR=/usr/local/include/lua53  LUA_LIBDIR=/usr/local/lib  LUA_VER=5.3  LUA_VER_STR=53 XDG_DATA_HOME=/wrkdirs/usr/ports/games/nlarn/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/nlarn/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/nlarn/work/.cache  HOME=/wrkdirs/usr/ports/games/nlarn/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/nlarn/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/nlarn/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 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=
" -Wl,-rpath=/usr/local/lib -fstack-protector-strong " LIBS="-L/usr/local/lib"  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--
GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0"  GTK4_VERSION="4.0.0" LUA_MODLIBDIR=lib/lua/5.3  LUA_MODSHAREDIR=share/lua/5.3  LUA_MODDOCSDIR=share/doc/lua53  LUA_INCDIR=include/lua53  LUA_VER=5.3  LUA_VER_STR=53 OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/nlarn"  EXAMPLESDIR="share/examples/nlarn"  DATADIR="share/nlarn"  WWWDIR="www/nlarn"  ETCDIR="etc/nlarn"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/nlarn DOCSDIR=/usr/local/share/doc/nlarn EXAMPLESDIR=/usr/local/share/examples/nlarn  WWWDIR=/usr/local/www/nlarn ETCDIR=/usr/local/etc/nlarn
--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
--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
===>   nlarn-0.7.6 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-amd64-default-job-01] Installing pkg-1.21.3...
[main-amd64-default-job-01] Extracting pkg-1.21.3: .......... done
===>   nlarn-0.7.6 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of nlarn-0.7.6
===========================================================================
=======================<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
===> Fetching all distfiles required by nlarn-0.7.6 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 nlarn-0.7.6 for building
=> SHA256 Checksum OK for nlarn-nlarn-NLarn-0.7.6_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 nlarn-0.7.6 for building
===>  Extracting for nlarn-0.7.6
=> SHA256 Checksum OK for nlarn-nlarn-NLarn-0.7.6_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 nlarn-0.7.6
===>  Applying FreeBSD patches for nlarn-0.7.6 from /usr/ports/games/nlarn/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   nlarn-0.7.6 depends on package: gmake>=4.4.1 - not found
===>   Installing existing package /packages/All/gmake-4.4.1.pkg
[main-amd64-default-job-01] Installing gmake-4.4.1...
[main-amd64-default-job-01] `-- Installing gettext-runtime-0.22.5...
[main-amd64-default-job-01] |   `-- Installing indexinfo-0.3.1...
[main-amd64-default-job-01] |   `-- Extracting indexinfo-0.3.1: .... done
[main-amd64-default-job-01] `-- Extracting gettext-runtime-0.22.5: .......... done
[main-amd64-default-job-01] Extracting gmake-4.4.1: .......... done
===>   nlarn-0.7.6 depends on package: gmake>=4.4.1 - found
===>   Returning to build of nlarn-0.7.6
===>   nlarn-0.7.6 depends on executable: g-ir-scanner - not found
===>   Installing existing package /packages/All/gobject-introspection-1.78.1_2,1.pkg
[main-amd64-default-job-01] Installing gobject-introspection-1.78.1_2,1...
[main-amd64-default-job-01] `-- Installing glib-2.80.4,2...
[main-amd64-default-job-01] |   `-- Installing libffi-3.4.6...
[main-amd64-default-job-01] |   `-- Extracting libffi-3.4.6: .......... done
[main-amd64-default-job-01] |   `-- Installing libiconv-1.17_1...
[main-amd64-default-job-01] |   `-- Extracting libiconv-1.17_1: .......... done
[main-amd64-default-job-01] |   `-- Installing pcre2-10.43...
[main-amd64-default-job-01] |   `-- Extracting pcre2-10.43: .......... done
[main-amd64-default-job-01] |   `-- Installing py311-packaging-24.1...
[main-amd64-default-job-01] |   | `-- Installing python311-3.11.9_1...
[main-amd64-default-job-01] |   |   `-- Installing mpdecimal-4.0.0...
[main-amd64-default-job-01] |   |   `-- Extracting mpdecimal-4.0.0: .......... done
[main-amd64-default-job-01] |   |   `-- Installing readline-8.2.10...
[main-amd64-default-job-01] |   |   `-- Extracting readline-8.2.10: .......... done
[main-amd64-default-job-01] |   | `-- Extracting python311-3.11.9_1: .......... done
[main-amd64-default-job-01] |   `-- Extracting py311-packaging-24.1: .......... done
[main-amd64-default-job-01] `-- Extracting glib-2.80.4,2: .......... done
[main-amd64-default-job-01] Extracting gobject-introspection-1.78.1_2,1: .......... done
==> Running trigger: gio-modules.ucl
Generating GIO modules cache
==> Running trigger: glib-schemas.ucl
Compiling glib schemas
No schema files found: doing nothing.
=====
Message from python311-3.11.9_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
===>   nlarn-0.7.6 depends on executable: g-ir-scanner - found
===>   Returning to build of nlarn-0.7.6
===>   nlarn-0.7.6 depends on file: /usr/local/lib/libncurses.so.6 - not found
===>   Installing existing package /packages/All/ncurses-6.5.pkg
[main-amd64-default-job-01] Installing ncurses-6.5...
[main-amd64-default-job-01] Extracting ncurses-6.5: .......... done
=====
Message from ncurses-6.5:

--
To get the terminfo database please install the terminfo-db package:
pkg install terminfo-db
===>   nlarn-0.7.6 depends on file: /usr/local/lib/libncurses.so.6 - found
===>   Returning to build of nlarn-0.7.6
===>   nlarn-0.7.6 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-2.2.0,1.pkg
[main-amd64-default-job-01] Installing pkgconf-2.2.0,1...
[main-amd64-default-job-01] Extracting pkgconf-2.2.0,1: .......... done
===>   nlarn-0.7.6 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of nlarn-0.7.6
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   nlarn-0.7.6 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so)
===>   nlarn-0.7.6 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>   nlarn-0.7.6 depends on shared library: liblua-5.3.so - not found
===>   Installing existing package /packages/All/lua53-5.3.6_1.pkg
[main-amd64-default-job-01] Installing lua53-5.3.6_1...
[main-amd64-default-job-01] `-- Installing libedit-3.1.20240517,1...
[main-amd64-default-job-01] `-- Extracting libedit-3.1.20240517,1: .......... done
[main-amd64-default-job-01] Extracting lua53-5.3.6_1: .......... done
===>   nlarn-0.7.6 depends on shared library: liblua-5.3.so - found (/usr/local/lib/liblua-5.3.so)
===>   Returning to build of nlarn-0.7.6
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for nlarn-0.7.6
/usr/bin/sed -i.bak 's|/usr/share/nlarn|/usr/local/share/nlarn|'  /wrkdirs/usr/ports/games/nlarn/work/nlarn-NLarn-0.7.6/src/nlarn.c
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for nlarn-0.7.6
cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=c99 -Wall -Wextra -Werror -Iinc -Iinc/external -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DG_DISABLE_DEPRECATED -DDEBUG -g -o src/amulets.o -c src/amulets.c
cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=c99 -Wall -Wextra -Werror -Iinc -Iinc/external -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DG_DISABLE_DEPRECATED -DDEBUG -g -o src/armour.o -c src/armour.c
cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=c99 -Wall -Wextra -Werror -Iinc -Iinc/external -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DG_DISABLE_DEPRECATED -DDEBUG -g -o src/buildings.o -c src/buildings.c
cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=c99 -Wall -Wextra -Werror -Iinc -Iinc/external -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DG_DISABLE_DEPRECATED -DDEBUG -g -o src/combat.o -c src/combat.c
cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=c99 -Wall -Wextra -Werror -Iinc -Iinc/external -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DG_DISABLE_DEPRECATED -DDEBUG -g -o src/config.o -c src/config.c
cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=c99 -Wall -Wextra -Werror -Iinc -Iinc/external -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DG_DISABLE_DEPRECATED -DDEBUG -g -o src/container.o -c src/container.c
cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=c99 -Wall -Wextra -Werror -Iinc -Iinc/external -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DG_DISABLE_DEPRECATED -DDEBUG -g -o src/display.o -c src/display.c
cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=c99 -Wall -Wextra -Werror -Iinc -Iinc/external -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DG_DISABLE_DEPRECATED -DDEBUG -g -o src/effects.o -c src/effects.c
src/display.c:419:70: error: data argument not used by format string [-Werror,-Wformat-extra-args]
  419 |     mvaprintw(MAP_MAX_Y + 1, MAP_MAX_X - 21, attrs, "HP %3d", p->hp, player_get_hp_max(p));
      |                                                     ~~~~~~~~         ^
src/display.c:226:44: note: expanded from macro 'mvaprintw'
  226 |     mvwaprintw(stdscr, y, x, attrs, fmt, ##__VA_ARGS__)
      |                                     ~~~    ^
src/display.c:221:33: note: expanded from macro 'mvwaprintw'
  221 |     mvwprintw(win, y, x, fmt, ##__VA_ARGS__); \
      |                          ~~~    ^
cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -std=c99 -Wall -Wextra -Werror -Iinc -Iinc/external -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DG_DISABLE_DEPRECATED -DDEBUG -g -o src/fov.o -c src/fov.c
src/display.c:449:12: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
  449 |     printw(pld);
      |            ^~~
src/display.c:449:12: note: treat the string as an argument to avoid this
  449 |     printw(pld);
      |            ^
      |            "%s", 
src/display.c:1531:74: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
 1531 |         mvwaprintw(mwin->window, 1 + line, 2, COLOR_PAIR(DCP_WHITE_RED), g_ptr_array_index(text, line));
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/garray.h:149:44: note: expanded from macro 'g_ptr_array_index'
  149 | #define    g_ptr_array_index(array,index_) ((array)->pdata)[index_]
      |                                            ^
src/display.c:221:26: note: expanded from macro 'mvwaprintw'
  221 |     mvwprintw(win, y, x, fmt, ##__VA_ARGS__); \
      |                          ^~~
src/display.c:1531:74: note: treat the string as an argument to avoid this
 1531 |         mvwaprintw(mwin->window, 1 + line, 2, COLOR_PAIR(DCP_WHITE_RED), g_ptr_array_index(text, line));
      |                                                                          ^
      |                                                                          "%s", 
/usr/local/include/glib-2.0/glib/garray.h:149:44: note: expanded from macro 'g_ptr_array_index'
  149 | #define    g_ptr_array_index(array,index_) ((array)->pdata)[index_]
      |                                            ^
src/display.c:221:26: note: expanded from macro 'mvwaprintw'
  221 |     mvwprintw(win, y, x, fmt, ##__VA_ARGS__); \
      |                          ^
src/display.c:1756:40: error: format specifies type 'char *' but the argument has type 'gpointer' (aka 'void *') [-Werror,-Wformat]
 1756 |                   " %-*s ", width - 4, g_ptr_array_index(text, line));
      |                     ~~~~               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/display.c:221:33: note: expanded from macro 'mvwaprintw'
  221 |     mvwprintw(win, y, x, fmt, ##__VA_ARGS__); \
      |                          ~~~    ^~~~~~~~~~~
/usr/local/include/glib-2.0/glib/garray.h:149:44: note: expanded from macro 'g_ptr_array_index'
  149 | #define    g_ptr_array_index(array,index_) ((array)->pdata)[index_]
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~
src/display.c:1763:23: error: field width should have type 'int', but argument has type 'size_t' (aka 'unsigned long') [-Werror,-Wformat]
 1763 |                   "%-*s", max_len + 1, string->str);
      |                    ~~~^   ~~~~~~~~~~~
src/display.c:221:26: note: expanded from macro 'mvwaprintw'
  221 |     mvwprintw(win, y, x, fmt, ##__VA_ARGS__); \
      |                          ^~~    ~~~~~~~~~~~
src/display.c:1936:20: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
 1935 |         mvwaprintw(ywin->window, line + 1, 1 + padding, COLOR_PAIR(DCP_WHITE_RED),
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1936 |                    g_ptr_array_index(text, line));
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/garray.h:149:44: note: expanded from macro 'g_ptr_array_index'
  149 | #define    g_ptr_array_index(array,index_) ((array)->pdata)[index_]
      |                                            ^
src/display.c:221:26: note: expanded from macro 'mvwaprintw'
  221 |     mvwprintw(win, y, x, fmt, ##__VA_ARGS__); \
      |                          ^~~
src/display.c:1936:20: note: treat the string as an argument to avoid this
 1936 |                    g_ptr_array_index(text, line));
      |                    ^
      |                    "%s", 
/usr/local/include/glib-2.0/glib/garray.h:149:44: note: expanded from macro 'g_ptr_array_index'
  149 | #define    g_ptr_array_index(array,index_) ((array)->pdata)[index_]
      |                                            ^
src/display.c:221:26: note: expanded from macro 'mvwaprintw'
  221 |     mvwprintw(win, y, x, fmt, ##__VA_ARGS__); \
      |                          ^
6 errors generated.
gmake: *** [Makefile:158: src/display.o] Error 1
gmake: *** Waiting for unfinished jobs....
===> 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/games/nlarn