[package - 135releng-armv7-quarterly][games/mahjong] Failed for mahjong-1.17 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 14 Sep 2025 19:48:23 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:     wen@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere1/data/135releng-armv7-quarterly/260a422233fc/logs/mahjong-1.17.log
Build URL:      https://pkg-status.freebsd.org/ampere1/build.html?mastername=135releng-armv7-quarterly&build=260a422233fc
Log:

=>> Building games/mahjong
build started at Sun Sep 14 19:44:14 UTC 2025
port directory: /usr/ports/games/mahjong
package name: mahjong-1.17
building for: FreeBSD 135releng-armv7-quarterly-job-09 13.5-RELEASE-p3 FreeBSD 13.5-RELEASE-p3 1305000 arm
maintained by: wen@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  1455 Jul  3 01:02 /usr/ports/games/mahjong/Makefile
Ports top last git commit: 260a42223
Ports top unclean checkout: no
Port dir last git commit: d7951ee86
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.3
Host OSVERSION: 1500052
Jail OSVERSION: 1305000
Job Id: 09

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1305000
UNAME_v=FreeBSD 13.5-RELEASE-p3 1305000
UNAME_r=13.5-RELEASE-p3
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.3
MASTERMNT=/usr/local/poudriere/data/.m/135releng-armv7-quarterly/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/135releng-armv7-quarterly/09/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=135releng-armv7-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/135releng-armv7-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.3
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

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

--MAINTAINER--
wen@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=/usr/local/bin/gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/games/mahjong/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/mahjong/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/mahjong/work/.cache  HOME=/wrkdirs/usr/ports/games/mahjong/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/mahjong/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/mahjong/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
CCLINK="cc" CDEBUGFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing " PERL="/usr/local/bin/perl" PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/games/mahjong/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/mahjong/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/mahjong/work/.cache  HOME=/wrkdirs/usr/ports/games/mahjong/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/mahjong/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/mahjong/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 -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " 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" OSREL=13.5 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.40.3  PERL_VER=5.40  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.40 DOCSDIR="share/doc/mahjong"  EXAMPLESDIR="share/examples/mahjong"  DATADIR="share/mahjong"  WWWDIR="www/mahjong"  ETCDIR="etc/mahjong"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mahjong DOCSDIR=/usr/local/share/doc/mahjong EXAMPLESDIR=/usr/local/share/examples/mahjong  WWWDIR=/usr/local/www/mahjong ETCDIR=/usr/local/etc/mahjong
--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 GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mahjong-1.17 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.2.2.pkg
[135releng-armv7-quarterly-job-09] Installing pkg-2.2.2...
[135releng-armv7-quarterly-job-09] Extracting pkg-2.2.2: .......... done
===>   mahjong-1.17 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mahjong-1.17
===========================================================================
=======================<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 GPLv2+ accepted by the user
===> Fetching all distfiles required by mahjong-1.17 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by mahjong-1.17 for building
=> SHA256 Checksum OK for mj-1.17-src.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 GPLv2+ accepted by the user
===> Fetching all distfiles required by mahjong-1.17 for building
===>  Extracting for mahjong-1.17
=> SHA256 Checksum OK for mj-1.17-src.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 mahjong-1.17
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mahjong-1.17 depends on package: gmake>=4.4.1 - not found
===>   Installing existing package /packages/All/gmake-4.4.1.pkg
[135releng-armv7-quarterly-job-09] Installing gmake-4.4.1...
[135releng-armv7-quarterly-job-09] `-- Installing gettext-runtime-0.23.1...
[135releng-armv7-quarterly-job-09] |   `-- Installing indexinfo-0.3.1_1...
[135releng-armv7-quarterly-job-09] |   `-- Extracting indexinfo-0.3.1_1: .... done
[135releng-armv7-quarterly-job-09] `-- Extracting gettext-runtime-0.23.1: .......... done
[135releng-armv7-quarterly-job-09] Extracting gmake-4.4.1: .......... done
===>   mahjong-1.17 depends on package: gmake>=4.4.1 - found
===>   Returning to build of mahjong-1.17
===>   mahjong-1.17 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-2.4.3,1.pkg
[135releng-armv7-quarterly-job-09] Installing pkgconf-2.4.3,1...
[135releng-armv7-quarterly-job-09] Extracting pkgconf-2.4.3,1: .......... done
===>   mahjong-1.17 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of mahjong-1.17
===>   mahjong-1.17 depends on package: perl5>=5.40.r<5.41 - not found
===>   Installing existing package /packages/All/perl5-5.40.3_2.pkg
[135releng-armv7-quarterly-job-09] Installing perl5-5.40.3_2...
[135releng-armv7-quarterly-job-09] Extracting perl5-5.40.3_2: .......... done
<snip>
scoring.c:737:20: note: change the argument to be the free space in the destination buffer minus the terminating null byte
  737 |   strmcat(buf,tbuf,sizeof(buf)-strlen(buf));
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
      |                    sizeof(buf) - strlen(buf) - 1
