Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/rubygem-ncursesw.spec'], chrootPath='/var/lib/mock/f41-build-50498676-6045168/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'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1ng4x_co:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1ng4x_co:/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', 'b24a17278c744841ad59901b403c9410', '-D', '/var/lib/mock/f41-build-50498676-6045168/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1ng4x_co:/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 ppc64le --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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1704240000 Wrote: /builddir/build/SRPMS/rubygem-ncursesw-1.4.10-12.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/rubygem-ncursesw.spec'], chrootPath='/var/lib/mock/f41-build-50498676-6045168/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'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1ng4x_co:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1ng4x_co:/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', '2fd1b4ed5db54ad7b198ba9030f68221', '-D', '/var/lib/mock/f41-build-50498676-6045168/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1ng4x_co:/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 ppc64le --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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1704240000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xzo2xk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ncursesw-1.4.10 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ncursesw-1.4.10.gem Unpacked gem: '/builddir/build/BUILD/ncursesw-1.4.10' + STATUS=0 + '[' 0 -ne 0 ']' + cd ncursesw-1.4.10 + rm -rf /builddir/build/BUILD/ncursesw-1.4.10-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/ncursesw-1.4.10-SPECPARTS + /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.FnI8lm + umask 022 + cd /builddir/build/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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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-errors -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.10 + gem build ../ncursesw-1.4.10.gemspec 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.10 File: ncursesw-1.4.10.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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/ncursesw-1.4.10 Bin dir: /builddir/build/BUILD/ncursesw-1.4.10/usr/bin Gem home: /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems Plugins dir: /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/plugins /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/COPYING /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/Changes /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/README.md /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/THANKS /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/TODO /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/compat.h /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/examples/LICENSES_for_examples /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/examples/example.rb /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/examples/form.rb /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/examples/form2.rb /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/examples/form_get_wch.rb /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/examples/hello_ncurses.rb /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/examples/rain.rb /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/examples/read_line.rb /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/examples/tclock.rb /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/examples/test_scanw.rb /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/extconf.rb /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/form_wrap.c /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/form_wrap.h /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/lib/ncurses_sugar.rb /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/lib/ncursesw.rb /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/menu_wrap.c /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/menu_wrap.h /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/ncurses_wrap.c /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/ncurses_wrap.h /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/panel_wrap.c /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10/panel_wrap.h Building native extensions. This could take a while... current directory: /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10 ["/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/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10 ["make", "DESTDIR=", "sitearchdir=./.gem.20240424-43-h5e7i0", "sitelibdir=./.gem.20240424-43-h5e7i0", "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/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10 ["make", "DESTDIR=", "sitearchdir=./.gem.20240424-43-h5e7i0", "sitelibdir=./.gem.20240424-43-h5e7i0"] ERROR: Error installing ncursesw-1.4.10.gem: ERROR: Failed to build gem native extension. current directory: /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10 /usr/bin/ruby -I/usr/share/rubygems extconf.rb current directory: /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10 make DESTDIR\= sitearchdir\=./.gem.20240424-43-h5e7i0 sitelibdir\=./.gem.20240424-43-h5e7i0 clean current directory: /builddir/build/BUILD/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10 make DESTDIR\= sitearchdir\=./.gem.20240424-43-h5e7i0 sitelibdir\=./.gem.20240424-43-h5e7i0 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/ncursesw-1.4.10/usr/share/gems/gems/ncursesw-1.4.10 for inspection. Results logged to /builddir/build/BUILD/ncursesw-1.4.10/usr/lib64/gems/ruby/ncursesw-1.4.10/gem_make.out 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 -m64 -o form_wrap.o -c form_wrap.c In file included from /usr/include/ruby/ruby.h:27, from /usr/include/ruby.h:38, from form_wrap.h:37, from form_wrap.c:35: form_wrap.c: In function ‘init_form’: form_wrap.h:61:35: error: passing argument 3 of ‘rb_define_method_01’ from incompatible pointer type [-Wincompatible-pointer-types] 61 | rb_define_method(class, #name, (&rbncurs_c_ ## name), nargs); \ | ^ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} form_wrap.c:1422:3: note: in expansion of macro ‘RB_CLASS_METH’ 1422 | RB_CLASS_METH(cFIELD, "back", field_back,1); | ^~~~~~~~~~~~~ /usr/include/ruby/internal/anyargs.h:277:1: note: expected ‘VALUE (*)(VALUE, VALUE)’ {aka ‘long unsigned int (*)(long unsigned int, long unsigned int)’} but argument is of type ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ form_wrap.h:63:40: error: passing argument 3 of ‘rb_define_method_01’ from incompatible pointer type [-Wincompatible-pointer-types] 63 | rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \ | ^ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} form_wrap.c:1422:3: note: in expansion of macro ‘RB_CLASS_METH’ 1422 | RB_CLASS_METH(cFIELD, "back", field_back,1); | ^~~~~~~~~~~~~ /usr/include/ruby/internal/anyargs.h:277:1: note: expected ‘VALUE (*)(VALUE, VALUE)’ {aka ‘long unsigned int (*)(long unsigned int, long unsigned int)’} but argument is of type ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ form_wrap.h:61:35: error: passing argument 3 of ‘rb_define_method_01’ from incompatible pointer type [-Wincompatible-pointer-types] 61 | rb_define_method(class, #name, (&rbncurs_c_ ## name), nargs); \ | ^ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} form_wrap.c:1424:3: note: in expansion of macro ‘RB_CLASS_METH’ 1424 | RB_CLASS_METH(cFIELD, "fore", field_fore,1); | ^~~~~~~~~~~~~ /usr/include/ruby/internal/anyargs.h:277:1: note: expected ‘VALUE (*)(VALUE, VALUE)’ {aka ‘long unsigned int (*)(long unsigned int, long unsigned int)’} but argument is of type ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ form_wrap.h:63:40: error: passing argument 3 of ‘rb_define_method_01’ from incompatible pointer type [-Wincompatible-pointer-types] 63 | rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \ | ^ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} form_wrap.c:1424:3: note: in expansion of macro ‘RB_CLASS_METH’ 1424 | RB_CLASS_METH(cFIELD, "fore", field_fore,1); | ^~~~~~~~~~~~~ /usr/include/ruby/internal/anyargs.h:277:1: note: expected ‘VALUE (*)(VALUE, VALUE)’ {aka ‘long unsigned int (*)(long unsigned int, long unsigned int)’} but argument is of type ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ form_wrap.h:61:35: error: passing argument 3 of ‘rb_define_method_01’ from incompatible pointer type [-Wincompatible-pointer-types] 61 | rb_define_method(class, #name, (&rbncurs_c_ ## name), nargs); \ | ^ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} form_wrap.c:1431:3: note: in expansion of macro ‘RB_CLASS_METH’ 1431 | RB_CLASS_METH(cFIELD, "pad", field_pad,1); | ^~~~~~~~~~~~~ /usr/include/ruby/internal/anyargs.h:277:1: note: expected ‘VALUE (*)(VALUE, VALUE)’ {aka ‘long unsigned int (*)(long unsigned int, long unsigned int)’} but argument is of type ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ form_wrap.h:63:40: error: passing argument 3 of ‘rb_define_method_01’ from incompatible pointer type [-Wincompatible-pointer-types] 63 | rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \ | ^ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} form_wrap.c:1431:3: note: in expansion of macro ‘RB_CLASS_METH’ 1431 | RB_CLASS_METH(cFIELD, "pad", field_pad,1); | ^~~~~~~~~~~~~ /usr/include/ruby/internal/anyargs.h:277:1: note: expected ‘VALUE (*)(VALUE, VALUE)’ {aka ‘long unsigned int (*)(long unsigned int, long unsigned int)’} but argument is of type ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ make: *** [Makefile:259: form_wrap.o] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.FnI8lm (%build) Bad exit status from /var/tmp/rpm-tmp.FnI8lm (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 2fd1b4ed5db54ad7b198ba9030f68221 -D /var/lib/mock/f41-build-50498676-6045168/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.1ng4x_co:/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 ppc64le --nodeps /builddir/build/SPECS/rubygem-ncursesw.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, 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 2fd1b4ed5db54ad7b198ba9030f68221 -D /var/lib/mock/f41-build-50498676-6045168/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.1ng4x_co:/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 ppc64le --nodeps /builddir/build/SPECS/rubygem-ncursesw.spec'