[package - 141i386-default][x11-toolkits/rubygem-gtk2] Failed for rubygem-gtk2-3.4.3_2 in stage

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 04 Feb 2025 01:32:56 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:     sunpoet@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy21/data/141i386-default/5beddb013d54/logs/rubygem-gtk2-3.4.3_2.log
Build URL:      https://pkg-status.freebsd.org/beefy21/build.html?mastername=141i386-default&build=5beddb013d54
Log:

=>> Building x11-toolkits/rubygem-gtk2
build started at Tue Feb  4 01:31:51 UTC 2025
port directory: /usr/ports/x11-toolkits/rubygem-gtk2
package name: rubygem-gtk2-3.4.3_2
building for: FreeBSD 141i386-default-job-15 14.1-RELEASE-p7 FreeBSD 14.1-RELEASE-p7 i386
maintained by: sunpoet@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 629 Jun 20  2024 /usr/ports/x11-toolkits/rubygem-gtk2/Makefile
Ports top last git commit: 5beddb013d
Ports top unclean checkout: no
Port dir last git commit: 1cd94bcac3
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500028
Jail OSVERSION: 1401000
Job Id: 15

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1401000
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=14.1-RELEASE-p7
LOCALBASE=/usr/local
UNAME_v=FreeBSD 14.1-RELEASE-p7
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/141i386-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/141i386-default/15/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=141i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/141i386-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---
---End OPTIONS List---

--MAINTAINER--
sunpoet@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-cflags=-Wno-incompatible-function-pointer-types
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/x11-toolkits/rubygem-gtk2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-toolkits/rubygem-gtk2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/x11-toolkits/rubygem-gtk2/work/.cache  HOME=/wrkdirs/usr/ports/x11-toolkits/rubygem-gtk2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11-toolkits/rubygem-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/rubygem-gtk2/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--
XDG_DATA_HOME=/wrkdirs/usr/ports/x11-toolkits/rubygem-gtk2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-toolkits/rubygem-gtk2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/x11-toolkits/rubygem-gtk2/work/.cache  HOME=/wrkdirs/usr/ports/x11-toolkits/rubygem-gtk2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11-toolkits/rubygem-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/rubygem-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_SCR
IPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
RUBY_LIBDIR="lib/ruby/3.2" RUBY_ARCHLIBDIR="lib/ruby/3.2/i386-freebsd14" RUBY_SITELIBDIR="lib/ruby/site_ruby/3.2" RUBY_SITEARCHLIBDIR="lib/ruby/site_ruby/3.2/i386-freebsd14" RUBY_VENDORLIBDIR="lib/ruby/vendor_ruby/3.2" RUBY_VENDORARCHLIBDIR="lib/ruby/vendor_ruby/3.2/i386-freebsd14" RUBY_MODDOCDIR="share/doc/ruby32/gtk2" RUBY_MODEXAMPLESDIR="share/examples/ruby32/gtk2" RUBY_DOCDIR="share/doc/ruby32" RUBY_EXAMPLESDIR="share/examples/ruby32" RUBY_RIDIR="share/ri/3.2/system" RUBY_SITERIDIR="share/ri/3.2/site"  RUBY_VERSION="3.2.6"  RUBY_VER="3.2"  RUBY_SHLIBVER="32"  RUBY_ARCH="i386-freebsd14"  RUBY_SUFFIX="32"  RUBY_DEFAULT_SUFFIX="32" PORTVERSION="3.4.3"  REV=""  GEMS_BASE_DIR="lib/ruby/gems/3.2"  GEMS_DIR="lib/ruby/gems/3.2/gems"  DOC_DIR="lib/ruby/gems/3.2/doc"  CACHE_DIR="lib/ruby/gems/3.2/cache"  SPEC_DIR="lib/ruby/gems/3.2/specifications"  EXT_DIR="lib/ruby/gems/3.2/extensions"  PLUGINS_DIR="lib/ruby/gems/3.2/plugins"  GEM_NAME="gtk2-3.4.3"  GEM_LIB_DIR="lib/ruby/gems/3.2
/gems/gtk2-3.4.3"  GEM_DOC_DIR="lib/ruby/gems/3.2/doc/gtk2-3.4.3"  GEM_SPEC="lib/ruby/gems/3.2/specifications/gtk2-3.4.3.gemspec"  GEM_CACHE="lib/ruby/gems/3.2/cache/gtk2-3.4.3.gem"  EXTRACT_SUFX=".gem" GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0"  GTK4_VERSION="4.0.0" OSREL=14.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib 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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
####  ####
# 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
DISABLE_MAKE_JOBS=poudriere
---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
===>   rubygem-gtk2-3.4.3_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.0.5.pkg
[141i386-default-job-15] Installing pkg-2.0.5...
[141i386-default-job-15] Extracting pkg-2.0.5: .......... done
===>   rubygem-gtk2-3.4.3_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of rubygem-gtk2-3.4.3_2
===========================================================================
=======================<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 rubygem-gtk2-3.4.3_2 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 rubygem-gtk2-3.4.3_2 for building
=> SHA256 Checksum OK for rubygem/gtk2-3.4.3.gem.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   rubygem-gtk2-3.4.3_2 depends on file: /usr/local/bin/ruby32 - not found
===>   Installing existing package /packages/All/ruby-3.2.6,1.pkg
[141i386-default-job-15] Installing ruby-3.2.6,1...
[141i386-default-job-15] `-- Installing libedit-3.1.20240808,1...
[141i386-default-job-15] `-- Extracting libedit-3.1.20240808,1: .......... done
[141i386-default-job-15] `-- Installing libffi-3.4.6...
[141i386-default-job-15] |   `-- Installing indexinfo-0.3.1...
[141i386-default-job-15] |   `-- Extracting indexinfo-0.3.1: .... done
[141i386-default-job-15] `-- Extracting libffi-3.4.6: .......... done
[141i386-default-job-15] `-- Installing libunwind-20240221_1...
[141i386-default-job-15] `-- Extracting libunwind-20240221_1: .......... done
[141i386-default-job-15] `-- Installing libyaml-0.2.5...
[141i386-default-job-15] `-- Extracting libyaml-0.2.5: ......... done
[141i386-default-job-15] Extracting ruby-3.2.6,1: .......... done
=====
Message from ruby-3.2.6,1:

