Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ruby-ncurses.spec'], chrootPath='/var/lib/mock/f33-build-294300-55284/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ruby-ncurses.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': 'en_US.UTF-8'} and shell False warning: line 25: Possible unexpanded macro in: Requires: ruby(release) >= %{rubyabi} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1596240000 Wrote: /builddir/build/SRPMS/ruby-ncurses-1.3.1-34.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ruby-ncurses.spec'], chrootPath='/var/lib/mock/f33-build-294300-55284/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ruby-ncurses.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': 'en_US.UTF-8'} and shell False warning: line 25: Possible unexpanded macro in: Requires: ruby(release) >= %{rubyabi} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1596240000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sqmkcD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ncurses-ruby-1.3.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/ncurses-ruby-1.3.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ncurses-ruby-1.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-STR2CSTR-deprecated.patch):' Patch #0 (0001-STR2CSTR-deprecated.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .p --fuzz=0 patching file form_wrap.c patching file menu_wrap.c patching file ncurses_wrap.c Patch #1 (0002-Werror-format-security.patch): + echo 'Patch #1 (0002-Werror-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .format --fuzz=0 patching file form_wrap.c Patch #2 (ruby-ncurses-fix-missing-tz-prototypes.patch): + echo 'Patch #2 (ruby-ncurses-fix-missing-tz-prototypes.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .systime --fuzz=0 patching file ncurses_wrap.h Hunk #1 succeeded at 86 (offset 2 lines). Patch #3 (ruby-ncurses-1.3.1-use-new-rb_thread_fd_select-avoiding-deprecated-functions.patch): + echo 'Patch #3 (ruby-ncurses-1.3.1-use-new-rb_thread_fd_select-avoiding-deprecated-functions.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ruby22 --fuzz=0 patching file ncurses_wrap.c Hunk #1 succeeded at 835 (offset -1 lines). + /usr/bin/chmod 0644 ncurses_wrap.c + find examples/ -type f + xargs /usr/bin/chmod 0644 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.A2iXXA + umask 022 + cd /builddir/build/BUILD + cd ncurses-ruby-1.3.1 + ruby extconf.rb --vendor checking for unistd.h... yes checking for locale.h... yes checking for ncurses.h... yes checking for wmove() in -lncurses... 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()... no checking for slk_attr_on()... no 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()... no 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 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 -lpanel... yes checking for the form library... checking for form.h... yes checking for new_form() in -lform... yes checking for the menu library... checking for menu.h... yes checking for new_menu() in -lmenu... yes creating Makefile + /usr/bin/make -j4 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC' gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LOCALE_H -DHAVE_NCURSES_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 -DHAVE_SLK_ATTR_SET -DHAVE_SLK_COLOR -DHAVE_TIGETFLAG -DHAVE_TIGETNUM -DHAVE_USE_ENV -DHAVE_VIDATTR -DHAVE_WATTR_ON -DHAVE_WATTR_OFF -DHAVE_WATTR_SET -DHAVE_WCHGAT -DHAVE_WCOLOR_SET -DHAVE_GETATTRS -DHAVE_ASSUME_DEFAULT_COLORS -DHAVE_ATTR_GET -DHAVE_PANEL_H -DHAVE_FORM_H -DHAVE_MENU_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o form_wrap.o -c form_wrap.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LOCALE_H -DHAVE_NCURSES_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 -DHAVE_SLK_ATTR_SET -DHAVE_SLK_COLOR -DHAVE_TIGETFLAG -DHAVE_TIGETNUM -DHAVE_USE_ENV -DHAVE_VIDATTR -DHAVE_WATTR_ON -DHAVE_WATTR_OFF -DHAVE_WATTR_SET -DHAVE_WCHGAT -DHAVE_WCOLOR_SET -DHAVE_GETATTRS -DHAVE_ASSUME_DEFAULT_COLORS -DHAVE_ATTR_GET -DHAVE_PANEL_H -DHAVE_FORM_H -DHAVE_MENU_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o menu_wrap.o -c menu_wrap.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LOCALE_H -DHAVE_NCURSES_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 -DHAVE_SLK_ATTR_SET -DHAVE_SLK_COLOR -DHAVE_TIGETFLAG -DHAVE_TIGETNUM -DHAVE_USE_ENV -DHAVE_VIDATTR -DHAVE_WATTR_ON -DHAVE_WATTR_OFF -DHAVE_WATTR_SET -DHAVE_WCHGAT -DHAVE_WCOLOR_SET -DHAVE_GETATTRS -DHAVE_ASSUME_DEFAULT_COLORS -DHAVE_ATTR_GET -DHAVE_PANEL_H -DHAVE_FORM_H -DHAVE_MENU_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o ncurses_wrap.o -c ncurses_wrap.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNISTD_H -DHAVE_LOCALE_H -DHAVE_NCURSES_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 -DHAVE_SLK_ATTR_SET -DHAVE_SLK_COLOR -DHAVE_TIGETFLAG -DHAVE_TIGETNUM -DHAVE_USE_ENV -DHAVE_VIDATTR -DHAVE_WATTR_ON -DHAVE_WATTR_OFF -DHAVE_WATTR_SET -DHAVE_WCHGAT -DHAVE_WCOLOR_SET -DHAVE_GETATTRS -DHAVE_ASSUME_DEFAULT_COLORS -DHAVE_ATTR_GET -DHAVE_PANEL_H -DHAVE_FORM_H -DHAVE_MENU_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o panel_wrap.o -c panel_wrap.c In file included from /usr/include/ruby/ruby.h:2148, from /usr/include/ruby.h:33, from panel_wrap.h:30, from panel_wrap.c:25: panel_wrap.c: In function 'init_panel': panel_wrap.c:201:33: warning: passing argument 3 of 'rb_define_singleton_method1' from incompatible pointer type [-Wincompatible-pointer-types] 201 | (&rbncurs_m_panel_above), | ^ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} /usr/include/ruby/intern.h:1195: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)'} 1195 | RB_METHOD_DEFINITION_DECL(rb_define_singleton_method, (2,3), (VALUE klass, const char *name), (klass, name)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ panel_wrap.c:208:33: warning: passing argument 3 of 'rb_define_singleton_method1' from incompatible pointer type [-Wincompatible-pointer-types] 208 | (&rbncurs_m_panel_below), | ^ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} /usr/include/ruby/intern.h:1195: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)'} 1195 | RB_METHOD_DEFINITION_DECL(rb_define_singleton_method, (2,3), (VALUE klass, const char *name), (klass, name)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ruby.h:33, from form_wrap.h:34, from form_wrap.c:32: form_wrap.c: In function 'init_form': form_wrap.h:58:35: warning: passing argument 3 of 'rb_define_method1' from incompatible pointer type [-Wincompatible-pointer-types] 58 | rb_define_method(class, #name, (&rbncurs_c_ ## name), nargs); \ | ^ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} form_wrap.c:1399:3: note: in expansion of macro 'RB_CLASS_METH' 1399 | RB_CLASS_METH(cFIELD, "back", field_back,1); | ^~~~~~~~~~~~~ In file included from /usr/include/ruby/ruby.h:2148, from /usr/include/ruby.h:33, from form_wrap.h:34, from form_wrap.c:32: /usr/include/ruby/ruby.h:2775: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)'} 2775 | RB_METHOD_DEFINITION_DECL(rb_define_method, (2,3), (VALUE klass, const char *name), (klass, name)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ruby.h:33, from form_wrap.h:34, from form_wrap.c:32: form_wrap.h:60:40: warning: passing argument 3 of 'rb_define_method1' from incompatible pointer type [-Wincompatible-pointer-types] 60 | rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \ | ^ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} form_wrap.c:1399:3: note: in expansion of macro 'RB_CLASS_METH' 1399 | RB_CLASS_METH(cFIELD, "back", field_back,1); | ^~~~~~~~~~~~~ In file included from /usr/include/ruby/ruby.h:2148, from /usr/include/ruby.h:33, from form_wrap.h:34, from form_wrap.c:32: /usr/include/ruby/ruby.h:2775: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)'} 2775 | RB_METHOD_DEFINITION_DECL(rb_define_method, (2,3), (VALUE klass, const char *name), (klass, name)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ruby.h:33, from form_wrap.h:34, from form_wrap.c:32: form_wrap.h:58:35: warning: passing argument 3 of 'rb_define_method1' from incompatible pointer type [-Wincompatible-pointer-types] 58 | rb_define_method(class, #name, (&rbncurs_c_ ## name), nargs); \ | ^ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} form_wrap.c:1401:3: note: in expansion of macro 'RB_CLASS_METH' 1401 | RB_CLASS_METH(cFIELD, "fore", field_fore,1); | ^~~~~~~~~~~~~ In file included from /usr/include/ruby/ruby.h:2148, from /usr/include/ruby.h:33, from form_wrap.h:34, from form_wrap.c:32: /usr/include/ruby/ruby.h:2775: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)'} 2775 | RB_METHOD_DEFINITION_DECL(rb_define_method, (2,3), (VALUE klass, const char *name), (klass, name)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ruby.h:33, from form_wrap.h:34, from form_wrap.c:32: form_wrap.h:60:40: warning: passing argument 3 of 'rb_define_method1' from incompatible pointer type [-Wincompatible-pointer-types] 60 | rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \ | ^ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} form_wrap.c:1401:3: note: in expansion of macro 'RB_CLASS_METH' 1401 | RB_CLASS_METH(cFIELD, "fore", field_fore,1); | ^~~~~~~~~~~~~ In file included from /usr/include/ruby/ruby.h:2148, from /usr/include/ruby.h:33, from form_wrap.h:34, from form_wrap.c:32: /usr/include/ruby/ruby.h:2775: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)'} 2775 | RB_METHOD_DEFINITION_DECL(rb_define_method, (2,3), (VALUE klass, const char *name), (klass, name)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ruby.h:33, from form_wrap.h:34, from form_wrap.c:32: form_wrap.h:58:35: warning: passing argument 3 of 'rb_define_method1' from incompatible pointer type [-Wincompatible-pointer-types] 58 | rb_define_method(class, #name, (&rbncurs_c_ ## name), nargs); \ | ^ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} form_wrap.c:1408:3: note: in expansion of macro 'RB_CLASS_METH' 1408 | RB_CLASS_METH(cFIELD, "pad", field_pad,1); | ^~~~~~~~~~~~~ In file included from /usr/include/ruby/ruby.h:2148, from /usr/include/ruby.h:33, from form_wrap.h:34, from form_wrap.c:32: /usr/include/ruby/ruby.h:2775: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)'} 2775 | RB_METHOD_DEFINITION_DECL(rb_define_method, (2,3), (VALUE klass, const char *name), (klass, name)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ruby.h:33, from form_wrap.h:34, from form_wrap.c:32: form_wrap.h:60:40: warning: passing argument 3 of 'rb_define_method1' from incompatible pointer type [-Wincompatible-pointer-types] 60 | rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \ | ^ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} form_wrap.c:1408:3: note: in expansion of macro 'RB_CLASS_METH' 1408 | RB_CLASS_METH(cFIELD, "pad", field_pad,1); | ^~~~~~~~~~~~~ In file included from /usr/include/ruby/ruby.h:2148, from /usr/include/ruby.h:33, from form_wrap.h:34, from form_wrap.c:32: /usr/include/ruby/ruby.h:2775: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)'} 2775 | RB_METHOD_DEFINITION_DECL(rb_define_method, (2,3), (VALUE klass, const char *name), (klass, name)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ruby.h:33, from ncurses_wrap.h:88, from ncurses_wrap.c:67: ncurses_wrap.c: In function 'init_functions_3': ncurses_wrap.c:2476:32: warning: passing argument 3 of 'rb_define_module_function1' from incompatible pointer type [-Wincompatible-pointer-types] 2476 | (&rbncurs_wenclose), | ^ | | | VALUE (*)(VALUE, VALUE, VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int)} In file included from /usr/include/ruby/ruby.h:2148, from /usr/include/ruby.h:33, from ncurses_wrap.h:88, from ncurses_wrap.c:67: /usr/include/ruby/ruby.h:2802:1: note: expected 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE, VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int, long unsigned int)'} 2802 | RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ruby.h:33, from ncurses_wrap.h:88, from ncurses_wrap.c:67: ncurses_wrap.c:2490:32: warning: passing argument 3 of 'rb_define_module_function2' from incompatible pointer type [-Wincompatible-pointer-types] 2490 | (&rbncurs_has_key), | ^ | | | VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)} In file included from /usr/include/ruby/ruby.h:2148, from /usr/include/ruby.h:33, from ncurses_wrap.h:88, from ncurses_wrap.c:67: /usr/include/ruby/ruby.h:2802:1: note: expected 'VALUE (*)(VALUE, VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 2802 | RB_METHOD_DEFINITION_DECL(rb_define_module_function, (2,3), (VALUE klass, const char *name), (klass, name)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ rm -f ncurses_bin.so gcc -shared -o ncurses_bin.so form_wrap.o menu_wrap.o ncurses_wrap.o panel_wrap.o -L. -L/usr/lib64 -L. -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lruby -lmenu -lform -lpanel -lncurses -lm -lc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Q9EL2D + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64 + cd ncurses-ruby-1.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64 ruby_headers= 'INSTALL=/usr/bin/install -p' /usr/bin/mkdir -p . /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64/usr/lib64/ruby/vendor_ruby exit > .vendorarchdir.time /usr/bin/install -p -m 0755 ncurses_bin.so /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64/usr/lib64/ruby/vendor_ruby /usr/bin/mkdir -p . /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64/usr/share/ruby/vendor_ruby exit > .vendorlibdir.time /usr/bin/install -p -m 644 ./lib/ncurses_sugar.rb /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64/usr/share/ruby/vendor_ruby /usr/bin/install -p -m 644 ./lib/ncurses.rb /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64/usr/share/ruby/vendor_ruby + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.3.1-34.fc33 --unique-debug-suffix -1.3.1-34.fc33.riscv64 --unique-debug-src-base ruby-ncurses-1.3.1-34.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ncurses-ruby-1.3.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64/usr/lib64/ruby/vendor_ruby/ncurses_bin.so extracting debug info from /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64/usr/lib64/ruby/vendor_ruby/ncurses_bin.so original debug info size: 2112kB, size after compression: 2088kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 403 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/src/debug/ruby-ncurses-1.3.1-34.fc33.riscv64/panel_wrap.h is executable but has no shebang, removing executable bit Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.UZOpJE + umask 022 + cd /builddir/build/BUILD + cd ncurses-ruby-1.3.1 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: ruby-ncurses-1.3.1-34.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nSSIeC + umask 022 + cd /builddir/build/BUILD + cd ncurses-ruby-1.3.1 + DOCDIR=/builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64/usr/share/doc/ruby-ncurses + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64/usr/share/doc/ruby-ncurses + cp -pr README /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64/usr/share/doc/ruby-ncurses + cp -pr COPYING /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64/usr/share/doc/ruby-ncurses + cp -pr VERSION /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64/usr/share/doc/ruby-ncurses + cp -pr THANKS /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64/usr/share/doc/ruby-ncurses + cp -pr Changes /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64/usr/share/doc/ruby-ncurses + cp -pr examples /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64/usr/share/doc/ruby-ncurses + RPM_EC=0 ++ jobs -p + exit 0 Provides: ruby(ncurses) = 1.3.1-34.fc33 ruby-ncurses = 1.3.1-34.fc33 ruby-ncurses(riscv-64) = 1.3.1-34.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libform.so.6()(64bit) libmenu.so.6()(64bit) libncurses.so.6()(64bit) libpanel.so.6()(64bit) libruby.so.2.7()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: ruby-ncurses-debugsource-1.3.1-34.fc33.riscv64 Provides: ruby-ncurses-debugsource = 1.3.1-34.fc33 ruby-ncurses-debugsource(riscv-64) = 1.3.1-34.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ruby-ncurses-debuginfo-1.3.1-34.fc33.riscv64 Provides: debuginfo(build-id) = e5e6acd9bed64eba118b6d5d926c91d153d4b050 ruby-ncurses-debuginfo = 1.3.1-34.fc33 ruby-ncurses-debuginfo(riscv-64) = 1.3.1-34.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ruby-ncurses-debugsource(riscv-64) = 1.3.1-34.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64 Wrote: /builddir/build/RPMS/ruby-ncurses-1.3.1-34.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ruby-ncurses-debugsource-1.3.1-34.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ruby-ncurses-debuginfo-1.3.1-34.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.U4d4cB + umask 022 + cd /builddir/build/BUILD + cd ncurses-ruby-1.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-34.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0