=>> Building databases/ruby-tokyocabinet build started at Fri Mar 29 17:20:09 GMT 2024 port directory: /usr/ports/databases/ruby-tokyocabinet package name: ruby32-tokyocabinet-1.31 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: dgerow@afflictions.org Makefile datestamp: -rw-r--r-- 1 root wheel 925 Jul 26 2023 /usr/ports/databases/ruby-tokyocabinet/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 95274bf4f9 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 14 ---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/14/.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--- ===> The following configuration options are available for ruby32-tokyocabinet-1.31: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- dgerow@afflictions.org --End MAINTAINER-- --CONFIGURE_ARGS-- --with-opt-dir="/usr/local" --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- RB_USER_INSTALL=yes XDG_DATA_HOME=/wrkdirs/usr/ports/databases/ruby-tokyocabinet/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/ruby-tokyocabinet/work XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/ruby-tokyocabinet/work/.cache HOME=/wrkdirs/usr/ports/databases/ruby-tokyocabinet/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/databases/ruby-tokyocabinet/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/ruby-tokyocabinet/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/databases/ruby-tokyocabinet/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/ruby-tokyocabinet/work XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/ruby-tokyocabinet/work/.cache HOME=/wrkdirs/usr/ports/databases/ruby-tokyocabinet/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/databases/ruby-tokyocabinet/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/ruby-tokyocabinet/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 " 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-- PORTDOCS="" 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/tokyocabinet" RUBY_MODEXAMPLESDIR="share/examples/ruby32/tokyocabinet" 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" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/tokyocabinet" EXAMPLESDIR="share/examples/tokyocabinet" DATADIR="share/tokyocabinet" WWWDIR="www/tokyocabinet" ETCDIR="etc/tokyocabinet" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/tokyocabinet DOCSDIR=/usr/local/share/doc/tokyocabinet EXAMPLESDIR=/usr/local/share/examples/tokyocabinet WWWDIR=/usr/local/www/tokyocabinet ETCDIR=/usr/local/etc/tokyocabinet --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 ===> ruby32-tokyocabinet-1.31 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 ===> ruby32-tokyocabinet-1.31 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ruby32-tokyocabinet-1.31 =========================================================================== =================================================== ===== 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 ruby32-tokyocabinet-1.31 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ruby32-tokyocabinet-1.31 for building => SHA256 Checksum OK for ruby/tokyocabinet-ruby-1.31.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ruby32-tokyocabinet-1.31 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. ===> ruby32-tokyocabinet-1.31 depends on file: /usr/local/bin/ruby32 - found ===> Returning to build of ruby32-tokyocabinet-1.31 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ruby32-tokyocabinet-1.31 for building ===> Extracting for ruby32-tokyocabinet-1.31 => SHA256 Checksum OK for ruby/tokyocabinet-ruby-1.31.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ruby32-tokyocabinet-1.31 depends on file: /usr/local/bin/ruby32 - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for ruby32-tokyocabinet-1.31 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ruby32-tokyocabinet-1.31 depends on file: /usr/local/bin/ruby32 - found =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ruby32-tokyocabinet-1.31 depends on shared library: libtokyocabinet.so - not found ===> Installing existing package /packages/All/tokyocabinet-1.4.48_1.pkg [pkg-builder.dan.net.uk] Installing tokyocabinet-1.4.48_1... [pkg-builder.dan.net.uk] Extracting tokyocabinet-1.4.48_1: .......... done ===== Message from tokyocabinet-1.4.48_1: -- ===> NOTICE: The tokyocabinet port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> ruby32-tokyocabinet-1.31 depends on shared library: libtokyocabinet.so - found (/usr/local/lib/libtokyocabinet.so) ===> Returning to build of ruby32-tokyocabinet-1.31 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ruby32-tokyocabinet-1.31 ===> Running extconf.rb to configure setting variables ... $CFLAGS = -I. -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing $(cflags) -fPIC -O2 $LDFLAGS = -L. -Wl,-rpath,/usr/local/lib -fstack-protector-strong -rdynamic -Wl,--no-as-needed -L. -L/usr/local/lib $libs = -ltokyocabinet -lbz2 -lz -lrt -lpthread -lm -lc checking for tcutil.h... yes creating Makefile =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ruby32-tokyocabinet-1.31 compiling tokyocabinet.c tokyocabinet.c:357:9: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] num = RARRAY_LEN(vary); ~ ^~~~~~~~~~~~~~~~ /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} */ ^ tokyocabinet.c:362:41: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] tclistpush(list, RSTRING_PTR(vval), RSTRING_LEN(vval)); ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:388:9: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] num = RARRAY_LEN(vkeys); ~ ^~~~~~~~~~~~~~~~~ /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} */ ^ tokyocabinet.c:394:76: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] tcmapput(map, RSTRING_PTR(vkey), RSTRING_LEN(vkey), RSTRING_PTR(vval), RSTRING_LEN(vval)); ~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:394:38: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] tcmapput(map, RSTRING_PTR(vkey), RSTRING_LEN(vkey), RSTRING_PTR(vval), RSTRING_LEN(vval)); ~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:624:38: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] RSTRING_PTR(vval), RSTRING_LEN(vval)) ? Qtrue : Qfalse; ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:623:43: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tchdbput(hdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), ~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:636:42: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] RSTRING_PTR(vval), RSTRING_LEN(vval)) ? Qtrue : Qfalse; ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:635:47: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tchdbputkeep(hdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:648:41: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] RSTRING_PTR(vval), RSTRING_LEN(vval)) ? Qtrue : Qfalse; ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:647:46: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tchdbputcat(hdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:660:43: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] RSTRING_PTR(vval), RSTRING_LEN(vval)) ? Qtrue : Qfalse; ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:659:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tchdbputasync(hdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:670:43: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tchdbout(hdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey)) ? Qtrue : Qfalse; ~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:682:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if(!(vbuf = tchdbget(hdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), &vsiz))) return Qnil; ~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:695:52: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return INT2NUM(tchdbvsiz(hdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey))); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:732:50: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] keys = tchdbfwmkeys(hdb, RSTRING_PTR(vprefix), RSTRING_LEN(vprefix), max); ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:746:45: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] num = tchdbaddint(hdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), NUM2INT(vnum)); ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:758:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] num = tchdbadddouble(hdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), NUM2DBL(vnum)); ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:872:47: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if((vbuf = tchdbget(hdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), &vsiz)) != NULL){ ~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:888:44: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tchdbvsiz(hdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey)) >= 0 ? Qtrue : Qfalse; ~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1304:19: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] RSTRING_LEN(vval)) ? Qtrue : Qfalse; ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1303:43: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tcbdbput(bdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), RSTRING_PTR(vval), ~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1316:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] RSTRING_LEN(vval)) ? Qtrue : Qfalse; ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1315:47: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tcbdbputkeep(bdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), RSTRING_PTR(vval), ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1328:22: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] RSTRING_LEN(vval)) ? Qtrue : Qfalse; ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1327:46: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tcbdbputcat(bdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), RSTRING_PTR(vval), ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1340:22: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] RSTRING_LEN(vval)) ? Qtrue : Qfalse; ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1339:46: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tcbdbputdup(bdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), RSTRING_PTR(vval), ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1355:44: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if(!tcbdbputdup3(bdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), tvals)) err = true; ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1367:43: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tcbdbout(bdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey)) ? Qtrue : Qfalse; ~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1377:44: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tcbdbout3(bdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey)) ? Qtrue : Qfalse; ~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1389:49: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if(!(vbuf = tcbdbget3(bdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), &vsiz))) return Qnil; ~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1401:49: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if(!(vals = tcbdbget4(bdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey)))) return Qnil; ~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1414:52: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return INT2NUM(tcbdbvnum(bdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey))); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1424:52: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return INT2NUM(tcbdbvsiz(bdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey))); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1445:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] bksiz = RSTRING_LEN(vbkey); ~ ^~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1452:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] eksiz = RSTRING_LEN(vekey); ~ ^~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1474:50: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] keys = tcbdbfwmkeys(bdb, RSTRING_PTR(vprefix), RSTRING_LEN(vprefix), max); ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1488:45: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] num = tcbdbaddint(bdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), NUM2INT(vnum)); ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1500:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] num = tcbdbadddouble(bdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), NUM2DBL(vnum)); ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1616:47: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if((vbuf = tcbdbget(bdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), &vsiz)) != NULL){ ~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1632:44: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tcbdbvsiz(bdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey)) >= 0 ? Qtrue : Qfalse; ~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1860:47: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tcbdbcurjump(cur, RSTRING_PTR(vkey), RSTRING_LEN(vkey)) ? Qtrue : Qfalse; ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:1891:46: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tcbdbcurput(cur, RSTRING_PTR(vval), RSTRING_LEN(vval), cpmode) ? Qtrue : Qfalse; ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2095:39: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] RSTRING_PTR(vval), RSTRING_LEN(vval)) ? Qtrue : Qfalse; ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2094:44: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tcfdbput2(fdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), ~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2107:43: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] RSTRING_PTR(vval), RSTRING_LEN(vval)) ? Qtrue : Qfalse; ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2106:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tcfdbputkeep2(fdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2119:42: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] RSTRING_PTR(vval), RSTRING_LEN(vval)) ? Qtrue : Qfalse; ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2118:47: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tcfdbputcat2(fdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2129:44: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tcfdbout2(fdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey)) ? Qtrue : Qfalse; ~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2141:49: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if(!(vbuf = tcfdbget2(fdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), &vsiz))) return Qnil; ~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2154:53: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return INT2NUM(tcfdbvsiz2(fdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey))); ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2191:51: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] keys = tcfdbrange4(fdb, RSTRING_PTR(vinterval), RSTRING_LEN(vinterval), max); ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2205:58: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] num = tcfdbaddint(fdb, tcfdbkeytoid(RSTRING_PTR(vkey), RSTRING_LEN(vkey)), NUM2INT(vnum)); ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2217:61: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] num = tcfdbadddouble(fdb, tcfdbkeytoid(RSTRING_PTR(vkey), RSTRING_LEN(vkey)), NUM2DBL(vnum)); ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2329:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if((vbuf = tcfdbget2(fdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), &vsiz)) != NULL){ ~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2345:45: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tcfdbvsiz2(fdb, RSTRING_PTR(vkey), RSTRING_LEN(vkey)) >= 0 ? Qtrue : Qfalse; ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2730:43: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] vrv = tctdbput(tdb, RSTRING_PTR(vpkey), RSTRING_LEN(vpkey), cols) ? Qtrue : Qfalse; ~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2745:47: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] vrv = tctdbputkeep(tdb, RSTRING_PTR(vpkey), RSTRING_LEN(vpkey), cols) ? Qtrue : Qfalse; ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2760:46: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] vrv = tctdbputcat(tdb, RSTRING_PTR(vpkey), RSTRING_LEN(vpkey), cols) ? Qtrue : Qfalse; ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2772:44: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tctdbout(tdb, RSTRING_PTR(vpkey), RSTRING_LEN(vpkey)) ? Qtrue : Qfalse; ~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2783:49: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if(!(cols = tctdbget(tdb, RSTRING_PTR(vpkey), RSTRING_LEN(vpkey)))) return Qnil; ~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2796:53: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return INT2NUM(tctdbvsiz(tdb, RSTRING_PTR(vpkey), RSTRING_LEN(vpkey))); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2833:51: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] pkeys = tctdbfwmkeys(tdb, RSTRING_PTR(vprefix), RSTRING_LEN(vprefix), max); ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2847:46: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] num = tctdbaddint(tdb, RSTRING_PTR(vpkey), RSTRING_LEN(vpkey), NUM2INT(vnum)); ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2859:49: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] num = tctdbadddouble(tdb, RSTRING_PTR(vpkey), RSTRING_LEN(vpkey), NUM2DBL(vnum)); ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:2992:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if((cols = tctdbget(tdb, RSTRING_PTR(vpkey), RSTRING_LEN(vpkey))) != NULL){ ~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:3008:45: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tctdbvsiz(tdb, RSTRING_PTR(vpkey), RSTRING_LEN(vpkey)) >= 0 ? Qtrue : Qfalse; ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:3167:3: 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] rb_define_method(cls_tdbqry, "proc", tdbqry_proc, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); \ ^ tokyocabinet.c:3184:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] num = RARRAY_LEN(vkeys); ~ ^~~~~~~~~~~~~~~~~ /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} */ ^ tokyocabinet.c:3190:79: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] tcmapput(cols, RSTRING_PTR(vkey), RSTRING_LEN(vkey), RSTRING_PTR(vval), RSTRING_LEN(vval)); ~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:3190:41: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] tcmapput(cols, RSTRING_PTR(vkey), RSTRING_LEN(vkey), RSTRING_PTR(vval), RSTRING_LEN(vval)); ~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:3303:9: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] num = RARRAY_LEN(vothers); ~ ^~~~~~~~~~~~~~~~~~~ /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} */ ^ tokyocabinet.c:3340:50: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] RSTRING_PTR(vval), RSTRING_LEN(vval)); ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:3339:57: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if(vval != Qnil) tcmapput(cols, RSTRING_PTR(vname), RSTRING_LEN(vname), ~~~~~~~~ ^~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:3446:38: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] RSTRING_PTR(vval), RSTRING_LEN(vval)) ? Qtrue : Qfalse; ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:3445:43: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tcadbput(adb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), ~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:3458:42: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] RSTRING_PTR(vval), RSTRING_LEN(vval)) ? Qtrue : Qfalse; ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:3457:47: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tcadbputkeep(adb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:3470:41: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] RSTRING_PTR(vval), RSTRING_LEN(vval)) ? Qtrue : Qfalse; ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:3469:46: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tcadbputcat(adb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:3480:43: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tcadbout(adb, RSTRING_PTR(vkey), RSTRING_LEN(vkey)) ? Qtrue : Qfalse; ~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:3492:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if(!(vbuf = tcadbget(adb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), &vsiz))) return Qnil; ~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:3505:52: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return INT2NUM(tcadbvsiz(adb, RSTRING_PTR(vkey), RSTRING_LEN(vkey))); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:3542:50: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] keys = tcadbfwmkeys(adb, RSTRING_PTR(vprefix), RSTRING_LEN(vprefix), max); ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:3556:45: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] num = tcadbaddint(adb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), NUM2INT(vnum)); ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:3568:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] num = tcadbadddouble(adb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), NUM2DBL(vnum)); ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:3709:47: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if((vbuf = tcadbget(adb, RSTRING_PTR(vkey), RSTRING_LEN(vkey), &vsiz)) != NULL){ ~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ tokyocabinet.c:3725:44: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return tcadbvsiz(adb, RSTRING_PTR(vkey), RSTRING_LEN(vkey)) >= 0 ? Qtrue : Qfalse; ~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ 91 warnings generated. linking shared-object tokyocabinet.so =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ruby32-tokyocabinet-1.31 depends on file: /usr/local/bin/ruby32 - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ruby32-tokyocabinet-1.31 ===> Generating temporary packing list /usr/bin/install -c -m 0755 tokyocabinet.so /wrkdirs/usr/ports/databases/ruby-tokyocabinet/work/stage/usr/local/lib/ruby/site_ruby/3.2/amd64-freebsd13 /bin/mkdir -p /wrkdirs/usr/ports/databases/ruby-tokyocabinet/work/stage/usr/local/share/doc/ruby32/tokyocabinet cp -f -R /wrkdirs/usr/ports/databases/ruby-tokyocabinet/work/tokyocabinet-ruby-1.31/doc/* /wrkdirs/usr/ports/databases/ruby-tokyocabinet/work/stage/usr/local/share/doc/ruby32/tokyocabinet/ ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-03-29T17:20:09+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=95274bf4f9' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for ruby32-tokyocabinet-1.31 ===> Building ruby32-tokyocabinet-1.31 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ruby32-tokyocabinet-1.31 build of databases/ruby-tokyocabinet | ruby32-tokyocabinet-1.31 ended at Fri Mar 29 17:20:26 GMT 2024 build time: 00:00:17