From nobody Mon Aug 21 17:45:59 2023 X-Original-To: pkg-fallout@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RV0JS22nxz4r66l for ; Mon, 21 Aug 2023 17:46:00 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RV0JR5tnLz3Zxr for ; Mon, 21 Aug 2023 17:45:59 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692639959; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=Oc+40gpNfiBAp3T6OcU2qwGLb3/AF/8pvZwY5lhvYvQ=; b=lqduZZIF14F38XLwmOajDjRmGfalbPCS3JDUGhgpgbdWxGql1Hzpp4iB951AlxFleAuaGS axXCu+6AYGtuIRHwNYyw8rtWvgIWCmrfxSBTmS9b2ESKqVgFD6YIANON/TkfMowT1qFkSn 8FJeuXHXe7V0EgP1+/4bjE95XWRVYhYuYEvPU3jr1ylYdTg+r/yB3k9/xRzMThvLV+5TPg fFo88/FpIQql/9FSEw+C3p1Q/U4r2Wl7+9RqpY2JhkuJ9OcBtvg/yMbeqzhvZeJOLYWB1Q fjKMXA/nfmZW+VPu5OeoTugc8Qv9wFFr+69526IB9v5AMtYAg+qjlONsZEDHeA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692639959; a=rsa-sha256; cv=none; b=Cx5zlJwczUgxqn0W/pAfNf+8VVksa8+Lb1KDkSVwIk+EIzI63cE+L1pp4RvM5OJzVbJW6N PwJvIzdeovCLzEWz8X6CZLrR9tAajm+jNXqtlivIeJAgm1xRqsG4rEr9Q94X7CiKN8KwbN mTBQy1McmidTTeHJ/gFJjfosk7QMnIpO7FlrK/aZRmd52/60MSfcnyGlb3is5KSTQNBYqr y6JP1QYGR1hiXJa00T2W9m38PcBvj+eOXFX5X7wjqdF42LMkPpbap4/pzPWr4koynJXKvn maL9ifxv3xlQS+T15pjL8IhLg0FgphnLtBYy3kT8HM9WHRzZMAa3OCp1ALuJww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from foul2.nyi.freebsd.org (foul2.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RV0JR4wXqzVtF for ; Mon, 21 Aug 2023 17:45:59 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from foul2.nyi.freebsd.org (localhost [127.0.0.1]) by foul2.nyi.freebsd.org (8.17.1/8.17.1) with ESMTP id 37LHjxqk061976 for ; Mon, 21 Aug 2023 17:45:59 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by foul2.nyi.freebsd.org (8.17.1/8.17.1/Submit) id 37LHjxK7061975; Mon, 21 Aug 2023 17:45:59 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Mon, 21 Aug 2023 17:45:59 GMT From: pkg-fallout@FreeBSD.org Message-Id: <202308211745.37LHjxK7061975@foul2.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - main-powerpc64le-default][devel/rubygem-curses] Failed for rubygem-curses-1.3.2 in stage List-Id: Fallout logs from package building List-Archive: https://lists.freebsd.org/archives/freebsd-pkg-fallout List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg-fallout@freebsd.org You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: freebsd@jonathanprice.org Log URL: https://pkg-status.freebsd.org/foul2/data/main-powerpc64le-default/pa9d219203e83_se495600ce3/logs/rubygem-curses-1.3.2.log Build URL: https://pkg-status.freebsd.org/foul2/build.html?mastername=main-powerpc64le-default&build=pa9d219203e83_se495600ce3 Log: =>> Building devel/rubygem-curses build started at Mon Aug 21 16:56:56 UTC 2023 port directory: /usr/ports/devel/rubygem-curses package name: rubygem-curses-1.3.2 building for: FreeBSD main-powerpc64le-default-job-03 14.0-CURRENT FreeBSD 14.0-CURRENT 1400092 powerpc maintained by: freebsd@jonathanprice.org Makefile ident: Poudriere version: 3.2.8-23-ga7f8d188 Host OSVERSION: 1400088 Jail OSVERSION: 1400092 Job Id: 03 !!! Jail is newer than host. (Jail: 1400092, Host: 1400088) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh OSVERSION=1400092 UNAME_v=FreeBSD 14.0-CURRENT 1400092 UNAME_r=14.0-CURRENT 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 LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-23-ga7f8d188 MASTERMNT=/usr/local/poudriere/data/.m/main-powerpc64le-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/main-powerpc64le-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=main-powerpc64le-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/main-powerpc64le-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- freebsd@jonathanprice.org --End MAINTAINER-- --CONFIGURE_ARGS-- --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 0 644" 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.1" RUBY_ARCHLIBDIR="lib/ruby/3.1/powerpc64le-freebsd14" RUBY_SITELIBDIR="lib/ruby/site_ruby/3.1" RUBY_SITEARCHLIBDIR="lib/ruby/site_ruby/3.1/powerpc64le-freebsd14" RUBY_VENDORLIBDIR="lib/ruby/vendor_ruby/3.1" RUBY_VENDORARCHLIBDIR="lib/ruby/vendor_ruby/3.1/powerpc64le-freebsd14" RUBY_MODDOCDIR="share/doc/ruby31/curses" RUBY_MODEXAMPLESDIR="share/examples/ruby31/curses" RUBY_DOCDIR="share/doc/ruby31" RUBY_EXAMPLESDIR="share/examples/ruby31" RUBY_RIDIR="share/ri/3.1/system" RUBY_SITERIDIR="share/ri/3.1/site" RUBY_VERSION="3.1.4" RUBY_VER="3.1" RUBY_SHLIBVER="31" RUBY_ARCH="powerpc64le-freebsd14" RUBY_SUFFIX="31" RUBY_DEFAULT_SUFFIX="31" PORTVERSION="1.3.2" REV="" GEMS_BASE_DIR="lib/ruby/gems/3.1" GEMS_DIR="lib/ruby/gems/3.1/gems" DOC_DIR="lib/ruby/gems/3.1/doc" CACHE_DIR="lib/ruby/gems/3.1/cache" SPEC_DIR="lib/ruby/gems/3.1/specifications" EXT_DIR="lib/ruby/gems/3.1/extensions" PLUGINS_DIR="lib/ruby/gems/3.1/plugins" GEM_NAME="curses-1.3.2" GEM_L IB_DIR="lib/ruby/gems/3.1/gems/curses-1.3.2" GEM_DOC_DIR="lib/ruby/gems/3.1/doc/curses-1.3.2" GEM_SPEC="lib/ruby/gems/3.1/specifications/curses-1.3.2.gemspec" GEM_CACHE="lib/ruby/gems/3.1/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 PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### /usr/local/etc/poudriere.d/make.conf #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: powerpc64le-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: powerpc64le-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_53255a77=yes CC_OUTPUT_921dbbb2_911cfe02=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes CC_OUTPUT_921dbbb2_af59ad06=yes CC_OUTPUT_921dbbb2_a15f3fcf=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: powerpc64le-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=powerpc64le OPSYS=FreeBSD _OSRELEASE=14.0-CURRENT OSREL=14.0 OSVERSION=1400092 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 1024 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-- =================================================== ===> License RUBY BSD2CLAUSE accepted by the user =========================================================================== =================================================== ===> rubygem-curses-1.3.2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.1_1.pkg [main-powerpc64le-default-job-03] Installing pkg-1.20.1_1... [main-powerpc64le-default-job-03] Extracting pkg-1.20.1_1: .......... done ===> rubygem-curses-1.3.2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of rubygem-curses-1.3.2 =========================================================================== =================================================== =========================================================================== =================================================== ===> License RUBY BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by rubygem-curses-1.3.2 for building =========================================================================== =================================================== ===> 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. =========================================================================== =================================================== ===> rubygem-curses-1.3.2 depends on file: /usr/local/bin/ruby31 - not found ===> Installing existing package /packages/All/ruby-3.1.4_1,1.pkg [main-powerpc64le-default-job-03] Installing ruby-3.1.4_1,1... [main-powerpc64le-default-job-03] `-- Installing libedit-3.1.20221030,1... [main-powerpc64le-default-job-03] `-- Extracting libedit-3.1.20221030,1: .......... done [main-powerpc64le-default-job-03] `-- Installing libffi-3.4.4... [main-powerpc64le-default-job-03] | `-- Installing indexinfo-0.3.1... [main-powerpc64le-default-job-03] | `-- Extracting indexinfo-0.3.1: .... done [main-powerpc64le-default-job-03] `-- Extracting libffi-3.4.4: .......... done [main-powerpc64le-default-job-03] `-- Installing libunwind-20211201_2... [main-powerpc64le-default-job-03] `-- Extracting libunwind-20211201_2: .......... done [main-powerpc64le-default-job-03] `-- Installing libyaml-0.2.5... [main-powerpc64le-default-job-03] `-- Extracting libyaml-0.2.5: ......... done [main-powerpc64le-default-job-03] Extracting ruby-3.1.4_1,1: .......... done ===== Message from ruby-3.1.4_1,1: -- Some of the standard commands and libraries are provided as separate 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.1/gems/curses-1.3.2/ext/curses make DESTDIR\= sitearchdir\=./.gem.20230821-59325-t206an sitelibdir\=./.gem.20230821-59325-t206an clean current directory: /wrkdirs/usr/ports/devel/rubygem-curses/work/stage/usr/local/lib/ruby/gems/3.1/gems/curses-1.3.2/ext/curses make DESTDIR\= sitearchdir\=./.gem.20230821-59325-t206an sitelibdir\=./.gem.20230821-59325-t206an compiling curses.c curses.c:3038:1: warning: function 'no_item' could be declared with attribute 'noreturn' [-Wmissing-noreturn] { ^ curses.c:3236:1: warning: function 'no_menu' could be declared with attribute 'noreturn' [-Wmissing-noreturn] { ^ curses.c:4717:5: error: 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.1/ruby/internal/anyargs.h:337: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.1/ruby/internal/anyargs.h:273:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) ^ /usr/local/include/ruby-3.1/ruby/internal/anyargs.h:254: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: error: 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.1/ruby/internal/anyargs.h:337: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.1/ruby/internal/anyargs.h:273:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) ^ /usr/local/include/ruby-3.1/ruby/internal/anyargs.h:254: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: error: 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.1/ruby/internal/anyargs.h:337: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.1/ruby/internal/anyargs.h:273:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) ^ /usr/local/include/ruby-3.1/ruby/internal/anyargs.h:254: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: error: 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.1/ruby/internal/anyargs.h:337: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.1/ruby/internal/anyargs.h:273:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) ^ /usr/local/include/ruby-3.1/ruby/internal/anyargs.h:254: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: error: 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.1/ruby/internal/anyargs.h:337: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.1/ruby/internal/anyargs.h:273:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) ^ /usr/local/include/ruby-3.1/ruby/internal/anyargs.h:254: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: error: 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.1/ruby/internal/anyargs.h:337: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.1/ruby/internal/anyargs.h:273:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) ^ /usr/local/include/ruby-3.1/ruby/internal/anyargs.h:254: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: error: 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.1/ruby/internal/anyargs.h:337: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.1/ruby/internal/anyargs.h:273:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) ^ /usr/local/include/ruby-3.1/ruby/internal/anyargs.h:254: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: warning: 'rb_cData' is deprecated: by: rb_cObject. Will be removed in 3.1. [-Wdeprecated-declarations] cWindow = rb_define_class_under(mCurses, "Window", rb_cData); ^ /usr/local/include/ruby-3.1/ruby/internal/core/rdata.h:394:18: note: expanded from macro 'rb_cData' #define rb_cData rb_cData() ^ /usr/local/include/ruby-3.1/ruby/internal/core/rdata.h:372:1: note: 'rb_cData' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("by: rb_cObject. Will be removed in 3.1.")) ^ /usr/local/include/ruby-3.1/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ curses.c:4944:52: warning: 'rb_cData' is deprecated: by: rb_cObject. Will be removed in 3.1. [-Wdeprecated-declarations] cItem = rb_define_class_under(mCurses, "Item", rb_cData); ^ /usr/local/include/ruby-3.1/ruby/internal/core/rdata.h:394:18: note: expanded from macro 'rb_cData' #define rb_cData rb_cData() ^ /usr/local/include/ruby-3.1/ruby/internal/core/rdata.h:372:1: note: 'rb_cData' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("by: rb_cObject. Will be removed in 3.1.")) ^ /usr/local/include/ruby-3.1/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ curses.c:4953:5: error: 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.1/ruby/internal/anyargs.h:287: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.1/ruby/internal/anyargs.h:276:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) ^ /usr/local/include/ruby-3.1/ruby/internal/anyargs.h:254: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: warning: 'rb_cData' is deprecated: by: rb_cObject. Will be removed in 3.1. [-Wdeprecated-declarations] cMenu = rb_define_class_under(mCurses, "Menu", rb_cData); ^ /usr/local/include/ruby-3.1/ruby/internal/core/rdata.h:394:18: note: expanded from macro 'rb_cData' #define rb_cData rb_cData() ^ /usr/local/include/ruby-3.1/ruby/internal/core/rdata.h:372:1: note: 'rb_cData' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("by: rb_cObject. Will be removed in 3.1.")) ^ /usr/local/include/ruby-3.1/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ curses.c:4974:5: error: 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.1/ruby/internal/anyargs.h:287: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.1/ruby/internal/anyargs.h:276:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) ^ /usr/local/include/ruby-3.1/ruby/internal/anyargs.h:254: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: warning: 'rb_cData' is deprecated: by: rb_cObject. Will be removed in 3.1. [-Wdeprecated-declarations] cField = rb_define_class_under(mCurses, "Field", rb_cData); ^ /usr/local/include/ruby-3.1/ruby/internal/core/rdata.h:394:18: note: expanded from macro 'rb_cData' #define rb_cData rb_cData() ^ /usr/local/include/ruby-3.1/ruby/internal/core/rdata.h:372:1: note: 'rb_cData' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("by: rb_cObject. Will be removed in 3.1.")) ^ /usr/local/include/ruby-3.1/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ curses.c:5005:52: warning: 'rb_cData' is deprecated: by: rb_cObject. Will be removed in 3.1. [-Wdeprecated-declarations] cForm = rb_define_class_under(mCurses, "Form", rb_cData); ^ /usr/local/include/ruby-3.1/ruby/internal/core/rdata.h:394:18: note: expanded from macro 'rb_cData' #define rb_cData rb_cData() ^ /usr/local/include/ruby-3.1/ruby/internal/core/rdata.h:372:1: note: 'rb_cData' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("by: rb_cObject. Will be removed in 3.1.")) ^ /usr/local/include/ruby-3.1/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ 7 warnings and 9 errors generated. *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/devel/rubygem-curses/work/stage/usr/local/lib/ruby/gems/3.1/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.1/gems/curses-1.3.2 for inspection. Results logged to /wrkdirs/usr/ports/devel/rubygem-curses/work/stage/usr/local/lib/ruby/gems/3.1/extensions/powerpc64le-freebsd-14/3.1/curses-1.3.2/gem_make.out *** Error code 1 Stop. make: stopped in /usr/ports/devel/rubygem-curses