scoring.c:746:22: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size]
  746 |     strmcat(buf,tbuf,sizeof(buf)-strlen(buf));
      |                      ^~~~~~~~~~~~~~~~~~~~~~~
scoring.c:746:22: note: change the argument to be the free space in the destination buffer minus the terminating null byte
  746 |     strmcat(buf,tbuf,sizeof(buf)-strlen(buf));
      |                      ^~~~~~~~~~~~~~~~~~~~~~~
      |                      sizeof(buf) - strlen(buf) - 1
scoring.c:751:23: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size]
  751 |   strmcat(buf,limsbuf,sizeof(buf)-strlen(buf));
      |                       ^~~~~~~~~~~~~~~~~~~~~~~
scoring.c:751:23: note: change the argument to be the free space in the destination buffer minus the terminating null byte
  751 |   strmcat(buf,limsbuf,sizeof(buf)-strlen(buf));
      |                       ^~~~~~~~~~~~~~~~~~~~~~~
      |                       sizeof(buf) - strlen(buf) - 1
scoring.c:764:20: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size]
  764 |   strmcat(buf,tbuf,sizeof(buf)-strlen(buf));
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
scoring.c:764:20: note: change the argument to be the free space in the destination buffer minus the terminating null byte
  764 |   strmcat(buf,tbuf,sizeof(buf)-strlen(buf));
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
      |                    sizeof(buf) - strlen(buf) - 1
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing    `pkg-config --cflags gtk+-2.0`  -DTILESET='NULL' -DTILESETPATH='NULL'  -DGTK2=1   -c -o greedy.o greedy.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing    `pkg-config --cflags gtk+-2.0`  -DTILESET='NULL' -DTILESETPATH='NULL'  -DGTK2=1   -c -o fbtiles.o fbtiles.c
rm -f xmj
cc -o xmj -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing     gui.o gui-dial.o client.o lazyfixed.o vlazyfixed.o player.o tiles.o fbtiles.o protocol.o game.o sysdep.o   `pkg-config --libs gtk+-2.0` -lm -lm  
ld: error: undefined symbol: gtk_fixed_get_type
>>> referenced by lazyfixed.c
>>>               lazyfixed.o:(lazy_fixed_get_type)
>>> referenced by lazyfixed.c
>>>               lazyfixed.o:(lazy_fixed_class_init)
>>> referenced by lazyfixed.c
>>>               lazyfixed.o:(lazy_fixed_new)
>>> referenced 8 more times

ld: error: undefined symbol: gtk_type_unique
>>> referenced by lazyfixed.c
>>>               lazyfixed.o:(lazy_fixed_get_type)
>>> referenced by lazyfixed.c
>>>               lazyfixed.o:(lazy_fixed_new)
>>> referenced by lazyfixed.c
>>>               lazyfixed.o:(lazy_fixed_remove)
>>> referenced 6 more times

ld: error: undefined symbol: gtk_type_class
>>> referenced by lazyfixed.c
>>>               lazyfixed.o:(lazy_fixed_class_init)
>>> referenced by vlazyfixed.c
>>>               vlazyfixed.o:(vlazy_fixed_class_init)

ld: error: undefined symbol: gtk_type_new
>>> referenced by lazyfixed.c
>>>               lazyfixed.o:(lazy_fixed_new)
>>> referenced by lazyfixed.c
>>>               lazyfixed.o:(lazy_fixed_new)
>>> referenced by vlazyfixed.c
>>>               vlazyfixed.o:(vlazy_fixed_new)
>>> referenced 1 more times

ld: error: undefined symbol: gtk_widget_unparent
>>> referenced by lazyfixed.c
>>>               lazyfixed.o:(lazy_fixed_remove)
>>> referenced by vlazyfixed.c
>>>               vlazyfixed.o:(vlazy_fixed_remove)

ld: error: undefined symbol: gtk_widget_set_parent
>>> referenced by vlazyfixed.c
>>>               vlazyfixed.o:(vlazy_fixed_put)

ld: error: undefined symbol: gtk_widget_realize
>>> referenced by vlazyfixed.c
>>>               vlazyfixed.o:(vlazy_fixed_put)
>>> referenced by gui.c
>>>               gui.o:(create_display)
>>> referenced by gui-dial.c
>>>               gui-dial.o:(textwindow_init)
>>> referenced 3 more times

