[package - 135releng-armv7-quarterly][x11-toolkits/p5-Gtk2] Failed for p5-Gtk2-1.24993_5 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 11 Sep 2025 09:38:45 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:     perl@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere1/data/135releng-armv7-quarterly/260a422233fc/logs/p5-Gtk2-1.24993_5.log
Build URL:      https://pkg-status.freebsd.org/ampere1/build.html?mastername=135releng-armv7-quarterly&build=260a422233fc
Log:

=>> Building x11-toolkits/p5-Gtk2
build started at Thu Sep 11 09:34:02 UTC 2025
port directory: /usr/ports/x11-toolkits/p5-Gtk2
package name: p5-Gtk2-1.24993_5
building for: FreeBSD 135releng-armv7-quarterly-job-13 13.5-RELEASE-p3 FreeBSD 13.5-RELEASE-p3 1305000 arm
maintained by: perl@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  1132 Jul 12 01:02 /usr/ports/x11-toolkits/p5-Gtk2/Makefile
Ports top last git commit: 260a42223
Ports top unclean checkout: no
Port dir last git commit: 0711873cc
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.3
Host OSVERSION: 1500052
Jail OSVERSION: 1305000
Job Id: 13

---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/13/.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--
perl@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
INSTALLDIRS="site" CC="cc" CCFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing " LD="cc" PREFIX="/usr/local"  INSTALLPRIVLIB="/usr/local/lib" INSTALLARCHLIB="/usr/local/lib"
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
FORCE_MAKE_CMD=yes 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 XDG_DATA_HOME=/wrkdirs/usr/ports/x11-toolkits/p5-Gtk2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-toolkits/p5-Gtk2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/x11-toolkits/p5-Gtk2/work/.cache  HOME=/wrkdirs/usr/ports/x11-toolkits/p5-Gtk2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11-toolkits/p5-Gtk2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/x11-toolkits/p5-Gtk2/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh PERL_EXTUTILS_AUTOINSTALL="--skipdeps" PERL_MM_USE_DEFAULT="YES"
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/x11-toolkits/p5-Gtk2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-toolkits/p5-Gtk2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/x11-toolkits/p5-Gtk2/work/.cache  HOME=/wrkdirs/usr/ports/x11-toolkits/p5-Gtk2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11-toolkits/p5-Gtk2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/x11-toolkits/p5-Gtk2/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="ins
tall  -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/Gtk2"  EXAMPLESDIR="share/examples/Gtk2"  DATADIR="share/Gtk2"  WWWDIR="www/Gtk2"  ETCDIR="etc/Gtk2"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/Gtk2 DOCSDIR=/usr/local/share/doc/Gtk2 EXAMPLESDIR=/usr/local/share/examples/Gtk2  WWWDIR=/usr/local/www/Gtk2 ETCDIR=/usr/local/etc/Gtk2
--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 LGPL21 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   p5-Gtk2-1.24993_5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.2.2.pkg
[135releng-armv7-quarterly-job-13] Installing pkg-2.2.2...
[135releng-armv7-quarterly-job-13] Extracting pkg-2.2.2: .......... done
===>   p5-Gtk2-1.24993_5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of p5-Gtk2-1.24993_5
===========================================================================
=======================<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 LGPL21 accepted by the user
===> Fetching all distfiles required by p5-Gtk2-1.24993_5 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License LGPL21 accepted by the user
===> Fetching all distfiles required by p5-Gtk2-1.24993_5 for building
=> SHA256 Checksum OK for Gtk2-1.24993.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 LGPL21 accepted by the user
===> Fetching all distfiles required by p5-Gtk2-1.24993_5 for building
===>  Extracting for p5-Gtk2-1.24993_5
=> SHA256 Checksum OK for Gtk2-1.24993.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 p5-Gtk2-1.24993_5
/usr/bin/sed -i.bak -e 's|"gtk+-2.0.*|"gtk+-2.0");|g'  /wrkdirs/usr/ports/x11-toolkits/p5-Gtk2/work/Gtk2-1.24993/Makefile.PL
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   p5-Gtk2-1.24993_5 depends on package: p5-Cairo>=1 - not found
===>   Installing existing package /packages/All/p5-Cairo-1.109_2.pkg
[135releng-armv7-quarterly-job-13] Installing p5-Cairo-1.109_2...
[135releng-armv7-quarterly-job-13] `-- Installing cairo-1.18.2,3...
[135releng-armv7-quarterly-job-13] |   `-- Installing fontconfig-2.15.0_3,1...
[135releng-armv7-quarterly-job-13] |   | `-- Installing expat-2.7.1...
[135releng-armv7-quarterly-job-13] |   | `-- Extracting expat-2.7.1: .......... done
[135releng-armv7-quarterly-job-13] |   | `-- Installing freetype2-2.13.3...
[135releng-armv7-quarterly-job-13] |   |   `-- Installing brotli-1.1.0,1...
[135releng-armv7-quarterly-job-13] |   |   `-- Extracting brotli-1.1.0,1: .......... done
[135releng-armv7-quarterly-job-13] |   |   `-- Installing png-1.6.49...
[135releng-armv7-quarterly-job-13] |   |   `-- Extracting png-1.6.49: .......... done
[135releng-armv7-quarterly-job-13] |   | `-- Extracting freetype2-2.13.3: .......... done
[135releng-armv7-quarterly-job-13] |   `-- Extracting fontconfig-2.15.0_3,1: .......... done
[135releng-armv7-quarterly-job-13] |   `-- Installing gettext-runtime-0.23.1...
[135releng-armv7-quarterly-job-13] |   | `-- Installing indexinfo-0.3.1_1...
[135releng-armv7-quarterly-job-13] |   | `-- Extracting indexinfo-0.3.1_1: .... done
[135releng-armv7-quarterly-job-13] |   `-- Extracting gettext-runtime-0.23.1: .......... done
[135releng-armv7-quarterly-job-13] |   `-- Installing glib-2.84.1_2,2...
<snip>
      |                                  ^
/usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
  731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36;
      |                   ^
/usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
  213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE
      |                                         ^
/usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE'
 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED
      |                              ^
/usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED'
 1267 | #define G_DEPRECATED __attribute__((__deprecated__))
      |                                     ^
In file included from xs/GdkPixbufSimpleAnim.xs:22:
In file included from ./gtk2perl.h:29:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33:
In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      |                                  ^
/usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
  731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36;
      |                   ^
/usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
  213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE
      |                                         ^
/usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE'
 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED
      |                              ^
/usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED'
 1267 | #define G_DEPRECATED __attribute__((__deprecated__))
      |                                     ^
In file included from xs/GdkCairo.xs:9:
In file included from ./gtk2perl.h:29:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126:
In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^
/usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here
  578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
      |                                   ^
/usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
  656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
      |                                             ^
/usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f)
      |                                     ^
/usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR'
 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
      |                                            ^
In file included from xs/GdkPixbufSimpleAnim.xs:22:
In file included from ./gtk2perl.h:29:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126:
In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^
/usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here
  578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
      |                                   ^
/usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
  656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
      |                                             ^
/usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f)
      |                                     ^
/usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR'
 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
      |                                            ^
2 warnings generated.
2 warnings generated.
[ CC build/constants.c ]
In file included from xs/GdkX11.xs:21:
In file included from ./gtk2perl.h:29:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33:
In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      |                                  ^
/usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
  731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36;
      |                   ^
/usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
  213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE
      |                                         ^
/usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE'
 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED
      |                              ^
/usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED'
 1267 | #define G_DEPRECATED __attribute__((__deprecated__))
      |                                     ^
In file included from xs/GdkX11.xs:21:
In file included from ./gtk2perl.h:29:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126:
In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^
/usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here
  578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
      |                                   ^
/usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
  656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
      |                                             ^
/usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f)
      |                                     ^
/usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR'
 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
      |                                            ^
2 warnings generated.
In file included from build/constants.xs:5:
In file included from ./gtk2perl.h:29:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33:
In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32:
In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      |                                  ^
/usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
  731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36;
      |                   ^
/usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
  213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE
      |                                         ^
/usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE'
 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED
      |                              ^
/usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED'
 1267 | #define G_DEPRECATED __attribute__((__deprecated__))
      |                                     ^
In file included from build/constants.xs:5:
In file included from ./gtk2perl.h:29:
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126:
In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30:
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^
/usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here
  578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
      |                                   ^
/usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR'
  656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
      |                                             ^
/usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f)
      |                                     ^
/usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR'
 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
      |                                            ^
2 warnings generated.
rm -f blib/arch/auto/Gtk2/Gtk2.so
[ LD blib/arch/auto/Gtk2/Gtk2.so ]
chmod 755 blib/arch/auto/Gtk2/Gtk2.so
Creating enum POD...
Creating stock items POD...
Can't load 'blib/arch/auto/Gtk2/Gtk2.so' for module Gtk2: blib/arch/auto/Gtk2/Gtk2.so: Undefined symbol "gtk_main_do_event" at /usr/local/lib/perl5/5.40/mach/DynaLoader.pm line 206.

Compilation failed in require.
BEGIN failed--compilation aborted.
Can't load 'blib/arch/auto/Gtk2/Gtk2.so' for module Gtk2: blib/arch/auto/Gtk2/Gtk2.so: Undefined symbol "gtk_main_do_event" at /usr/local/lib/perl5/5.40/mach/DynaLoader.pm line 206.

Compilation failed in require.
BEGIN failed--compilation aborted.
gmake: *** [Makefile:3822: build/stock_items.podi] Error 2
gmake: *** Waiting for unfinished jobs....
gmake: *** [Makefile:3818: blib/lib/Gtk2/enums.pod] Error 2
===> 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/x11-toolkits/p5-Gtk2