--
Some of the standard commands and libraries are provided as separate
ports for ease of upgrading:

	devel/ruby-gems:		gem - RubyGems package manager
	devel/rubygem-debug:		debug - Debugging functionality for Ruby
	devel/rubygem-erb:		erb - Templating system for Ruby
	devel/rubygem-irb:		irb - Interactive Ruby
	devel/rubygem-minitest:		minitest - Complete suite of testing facilities
	devel/rubygem-power_assert:	power_assert - Power Assert for Ruby
	devel/rubygem-rake:		rake - Ruby Make
	devel/rubygem-rbs:		rbs - Language for type signatures for Ruby and standard library definitions
	devel/rubygem-rdoc:		rdoc - Ruby Documentation System
	devel/rubygem-test-unit:	test-unit - Unit testing framework for Ruby
	devel/rubygem-typeprof:		typeprof - Type analysis tool for Ruby code
	ftp/rubygem-net-ftp:		net-ftp - Support for the File Transfer Protocol
	mail/rubygem-net-imap:		net-imap - Ruby client api for Internet Message Access Protocol
	mail/rubygem-net-pop:		net-pop - Ruby client library for POP3
	mail/rubygem-net-smtp:		net-smtp - Simple Mail Transfer Protocol client library for Ruby
	math/rubygem-matrix:		matrix - Implementation of Matrix and Vector classes
	math/rubygem-prime:		prime - Prime numbers and factorization library
