=>> Building devel/rubygem-curses build started at Sun Jan 21 08:07:16 UTC 2024 port directory: /usr/ports/devel/rubygem-curses package name: rubygem-curses-1.3.2 building for: FreeBSD 140amd64-default-foo-job-17 14.0-RELEASE-p4 FreeBSD 14.0-RELEASE-p4 amd64 maintained by: freebsd@jonathanprice.org Makefile datestamp: -rw-r--r-- 1 root wheel 533 Jul 31 06:54 /usr/ports/devel/rubygem-curses/Makefile Ports top last git commit: 35ed58bde0f Ports top unclean checkout: yes Port dir last git commit: 95274bf4f99 Port dir unclean checkout: no Poudriere version: poudriere-git-3.3.0-1258-gbc38e2e6 Host OSVERSION: 1500006 Jail OSVERSION: 1400097 Job Id: 17 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1400097 UNAME_v=FreeBSD 14.0-RELEASE-p4 UNAME_r=14.0-RELEASE-p4 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 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.3.0-1258-gbc38e2e6 MASTERMNT=/poudriere/data/.m/140amd64-default-foo/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/poudriere/data/.m/140amd64-default-foo/17/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=140amd64-default-foo SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/poudriere/data/.m/140amd64-default-foo/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.3.0-1258-gbc38e2e6 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- freebsd@jonathanprice.org --End MAINTAINER-- --CONFIGURE_ARGS-- --with-cflags="-Wno-error=incompatible-function-pointer-types" --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/devel/rubygem-curses/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/rubygem-curses/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/rubygem-curses/work/.cache HOME=/wrkdirs/usr/ports/devel/rubygem-curses/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/rubygem-curses/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/rubygem-curses/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 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/devel/rubygem-curses/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/rubygem-curses/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/rubygem-curses/work/.cache HOME=/wrkdirs/usr/ports/devel/rubygem-curses/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/rubygem-curses/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/rubygem-curses/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" 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-freebsd14" RUBY_SITELIBDIR="lib/ruby/site_ruby/3.2" RUBY_SITEARCHLIBDIR="lib/ruby/site_ruby/3.2/amd64-freebsd14" RUBY_VENDORLIBDIR="lib/ruby/vendor_ruby/3.2" RUBY_VENDORARCHLIBDIR="lib/ruby/vendor_ruby/3.2/amd64-freebsd14" RUBY_MODDOCDIR="share/doc/ruby32/curses" RUBY_MODEXAMPLESDIR="share/examples/ruby32/curses" 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.2" RUBY_VER="3.2" RUBY_SHLIBVER="32" RUBY_ARCH="amd64-freebsd14" RUBY_SUFFIX="32" RUBY_DEFAULT_SUFFIX="32" PORTVERSION="1.3.2" 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="curses-1.3.2" GEM_LIB_DIR="lib/ruby/gems/3.2/gems/curses-1.3.2" GEM_DOC_DIR="lib/ruby/gems/3.2/doc/curses-1.3.2" GEM_SPEC="lib/ruby/gems/3.2/specifications/curses-1.3.2.gemspec" GEM_CACHE="lib/ruby/gems/3.2/cache/curses-1.3.2.gem" EXTRACT_SUFX=".gem" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/curses" EXAMPLESDIR="share/examples/curses" DATADIR="share/curses" WWWDIR="www/curses" ETCDIR="etc/curses" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/curses DOCSDIR=/usr/local/share/doc/curses EXAMPLESDIR=/usr/local/share/examples/curses WWWDIR=/usr/local/www/curses ETCDIR=/usr/local/etc/curses --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 #### #### # Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs MAKE_JOBS_NUMBER=3 #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 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 ===> License RUBY BSD2CLAUSE accepted by the user =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> rubygem-curses-1.3.2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9.pkg [140amd64-default-foo-job-17] Installing pkg-1.20.9... [140amd64-default-foo-job-17] Extracting pkg-1.20.9: .......... done ===> rubygem-curses-1.3.2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of rubygem-curses-1.3.2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License RUBY BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by rubygem-curses-1.3.2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License RUBY BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by rubygem-curses-1.3.2 for building => SHA256 Checksum OK for rubygem/curses-1.3.2.gem. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> rubygem-curses-1.3.2 depends on file: /usr/local/bin/ruby32 - not found ===> Installing existing package /packages/All/ruby-3.2.2_1,1.pkg [140amd64-default-foo-job-17] Installing ruby-3.2.2_1,1... [140amd64-default-foo-job-17] `-- Installing libedit-3.1.20230828,1... [140amd64-default-foo-job-17] `-- Extracting libedit-3.1.20230828,1: .......... done [140amd64-default-foo-job-17] `-- Installing libffi-3.4.4... [140amd64-default-foo-job-17] | `-- Installing indexinfo-0.3.1... [140amd64-default-foo-job-17] | `-- Extracting indexinfo-0.3.1: .... done [140amd64-default-foo-job-17] `-- Extracting libffi-3.4.4: .......... done [140amd64-default-foo-job-17] `-- Installing libunwind-20230730... [140amd64-default-foo-job-17] `-- Extracting libunwind-20230730: .......... done [140amd64-default-foo-job-17] `-- Installing libyaml-0.2.5... [140amd64-default-foo-job-17] `-- Extracting libyaml-0.2.5: ......... done [140amd64-default-foo-job-17] Extracting ruby-3.2.2_1,1: .......... done ===== Message from ruby-3.2.2_1,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-curses-1.3.2 depends on file: /usr/local/bin/ruby32 - found ===> Returning to build of rubygem-curses-1.3.2 ===> rubygem-curses-1.3.2 depends on file: /usr/local/bin/gem - not found ===> Installing existing package /packages/All/ruby32-gems-3.4.20.pkg [140amd64-default-foo-job-17] Installing ruby32-gems-3.4.20... [140amd64-default-foo-job-17] Extracting ruby32-gems-3.4.20: .......... done ===> rubygem-curses-1.3.2 depends on file: /usr/local/bin/gem - found ===> Returning to build of rubygem-curses-1.3.2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License RUBY BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by rubygem-curses-1.3.2 for building ===> Extracting for rubygem-curses-1.3.2 => SHA256 Checksum OK for rubygem/curses-1.3.2.gem. Unpacked gem: '/wrkdirs/usr/ports/devel/rubygem-curses/work/curses-1.3.2' =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> rubygem-curses-1.3.2 depends on file: /usr/local/bin/ruby32 - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for rubygem-curses-1.3.2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> rubygem-curses-1.3.2 depends on file: /usr/local/bin/ruby32 - found ===> rubygem-curses-1.3.2 depends on file: /usr/local/bin/gem - found =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for rubygem-curses-1.3.2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for rubygem-curses-1.3.2 Successfully built RubyGem Name: curses Version: 1.3.2 File: curses-1.3.2.gem =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> rubygem-curses-1.3.2 depends on file: /usr/local/bin/ruby32 - found ===> rubygem-curses-1.3.2 depends on file: /usr/local/bin/gem - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for rubygem-curses-1.3.2 ===> Generating temporary packing list (cd /wrkdirs/usr/ports/devel/rubygem-curses/work/curses-1.3.2; /usr/bin/env 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/devel/rubygem-curses/work/stage/usr/local/lib/ruby/gems/3.2 --ignore-dependencies --bindir=/wrkdirs/usr/ports/devel/rubygem-curses/work/stage/usr/local/bin --no-document curses-1.3.2.gem -- --with-cflags="-Wno-error=incompatible-function-pointer-types") Building native extensions with: '--with-cflags=-Wno-error=incompatible-function-pointer-types' This could take a while... ERROR: Error installing curses-1.3.2.gem: ERROR: Failed to build gem native extension. current directory: /wrkdirs/usr/ports/devel/rubygem-curses/work/stage/usr/local/lib/ruby/gems/3.2/gems/curses-1.3.2/ext/curses /usr/local/bin/ruby32 extconf.rb --with-cflags\=-Wno-error\=incompatible-function-pointer-types checking for tgetent() in -ltinfow... yes checking for ncursesw/curses.h... no checking for ncurses.h... yes checking for initscr() in -lncursesw... yes header: ncurses.h library: ncursesw checking for beep()... yes checking for bkgd()... yes checking for bkgdset()... yes checking for curs_set()... yes checking for deleteln()... yes checking for doupdate()... yes checking for flash()... yes checking for getbkgd()... yes checking for getnstr()... yes checking for init()... no checking for init in ncurses.h... no checking for isendwin()... yes checking for keyname()... yes checking for keypad()... yes checking for resizeterm()... yes checking for scrl()... yes checking for set()... no checking for set in ncurses.h... no checking for setscrreg()... yes checking for ungetch()... yes checking for addnwstr()... yes checking for wattroff()... yes checking for wattron()... yes checking for wattrset()... yes checking for wbkgd()... yes checking for wbkgdset()... yes checking for wdeleteln()... yes checking for wgetnstr()... yes checking for wresize()... yes checking for wscrl()... yes checking for wsetscrreg()... yes checking for werase()... yes checking for redrawwin()... yes checking for waddnwstr()... yes checking for mvderwin()... yes checking for derwin()... yes checking for touchwin()... yes checking for untouchwin()... yes checking for wtouchln()... yes checking for is_linetouched()... yes checking for is_wintouched()... yes checking for def_prog_mode()... yes checking for reset_prog_mode()... yes checking for timeout()... yes checking for wtimeout()... yes checking for nodelay()... yes checking for init_color()... yes checking for wcolor_set()... yes checking for use_default_colors()... yes checking for assume_default_colors()... yes checking for newpad()... yes checking for unget_wch()... yes checking for get_wch()... yes checking for wget_wch()... yes checking for PDC_get_key_modifiers()... no checking for PDC_get_key_modifiers in ncurses.h... no checking for convertible type of chtype... unsigned int checking for _XOPEN_SOURCE_EXTENDED... yes checking for ESCDELAY in ncurses.h... yes checking for TABSIZE in ncurses.h... yes checking for COLORS in ncurses.h... yes checking for COLOR_PAIRS in ncurses.h... yes checking for function curses_version in ncurses.h... yes checking for variable curses_version in ncurses.h... no checking for ncursesw/menu.h... no checking for ncurses/menu.h... no checking for curses/menu.h... no checking for menu.h... yes checking for new_menu() in -lmenuw... yes checking for ncursesw/form.h... no checking for ncurses/form.h... no checking for curses/form.h... no checking for form.h... yes checking for new_form() in -lformw... yes checking for form_driver_w()... yes checking for sizeof(WINDOW) is available... yes checking for sizeof(MEVENT) is available... yes checking for sizeof(ITEM) is available... yes checking for sizeof(MENU) is available... yes checking for sizeof(FIELD) is available... yes checking for sizeof(FORM) is available... yes creating extconf.h creating Makefile current directory: /wrkdirs/usr/ports/devel/rubygem-curses/work/stage/usr/local/lib/ruby/gems/3.2/gems/curses-1.3.2/ext/curses make DESTDIR\= sitearchdir\=./.gem.20240121-24946-xhcixv sitelibdir\=./.gem.20240121-24946-xhcixv clean current directory: /wrkdirs/usr/ports/devel/rubygem-curses/work/stage/usr/local/lib/ruby/gems/3.2/gems/curses-1.3.2/ext/curses make DESTDIR\= sitearchdir\=./.gem.20240121-24946-xhcixv sitelibdir\=./.gem.20240121-24946-xhcixv compiling curses.c curses.c:4717:5: warning: incompatible function pointer types passing 'VALUE (void)' (aka 'unsigned long (void)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] rb_define_module_function(mCurses, "init_screen", curses_init_screen, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); \ ^ curses.c:4718:5: warning: incompatible function pointer types passing 'VALUE (void)' (aka 'unsigned long (void)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] rb_define_module_function(mCurses, "close_screen", curses_close_screen, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); \ ^ curses.c:4719:5: warning: incompatible function pointer types passing 'VALUE (void)' (aka 'unsigned long (void)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] rb_define_module_function(mCurses, "closed?", curses_closed, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); \ ^ curses.c:4720:5: warning: incompatible function pointer types passing 'VALUE (void)' (aka 'unsigned long (void)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] rb_define_module_function(mCurses, "stdscr", curses_stdscr, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); \ ^ curses.c:4725:5: warning: incompatible function pointer types passing 'VALUE (void)' (aka 'unsigned long (void)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] rb_define_module_function(mCurses, "clrtoeol", curses_clrtoeol, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); \ ^ curses.c:4752:5: warning: incompatible function pointer types passing 'VALUE (void)' (aka 'unsigned long (void)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] rb_define_module_function(mCurses, "lines", curses_lines, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); \ ^ curses.c:4753:5: warning: incompatible function pointer types passing 'VALUE (void)' (aka 'unsigned long (void)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') [-Wincompatible-function-pointer-types] rb_define_module_function(mCurses, "cols", curses_cols, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); \ ^ curses.c:4860:56: error: use of undeclared identifier 'rb_cData' cWindow = rb_define_class_under(mCurses, "Window", rb_cData); ^ curses.c:4944:52: error: use of undeclared identifier 'rb_cData' cItem = rb_define_class_under(mCurses, "Item", rb_cData); ^ curses.c:4953: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] rb_define_method(cItem, "opts", item_opts_m, 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); \ ^ curses.c:4955:52: error: use of undeclared identifier 'rb_cData' cMenu = rb_define_class_under(mCurses, "Menu", rb_cData); ^ curses.c:4974: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] rb_define_method(cMenu, "opts", menu_opts_m, 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); \ ^ curses.c:4978:54: error: use of undeclared identifier 'rb_cData' cField = rb_define_class_under(mCurses, "Field", rb_cData); ^ curses.c:5005:52: error: use of undeclared identifier 'rb_cData' cForm = rb_define_class_under(mCurses, "Form", rb_cData); ^ 9 warnings and 5 errors generated. *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/devel/rubygem-curses/work/stage/usr/local/lib/ruby/gems/3.2/gems/curses-1.3.2/ext/curses make failed, exit code 1 Gem files will remain installed in /wrkdirs/usr/ports/devel/rubygem-curses/work/stage/usr/local/lib/ruby/gems/3.2/gems/curses-1.3.2 for inspection. Results logged to /wrkdirs/usr/ports/devel/rubygem-curses/work/stage/usr/local/lib/ruby/gems/3.2/extensions/amd64-freebsd-14/3.2/curses-1.3.2/gem_make.out *** Error code 1 Stop. make: stopped in /usr/ports/devel/rubygem-curses =>> Cleaning up wrkdir ===> Cleaning for rubygem-curses-1.3.2 build of devel/rubygem-curses | rubygem-curses-1.3.2 ended at Sun Jan 21 08:07:43 UTC 2024 build time: 00:00:27 !!! build failure encountered !!!