ld: error: undefined symbol: gtk_widget_map
>>> referenced by vlazyfixed.c
>>>               vlazyfixed.o:(vlazy_fixed_put)
>>> referenced by gui.c
>>>               gui.o:(playerdisp_update)
>>> referenced by gui.c
>>>               gui.o:(discard_animator)

ld: error: undefined symbol: gtk_widget_queue_resize
>>> referenced by vlazyfixed.c
>>>               vlazyfixed.o:(vlazy_fixed_put)

ld: error: undefined symbol: gtk_widget_show
>>> referenced by gui-dial.c
>>>               gui-dial.o:(discard_dialog_popup)
>>> referenced by gui-dial.c
>>>               gui-dial.o:(discard_dialog_popup)
>>> referenced by gui-dial.c
>>>               gui-dial.o:(discard_dialog_popup)
>>> referenced 390 more times

ld: error: undefined symbol: gtk_widget_hide
>>> referenced by gui-dial.c
>>>               gui-dial.o:(discard_dialog_popup)
>>> referenced by gui-dial.c
>>>               gui-dial.o:(discard_dialog_popup)
>>> referenced by gui-dial.c
>>>               gui-dial.o:(discard_dialog_popup)
>>> referenced 169 more times

ld: error: undefined symbol: gtk_widget_grab_focus
>>> referenced by gui-dial.c
>>>               gui-dial.o:(discard_dialog_popup)
>>> referenced by gui-dial.c
>>>               gui-dial.o:(turn_dialog_popup)
>>> referenced by gui-dial.c
>>>               gui-dial.o:(ds_dialog_popup)
>>> referenced 7 more times

ld: error: undefined symbol: gtk_label_set_text
>>> referenced by gui-dial.c
>>>               gui-dial.o:(discard_dialog_popup)
>>> referenced by gui-dial.c
>>>               gui-dial.o:(turn_dialog_popup)
>>> referenced by gui-dial.c
>>>               gui-dial.o:(conc_callback)
>>> referenced 18 more times

ld: error: undefined symbol: gtk_misc_set_alignment
>>> referenced by gui-dial.c
>>>               gui-dial.o:(discard_dialog_popup)
>>> referenced by gui-dial.c
>>>               gui-dial.o:(messagewindow_init)

ld: error: undefined symbol: gtk_timeout_add
>>> referenced by gui-dial.c
>>>               gui-dial.o:(discard_dialog_popup)
>>> referenced by gui.c
>>>               gui.o:(check_claim_window)
>>> referenced by gui.c
>>>               gui.o:(playerdisp_update)

ld: error: undefined symbol: gtk_window_get_type
>>> referenced by gui-dial.c
>>>               gui-dial.o:(dialog_popup)
>>> referenced by gui.c
>>>               gui.o:(vis_callback)
>>> referenced by gui.c
>>>               gui.o:(vis_callback)
>>> referenced 2 more times

ld: error: undefined symbol: gtk_object_get_data
>>> referenced by gui-dial.c
>>>               gui-dial.o:(dialog_popup)
>>> referenced by gui-dial.c
>>>               gui-dial.o:(dialog_popup)
>>> referenced by gui-dial.c
>>>               gui-dial.o:(dialog_popup)
>>> referenced 40 more times

ld: error: undefined symbol: gtk_widget_set_uposition
>>> referenced by gui-dial.c
>>>               gui-dial.o:(dialog_popup)
>>> referenced by gui-dial.c
>>>               gui-dial.o:(dialog_popup)
>>> referenced by gui-dial.c
>>>               gui-dial.o:(dialog_popup)
>>> referenced 8 more times

ld: error: undefined symbol: gtk_widget_size_request
>>> referenced by gui-dial.c
>>>               gui-dial.o:(dialog_popup)
>>> referenced by gui-dial.c
>>>               gui-dial.o:(dialog_popup)
>>> referenced by gui-dial.c
>>>               gui-dial.o:(discard_dialog_init)
>>> referenced 16 more times

ld: error: undefined symbol: gtk_widget_set_usize
>>> referenced by gui-dial.c
>>>               gui-dial.o:(dialog_popup)
>>> referenced by gui-dial.c
>>>               gui-dial.o:(discard_dialog_init)
>>> referenced by gui.c
>>>               gui.o:(create_display)
>>> referenced 13 more times

ld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:376: xmj] Error 1
gmake: *** Waiting for unfinished jobs....
162 warnings generated.
===> 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/mahjong