<snip>
checking for ruby/st.h... yes
checking for target... x11
checking for gtk_plug_get_type() in gtk/gtk.h... yes
checking for gtk_socket_get_type() in gtk/gtk.h... yes
checking for pango_render_part_get_type() in gtk/gtk.h... yes
checking for gtk/gtkfilesystem.h... no
checking for X11/Xlib.h... yes
checking for -lX11... yes
checking for XReadBitmapFileData() in X11/Xlib.h... yes
checking for XGetErrorText() in X11/Xlib.h... yes
checking for gtk+-unix-print-2.0... yes (2.24.33)
creating ruby-gtk2.pc
creating Makefile

current directory: /wrkdirs/usr/ports/x11-toolkits/rubygem-gtk2/work/stage/usr/local/lib/ruby/gems/3.2/gems/gtk2-3.4.3/ext/gtk2
make DESTDIR\= sitearchdir\=./.gem.20250204-83175-4zawg4 sitelibdir\=./.gem.20250204-83175-4zawg4 clean

current directory: /wrkdirs/usr/ports/x11-toolkits/rubygem-gtk2/work/stage/usr/local/lib/ruby/gems/3.2/gems/gtk2-3.4.3/ext/gtk2
make DESTDIR\= sitearchdir\=./.gem.20250204-83175-4zawg4 sitelibdir\=./.gem.20250204-83175-4zawg4
compiling init.c
compiling rbgdk.c
compiling rbgdkatom.c
compiling rbgdkcairo.c
In file included from rbgdkcairo.c:25:
/usr/local/lib/ruby/gems/3.2/gems/cairo-1.17.14/lib/rb_cairo.h:164:9: warning: 'RVAL2POINTER' macro redefined [-Wmacro-redefined]
  164 | #define RVAL2POINTER(obj)       ((void *)(obj))
      |         ^
/usr/local/lib/ruby/gems/3.2/gems/glib2-4.2.6/lib/rbglib.h:107:9: note: previous definition is here
  107 | #define RVAL2POINTER(value) ((gpointer)(value))
      |         ^
1 warning generated.
compiling rbgdkcolor.c
compiling rbgdkcolormap.c
compiling rbgdkconst.c
compiling rbgdkcursor.c
compiling rbgdkdevice.c
compiling rbgdkdisplay.c
compiling rbgdkdisplaymanager.c
compiling rbgdkdragcontext.c
compiling rbgdkdraw.c
In file included from rbgdkdraw.c:31:
/usr/local/lib/ruby/gems/3.2/gems/cairo-1.17.14/lib/rb_cairo.h:164:9: warning: 'RVAL2POINTER' macro redefined [-Wmacro-redefined]
  164 | #define RVAL2POINTER(obj)       ((void *)(obj))
      |         ^
/usr/local/lib/ruby/gems/3.2/gems/glib2-4.2.6/lib/rbglib.h:107:9: note: previous definition is here
  107 | #define RVAL2POINTER(value) ((gpointer)(value))
      |         ^
1 warning generated.
compiling rbgdkevent.c
compiling rbgdkgc.c
compiling rbgdkgeometry.c
compiling rbgdkimage.c
compiling rbgdkinput.c
compiling rbgdkkeymap.c
compiling rbgdkkeyval.c
compiling rbgdkpango.c
compiling rbgdkpangorenderer.c
compiling rbgdkpixbuf.c
compiling rbgdkpixmap.c
rbgdkpixmap.c:83:19: warning: initializing 'const gchar **' (aka 'const char **') with an expression of type 'gchar **' (aka 'char **') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
   83 |     const gchar **buf = RVAL2STRV(data);
      |                   ^     ~~~~~~~~~~~~~~~
rbgdkpixmap.c:117:19: warning: initializing 'const gchar **' (aka 'const char **') with an expression of type 'gchar **' (aka 'char **') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
  117 |     const gchar **buf = RVAL2STRV(data);
      |                   ^     ~~~~~~~~~~~~~~~
