Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rubygem-ncursesw.spec'], chrootPath='/var/lib/mock/f43-build-57112502-6548529/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2sg7xdi0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2sg7xdi0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f5ee623d1e734e108e014cad1def14c8', '-D', '/var/lib/mock/f43-build-57112502-6548529/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2sg7xdi0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rubygem-ncursesw.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1736294400 Wrote: /builddir/build/SRPMS/rubygem-ncursesw-1.4.11-4.fc43.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/rubygem-ncursesw.spec'], chrootPath='/var/lib/mock/f43-build-57112502-6548529/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2sg7xdi0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2sg7xdi0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e1db0845ab5a4311b9f8def957d75ff8', '-D', '/var/lib/mock/f43-build-57112502-6548529/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2sg7xdi0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/rubygem-ncursesw.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1736294400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.yVmNDe + umask 022 + cd /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build + test -d /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build + /usr/bin/rm -rf /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build + /usr/bin/mkdir -p /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build + /usr/bin/mkdir -p /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NEnBFw + umask 022 + cd /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build + cd /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build + rm -rf ncursesw-1.4.11 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ncursesw-1.4.11.gem Unpacked gem: '/builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11' + STATUS=0 + '[' 0 -ne 0 ']' + cd ncursesw-1.4.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IcXUgl + umask 022 + cd /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ncursesw-1.4.11 + gem build ../ncursesw-1.4.11.gemspec WARNING: expected RubyGems version 3.6.2, was 3.4.22 WARNING: License identifier 'LGPL-2.1' is deprecated. Use an identifier from https://spdx.org/licenses or 'Nonstandard' for a nonstandard license, or set it to nil if you don't want to specify a license. Did you mean 'LPPL-1.1', 'ZPL-2.1'? WARNING: make sure you specify the oldest ruby version constraint (like ">= 3.0") that you want your gem to support by setting the `required_ruby_version` gemspec attribute WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: ncursesw Version: 1.4.11 File: ncursesw-1.4.11.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc ncursesw-1.4.11.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11 Bin dir: /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/bin Gem home: /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems Plugins dir: /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/plugins /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/COPYING /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/Changes /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/README.md /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/THANKS /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/TODO /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/compat.h /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/examples/LICENSES_for_examples /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/examples/example.rb /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/examples/form.rb /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/examples/form2.rb /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/examples/form_get_wch.rb /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/examples/hello_ncurses.rb /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/examples/rain.rb /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/examples/read_line.rb /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/examples/tclock.rb /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/examples/test_scanw.rb /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/extconf.rb /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/form_wrap.c /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/form_wrap.h /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/lib/ncurses_sugar.rb /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/lib/ncursesw.rb /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/menu_wrap.c /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/menu_wrap.h /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/ncurses_wrap.c /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/ncurses_wrap.h /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/panel_wrap.c /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11/panel_wrap.h Building native extensions. This could take a while... current directory: /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11 ["/usr/bin/ruby", "-I/usr/share/rubygems", "extconf.rb"] checking for pkg-config... yes checking for unistd.h... yes checking for locale.h... yes checking for ncursesw/curses.h... yes checking for wmove() in -lncursesw... yes checking for newscr()... yes checking for TABSIZE()... yes checking for ESCDELAY()... yes checking for keybound()... yes checking for curses_version()... yes checking for tigetstr()... yes checking for getwin()... yes checking for putwin()... yes checking for ungetmouse()... yes checking for mousemask()... yes checking for wenclose()... yes checking for mouseinterval()... yes checking for wmouse_trafo()... yes checking for mcprint()... yes checking for has_key()... yes checking for delscreen()... yes checking for define_key()... yes checking for keyok()... yes checking for resizeterm()... yes checking for use_default_colors()... yes checking for use_extended_names()... yes checking for wresize()... yes checking for attr_on()... yes checking for attr_off()... yes checking for attr_set()... yes checking for chgat()... yes checking for color_set()... yes checking for filter()... yes checking for intrflush()... yes checking for mvchgat()... yes checking for mvhline()... yes checking for mvvline()... yes checking for mvwchgat()... yes checking for mvwhline()... yes checking for mvwvline()... yes checking for noqiflush()... yes checking for putp()... yes checking for qiflush()... yes checking for scr_dump()... yes checking for scr_init()... yes checking for scr_restore()... yes checking for scr_set()... yes checking for slk_attr_off()... yes checking for slk_attr_on()... yes checking for slk_attr()... yes checking for slk_attr_set()... yes checking for slk_color()... yes checking for tigetflag()... yes checking for tigetnum()... yes checking for use_env()... yes checking for vidattr()... yes checking for vid_attr()... yes checking for wattr_on()... yes checking for wattr_off()... yes checking for wattr_set()... yes checking for wchgat()... yes checking for wcolor_set()... yes checking for getattrs()... yes checking for ncursesw (wide char) functions... checking for wget_wch()... yes checking for add_wch()... yes checking for get_wch()... yes checking which debugging functions to wrap... checking for _tracef()... no checking for _tracedump()... no checking for _nc_tracebits()... no checking for _traceattr()... no checking for _traceattr2()... no checking for _tracechar()... no checking for _tracechtype()... no checking for _tracechtype2()... no checking for _tracemouse()... no checking for other functions that appeared after ncurses version 5.0... checking for assume_default_colors()... yes checking for attr_get()... yes checking for the panel library... checking for panel.h... yes checking for panel_hidden() in -lpanelw... yes checking for the form library... checking for form.h... yes checking for new_form() in -lformw... yes checking for form_driver_w() in -lformw... yes checking for the menu library... checking for menu.h... yes checking for new_menu() in -lmenu... yes checking for various ruby and standard functions.. checking for rb_thread_fd_select()... yes checking for clock_gettime()... yes checking for sys/time.h... yes creating Makefile current directory: /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11 ["make", "DESTDIR=", "sitearchdir=./.gem.20250209-55-6j7vk5", "sitelibdir=./.gem.20250209-55-6j7vk5", "clean"] rm -f rm -fr ncursesw_bin.so false form_wrap.o menu_wrap.o ncurses_wrap.o panel_wrap.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11 ["make", "DESTDIR=", "sitearchdir=./.gem.20250209-55-6j7vk5", "sitelibdir=./.gem.20250209-55-6j7vk5"] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LOCALE_H -DHAVE_NCURSESW_CURSES_H -DHAVE_NEWSCR -DHAVE_TABSIZE -DHAVE_ESCDELAY -DHAVE_KEYBOUND -DHAVE_CURSES_VERSION -DHAVE_TIGETSTR -DHAVE_GETWIN -DHAVE_PUTWIN -DHAVE_UNGETMOUSE -DHAVE_MOUSEMASK -DHAVE_WENCLOSE -DHAVE_MOUSEINTERVAL -DHAVE_WMOUSE_TRAFO -DHAVE_MCPRINT -DHAVE_HAS_KEY -DHAVE_DELSCREEN -DHAVE_DEFINE_KEY -DHAVE_KEYOK -DHAVE_RESIZETERM -DHAVE_USE_DEFAULT_COLORS -DHAVE_USE_EXTENDED_NAMES -DHAVE_WRESIZE -DHAVE_ATTR_ON -DHAVE_ATTR_OFF -DHAVE_ATTR_SET -DHAVE_CHGAT -DHAVE_COLOR_SET -DHAVE_FILTER -DHAVE_INTRFLUSH -DHAVE_MVCHGAT -DHAVE_MVHLINE -DHAVE_MVVLINE -DHAVE_MVWCHGAT -DHAVE_MVWHLINE -DHAVE_MVWVLINE -DHAVE_NOQIFLUSH -DHAVE_PUTP -DHAVE_QIFLUSH -DHAVE_SCR_DUMP -DHAVE_SCR_INIT -DHAVE_SCR_RESTORE -DHAVE_SCR_SET -DHAVE_SLK_ATTR_OFF -DHAVE_SLK_ATTR_ON -DHAVE_SLK_ATTR -DHAVE_SLK_ATTR_SET -DHAVE_SLK_COLOR -DHAVE_TIGETFLAG -DHAVE_TIGETNUM -DHAVE_USE_ENV -DHAVE_VIDATTR -DHAVE_VID_ATTR -DHAVE_WATTR_ON -DHAVE_WATTR_OFF -DHAVE_WATTR_SET -DHAVE_WCHGAT -DHAVE_WCOLOR_SET -DHAVE_GETATTRS -DHAVE_WGET_WCH -DHAVE_ADD_WCH -DHAVE_GET_WCH -DHAVE_ASSUME_DEFAULT_COLORS -DHAVE_ATTR_GET -DHAVE_PANEL_H -DHAVE_FORM_H -DHAVE_MENU_H -DHAVE_RB_THREAD_FD_SELECT -DHAVE_CLOCK_GETTIME -DHAVE_SYS_TIME_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -Wformat -Werror=format-security -Waddress -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DHAVE_FORM_DRIVER_W -DHAVE_RB_THREAD_FD_SELECT -DNCURSES_OPAQUE=0 -DHAVE_CLOCK_GETTIME -o form_wrap.o -c form_wrap.c form_wrap.c: In function ‘wrap_field’: form_wrap.c:264:17: warning: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData [-Wdeprecated-declarations] 264 | rb_field = Data_Wrap_Struct(cFIELD, 0, 0, field); | ^~~~~~~~ In file included from /usr/include/ruby/internal/core.h:27, from /usr/include/ruby/ruby.h:29, from /usr/include/ruby.h:38, from form_wrap.h:37, from form_wrap.c:35: /usr/include/ruby/internal/core/rdata.h:293:1: note: declared here 293 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ form_wrap.c: In function ‘get_field’: form_wrap.c:279:3: warning: ‘rb_data_object_get_warning’ is deprecated: by TypedData [-Wdeprecated-declarations] 279 | Data_Get_Struct(rb_field, FIELD, field); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ form_wrap.c: In function ‘wrap_fieldtype’: form_wrap.c:294:17: warning: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData [-Wdeprecated-declarations] 294 | rb_fieldtype = Data_Wrap_Struct(cFIELDTYPE, 0, 0, fieldtype); | ^~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:293:1: note: declared here 293 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ form_wrap.c: In function ‘get_fieldtype’: form_wrap.c:309:3: warning: ‘rb_data_object_get_warning’ is deprecated: by TypedData [-Wdeprecated-declarations] 309 | Data_Get_Struct(rb_fieldtype, FIELDTYPE, fieldtype); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ form_wrap.c: In function ‘wrap_form’: form_wrap.c:324:17: warning: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData [-Wdeprecated-declarations] 324 | rb_form = Data_Wrap_Struct(cFORM, 0, 0, form); | ^~~~~~~ /usr/include/ruby/internal/core/rdata.h:293:1: note: declared here 293 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ form_wrap.c: In function ‘get_form’: form_wrap.c:339:3: warning: ‘rb_data_object_get_warning’ is deprecated: by TypedData [-Wdeprecated-declarations] 339 | Data_Get_Struct(rb_form, FORM, form); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LOCALE_H -DHAVE_NCURSESW_CURSES_H -DHAVE_NEWSCR -DHAVE_TABSIZE -DHAVE_ESCDELAY -DHAVE_KEYBOUND -DHAVE_CURSES_VERSION -DHAVE_TIGETSTR -DHAVE_GETWIN -DHAVE_PUTWIN -DHAVE_UNGETMOUSE -DHAVE_MOUSEMASK -DHAVE_WENCLOSE -DHAVE_MOUSEINTERVAL -DHAVE_WMOUSE_TRAFO -DHAVE_MCPRINT -DHAVE_HAS_KEY -DHAVE_DELSCREEN -DHAVE_DEFINE_KEY -DHAVE_KEYOK -DHAVE_RESIZETERM -DHAVE_USE_DEFAULT_COLORS -DHAVE_USE_EXTENDED_NAMES -DHAVE_WRESIZE -DHAVE_ATTR_ON -DHAVE_ATTR_OFF -DHAVE_ATTR_SET -DHAVE_CHGAT -DHAVE_COLOR_SET -DHAVE_FILTER -DHAVE_INTRFLUSH -DHAVE_MVCHGAT -DHAVE_MVHLINE -DHAVE_MVVLINE -DHAVE_MVWCHGAT -DHAVE_MVWHLINE -DHAVE_MVWVLINE -DHAVE_NOQIFLUSH -DHAVE_PUTP -DHAVE_QIFLUSH -DHAVE_SCR_DUMP -DHAVE_SCR_INIT -DHAVE_SCR_RESTORE -DHAVE_SCR_SET -DHAVE_SLK_ATTR_OFF -DHAVE_SLK_ATTR_ON -DHAVE_SLK_ATTR -DHAVE_SLK_ATTR_SET -DHAVE_SLK_COLOR -DHAVE_TIGETFLAG -DHAVE_TIGETNUM -DHAVE_USE_ENV -DHAVE_VIDATTR -DHAVE_VID_ATTR -DHAVE_WATTR_ON -DHAVE_WATTR_OFF -DHAVE_WATTR_SET -DHAVE_WCHGAT -DHAVE_WCOLOR_SET -DHAVE_GETATTRS -DHAVE_WGET_WCH -DHAVE_ADD_WCH -DHAVE_GET_WCH -DHAVE_ASSUME_DEFAULT_COLORS -DHAVE_ATTR_GET -DHAVE_PANEL_H -DHAVE_FORM_H -DHAVE_MENU_H -DHAVE_RB_THREAD_FD_SELECT -DHAVE_CLOCK_GETTIME -DHAVE_SYS_TIME_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -Wformat -Werror=format-security -Waddress -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DHAVE_FORM_DRIVER_W -DHAVE_RB_THREAD_FD_SELECT -DNCURSES_OPAQUE=0 -DHAVE_CLOCK_GETTIME -o menu_wrap.o -c menu_wrap.c menu_wrap.c: In function ‘wrap_item’: menu_wrap.c:153:17: warning: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData [-Wdeprecated-declarations] 153 | rb_item = Data_Wrap_Struct(cITEM, 0, 0, item); | ^~~~~~~ In file included from /usr/include/ruby/internal/core.h:27, from /usr/include/ruby/ruby.h:29, from /usr/include/ruby.h:38, from menu_wrap.h:34, from menu_wrap.c:31: /usr/include/ruby/internal/core/rdata.h:293:1: note: declared here 293 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ menu_wrap.c: In function ‘get_item’: menu_wrap.c:170:3: warning: ‘rb_data_object_get_warning’ is deprecated: by TypedData [-Wdeprecated-declarations] 170 | Data_Get_Struct(rb_item, ITEM, item); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ menu_wrap.c: In function ‘wrap_menu’: menu_wrap.c:188:17: warning: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData [-Wdeprecated-declarations] 188 | rb_menu = Data_Wrap_Struct(cMENU, 0, 0, menu); | ^~~~~~~ /usr/include/ruby/internal/core/rdata.h:293:1: note: declared here 293 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ menu_wrap.c: In function ‘get_menu’: menu_wrap.c:205:3: warning: ‘rb_data_object_get_warning’ is deprecated: by TypedData [-Wdeprecated-declarations] 205 | Data_Get_Struct(rb_menu, MENU, menu); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LOCALE_H -DHAVE_NCURSESW_CURSES_H -DHAVE_NEWSCR -DHAVE_TABSIZE -DHAVE_ESCDELAY -DHAVE_KEYBOUND -DHAVE_CURSES_VERSION -DHAVE_TIGETSTR -DHAVE_GETWIN -DHAVE_PUTWIN -DHAVE_UNGETMOUSE -DHAVE_MOUSEMASK -DHAVE_WENCLOSE -DHAVE_MOUSEINTERVAL -DHAVE_WMOUSE_TRAFO -DHAVE_MCPRINT -DHAVE_HAS_KEY -DHAVE_DELSCREEN -DHAVE_DEFINE_KEY -DHAVE_KEYOK -DHAVE_RESIZETERM -DHAVE_USE_DEFAULT_COLORS -DHAVE_USE_EXTENDED_NAMES -DHAVE_WRESIZE -DHAVE_ATTR_ON -DHAVE_ATTR_OFF -DHAVE_ATTR_SET -DHAVE_CHGAT -DHAVE_COLOR_SET -DHAVE_FILTER -DHAVE_INTRFLUSH -DHAVE_MVCHGAT -DHAVE_MVHLINE -DHAVE_MVVLINE -DHAVE_MVWCHGAT -DHAVE_MVWHLINE -DHAVE_MVWVLINE -DHAVE_NOQIFLUSH -DHAVE_PUTP -DHAVE_QIFLUSH -DHAVE_SCR_DUMP -DHAVE_SCR_INIT -DHAVE_SCR_RESTORE -DHAVE_SCR_SET -DHAVE_SLK_ATTR_OFF -DHAVE_SLK_ATTR_ON -DHAVE_SLK_ATTR -DHAVE_SLK_ATTR_SET -DHAVE_SLK_COLOR -DHAVE_TIGETFLAG -DHAVE_TIGETNUM -DHAVE_USE_ENV -DHAVE_VIDATTR -DHAVE_VID_ATTR -DHAVE_WATTR_ON -DHAVE_WATTR_OFF -DHAVE_WATTR_SET -DHAVE_WCHGAT -DHAVE_WCOLOR_SET -DHAVE_GETATTRS -DHAVE_WGET_WCH -DHAVE_ADD_WCH -DHAVE_GET_WCH -DHAVE_ASSUME_DEFAULT_COLORS -DHAVE_ATTR_GET -DHAVE_PANEL_H -DHAVE_FORM_H -DHAVE_MENU_H -DHAVE_RB_THREAD_FD_SELECT -DHAVE_CLOCK_GETTIME -DHAVE_SYS_TIME_H -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -Wformat -Werror=format-security -Waddress -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DHAVE_FORM_DRIVER_W -DHAVE_RB_THREAD_FD_SELECT -DNCURSES_OPAQUE=0 -DHAVE_CLOCK_GETTIME -o ncurses_wrap.o -c ncurses_wrap.c In file included from /usr/include/ruby/ruby.h:27, from /usr/include/ruby.h:38, from ncurses_wrap.h:91, from ncurses_wrap.c:68: ncurses_wrap.c: In function ‘init_globals_1’: ncurses_wrap.h:101:30: error: passing argument 3 of ‘rb_define_singleton_method_00’ from incompatible pointer type [-Wincompatible-pointer-types] 101 | &rbncurs_ ## name, \ | ^ | | | VALUE (*)(void) {aka long unsigned int (*)(void)} ncurses_wrap.c:159:5: note: in expansion of macro ‘NCFUNC’ 159 | NCFUNC(COLORS, 0); | ^~~~~~ /usr/include/ruby/internal/anyargs.h:271:1: note: expected ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} but argument is of type ‘VALUE (*)(void)’ {aka ‘long unsigned int (*)(void)’} 271 | RBIMPL_ANYARGS_DECL(rb_define_singleton_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ ncurses_wrap.c:149:14: note: ‘rbncurs_COLORS’ declared here 149 | static VALUE rbncurs_COLORS() | ^~~~~~~~~~~~~~ ncurses_wrap.h:101:30: error: passing argument 3 of ‘rb_define_singleton_method_00’ from incompatible pointer type [-Wincompatible-pointer-types] 101 | &rbncurs_ ## name, \ | ^ | | | VALUE (*)(void) {aka long unsigned int (*)(void)} ncurses_wrap.c:160:5: note: in expansion of macro ‘NCFUNC’ 160 | NCFUNC(COLOR_PAIRS, 0); | ^~~~~~ /usr/include/ruby/internal/anyargs.h:271:1: note: expected ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} but argument is of type ‘VALUE (*)(void)’ {aka ‘long unsigned int (*)(void)’} 271 | RBIMPL_ANYARGS_DECL(rb_define_singleton_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ ncurses_wrap.c:151:14: note: ‘rbncurs_COLOR_PAIRS’ declared here 151 | static VALUE rbncurs_COLOR_PAIRS() | ^~~~~~~~~~~~~~~~~~~ ncurses_wrap.c: In function ‘wrap_window’: ncurses_wrap.c:234:13: warning: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData [-Wdeprecated-declarations] 234 | rb_window = Data_Wrap_Struct(cWINDOW, 0, 0, window); | ^~~~~~~~~ In file included from /usr/include/ruby/internal/core.h:27, from /usr/include/ruby/ruby.h:29: /usr/include/ruby/internal/core/rdata.h:293:1: note: declared here 293 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ncurses_wrap.c: In function ‘get_window’: ncurses_wrap.c:249:5: warning: ‘rb_data_object_get_warning’ is deprecated: by TypedData [-Wdeprecated-declarations] 249 | Data_Get_Struct(rb_window, WINDOW, window); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ncurses_wrap.c: In function ‘wrap_screen’: ncurses_wrap.c:269:13: warning: ‘rb_data_object_wrap_warning’ is deprecated: by TypedData [-Wdeprecated-declarations] 269 | rb_screen = Data_Wrap_Struct(cSCREEN, 0, 0, screen); | ^~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:293:1: note: declared here 293 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ncurses_wrap.c: In function ‘get_screen’: ncurses_wrap.c:284:5: warning: ‘rb_data_object_get_warning’ is deprecated: by TypedData [-Wdeprecated-declarations] 284 | Data_Get_Struct(rb_screen, SCREEN, screen); | ^~~~~~~~~~~~~~~ /usr/include/ruby/internal/core/rdata.h:325:1: note: declared here 325 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ncurses_wrap.c: In function ‘init_globals_2’: ncurses_wrap.c:441:32: error: passing argument 3 of ‘rb_define_module_function_00’ from incompatible pointer type [-Wincompatible-pointer-types] 441 | (&get_stdscr), 0); | ^ | | | VALUE (*)(void) {aka long unsigned int (*)(void)} /usr/include/ruby/internal/anyargs.h:274:1: note: expected ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} but argument is of type ‘VALUE (*)(void)’ {aka ‘long unsigned int (*)(void)’} 274 | RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ ncurses_wrap.c:373:14: note: ‘get_stdscr’ declared here 373 | static VALUE get_stdscr() | ^~~~~~~~~~ ncurses_wrap.c:443:32: error: passing argument 3 of ‘rb_define_module_function_00’ from incompatible pointer type [-Wincompatible-pointer-types] 443 | (&get_curscr), 0); | ^ | | | VALUE (*)(void) {aka long unsigned int (*)(void)} /usr/include/ruby/internal/anyargs.h:274:1: note: expected ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} but argument is of type ‘VALUE (*)(void)’ {aka ‘long unsigned int (*)(void)’} 274 | RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ ncurses_wrap.c:382:14: note: ‘get_curscr’ declared here 382 | static VALUE get_curscr() | ^~~~~~~~~~ ncurses_wrap.c:446:32: error: passing argument 3 of ‘rb_define_module_function_00’ from incompatible pointer type [-Wincompatible-pointer-types] ERROR: Error installing ncursesw-1.4.11.gem: ERROR: Failed to build gem native extension. current directory: /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11 /usr/bin/ruby -I/usr/share/rubygems extconf.rb current directory: /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11 make DESTDIR\= sitearchdir\=./.gem.20250209-55-6j7vk5 sitelibdir\=./.gem.20250209-55-6j7vk5 clean current directory: /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11 make DESTDIR\= sitearchdir\=./.gem.20250209-55-6j7vk5 sitelibdir\=./.gem.20250209-55-6j7vk5 Building has failed. See above output for more information on the failure. make failed, exit code 2 Gem files will remain installed in /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/share/gems/gems/ncursesw-1.4.11 for inspection. Results logged to /builddir/build/BUILD/rubygem-ncursesw-1.4.11-build/ncursesw-1.4.11/usr/lib64/gems/ruby/ncursesw-1.4.11/gem_make.out 446 | (&get_newscr), 0); | ^ | | | VALUE (*)(void) {aka long unsigned int (*)(void)} /usr/include/ruby/internal/anyargs.h:274:1: note: expected ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} but argument is of type ‘VALUE (*)(void)’ {aka ‘long unsigned int (*)(void)’} 274 | RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ ncurses_wrap.c:392:14: note: ‘get_newscr’ declared here 392 | static VALUE get_newscr() | ^~~~~~~~~~ ncurses_wrap.c:449:32: error: passing argument 3 of ‘rb_define_module_function_00’ from incompatible pointer type [-Wincompatible-pointer-types] 449 | (&get_LINES), 0); | ^ | | | VALUE (*)(void) {aka long unsigned int (*)(void)} /usr/include/ruby/internal/anyargs.h:274:1: note: expected ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} but argument is of type ‘VALUE (*)(void)’ {aka ‘long unsigned int (*)(void)’} 274 | RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ ncurses_wrap.c:402:14: note: ‘get_LINES’ declared here 402 | static VALUE get_LINES() {return INT2NUM(LINES);} | ^~~~~~~~~ ncurses_wrap.c:451:32: error: passing argument 3 of ‘rb_define_module_function_00’ from incompatible pointer type [-Wincompatible-pointer-types] 451 | (&get_COLS), 0); | ^ | | | VALUE (*)(void) {aka long unsigned int (*)(void)} /usr/include/ruby/internal/anyargs.h:274:1: note: expected ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} but argument is of type ‘VALUE (*)(void)’ {aka ‘long unsigned int (*)(void)’} 274 | RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ ncurses_wrap.c:403:14: note: ‘get_COLS’ declared here 403 | static VALUE get_COLS() {return INT2NUM(COLS);} | ^~~~~~~~ ncurses_wrap.c:454:32: error: passing argument 3 of ‘rb_define_module_function_00’ from incompatible pointer type [-Wincompatible-pointer-types] 454 | (&get_TABSIZE),0); | ^ | | | VALUE (*)(void) {aka long unsigned int (*)(void)} /usr/include/ruby/internal/anyargs.h:274:1: note: expected ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} but argument is of type ‘VALUE (*)(void)’ {aka ‘long unsigned int (*)(void)’} 274 | RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ ncurses_wrap.c:405:14: note: ‘get_TABSIZE’ declared here 405 | static VALUE get_TABSIZE() {return INT2NUM(TABSIZE);} | ^~~~~~~~~~~ ncurses_wrap.c:458:32: error: passing argument 3 of ‘rb_define_module_function_00’ from incompatible pointer type [-Wincompatible-pointer-types] 458 | (&get_ESCDELAY),0); | ^ | | | VALUE (*)(void) {aka long unsigned int (*)(void)} /usr/include/ruby/internal/anyargs.h:274:1: note: expected ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} but argument is of type ‘VALUE (*)(void)’ {aka ‘long unsigned int (*)(void)’} 274 | RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ ncurses_wrap.c:410:14: note: ‘get_ESCDELAY’ declared here 410 | static VALUE get_ESCDELAY(){return INT2NUM(ESCDELAY);} | ^~~~~~~~~~~~ ncurses_wrap.c:465:32: error: passing argument 3 of ‘rb_define_module_function_00’ from incompatible pointer type [-Wincompatible-pointer-types] 465 | (&get_RESIZEDELAY),0); | ^ | | | VALUE (*)(void) {aka long unsigned int (*)(void)} /usr/include/ruby/internal/anyargs.h:274:1: note: expected ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} but argument is of type ‘VALUE (*)(void)’ {aka ‘long unsigned int (*)(void)’} 274 | RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ ncurses_wrap.c:421:14: note: ‘get_RESIZEDELAY’ declared here 421 | static VALUE get_RESIZEDELAY(){return rb_iv_get(mNcurses, "@resize_delay");} | ^~~~~~~~~~~~~~~ ncurses_wrap.c: In function ‘init_functions_1’: ncurses_wrap.h:101:30: error: passing argument 3 of ‘rb_define_singleton_method_00’ from incompatible pointer type [-Wincompatible-pointer-types] 101 | &rbncurs_ ## name, \ | ^ | | | VALUE (*)(void) {aka long unsigned int (*)(void)} ncurses_wrap.c:529:5: note: in expansion of macro ‘NCFUNC’ 529 | NCFUNC(curses_version, 0); | ^~~~~~ /usr/include/ruby/internal/anyargs.h:271:1: note: expected ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} but argument is of type ‘VALUE (*)(void)’ {aka ‘long unsigned int (*)(void)’} 271 | RBIMPL_ANYARGS_DECL(rb_define_singleton_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ ncurses_wrap.c:482:14: note: ‘rbncurs_curses_version’ declared here 482 | static VALUE rbncurs_curses_version(){return rb_str_new2(curses_version());} | ^~~~~~~~~~~~~~~~~~~~~~ ncurses_wrap.h:101:30: error: passing argument 3 of ‘rb_define_singleton_method_00’ from incompatible pointer type [-Wincompatible-pointer-types] 101 | &rbncurs_ ## name, \ | ^ | | | VALUE (*)(void) {aka long unsigned int (*)(void)} ncurses_wrap.c:541:5: note: in expansion of macro ‘NCFUNC’ 541 | NCFUNC(use_default_colors, 0); | ^~~~~~ /usr/include/ruby/internal/anyargs.h:271:1: note: expected ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} but argument is of type ‘VALUE (*)(void)’ {aka ‘long unsigned int (*)(void)’} 271 | RBIMPL_ANYARGS_DECL(rb_define_singleton_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ ncurses_wrap.c:506:14: note: ‘rbncurs_use_default_colors’ declared here 506 | static VALUE rbncurs_use_default_colors() | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:262: ncurses_wrap.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.IcXUgl (%build) Bad exit status from /var/tmp/rpm-tmp.IcXUgl (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M e1db0845ab5a4311b9f8def957d75ff8 -D /var/lib/mock/f43-build-57112502-6548529/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.2sg7xdi0:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/rubygem-ncursesw.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M e1db0845ab5a4311b9f8def957d75ff8 -D /var/lib/mock/f43-build-57112502-6548529/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.2sg7xdi0:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/rubygem-ncursesw.spec'