[package - 124amd64-quarterly][x11-toolkits/p5-Gtk2] Failed for p5-Gtk2-1.24993_3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 04 Dec 2023 04:44:27 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/beefy2/data/124amd64-quarterly/c150858e8e4f/logs/p5-Gtk2-1.24993_3.log
Build URL:      https://pkg-status.freebsd.org/beefy2/build.html?mastername=124amd64-quarterly&build=c150858e8e4f
Log:

=>> Building x11-toolkits/p5-Gtk2
build started at Mon Dec  4 04:44:07 UTC 2023
port directory: /usr/ports/x11-toolkits/p5-Gtk2
package name: p5-Gtk2-1.24993_3
building for: FreeBSD 124amd64-quarterly-job-07 12.4-RELEASE-p8 FreeBSD 12.4-RELEASE-p8 amd64
maintained by: perl@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  904 Oct  3 01:02 /usr/ports/x11-toolkits/p5-Gtk2/Makefile
Ports top last git commit: c150858e8
Ports top unclean checkout: no
Port dir last git commit: 2195304f9
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.3.0-1258-gbc38e2e6
Host OSVERSION: 1500000
Jail OSVERSION: 1204000
Job Id: 07

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1204000
UNAME_v=FreeBSD 12.4-RELEASE-p8
UNAME_r=12.4-RELEASE-p8
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.0-1258-gbc38e2e6
MASTERMNT=/usr/local/poudriere/data/.m/124amd64-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/124amd64-quarterly/07/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=124amd64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/124amd64-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.3.0-1258-gbc38e2e6
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=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" LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--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 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 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  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BS
D_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=12.4 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.34.3  PERL_VER=5.34  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.34 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---
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 LGPL21 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   p5-Gtk2-1.24993_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.8.pkg
[124amd64-quarterly-job-07] Installing pkg-1.20.8...
[124amd64-quarterly-job-07] Extracting pkg-1.20.8: .......... done
===>   p5-Gtk2-1.24993_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of p5-Gtk2-1.24993_3
===========================================================================
=======================<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_3 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_3 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_3 for building
===>  Extracting for p5-Gtk2-1.24993_3
=> 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_3
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   p5-Gtk2-1.24993_3 depends on package: p5-Cairo>=1 - not found
===>   Installing existing package /packages/All/p5-Cairo-1.109_1.pkg
[124amd64-quarterly-job-07] Installing p5-Cairo-1.109_1...
[124amd64-quarterly-job-07] `-- Installing cairo-1.17.4_2,3...
[124amd64-quarterly-job-07] |   `-- Installing fontconfig-2.14.2,1...
[124amd64-quarterly-job-07] |   | `-- Installing expat-2.5.0...
[124amd64-quarterly-job-07] |   | `-- Extracting expat-2.5.0: .......... done
[124amd64-quarterly-job-07] |   | `-- Installing freetype2-2.13.1...
[124amd64-quarterly-job-07] |   |   `-- Installing brotli-1.1.0,1...
[124amd64-quarterly-job-07] |   |   `-- Extracting brotli-1.1.0,1: .......... done
[124amd64-quarterly-job-07] |   |   `-- Installing png-1.6.40...
[124amd64-quarterly-job-07] |   |   `-- Extracting png-1.6.40: .......... done
[124amd64-quarterly-job-07] |   | `-- Extracting freetype2-2.13.1: .......... done
[124amd64-quarterly-job-07] |   `-- Extracting fontconfig-2.14.2,1: .......... done
[124amd64-quarterly-job-07] |   `-- Installing gettext-runtime-0.22_1...
[124amd64-quarterly-job-07] |   | `-- Installing indexinfo-0.3.1...
[124amd64-quarterly-job-07] |   | `-- Extracting indexinfo-0.3.1: .... done
[124amd64-quarterly-job-07] |   `-- Extracting gettext-runtime-0.22_1: .......... done
[124amd64-quarterly-job-07] |   `-- Installing glib-2.78.1,2...
[124amd64-quarterly-job-07] |   | `-- Installing libffi-3.4.4...
[124amd64-quarterly-job-07] |   | `-- Extracting libffi-3.4.4: .......... done
[124amd64-quarterly-job-07] |   | `-- Installing libiconv-1.17...
[124amd64-quarterly-job-07] |   | `-- Extracting libiconv-1.17: .......... done
[124amd64-quarterly-job-07] |   | `-- Installing libxml2-2.10.4_1...
[124amd64-quarterly-job-07] |   |   `-- Installing readline-8.2.1...
[124amd64-quarterly-job-07] |   |   `-- Extracting readline-8.2.1: .......... done
[124amd64-quarterly-job-07] |   | `-- Extracting libxml2-2.10.4_1: .......... done
[124amd64-quarterly-job-07] |   | `-- Installing pcre2-10.42...
[124amd64-quarterly-job-07] |   | `-- Extracting pcre2-10.42: .......... done
[124amd64-quarterly-job-07] |   | `-- Installing python39-3.9.18...
<snip>
    STMT_START {                                        \
    ^~~~~~~~~~
/usr/local/lib/perl5/5.34/mach/CORE/perl.h:737:29: note: expanded from macro 'STMT_START'
#   define STMT_START   (void)( /* gcc supports "({ STATEMENTS; })" */
                              ^
xs/GdkX11.c:603:5: note: '{' token is here
    XSRETURN(1);
    ^~~~~~~~~~~
/usr/local/lib/perl5/5.34/mach/CORE/XSUB.h:325:16: note: expanded from macro 'XSRETURN'
    STMT_START {                                        \
               ^
xs/GdkX11.c:603:5: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
    XSRETURN(1);
    ^~~~~~~~~~~
/usr/local/lib/perl5/5.34/mach/CORE/XSUB.h:330:5: note: expanded from macro 'XSRETURN'
    } STMT_END
    ^
xs/GdkX11.c:603:5: note: ')' token is here
    XSRETURN(1);
    ^~~~~~~~~~~
/usr/local/lib/perl5/5.34/mach/CORE/XSUB.h:330:7: note: expanded from macro 'XSRETURN'
    } STMT_END
      ^~~~~~~~
/usr/local/lib/perl5/5.34/mach/CORE/perl.h:738:21: note: expanded from macro 'STMT_END'
#   define STMT_END     )
                        ^
xs/GdkX11.c:624:13: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
        XSprePUSH; PUSHu((UV)RETVAL);
                   ^~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.34/mach/CORE/pp.h:477:18: note: expanded from macro 'PUSHu'
#define PUSHu(u)        STMT_START { TARGu(u,1); PUSHs(TARG); } STMT_END
                        ^~~~~~~~~~
/usr/local/lib/perl5/5.34/mach/CORE/perl.h:737:29: note: expanded from macro 'STMT_START'
#   define STMT_START   (void)( /* gcc supports "({ STATEMENTS; })" */
                              ^
xs/GdkX11.c:624:13: note: '{' token is here
        XSprePUSH; PUSHu((UV)RETVAL);
                   ^~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.34/mach/CORE/pp.h:477:29: note: expanded from macro 'PUSHu'
#define PUSHu(u)        STMT_START { TARGu(u,1); PUSHs(TARG); } STMT_END
                                   ^
xs/GdkX11.c:624:13: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
        XSprePUSH; PUSHu((UV)RETVAL);
                   ^~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.34/mach/CORE/pp.h:477:31: note: expanded from macro 'PUSHu'
#define PUSHu(u)        STMT_START { TARGu(u,1); PUSHs(TARG); } STMT_END
                                     ^~~~~~~~~~
/usr/local/lib/perl5/5.34/mach/CORE/pp.h:431:5: note: expanded from macro 'TARGu'
    STMT_START {                                                        \
    ^~~~~~~~~~
/usr/local/lib/perl5/5.34/mach/CORE/perl.h:737:29: note: expanded from macro 'STMT_START'
#   define STMT_START   (void)( /* gcc supports "({ STATEMENTS; })" */
                              ^
xs/GdkX11.c:624:13: note: '{' token is here
        XSprePUSH; PUSHu((UV)RETVAL);
                   ^~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.34/mach/CORE/pp.h:477:31: note: expanded from macro 'PUSHu'
#define PUSHu(u)        STMT_START { TARGu(u,1); PUSHs(TARG); } STMT_END
                                     ^~~~~~~~~~
/usr/local/lib/perl5/5.34/mach/CORE/pp.h:431:16: note: expanded from macro 'TARGu'
    STMT_START {                                                        \
               ^
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:
xs/GdkX11.c:624:13: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236        XSprePUSH; PUSHu((UV)RETVAL);
                   ^~~~~~~~~~~~~~~~~
:34: warning: /usr/local/lib/perl5/5.34/mach/CORE/pp.h:477:31: note: expanded from macro 'PUSHu'
'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]#define PUSHu(u)        STMT_START { TARGu(u,1); PUSHs(TARG); } STMT_END
                                     ^~~~~~~~~~

/usr/local/lib/perl5/5.34/mach/CORE/pp.h:449:5: note: expanded from macro 'TARGu'
void            gtk_type_init   (GTypeDebugFlags    debug_flags);
                                 ^
    } STMT_END
    ^
xs/GdkX11.c:624:13: note: ')' token is here
        XSprePUSH; PUSHu((UV)RETVAL);
                   ^~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.34/mach/CORE/pp.h:477:31: note: expanded from macro 'PUSHu'
/usr/local/include/glib-2.0/gobject/gtype.h#define PUSHu(u)        STMT_START { TARGu(u,1); PUSHs(TARG); } STMT_END
                                     ^~~~~~~~~~
:/usr/local/lib/perl5/5.34/mach/CORE/pp.h:449:7: note: expanded from macro 'TARGu'
729    } STMT_END
      ^~~~~~~~
:/usr/local/lib/perl5/5.34/mach/CORE/perl.h:738:21: note: expanded from macro 'STMT_END'
19#   define STMT_END     )
                        ^
: note: 'GTypeDebugFlags' has been explicitly marked deprecated here
xs/GdkX11.c:624:13: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
} GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36;        XSprePUSH; PUSHu((UV)RETVAL);
                   ^~~~~~~~~~~~~~~~~

                  ^
/usr/local/lib/perl5/5.34/mach/CORE/pp.h:477:56: note: expanded from macro 'PUSHu'
/usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36'
#define PUSHu(u)        STMT_START { TARGu(u,1); PUSHs(TARG); } STMT_END
                                                              ^
#define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE
                                        ^
xs/GdkX11.c/usr/local/include/glib-2.0/glib/gmacros.h:1323:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE'
:624:13: note: ')' token is here
#define GLIB_DEPRECATED_TYPE G_DEPRECATED        XSprePUSH; PUSHu((UV)RETVAL);
                   ^~~~~~~~~~~~~~~~~

/usr/local/lib/perl5/5.34/mach/CORE/pp.h:477:58: note: expanded from macro 'PUSHu'
                             ^
#define PUSHu(u)        STMT_START { TARGu(u,1); PUSHs(TARG); } STMT_END
                                                                ^~~~~~~~
/usr/local/include/glib-2.0/glib/gmacros.h/usr/local/lib/perl5/5.34/mach/CORE/perl.h:738:21: note: expanded from macro 'STMT_END'
:#   define STMT_END     )
                        ^
1262:37: note: xs/GdkX11.c:626:5: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
expanded from macro 'G_DEPRECATED'    XSRETURN(1);
    ^~~~~~~~~~~

/usr/local/lib/perl5/5.34/mach/CORE/XSUB.h:325:5: note: expanded from macro 'XSRETURN'
#define G_DEPRECATED __attribute__((__deprecated__))    STMT_START {                                        \
    ^~~~~~~~~~

/usr/local/lib/perl5/5.34/mach/CORE/perl.h:737:29: note: expanded from macro 'STMT_START'
                                    ^
#   define STMT_START   (void)( /* gcc supports "({ STATEMENTS; })" */
                              ^
xs/GdkX11.c:626:5: note: '{' token is here
    XSRETURN(1);
    ^~~~~~~~~~~
/usr/local/lib/perl5/5.34/mach/CORE/XSUB.h:325:16: note: expanded from macro 'XSRETURN'
    STMT_START {                                        \
               ^
xs/GdkX11.c:626:5: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
    XSRETURN(1);
    ^~~~~~~~~~~
/usr/local/lib/perl5/5.34/mach/CORE/XSUB.h:330:5: note: expanded from macro 'XSRETURN'
    } STMT_END
    ^
xs/GdkX11.c:626:5: note: ')' token is here
    XSRETURN(1);
    ^~~~~~~~~~~
/usr/local/lib/perl5/5.34/mach/CORE/XSUB.h:330:7: note: expanded from macro 'XSRETURN'
    } STMT_END
      ^~~~~~~~
/usr/local/lib/perl5/5.34/mach/CORE/perl.h:738:21: note: expanded from macro 'STMT_END'
#   define STMT_END     )
                        ^
186 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: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]
  GTimeVal last_popdown;
  ^
/usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here
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'
#define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
                                            ^
/usr/local/include/glib-2.0/glib/gmacros.h:1324:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR'
#define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f)
                                    ^
/usr/local/include/glib-2.0/glib/gmacros.h:1272:44: note: expanded from macro 'G_DEPRECATED_FOR'
#define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
                                           ^
94 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 find 'boot_Gtk2' symbol in blib/arch/auto/Gtk2/Gtk2.so
 at tools/podifyenums.pl line 0.
Compilation failed in require.
BEGIN failed--compilation aborted.
Can't find 'boot_Gtk2' symbol in blib/arch/auto/Gtk2/Gtk2.so
 at tools/podifystockitems.pl line 0.
Compilation failed in require.
BEGIN failed--compilation aborted.
gmake[1]: *** [Makefile:1306: build/stock_items.podi] Error 2
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: *** [Makefile:1302: blib/lib/Gtk2/enums.pod] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/x11-toolkits/p5-Gtk2/work/Gtk2-1.24993'
===> 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