=>> Building x11-toolkits/rubygem-gtk2 build started at Sun Mar 31 08:19:53 BST 2024 port directory: /usr/ports/x11-toolkits/rubygem-gtk2 package name: rubygem-gtk2-3.4.3_2 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: sunpoet@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 804 Feb 25 10:26 /usr/ports/x11-toolkits/rubygem-gtk2/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: d86e4213df Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 01 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 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.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/01/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 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-- --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=/ccache/libexec/ccache:/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 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 CCACHE_DIR="/root/.ccache" --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=/ccache/libexec/ccache:/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 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 " CCACHE_DIR="/root/.ccache" 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-- RUBY_LIBDIR="lib/ruby/3.2" RUBY_ARCHLIBDIR="lib/ruby/3.2/amd64-freebsd13" RUBY_SITELIBDIR="lib/ruby/site_ruby/3.2" RUBY_SITEARCHLIBDIR="lib/ruby/site_ruby/3.2/amd64-freebsd13" RUBY_VENDORLIBDIR="lib/ruby/vendor_ruby/3.2" RUBY_VENDORARCHLIBDIR="lib/ruby/vendor_ruby/3.2/amd64-freebsd13" 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.3" RUBY_VER="3.2" RUBY_SHLIBVER="32" RUBY_ARCH="amd64-freebsd13" 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=13.2 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 FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### 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) 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-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== 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-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... 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 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by rubygem-gtk2-3.4.3_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by rubygem-gtk2-3.4.3_2 for building => SHA256 Checksum OK for rubygem/gtk2-3.4.3.gem. =========================================================================== =================================================== ===== 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.3,1.pkg [pkg-builder.dan.net.uk] Installing ruby-3.2.3,1... [pkg-builder.dan.net.uk] `-- Installing libedit-3.1.20230828_1,1... [pkg-builder.dan.net.uk] `-- Extracting libedit-3.1.20230828_1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libffi-3.4.4_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting libffi-3.4.4_1: .......... done [pkg-builder.dan.net.uk] `-- Installing libunwind-20240221... [pkg-builder.dan.net.uk] `-- Extracting libunwind-20240221: .......... done [pkg-builder.dan.net.uk] `-- Installing libyaml-0.2.5... [pkg-builder.dan.net.uk] `-- Extracting libyaml-0.2.5: ...... done [pkg-builder.dan.net.uk] `-- Installing openssl-3.0.13_1,1... [pkg-builder.dan.net.uk] `-- Extracting openssl-3.0.13_1,1: .......... done [pkg-builder.dan.net.uk] Extracting ruby-3.2.3,1: .......... done ===== Message from ruby-3.2.3,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 sysutils/rubygem-bundler: bundler - Tool that manages gem dependencies for ruby applications textproc/rubygem-rexml: rexml - XML toolkit for Ruby www/rubygem-rss: rss - Family of libraries that support various formats of XML "feeds" And some of the standard libraries are provided as separate ports since they require extra dependencies: databases/rubygem-dbm: DBM module databases/rubygem-gdbm: GDBM module Install them as occasion demands. ===> rubygem-gtk2-3.4.3_2 depends on file: /usr/local/bin/ruby32 - found ===> Returning to build of rubygem-gtk2-3.4.3_2 ===> rubygem-gtk2-3.4.3_2 depends on file: /usr/local/bin/gem - not found ===> Installing existing package /packages/All/ruby32-gems-3.5.6.pkg [pkg-builder.dan.net.uk] Installing ruby32-gems-3.5.6... [pkg-builder.dan.net.uk] Extracting ruby32-gems-3.5.6: .......... done ===> rubygem-gtk2-3.4.3_2 depends on file: /usr/local/bin/gem - found ===> Returning to build of rubygem-gtk2-3.4.3_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by rubygem-gtk2-3.4.3_2 for building ===> Extracting for rubygem-gtk2-3.4.3_2 => SHA256 Checksum OK for rubygem/gtk2-3.4.3.gem. Unpacked gem: '/wrkdirs/usr/ports/x11-toolkits/rubygem-gtk2/work/gtk2-3.4.3' =========================================================================== =================================================== ===== 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 - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for rubygem-gtk2-3.4.3_2 ===> Applying FreeBSD patches for rubygem-gtk2-3.4.3_2 from /usr/ports/x11-toolkits/rubygem-gtk2/files =========================================================================== =================================================== ===== 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 - found ===> rubygem-gtk2-3.4.3_2 depends on file: /usr/local/bin/gem - found =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> rubygem-gtk2-3.4.3_2 depends on shared library: libatk-1.0.so - not found ===> Installing existing package /packages/All/at-spi2-core-2.50.1.pkg [pkg-builder.dan.net.uk] Installing at-spi2-core-2.50.1... [pkg-builder.dan.net.uk] `-- Installing dbus-1.14.10_4,1... [pkg-builder.dan.net.uk] | `-- Installing expat-2.6.1... [pkg-builder.dan.net.uk] | `-- Extracting expat-2.6.1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libICE-1.1.0_2,1... [pkg-builder.dan.net.uk] | `-- Extracting libICE-1.1.0_2,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libSM-1.2.3_1,1... [pkg-builder.dan.net.uk] | `-- Extracting libSM-1.2.3_1,1: ........ done [pkg-builder.dan.net.uk] | `-- Installing libX11-1.8.7_1,1... [pkg-builder.dan.net.uk] | | `-- Installing libxcb-1.16.1... [pkg-builder.dan.net.uk] | | `-- Installing libXau-1.0.9_1... [pkg-builder.dan.net.uk] | | `-- Extracting libXau-1.0.9_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | | | `-- Installing xorgproto-2023.2... [pkg-builder.dan.net.uk] | | | `-- Extracting xorgproto-2023.2: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] | | `-- Extracting libxcb-1.16.1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libX11-1.8.7_1,1: .......... done ===> Creating groups. Creating group 'messagebus' with gid '556'. ===> Creating users Creating user 'messagebus' with uid '556'. [pkg-builder.dan.net.uk] `-- Extracting dbus-1.14.10_4,1: ......... done [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] `-- Installing glib-2.80.0,2... [pkg-builder.dan.net.uk] | `-- Installing libiconv-1.17_1... [pkg-builder.dan.net.uk] | `-- Extracting libiconv-1.17_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing pcre2-10.43... [pkg-builder.dan.net.uk] | | `-- Installing readline-8.2.10... [pkg-builder.dan.net.uk] | | `-- Extracting readline-8.2.10: .......... done [pkg-builder.dan.net.uk] | `-- Extracting pcre2-10.43: .......... done [pkg-builder.dan.net.uk] | `-- Installing py39-packaging-23.2... [pkg-builder.dan.net.uk] | | `-- Installing python39-3.9.18_1... [pkg-builder.dan.net.uk] | | `-- Installing mpdecimal-2.5.1... [pkg-builder.dan.net.uk] | | `-- Extracting mpdecimal-2.5.1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting python39-3.9.18_1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting py39-packaging-23.2: .......... done [pkg-builder.dan.net.uk] `-- Extracting glib-2.80.0,2: .......... done [pkg-builder.dan.net.uk] `-- Installing libXi-1.8_1,1... [pkg-builder.dan.net.uk] | `-- Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] | `-- Extracting libXext-1.3.6,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libXfixes-6.0.0_1... [pkg-builder.dan.net.uk] | `-- Extracting libXfixes-6.0.0_1: ....... done [pkg-builder.dan.net.uk] `-- Extracting libXi-1.8_1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXtst-1.2.3_3... [pkg-builder.dan.net.uk] `-- Extracting libXtst-1.2.3_3: .......... done [pkg-builder.dan.net.uk] Extracting at-spi2-core-2.50.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 python39-3.9.18_1: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py39-gdbm databases/py-gdbm@py39 py39-sqlite3 databases/py-sqlite3@py39 py39-tkinter x11-toolkits/py-tkinter@py39 ===> rubygem-gtk2-3.4.3_2 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so) ===> Returning to build of rubygem-gtk2-3.4.3_2 ===> rubygem-gtk2-3.4.3_2 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> rubygem-gtk2-3.4.3_2 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> rubygem-gtk2-3.4.3_2 depends on shared library: libgtk-x11-2.0.so - not found ===> Installing existing package /packages/All/gtk2-2.24.33_1.pkg [pkg-builder.dan.net.uk] Installing gtk2-2.24.33_1... [pkg-builder.dan.net.uk] `-- Installing cups-2.4.7_2... [pkg-builder.dan.net.uk] | `-- Installing avahi-app-0.8_2... [pkg-builder.dan.net.uk] | | `-- Installing dbus-glib-0.112_1... [pkg-builder.dan.net.uk] | | `-- Extracting dbus-glib-0.112_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing gdbm-1.23... [pkg-builder.dan.net.uk] | | `-- Extracting gdbm-1.23: .......... done [pkg-builder.dan.net.uk] | | `-- Installing gnome_subr-1.0... [pkg-builder.dan.net.uk] | | `-- Extracting gnome_subr-1.0: . done [pkg-builder.dan.net.uk] | | `-- Installing libdaemon-0.14_1... [pkg-builder.dan.net.uk] | | `-- Extracting libdaemon-0.14_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libevent-2.1.12... [pkg-builder.dan.net.uk] | | `-- Extracting libevent-2.1.12: .......... done ===> Creating groups. Creating group 'avahi' with gid '558'. ===> Creating users Creating user 'avahi' with uid '558'. [pkg-builder.dan.net.uk] | `-- Extracting avahi-app-0.8_2: .......... done [pkg-builder.dan.net.uk] | `-- Installing gnutls-3.7.10_2... [pkg-builder.dan.net.uk] | | `-- Installing gmp-6.3.0... [pkg-builder.dan.net.uk] | | `-- Extracting gmp-6.3.0: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libidn2-2.3.7... [pkg-builder.dan.net.uk] | | `-- Installing libunistring-1.2... [pkg-builder.dan.net.uk] | | `-- Extracting libunistring-1.2: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting libidn2-2.3.7: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libtasn1-4.19.0_1... [pkg-builder.dan.net.uk] | | `-- Extracting libtasn1-4.19.0_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing nettle-3.9.1... [pkg-builder.dan.net.uk] | | `-- Extracting nettle-3.9.1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing p11-kit-0.25.3_1... [pkg-builder.dan.net.uk] | | `-- Extracting p11-kit-0.25.3_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing unbound-1.19.3... [pkg-builder.dan.net.uk] | | `-- Installing libnghttp2-1.60.0... [pkg-builder.dan.net.uk] | | `-- Extracting libnghttp2-1.60.0: ....... done ===> Creating groups. Using existing group 'unbound'. ===> Creating users Using existing user 'unbound'. [pkg-builder.dan.net.uk] | | `-- Extracting unbound-1.19.3: .......... done [pkg-builder.dan.net.uk] | `-- Extracting gnutls-3.7.10_2: .......... done [pkg-builder.dan.net.uk] | `-- Installing libpaper-1.1.28_1... [pkg-builder.dan.net.uk] | `-- Extracting libpaper-1.1.28_1: .......... done ===> Creating groups. Creating group 'cups' with gid '193'. ===> Creating users Creating user 'cups' with uid '193'. [pkg-builder.dan.net.uk] `-- Extracting cups-2.4.7_2: .......... done [pkg-builder.dan.net.uk] `-- Installing gdk-pixbuf2-2.42.10_2... [pkg-builder.dan.net.uk] | `-- Installing jpeg-turbo-3.0.2... [pkg-builder.dan.net.uk] | `-- Extracting jpeg-turbo-3.0.2: .......... done [pkg-builder.dan.net.uk] | `-- Installing libxml2-2.11.7... [pkg-builder.dan.net.uk] | `-- Extracting libxml2-2.11.7: .......... done [pkg-builder.dan.net.uk] | `-- Installing png-1.6.43... [pkg-builder.dan.net.uk] | `-- Extracting png-1.6.43: .......... done [pkg-builder.dan.net.uk] | `-- Installing shared-mime-info-2.2_2... [pkg-builder.dan.net.uk] | `-- Extracting shared-mime-info-2.2_2: ......... done [pkg-builder.dan.net.uk] | `-- Installing tiff-4.4.0_3... [pkg-builder.dan.net.uk] | | `-- Installing jbigkit-2.1_2... [pkg-builder.dan.net.uk] | | `-- Extracting jbigkit-2.1_2: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libdeflate-1.19... [pkg-builder.dan.net.uk] | | `-- Extracting libdeflate-1.19: .......... done [pkg-builder.dan.net.uk] | | `-- Installing zstd-1.5.5_1... [pkg-builder.dan.net.uk] | | `-- Installing liblz4-1.9.4_1,1... [pkg-builder.dan.net.uk] | | `-- Extracting liblz4-1.9.4_1,1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting zstd-1.5.5_1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting tiff-4.4.0_3: .......... done [pkg-builder.dan.net.uk] `-- Extracting gdk-pixbuf2-2.42.10_2: .......... done [pkg-builder.dan.net.uk] `-- Installing gtk-update-icon-cache-3.24.31_1... [pkg-builder.dan.net.uk] `-- Extracting gtk-update-icon-cache-3.24.31_1: .......... done [pkg-builder.dan.net.uk] `-- Installing hicolor-icon-theme-0.17... [pkg-builder.dan.net.uk] `-- Extracting hicolor-icon-theme-0.17: . done [pkg-builder.dan.net.uk] `-- Installing libXcomposite-0.4.6_1,1... [pkg-builder.dan.net.uk] `-- Extracting libXcomposite-0.4.6_1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXcursor-1.2.2... [pkg-builder.dan.net.uk] | `-- Installing libXrender-0.9.10_2... [pkg-builder.dan.net.uk] | `-- Extracting libXrender-0.9.10_2: ....... done [pkg-builder.dan.net.uk] `-- Extracting libXcursor-1.2.2: .......... done [pkg-builder.dan.net.uk] `-- Installing libXdamage-1.1.6... [pkg-builder.dan.net.uk] `-- Extracting libXdamage-1.1.6: ...... done [pkg-builder.dan.net.uk] `-- Installing libXinerama-1.1.4_3,1... [pkg-builder.dan.net.uk] `-- Extracting libXinerama-1.1.4_3,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXrandr-1.5.2_1... [pkg-builder.dan.net.uk] `-- Extracting libXrandr-1.5.2_1: .......... done [pkg-builder.dan.net.uk] `-- Installing pango-1.50.14... [pkg-builder.dan.net.uk] | `-- Installing cairo-1.17.4_2,3... [pkg-builder.dan.net.uk] | | `-- Installing fontconfig-2.15.0_2,1... [pkg-builder.dan.net.uk] | | `-- Installing freetype2-2.13.2... [pkg-builder.dan.net.uk] | | `-- Extracting freetype2-2.13.2: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting fontconfig-2.15.0_2,1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libglvnd-1.7.0... [pkg-builder.dan.net.uk] | | `-- Extracting libglvnd-1.7.0: .......... done [pkg-builder.dan.net.uk] | | `-- Installing pixman-0.42.2... [pkg-builder.dan.net.uk] | | `-- Extracting pixman-0.42.2: ....... done [pkg-builder.dan.net.uk] | `-- Extracting cairo-1.17.4_2,3: .......... done [pkg-builder.dan.net.uk] | `-- Installing encodings-1.1.0,1... [pkg-builder.dan.net.uk] | `-- Extracting encodings-1.1.0,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing fribidi-1.0.13_1... [pkg-builder.dan.net.uk] | `-- Extracting fribidi-1.0.13_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing harfbuzz-8.3.0... [pkg-builder.dan.net.uk] | | `-- Installing graphite2-1.3.14... [pkg-builder.dan.net.uk] | | `-- Extracting graphite2-1.3.14: .......... done [pkg-builder.dan.net.uk] | `-- Extracting harfbuzz-8.3.0: .......... done [pkg-builder.dan.net.uk] | `-- Installing libXft-2.3.7_1... [pkg-builder.dan.net.uk] | `-- Extracting libXft-2.3.7_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libthai-0.1.29_1... [pkg-builder.dan.net.uk] | | `-- Installing libdatrie-0.2.13_2... [pkg-builder.dan.net.uk] | | `-- Extracting libdatrie-0.2.13_2: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libthai-0.1.29_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing xorg-fonts-truetype-7.7_1... [pkg-builder.dan.net.uk] | | `-- Installing dejavu-2.37_3... [pkg-builder.dan.net.uk] | | `-- Installing mkfontscale-1.2.3... [pkg-builder.dan.net.uk] | | | `-- Installing libfontenc-1.1.8... [pkg-builder.dan.net.uk] | | | `-- Extracting libfontenc-1.1.8: ...... done [pkg-builder.dan.net.uk] | | `-- Extracting mkfontscale-1.2.3: .... done [pkg-builder.dan.net.uk] | | `-- Extracting dejavu-2.37_3: .......... done [pkg-builder.dan.net.uk] | | `-- Installing font-bh-ttf-1.0.3_5... [pkg-builder.dan.net.uk] | | `-- Extracting font-bh-ttf-1.0.3_5: .......... done [pkg-builder.dan.net.uk] | | `-- Installing font-misc-ethiopic-1.0.4... [pkg-builder.dan.net.uk] | | `-- Extracting font-misc-ethiopic-1.0.4: ... done [pkg-builder.dan.net.uk] | | `-- Installing font-misc-meltho-1.0.3_5... [pkg-builder.dan.net.uk] | | `-- Extracting font-misc-meltho-1.0.3_5: .......... done [pkg-builder.dan.net.uk] `-- Extracting pango-1.50.14: .......... done [pkg-builder.dan.net.uk] Extracting gtk2-2.24.33_1: .......... done ==> Running trigger: fontconfig.ucl Running fc-cache to build fontconfig cache... ==> Running trigger: gdk-pixbuf-query-loaders.ucl Generating gdk-pixbuf modules cache ==> Running trigger: gtk-update-icon-cache.ucl Generating GTK icon cache for /usr/local/share/icons/hicolor ==> Running trigger: shared-mime-info.ucl Building the Shared MIME-Info database cache ===== Message from freetype2-2.13.2: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed). ===== Message from dejavu-2.37_3: -- Make sure that the freetype module is loaded. If it is not, add the following line to the "Modules" section of your X Windows configuration file: Load "freetype" Add the following line to the "Files" section of X Windows configuration file: FontPath "/usr/local/share/fonts/dejavu/" Note: your X Windows configuration file is typically /etc/X11/XF86Config if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org. ===> rubygem-gtk2-3.4.3_2 depends on shared library: libgtk-x11-2.0.so - found (/usr/local/lib/libgtk-x11-2.0.so) ===> Returning to build of rubygem-gtk2-3.4.3_2 ===> rubygem-gtk2-3.4.3_2 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for rubygem-gtk2-3.4.3_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for rubygem-gtk2-3.4.3_2 Successfully built RubyGem Name: gtk2 Version: 3.4.3 File: gtk2-3.4.3.gem =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> rubygem-gtk2-3.4.3_2 depends on package: rubygem-atk>=3.4.3 - not found ===> Installing existing package /packages/All/rubygem-atk-4.2.1.pkg [pkg-builder.dan.net.uk] Installing rubygem-atk-4.2.1... [pkg-builder.dan.net.uk] `-- Installing rubygem-glib2-4.2.1... [pkg-builder.dan.net.uk] | `-- Installing rubygem-native-package-installer-1.1.9... [pkg-builder.dan.net.uk] | `-- Extracting rubygem-native-package-installer-1.1.9: .......... done [pkg-builder.dan.net.uk] | `-- Installing rubygem-pkg-config-1.5.6... [pkg-builder.dan.net.uk] | `-- Extracting rubygem-pkg-config-1.5.6: .......... done [pkg-builder.dan.net.uk] `-- Extracting rubygem-glib2-4.2.1: .......... done [pkg-builder.dan.net.uk] Extracting rubygem-atk-4.2.1: .......... done ===> rubygem-gtk2-3.4.3_2 depends on package: rubygem-atk>=3.4.3 - found ===> Returning to build of rubygem-gtk2-3.4.3_2 ===> rubygem-gtk2-3.4.3_2 depends on package: rubygem-gdk_pixbuf2>=3.4.3 - not found ===> Installing existing package /packages/All/rubygem-gdk_pixbuf2-4.2.1.pkg [pkg-builder.dan.net.uk] Installing rubygem-gdk_pixbuf2-4.2.1... [pkg-builder.dan.net.uk] `-- Installing rubygem-gio2-4.2.1... [pkg-builder.dan.net.uk] | `-- Installing rubygem-fiddle-1.1.2... [pkg-builder.dan.net.uk] | `-- Extracting rubygem-fiddle-1.1.2: .......... done [pkg-builder.dan.net.uk] | `-- Installing rubygem-gobject-introspection-4.2.1... [pkg-builder.dan.net.uk] | | `-- Installing gobject-introspection-1.78.1_2,1... [pkg-builder.dan.net.uk] | | `-- Extracting gobject-introspection-1.78.1_2,1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting rubygem-gobject-introspection-4.2.1: .......... done [pkg-builder.dan.net.uk] `-- Extracting rubygem-gio2-4.2.1: .......... done [pkg-builder.dan.net.uk] Extracting rubygem-gdk_pixbuf2-4.2.1: .......... done ===> rubygem-gtk2-3.4.3_2 depends on package: rubygem-gdk_pixbuf2>=3.4.3 - found ===> Returning to build of rubygem-gtk2-3.4.3_2 ===> rubygem-gtk2-3.4.3_2 depends on package: rubygem-pango>=3.4.3 - not found ===> Installing existing package /packages/All/rubygem-pango-4.2.1.pkg [pkg-builder.dan.net.uk] Installing rubygem-pango-4.2.1... [pkg-builder.dan.net.uk] `-- Installing rubygem-cairo-gobject-4.2.1... [pkg-builder.dan.net.uk] | `-- Installing rubygem-cairo-1.17.13... [pkg-builder.dan.net.uk] | | `-- Installing rubygem-red-colors-0.4.0... [pkg-builder.dan.net.uk] | | `-- Installing rubygem-json-2.7.1... [pkg-builder.dan.net.uk] | | `-- Extracting rubygem-json-2.7.1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing rubygem-matrix-0.4.2... [pkg-builder.dan.net.uk] | | `-- Extracting rubygem-matrix-0.4.2: ....... done [pkg-builder.dan.net.uk] | | `-- Extracting rubygem-red-colors-0.4.0: .......... done [pkg-builder.dan.net.uk] | `-- Extracting rubygem-cairo-1.17.13: .......... done [pkg-builder.dan.net.uk] `-- Extracting rubygem-cairo-gobject-4.2.1: .......... done [pkg-builder.dan.net.uk] Extracting rubygem-pango-4.2.1: .......... done ===> rubygem-gtk2-3.4.3_2 depends on package: rubygem-pango>=3.4.3 - found ===> Returning to build of rubygem-gtk2-3.4.3_2 ===> rubygem-gtk2-3.4.3_2 depends on file: /usr/local/bin/ruby32 - found ===> rubygem-gtk2-3.4.3_2 depends on file: /usr/local/bin/gem - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for rubygem-gtk2-3.4.3_2 ===> Generating temporary packing list (cd /wrkdirs/usr/ports/x11-toolkits/rubygem-gtk2/work/gtk2-3.4.3; /usr/bin/env -i HOME=/wrkdirs/usr/ports/x11-toolkits/rubygem-gtk2/work PWD="${PWD}" OSVERSION=1302001 PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/x11-toolkits/rubygem-gtk2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin TMPDIR=/tmp UNAME_r=13.2-RELEASE-p10 UNAME_v=FreeBSD\ 13.2-RELEASE-p10 RB_USER_INSTALL=yes LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 /usr/local/bin/gem install -l --no-update-sources --install-dir /wrkdirs/usr/ports/x11-toolkits/rubygem-gtk2/work/stage/usr/local/lib/ruby/gems/3.2 --ignore-dependencies --bindir=/wrkdirs/usr/ports/x11-toolkits/rubygem-gtk2/work/stage/usr/local/bin --no-document gtk2-3.4.3.gem -- ) Building native extensions. This could take a while... ERROR: Error installing gtk2-3.4.3.gem: ERROR: Failed to build gem native extension. 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 /usr/local/bin/ruby32 extconf.rb mkmf-gnome2 is deprecated. Use mkmf-gnome instead. checking for --enable-debug-build option... no checking for -Wall option to compiler... yes checking for -Wcast-align option to compiler... yes checking for -Wextra option to compiler... no checking for -Wformat=2 option to compiler... yes checking for -Winit-self option to compiler... yes checking for -Wlarger-than-65500 option to compiler... yes checking for -Wmissing-declarations option to compiler... yes checking for -Wmissing-format-attribute option to compiler... yes checking for -Wmissing-include-dirs option to compiler... yes checking for -Wmissing-noreturn option to compiler... yes checking for -Wmissing-prototypes option to compiler... yes checking for -Wnested-externs option to compiler... yes checking for -Wold-style-definition option to compiler... yes checking for -Wpacked option to compiler... yes checking for -Wp,-D_FORTIFY_SOURCE=2 option to compiler... yes checking for -Wpointer-arith option to compiler... yes checking for -Wundef option to compiler... yes checking for -Wout-of-line-declaration option to compiler... yes checking for -Wunsafe-loop-optimizations option to compiler... no checking for -Wwrite-strings option to compiler... yes checking for Homebrew... no checking for rb_errinfo()... yes checking for gtk+-2.0 version (>= 2.10.0)... yes (2.24.33) checking for cairo... yes (1.17.4) checking for rb_cairo.h... yes checking for gobject-introspection-1.0... yes (1.78.1) checking for st.h... no 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.20240331-16119-1up3b6 sitelibdir\=./.gem.20240331-16119-1up3b6 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.20240331-16119-1up3b6 sitelibdir\=./.gem.20240331-16119-1up3b6 compiling init.c compiling rbgdk.c rbgdk.c:83:15: warning: incompatible function pointer types passing 'VALUE (VALUE) __attribute__((noreturn))' (aka 'unsigned long (unsigned long) __attribute__((noreturn))') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] rbgdk_rval2gdkpoints_rescue, (VALUE)&args); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/iterator.h:364:62: note: passing argument to parameter 'r_proc' here VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); ^ rbgdk.c:126:15: warning: incompatible function pointer types passing 'VALUE (VALUE) __attribute__((noreturn))' (aka 'unsigned long (unsigned long) __attribute__((noreturn))') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] rbgdk_rval2gdkatoms_rescue, (VALUE)&args); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/iterator.h:364:62: note: passing argument to parameter 'r_proc' here VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); ^ rbgdk.c:169:15: warning: incompatible function pointer types passing 'VALUE (VALUE) __attribute__((noreturn))' (aka 'unsigned long (unsigned long) __attribute__((noreturn))') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] rbgdk_rval2gdkpixbufglist_rescue, (VALUE)&args); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/iterator.h:364:62: note: passing argument to parameter 'r_proc' here VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); ^ rbgdk.c:248:63: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] rb_funcall((VALUE)rb_x_error, id_call, 4, INT2NUM(error->serial), ~~~~~~~ ~~~~~~~^~~~~~ 4 warnings generated. compiling rbgdkatom.c compiling rbgdkcairo.c In file included from rbgdkcairo.c:25: /usr/local/lib/ruby/gems/3.2/gems/cairo-1.17.13/lib/rb_cairo.h:164:9: warning: 'RVAL2POINTER' macro redefined [-Wmacro-redefined] #define RVAL2POINTER(obj) ((void *)(obj)) ^ /usr/local/lib/ruby/gems/3.2/gems/glib2-4.2.1/lib/rbglib.h:142:9: note: previous definition is here #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 rbgdkdisplay.c:91:45: warning: implicit conversion loses integer precision: 'unsigned long' to 'guint32' (aka 'unsigned int') [-Wshorten-64-to-32] gdk_display_pointer_ungrab(_SELF(self), NUM2ULONG(time)); ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ rbgdkdisplay.c:98:46: warning: implicit conversion loses integer precision: 'unsigned long' to 'guint32' (aka 'unsigned int') [-Wshorten-64-to-32] gdk_display_keyboard_ungrab(_SELF(self), NUM2ULONG(time)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ rbgdkdisplay.c:334:76: warning: implicit conversion loses integer precision: 'long' to 'gint' (aka 'int') [-Wshorten-64-to-32] gdk_display_store_clipboard(display, clipboard_window, time_, targets, n); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 3 warnings generated. compiling rbgdkdisplaymanager.c compiling rbgdkdragcontext.c rbgdkdragcontext.c:205:15: warning: incompatible function pointer types passing 'VALUE (VALUE) __attribute__((noreturn))' (aka 'unsigned long (unsigned long) __attribute__((noreturn))') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] rbgdk_rval2gdkatomglist_rescue, (VALUE)&args); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/iterator.h:364:62: note: passing argument to parameter 'r_proc' here VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); ^ rbgdkdragcontext.c:264:5: warning: incompatible function pointer types passing 'VALUE (VALUE, VALUE, VALUE)' (aka 'unsigned long (unsigned long, unsigned long, unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] RG_DEF_SMETHOD(drag_begin, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./global.h:47:9: note: expanded from macro 'RG_DEF_SMETHOD' rb_define_singleton_method(RG_TARGET_NAMESPACE, #method, rg_s_ ## method, argc) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:308:143: note: expanded from macro 'rb_define_singleton_method' #define rb_define_singleton_method(obj, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_singleton_method((arity), (func))((obj), (mid), (func), (arity)) ^~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:271:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_singleton_method, VALUE, const char *) ^ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:256:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL' RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ ^ rbgdkdragcontext.c:281:5: warning: incompatible function pointer types passing 'VALUE (int, VALUE *, VALUE)' (aka 'unsigned long (int, unsigned long *, unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE, VALUE, VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] RG_DEF_METHOD(find_window, 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./global.h:44:9: note: expanded from macro 'RG_DEF_METHOD' rb_define_method(RG_TARGET_NAMESPACE, #method, rg_ ## method, argc) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:288:135: note: expanded from macro 'rb_define_method' #define rb_define_method(klass, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity)) ^~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) ^ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:259:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL' RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _04(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE, VALUE, VALUE), int); \ ^ 3 warnings generated. compiling rbgdkdraw.c In file included from rbgdkdraw.c:31: /usr/local/lib/ruby/gems/3.2/gems/cairo-1.17.13/lib/rb_cairo.h:164:9: warning: 'RVAL2POINTER' macro redefined [-Wmacro-redefined] #define RVAL2POINTER(obj) ((void *)(obj)) ^ /usr/local/lib/ruby/gems/3.2/gems/glib2-4.2.1/lib/rbglib.h:142:9: note: previous definition is here #define RVAL2POINTER(value) ((gpointer)(value)) ^ rbgdkdraw.c:108:43: warning: implicit conversion loses integer precision: 'long' to 'gint' (aka 'int') [-Wshorten-64-to-32] gdk_draw_points(drawable, gc, points, n); ~~~~~~~~~~~~~~~ ^ rbgdkdraw.c:132:42: warning: implicit conversion loses integer precision: 'long' to 'gint' (aka 'int') [-Wshorten-64-to-32] gdk_draw_lines(drawable, gc, points, n); ~~~~~~~~~~~~~~ ^ rbgdkdraw.c:198:15: warning: incompatible function pointer types passing 'VALUE (VALUE) __attribute__((noreturn))' (aka 'unsigned long (unsigned long) __attribute__((noreturn))') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] rbgdk_rval2gdksegments_rescue, (VALUE)&args); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/iterator.h:364:62: note: passing argument to parameter 'r_proc' here VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); ^ rbgdkdraw.c:216:47: warning: implicit conversion loses integer precision: 'long' to 'gint' (aka 'int') [-Wshorten-64-to-32] gdk_draw_segments(drawable, gc, segments, n); ~~~~~~~~~~~~~~~~~ ^ rbgdkdraw.c:253:52: warning: implicit conversion loses integer precision: 'long' to 'gint' (aka 'int') [-Wshorten-64-to-32] gdk_draw_polygon(drawable, gc, filled, points, n); ~~~~~~~~~~~~~~~~ ^ rbgdkdraw.c:310:15: warning: incompatible function pointer types passing 'VALUE (VALUE) __attribute__((noreturn))' (aka 'unsigned long (unsigned long) __attribute__((noreturn))') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] rbgdk_rval2gdktrapezoids_rescue, (VALUE)&args); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/iterator.h:364:62: note: passing argument to parameter 'r_proc' here VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); ^ rbgdkdraw.c:328:51: warning: implicit conversion loses integer precision: 'long' to 'gint' (aka 'int') [-Wshorten-64-to-32] gdk_draw_trapezoids(drawable, gc, trapezoids, n); ~~~~~~~~~~~~~~~~~~~ ^ 8 warnings generated. compiling rbgdkevent.c rbgdkevent.c:886:38: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] rb_ary_push(ary, INT2NUM(get_gdkevent(self)->client.data.l[i])); ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rbgdkevent.c:1064:5: warning: incompatible function pointer types passing 'VALUE (VALUE, VALUE, VALUE)' (aka 'unsigned long (unsigned long, unsigned long, unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] rb_define_method(rb_cGdkEventMotion, "set_axes", gdkeventmotion_set_axes, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:288:135: note: expanded from macro 'rb_define_method' #define rb_define_method(klass, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity)) ^~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) ^ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:256:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL' RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ ^ 2 warnings generated. compiling rbgdkgc.c rbgdkgc.c:180:51: warning: implicit conversion loses integer precision: 'long' to 'gint' (aka 'int') [-Wshorten-64-to-32] gdk_gc_set_dashes(gc, dash_offset, dash_list, n); ~~~~~~~~~~~~~~~~~ ^ 1 warning generated. compiling rbgdkgeometry.c compiling rbgdkimage.c compiling rbgdkinput.c compiling rbgdkkeymap.c rbgdkkeymap.c:141:5: warning: incompatible function pointer types passing 'VALUE (VALUE, VALUE)' (aka 'unsigned long (unsigned long, unsigned long)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] RG_DEF_SMETHOD(for_display, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./global.h:47:9: note: expanded from macro 'RG_DEF_SMETHOD' rb_define_singleton_method(RG_TARGET_NAMESPACE, #method, rg_s_ ## method, argc) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:308:143: note: expanded from macro 'rb_define_singleton_method' #define rb_define_singleton_method(obj, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_singleton_method((arity), (func))((obj), (mid), (func), (arity)) ^~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:271:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_singleton_method, VALUE, const char *) ^ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:255:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL' RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _00(__VA_ARGS__, VALUE(*)(VALUE), int); \ ^ 1 warning generated. compiling rbgdkkeyval.c rbgdkkeyval.c:90:43: warning: implicit conversion loses integer precision: 'VALUE' (aka 'unsigned long') to 'guint32' (aka 'unsigned int') [-Wshorten-64-to-32] return UINT2NUM(gdk_unicode_to_keyval(unicode)); ~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~ 1 warning generated. compiling rbgdkpango.c rbgdkpango.c:92:91: warning: implicit conversion loses integer precision: 'long' to 'gint' (aka 'int') [-Wshorten-64-to-32] result = gdk_pango_layout_get_clip_region(layout, x_origin, y_origin, index_ranges, n / 2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~^~~ rbgdkpango.c:116:94: warning: implicit conversion loses integer precision: 'long' to 'gint' (aka 'int') [-Wshorten-64-to-32] result = gdk_pango_layout_line_get_clip_region(line, x_origin, y_origin, index_ranges, n / 2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~^~~ 2 warnings generated. 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] 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] const gchar **buf = RVAL2STRV(data); ^ ~~~~~~~~~~~~~~~ 2 warnings generated. compiling rbgdkproperty.c rbgdkproperty.c:44:46: warning: implicit conversion loses integer precision: 'long' to 'gint' (aka 'int') [-Wshorten-64-to-32] RSTRING_LEN(text), &list); ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ rbgdkproperty.c:54:58: warning: implicit conversion loses integer precision: 'long' to 'gint' (aka 'int') [-Wshorten-64-to-32] RSTRING_LEN(text), ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ rbgdkproperty.c:81:46: warning: implicit conversion loses integer precision: 'long' to 'gint' (aka 'int') [-Wshorten-64-to-32] RSTRING_LEN(text), &list); ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ rbgdkproperty.c:91:58: warning: implicit conversion loses integer precision: 'long' to 'gint' (aka 'int') [-Wshorten-64-to-32] RSTRING_LEN(text), ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ rbgdkproperty.c:240:42: warning: cast from 'guchar *' (aka 'unsigned char *') to 'unsigned short *' increases required alignment from 1 to 2 [-Wcast-align] 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 8 [-Wcast-align] 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' __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 8 [-Wcast-align] 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' 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' # 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 8 [-Wcast-align] 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' RB_INT2FIX(i)) ^ rbgdkproperty.c:253:52: warning: cast from 'guchar *' (aka 'unsigned char *') to 'glong *' (aka 'long *') increases required alignment from 1 to 8 [-Wcast-align] rb_ary_push(ret, BOXED2RVAL((GdkAtom)((glong*)rdat)[j], GDK_TYPE_ATOM)); ^~~~~~~~~~~~ /usr/local/lib/ruby/gems/3.2/gems/glib2-4.2.1/lib/rbgobject.h:101:52: note: expanded from macro 'BOXED2RVAL' #define BOXED2RVAL(cobj, gtype) (rbgobj_make_boxed(cobj, gtype)) ^~~~ 9 warnings generated. compiling rbgdkrectangle.c compiling rbgdkregion.c rbgdkregion.c:57:45: warning: implicit conversion loses integer precision: 'long' to 'gint' (aka 'int') [-Wshorten-64-to-32] region = gdk_region_polygon(points, n, fill_rule); ~~~~~~~~~~~~~~~~~~ ^ rbgdkregion.c:141:15: warning: incompatible function pointer types passing 'VALUE (VALUE) __attribute__((noreturn))' (aka 'unsigned long (unsigned long) __attribute__((noreturn))') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] rbgdk_rval2gdkspans_rescue, (VALUE)&args); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/iterator.h:364:62: note: passing argument to parameter 'r_proc' here VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); ^ rbgdkregion.c:166:40: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] n, ^ 3 warnings generated. compiling rbgdkrgb.c rbgdkrgb.c:82:37: warning: implicit conversion loses integer precision: 'long' to 'gint' (aka 'int') [-Wshorten-64-to-32] cmap = gdk_rgb_cmap_new(colors, n); ~~~~~~~~~~~~~~~~ ^ rbgdkrgb.c:189:5: warning: incompatible function pointer types passing 'VALUE (VALUE, VALUE)' (aka 'unsigned long (unsigned long, unsigned long)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] RG_DEF_MODFUNC(set_min_colors, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/ruby/gems/3.2/gems/glib2-4.2.1/lib/rbgutil.h:34:9: note: expanded from macro 'RG_DEF_MODFUNC' rb_define_module_function(RG_TARGET_NAMESPACE, #method, rg_m_ ## method, argc) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:338:142: note: expanded from macro 'rb_define_module_function' #define rb_define_module_function(mod, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_module_function((arity), (func))((mod), (mid), (func), (arity)) ^~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:274:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) ^ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:255:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL' RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _00(__VA_ARGS__, VALUE(*)(VALUE), int); \ ^ 2 warnings generated. compiling rbgdkscreen.c In file included from rbgdkscreen.c:25: /usr/local/lib/ruby/gems/3.2/gems/cairo-1.17.13/lib/rb_cairo.h:164:9: warning: 'RVAL2POINTER' macro redefined [-Wmacro-redefined] #define RVAL2POINTER(obj) ((void *)(obj)) ^ /usr/local/lib/ruby/gems/3.2/gems/glib2-4.2.1/lib/rbglib.h:142:9: note: previous definition is here #define RVAL2POINTER(value) ((gpointer)(value)) ^ rbgdkscreen.c:414:5: warning: incompatible function pointer types passing 'VALUE (VALUE, VALUE)' (aka 'unsigned long (unsigned long, unsigned long)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] RG_DEF_METHOD_P(supports_net_wm_hint, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/ruby/gems/3.2/gems/glib2-4.2.1/lib/rbgutil.h:50:9: note: expanded from macro 'RG_DEF_METHOD_P' rb_define_method(RG_TARGET_NAMESPACE, #method"?", rg_ ## method ## _p, argc) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:288:135: note: expanded from macro 'rb_define_method' #define rb_define_method(klass, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity)) ^~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) ^ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:255:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL' RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _00(__VA_ARGS__, VALUE(*)(VALUE), int); \ ^ 2 warnings generated. compiling rbgdkselection.c compiling rbgdkthreads.c compiling rbgdktimecoord.c compiling rbgdkvisual.c rbgdkvisual.c:109:63: warning: implicit conversion loses integer precision: 'VALUE' (aka 'unsigned long') to 'gint' (aka 'int') [-Wshorten-64-to-32] (GdkVisualType)GENUM2RVAL(type, GDK_TYPE_VISUAL_TYPE))); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/ruby/gems/3.2/gems/glib2-4.2.1/lib/rbgobject.h:105:51: note: expanded from macro 'GENUM2RVAL' #define GENUM2RVAL(n, gtype) (rbgobj_make_enum(n, gtype)) ~~~~~~~~~~~~~~~~ ^ /usr/local/lib/ruby/gems/3.2/gems/glib2-4.2.1/lib/rbgobject.h:94:59: note: expanded from macro 'GOBJ2RVAL' #define GOBJ2RVAL(gobj) (rbgobj_ruby_object_from_instance(gobj)) ^~~~ 1 warning generated. compiling rbgdkwindow.c rbgdkwindow.c:500:56: warning: implicit conversion loses integer precision: 'VALUE' (aka 'unsigned long') to 'gint' (aka 'int') [-Wshorten-64-to-32] INT2NUM(offset_x), INT2NUM(offset_y)); ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/int.h:43:20: note: expanded from macro 'INT2NUM' #define INT2NUM RB_INT2NUM /**< @old{RB_INT2NUM} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/int.h:37:21: note: expanded from macro 'RB_INT2NUM' #define RB_INT2NUM rb_int2num_inline /**< @alias{rb_int2num_inline} */ ^ rbgdkwindow.c:500:64: warning: implicit conversion loses integer precision: 'VALUE' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] INT2NUM(offset_x), INT2NUM(offset_y)); ~~~~~~~ ^~~~~~~~ rbgdkwindow.c:500:37: warning: implicit conversion loses integer precision: 'VALUE' (aka 'unsigned long') to 'gint' (aka 'int') [-Wshorten-64-to-32] INT2NUM(offset_x), INT2NUM(offset_y)); ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/int.h:43:20: note: expanded from macro 'INT2NUM' #define INT2NUM RB_INT2NUM /**< @old{RB_INT2NUM} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/int.h:37:21: note: expanded from macro 'RB_INT2NUM' #define RB_INT2NUM rb_int2num_inline /**< @alias{rb_int2num_inline} */ ^ rbgdkwindow.c:500:45: warning: implicit conversion loses integer precision: 'VALUE' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] INT2NUM(offset_x), INT2NUM(offset_y)); ~~~~~~~ ^~~~~~~~ rbgdkwindow.c:937:19: warning: variable 'g_class' set but not used [-Wunused-but-set-variable] GObjectClass *g_class; ^ 5 warnings generated. compiling rbgdkwindowattr.c compiling rbgdkx11.c compiling rbgtk.c rbgtk.c:172:17: warning: implicit conversion loses integer precision: 'long' to 'gint' (aka 'int') [-Wshorten-64-to-32] gargc = RARRAY_LEN(argary); ~ ^~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rarray.h:68:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ rbgtk.c:175:17: warning: implicit conversion loses integer precision: 'long' to 'gint' (aka 'int') [-Wshorten-64-to-32] gargc = RARRAY_LEN(argary); ~ ^~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rarray.h:68:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ 2 warnings generated. 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 rbgtkactiongroup.c:151:15: warning: incompatible function pointer types passing 'VALUE (VALUE) __attribute__((noreturn))' (aka 'unsigned long (unsigned long) __attribute__((noreturn))') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] rbg_rval2gtkactionentries_rescue, (VALUE)&args); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/iterator.h:364:62: note: passing argument to parameter 'r_proc' here VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); ^ rbgtkactiongroup.c:172:50: warning: implicit conversion loses integer precision: 'long' to 'guint' (aka 'unsigned int') [-Wshorten-64-to-32] gtk_action_group_add_actions(group, entries, n, (gpointer)self); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ rbgtkactiongroup.c:259:15: warning: incompatible function pointer types passing 'VALUE (VALUE) __attribute__((noreturn))' (aka 'unsigned long (unsigned long) __attribute__((noreturn))') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] rbg_rval2gtktoggleactionentries_rescue, (VALUE)&args); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/iterator.h:364:62: note: passing argument to parameter 'r_proc' here VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); ^ rbgtkactiongroup.c:280:57: warning: implicit conversion loses integer precision: 'long' to 'guint' (aka 'unsigned int') [-Wshorten-64-to-32] gtk_action_group_add_toggle_actions(group, entries, n, (gpointer)self); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ rbgtkactiongroup.c:355:15: warning: incompatible function pointer types passing 'VALUE (VALUE) __attribute__((noreturn))' (aka 'unsigned long (unsigned long) __attribute__((noreturn))') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] rbg_rval2gtkradioactionentries_rescue, (VALUE)&args); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/iterator.h:364:62: note: passing argument to parameter 'r_proc' here VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); ^ rbgtkactiongroup.c:388:40: warning: implicit conversion loses integer precision: 'long' to 'guint' (aka 'unsigned int') [-Wshorten-64-to-32] n, ^ 6 warnings generated. 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] 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 rbgtkclipboard.c:106:51: warning: implicit conversion loses integer precision: 'long' to 'guint' (aka 'unsigned int') [-Wshorten-64-to-32] n, ^ rbgtkclipboard.c:134:22: warning: incompatible function pointer types passing 'VALUE (VALUE) __attribute__((noreturn))' (aka 'unsigned long (unsigned long) __attribute__((noreturn))') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] clipboard_set_rescue, (VALUE)&args); ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/iterator.h:364:62: note: passing argument to parameter 'r_proc' here VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); ^ rbgtkclipboard.c:166:58: warning: implicit conversion loses integer precision: 'long' to 'gint' (aka 'int') [-Wshorten-64-to-32] gtk_clipboard_set_text(_SELF(self), RVAL2CSTR(text), RSTRING_LEN(text)); ~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ rbgtkclipboard.c:378:53: warning: implicit conversion loses integer precision: 'long' to 'gint' (aka 'int') [-Wshorten-64-to-32] gtk_clipboard_set_can_store(clipboard, targets, n); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 4 warnings generated. compiling rbgtkcolorbutton.c compiling rbgtkcolorsel.c rbgtkcolorsel.c:128:15: warning: incompatible function pointer types passing 'VALUE (VALUE) __attribute__((noreturn))' (aka 'unsigned long (unsigned long) __attribute__((noreturn))') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] rbgdk_rval2gdkcolors_rescue, (VALUE)&args); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/iterator.h:364:62: note: passing argument to parameter 'r_proc' here VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); ^ rbgtkcolorsel.c:153:61: warning: implicit conversion loses integer precision: 'long' to 'gint' (aka 'int') [-Wshorten-64-to-32] palette = gtk_color_selection_palette_to_string(colors, n); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 2 warnings generated. compiling rbgtkcolorselectiondialog.c compiling rbgtkcombo.c compiling rbgtkcombobox.c compiling rbgtkcomboboxentry.c compiling rbgtkconst.c compiling rbgtkcontainer.c rbgtkcontainer.c:175:35: error: use of undeclared identifier 'rb_cData' Data_Wrap_Struct(rb_cData, NULL, NULL, func)); ^ rbgtkcontainer.c:196:35: error: use of undeclared identifier 'rb_cData' Data_Wrap_Struct(rb_cData, NULL, NULL, func)); ^ rbgtkcontainer.c:309:18: warning: variable 'obj' set but not used [-Wunused-but-set-variable] GObject* obj; ^ rbgtkcontainer.c:347:14: warning: variable 'ret' set but not used [-Wunused-but-set-variable] gboolean ret; ^ rbgtkcontainer.c:389:15: warning: incompatible function pointer types passing 'VALUE (VALUE) __attribute__((noreturn))' (aka 'unsigned long (unsigned long) __attribute__((noreturn))') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] rbg_rval2gtkwidgetglist_rescue, (VALUE)&args); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/iterator.h:364:62: note: passing argument to parameter 'r_proc' here VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); ^ rbgtkcontainer.c:644:48: warning: incompatible pointer types initializing 'VALUE *' (aka 'unsigned long *') with an expression of type 'GTypeInfo **' (aka 'struct _GTypeInfo **') [-Wincompatible-pointer-types] rb_scan_args(argc, argv, "03", &type_name, &info, &flags); ^~~~~ /usr/local/include/ruby-3.2/ruby/internal/scan_args.h:501:25: note: expanded from macro 'rb_scan_args' ((VALUE*[]){__VA_ARGS__})), \ ^~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/scan_args.h:375:55: note: expanded from macro 'rb_scan_args0' (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) ^~~~ rbgtkcontainer.c:644:48: warning: incompatible pointer types initializing 'VALUE *' (aka 'unsigned long *') with an expression of type 'GTypeInfo **' (aka 'struct _GTypeInfo **') [-Wincompatible-pointer-types] rb_scan_args(argc, argv, "03", &type_name, &info, &flags); ^~~~~ /usr/local/include/ruby-3.2/ruby/internal/scan_args.h:500:32: note: expanded from macro 'rb_scan_args' (sizeof((VALUE*[]){__VA_ARGS__})/sizeof(VALUE*)), \ ^~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/scan_args.h:375:75: note: expanded from macro 'rb_scan_args0' (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) ^~~~ 5 warnings and 2 errors 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/amd64-freebsd-13/3.2/gtk2-3.4.3/gem_make.out *** Error code 1 Stop. make: stopped in /usr/ports/x11-toolkits/rubygem-gtk2 =>> Cleaning up wrkdir ===> Cleaning for rubygem-gtk2-3.4.3_2 build of x11-toolkits/rubygem-gtk2 | rubygem-gtk2-3.4.3_2 ended at Sun Mar 31 08:25:52 BST 2024 build time: 00:06:00 !!! build failure encountered !!!