2 warnings generated.
compiling rbgdkproperty.c
rbgdkproperty.c:240:42: warning: cast from 'guchar *' (aka 'unsigned char *') to 'unsigned short *' increases required alignment from 1 to 2 [-Wcast-align]
  240 |             rb_ary_push(ret, rb_Integer(((unsigned short*)rdat)[i]));
      |                                          ^~~~~~~~~~~~~~~~~~~~~
rbgdkproperty.c:249:40: warning: cast from 'guchar *' (aka 'unsigned char *') to 'glong *' (aka 'long *') increases required alignment from 1 to 4 [-Wcast-align]
  249 |              rb_ary_push(ret, INT2FIX(((glong*)rdat)[j]));
      |                                        ^~~~~~~~~~~~
/usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:350:30: note: expanded from macro 'INT2FIX'
  350 |         __builtin_constant_p(i),                        \
      |                              ^
rbgdkproperty.c:249:40: warning: cast from 'guchar *' (aka 'unsigned char *') to 'glong *' (aka 'long *') increases required alignment from 1 to 4 [-Wcast-align]
  249 |              rb_ary_push(ret, INT2FIX(((glong*)rdat)[j]));
      |                                        ^~~~~~~~~~~~
/usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:351:29: note: expanded from macro 'INT2FIX'
  351 |         RBIMPL_CAST((VALUE)(i)) << 1 | RUBY_FIXNUM_FLAG, \
      |                             ^
/usr/local/include/ruby-3.2/ruby/internal/cast.h:31:29: note: expanded from macro 'RBIMPL_CAST'
   31 | # define RBIMPL_CAST(expr) (expr)
      |                             ^~~~
rbgdkproperty.c:249:40: warning: cast from 'guchar *' (aka 'unsigned char *') to 'glong *' (aka 'long *') increases required alignment from 1 to 4 [-Wcast-align]
  249 |              rb_ary_push(ret, INT2FIX(((glong*)rdat)[j]));
      |                                        ^~~~~~~~~~~~
/usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:352:20: note: expanded from macro 'INT2FIX'
  352 |         RB_INT2FIX(i))
      |                    ^
rbgdkproperty.c:253:52: warning: cast from 'guchar *' (aka 'unsigned char *') to 'glong *' (aka 'long *') increases required alignment from 1 to 4 [-Wcast-align]
  253 |              rb_ary_push(ret, BOXED2RVAL((GdkAtom)((glong*)rdat)[j], GDK_TYPE_ATOM));
      |                                                    ^~~~~~~~~~~~
/usr/local/lib/ruby/gems/3.2/gems/glib2-4.2.6/lib/rbgobject.h:101:52: note: expanded from macro 'BOXED2RVAL'
  101 | #define BOXED2RVAL(cobj, gtype) (rbgobj_make_boxed(cobj, gtype))
      |                                                    ^~~~
5 warnings generated.
compiling rbgdkrectangle.c
compiling rbgdkregion.c
compiling rbgdkrgb.c
compiling rbgdkscreen.c
In file included from rbgdkscreen.c:25:
/usr/local/lib/ruby/gems/3.2/gems/cairo-1.17.14/lib/rb_cairo.h:164:9: warning: 'RVAL2POINTER' macro redefined [-Wmacro-redefined]
  164 | #define RVAL2POINTER(obj)       ((void *)(obj))
      |         ^
/usr/local/lib/ruby/gems/3.2/gems/glib2-4.2.6/lib/rbglib.h:107:9: note: previous definition is here
  107 | #define RVAL2POINTER(value) ((gpointer)(value))
      |         ^
1 warning generated.
compiling rbgdkselection.c
compiling rbgdkthreads.c
compiling rbgdktimecoord.c
compiling rbgdkvisual.c
compiling rbgdkwindow.c
rbgdkwindow.c:937:19: warning: variable 'g_class' set but not used [-Wunused-but-set-variable]
  937 |     GObjectClass *g_class;
      |                   ^
1 warning generated.
compiling rbgdkwindowattr.c
compiling rbgdkx11.c
compiling rbgtk.c
compiling rbgtkaboutdialog.c
compiling rbgtkaccelerator.c
compiling rbgtkaccelgroup.c
compiling rbgtkaccelgroupentry.c
compiling rbgtkaccelkey.c
compiling rbgtkaccellabel.c
compiling rbgtkaccelmap.c
compiling rbgtkaccessible.c
compiling rbgtkaction.c
compiling rbgtkactiongroup.c
compiling rbgtkadjustment.c
compiling rbgtkalignment.c
compiling rbgtkallocation.c
compiling rbgtkarrow.c
compiling rbgtkaspectframe.c
compiling rbgtkassistant.c
compiling rbgtkbbox.c
compiling rbgtkbin.c
compiling rbgtkbindingset.c
compiling rbgtkborder.c
compiling rbgtkbox.c
rbgtkbox.c:36:16: warning: variable 'widget' set but not used [-Wunused-but-set-variable]
   36 |     GtkWidget *widget, *child;
      |                ^
1 warning generated.
compiling rbgtkbuildable.c
compiling rbgtkbuilder.c
compiling rbgtkbutton.c
compiling rbgtkcalendar.c
compiling rbgtkcelleditable.c
compiling rbgtkcelllayout.c
compiling rbgtkcellrenderer.c
compiling rbgtkcellrendereraccel.c
compiling rbgtkcellrenderercombo.c
compiling rbgtkcellrendererpixbuf.c
compiling rbgtkcellrendererprogress.c
compiling rbgtkcellrendererspin.c
compiling rbgtkcellrendererspinner.c
compiling rbgtkcellrenderertext.c
compiling rbgtkcellrenderertoggle.c
compiling rbgtkcellview.c
compiling rbgtkcheckbutton.c
compiling rbgtkcheckmenuitem.c
compiling rbgtkclipboard.c
compiling rbgtkcolorbutton.c
compiling rbgtkcolorsel.c
compiling rbgtkcolorselectiondialog.c
compiling rbgtkcombo.c
compiling rbgtkcombobox.c
compiling rbgtkcomboboxentry.c
compiling rbgtkconst.c
compiling rbgtkcontainer.c
rbgtkcontainer.c:309:18: warning: variable 'obj' set but not used [-Wunused-but-set-variable]
  309 |         GObject* obj;
      |                  ^
rbgtkcontainer.c:347:14: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
  347 |     gboolean ret;
      |              ^
rbgtkcontainer.c:510:12: warning: call to undeclared function 'rbgobj_gobject_new'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  510 |     gobj = rbgobj_gobject_new(RVAL2GTYPE(self), params_hash);
      |            ^
rbgtkcontainer.c:510:10: error: incompatible integer to pointer conversion assigning to 'GObject *' (aka 'struct _GObject *') from 'int' [-Wint-conversion]
  510 |     gobj = rbgobj_gobject_new(RVAL2GTYPE(self), params_hash);
      |          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings and 1 error generated.
*** Error code 1

Stop.
make: stopped in /wrkdirs/usr/ports/x11-toolkits/rubygem-gtk2/work/stage/usr/local/lib/ruby/gems/3.2/gems/gtk2-3.4.3/ext/gtk2

make failed, exit code 1

Gem files will remain installed in /wrkdirs/usr/ports/x11-toolkits/rubygem-gtk2/work/stage/usr/local/lib/ruby/gems/3.2/gems/gtk2-3.4.3 for inspection.
Results logged to /wrkdirs/usr/ports/x11-toolkits/rubygem-gtk2/work/stage/usr/local/lib/ruby/gems/3.2/extensions/x86-freebsd-14/3.2/gtk2-3.4.3/gem_make.out
*** Error code 1

Stop.
make: stopped in /usr/ports/x11-toolkits/rubygem-gtk2