+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ruby-ncurses.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild warning: line 26: Possible unexpanded macro in: Requires: ruby(release) >= %{rubyabi} Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.l7ZmKe + 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 + echo 'Patch #1 (0002-Werror-format-security.patch):' 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 + echo 'Patch #2 (ruby-ncurses-fix-missing-tz-prototypes.patch):' 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). + echo 'Patch #3 (ruby-ncurses-1.3.1-use-new-rb_thread_fd_select-avoiding-deprecated-functions.patch):' 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IRj69t + 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -o panel_wrap.o -c panel_wrap.c ncurses_wrap.c: In function 'rbncurs_getsyx': ncurses_wrap.c:2359:9: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] int y,x; ^ ncurses_wrap.c:2359:11: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] int y,x; ^ 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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lruby -lmenu -lform -lpanel -lncurses -lpthread -ldl -lcrypt -lm -lc + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.C31BDE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-22.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-22.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-22.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-22.fc28.riscv64 + cd ncurses-ruby-1.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-22.fc28.riscv64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ruby-ncurses-1.3.1-22.fc28.riscv64 ruby_headers= 'INSTALL=/usr/bin/install -p' /usr/bin/mkdir -p . /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-22.fc28.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-22.fc28.riscv64/usr/lib64/ruby/vendor_ruby /usr/bin/mkdir -p . /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-22.fc28.riscv64/usr/share/ruby/vendor_ruby exit > .vendorlibdir.time /usr/bin/install -p -m 644 ./lib/ncurses.rb /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-22.fc28.riscv64/usr/share/ruby/vendor_ruby /usr/bin/install -p -m 644 ./lib/ncurses_sugar.rb /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-22.fc28.riscv64/usr/share/ruby/vendor_ruby + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ruby-ncurses-1.3.1-22.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Vmki1i + umask 022 + cd /builddir/build/BUILD + cd ncurses-ruby-1.3.1 + DOCDIR=/builddir/build/BUILDROOT/ruby-ncurses-1.3.1-22.fc28.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-22.fc28.riscv64/usr/share/doc/ruby-ncurses + cp -pr README /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-22.fc28.riscv64/usr/share/doc/ruby-ncurses + cp -pr COPYING /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-22.fc28.riscv64/usr/share/doc/ruby-ncurses + cp -pr VERSION /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-22.fc28.riscv64/usr/share/doc/ruby-ncurses + cp -pr THANKS /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-22.fc28.riscv64/usr/share/doc/ruby-ncurses + cp -pr Changes /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-22.fc28.riscv64/usr/share/doc/ruby-ncurses + cp -pr examples /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-22.fc28.riscv64/usr/share/doc/ruby-ncurses + exit 0 Provides: ruby(ncurses) = 1.3.1-22.fc28 ruby-ncurses = 1.3.1-22.fc28 ruby-ncurses(riscv-64) = 1.3.1-22.fc28 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) libcrypt.so.1()(64bit) libdl.so.2()(64bit) libform.so.6()(64bit) libm.so.6()(64bit) libmenu.so.6()(64bit) libncurses.so.6()(64bit) libpanel.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libruby.so.2.5()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-22.fc28.riscv64 Wrote: /builddir/build/SRPMS/ruby-ncurses-1.3.1-22.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/ruby-ncurses-1.3.1-22.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wQ9lrg + umask 022 + cd /builddir/build/BUILD + cd ncurses-ruby-1.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ruby-ncurses-1.3.1-22.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff