Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/frotz.spec'], chrootPath='/var/lib/mock/f30-build-39773-22654/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=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/frotz.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 Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/frotz-2.43-24.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/frotz.spec'], chrootPath='/var/lib/mock/f30-build-39773-22654/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=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/frotz.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 Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kRwhx5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf frotz-2.43 + /usr/bin/gzip -dc /builddir/build/SOURCES/frotz-2.43.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd frotz-2.43 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (frotz-2.43-Makefile.patch): + echo 'Patch #1 (frotz-2.43-Makefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile Patch #2 (frotz-2.43-conf.patch): + echo 'Patch #2 (frotz-2.43-conf.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file doc/frotz.conf-big + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZePXUn + umask 022 + cd /builddir/build/BUILD + cd frotz-2.43 + sed -i -e 's|@@OPTS@@|-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection|' Makefile + make -j4 gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/common/buffer.o -c src/common/buffer.c gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/common/err.o -c src/common/err.c gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/common/fastmem.o -c src/common/fastmem.c checking for soundcard.h I see we have /usr/include/sys/soundcard.h... gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/common/files.o -c src/common/files.c BUILDSTDERR: src/common/buffer.c: In function 'init_buffer': BUILDSTDERR: src/common/buffer.c:148:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] BUILDSTDERR: memset(buffer, 0, sizeof (zchar) * TEXT_BUFFER_SIZE); BUILDSTDERR: ^~~~~~ BUILDSTDERR: src/common/buffer.c:148:5: warning: incompatible implicit declaration of built-in function 'memset' BUILDSTDERR: src/common/buffer.c:148:5: note: include '' or provide a declaration of 'memset' BUILDSTDERR: src/common/buffer.c:22:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: src/common/buffer.c:148:5: BUILDSTDERR: memset(buffer, 0, sizeof (zchar) * TEXT_BUFFER_SIZE); BUILDSTDERR: ^~~~~~ gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/common/hotkey.o -c src/common/hotkey.c gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/common/input.o -c src/common/input.c BUILDSTDERR: src/common/input.c: In function 'z_read_mouse': BUILDSTDERR: src/common/input.c:314:11: warning: implicit declaration of function 'os_read_mouse'; did you mean 'z_read_mouse'? [-Wimplicit-function-declaration] BUILDSTDERR: btn = os_read_mouse (); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: z_read_mouse gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/common/main.o -c src/common/main.c BUILDSTDERR: src/common/main.c: In function 'main': BUILDSTDERR: src/common/main.c:173:5: warning: implicit declaration of function 'init_buffer'; did you mean 'setbuffer'? [-Wimplicit-function-declaration] BUILDSTDERR: init_buffer (); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: setbuffer BUILDSTDERR: src/common/main.c:179:5: warning: implicit declaration of function 'init_process'; did you mean 'init_err'? [-Wimplicit-function-declaration] BUILDSTDERR: init_process (); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: init_err BUILDSTDERR: src/common/main.c:181:5: warning: implicit declaration of function 'init_sound'; did you mean 'init_undo'? [-Wimplicit-function-declaration] BUILDSTDERR: init_sound (); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: init_undo gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/common/math.o -c src/common/math.c gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/common/object.o -c src/common/object.c gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/common/process.o -c src/common/process.c gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/common/quetzal.o -c src/common/quetzal.c gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/common/random.o -c src/common/random.c gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/common/redirect.o -c src/common/redirect.c gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/common/screen.o -c src/common/screen.c gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/common/sound.o -c src/common/sound.c gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/common/stream.o -c src/common/stream.c gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/common/table.o -c src/common/table.c gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/common/text.o -c src/common/text.c gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/common/variable.o -c src/common/variable.c gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/curses/ux_init.o -c src/curses/ux_init.c gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/curses/ux_input.o -c src/curses/ux_input.c BUILDSTDERR: src/curses/ux_input.c: In function 'unix_read_char': BUILDSTDERR: src/curses/ux_input.c:248:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if ((c >= ZC_HKEY_MIN) && (c <= ZC_HKEY_MAX)) BUILDSTDERR: ^~ BUILDSTDERR: src/curses/ux_input.c:254:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (extkeys) return c; BUILDSTDERR: ^~ BUILDSTDERR: src/curses/ux_input.c: In function 'os_read_mouse': BUILDSTDERR: src/curses/ux_input.c:646:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } /* os_read_mouse */ BUILDSTDERR: ^ gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/curses/ux_pic.o -c src/curses/ux_pic.c gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/curses/ux_screen.o -c src/curses/ux_screen.c gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/curses/ux_text.o -c src/curses/ux_text.c BUILDSTDERR: src/curses/ux_pic.c: In function 'round_div': BUILDSTDERR: src/curses/ux_pic.c:75:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((dblremain > y) || (dblremain == y) && (quotient & 1)) BUILDSTDERR: ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/curses/ux_pic.c: In function 'unix_init_pictures': BUILDSTDERR: src/curses/ux_pic.c:99:24: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] BUILDSTDERR: sprintf(filename, "%.*sgraphics/%.*s.mg1", BUILDSTDERR: ~~^~ BUILDSTDERR: basename - story_name, story_name, namelen, basename); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/curses/ux_pic.c:129:19: warning: unused variable 'width' [-Wunused-variable] BUILDSTDERR: int height, width; BUILDSTDERR: ^~~~~ BUILDSTDERR: src/curses/ux_pic.c:129:11: warning: unused variable 'height' [-Wunused-variable] BUILDSTDERR: int height, width; BUILDSTDERR: ^~~~~~ BUILDSTDERR: src/curses/ux_pic.c: At top level: BUILDSTDERR: src/curses/ux_pic.c:44:13: warning: 'save_scrnset' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: static void save_scrnset(int, int, int, int); BUILDSTDERR: ^~~~~~~~~~~~ gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/curses/ux_audio_none.o -c src/curses/ux_audio_none.c BUILDSTDERR: src/curses/ux_text.c: In function 'os_char_width': BUILDSTDERR: src/curses/ux_text.c:290:9: warning: self-comparison always evaluates to true [-Wtautological-compare] BUILDSTDERR: if (c1 == c1) /* let's avoid confusing the compiler (and me) */ BUILDSTDERR: ^~ BUILDSTDERR: src/curses/ux_audio_none.c: In function 'os_finish_with_sample': BUILDSTDERR: src/curses/ux_audio_none.c:102:6: warning: type of 'number' defaults to 'int' [-Wimplicit-int] BUILDSTDERR: void os_finish_with_sample (number) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ gcc -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DCONFIG_DIR="\"/etc\"" -DUSE_NCURSES_H -DVERSION="\"2.43\"" -DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -o src/curses/ux_audio_oss.o -c src/curses/ux_audio_oss.c Archiving common code... ar rc src/frotz_common.a src/common/buffer.o src/common/err.o src/common/fastmem.o src/common/files.o src/common/hotkey.o src/common/input.o src/common/main.o src/common/math.o src/common/object.o src/common/process.o src/common/quetzal.o src/common/random.o src/common/redirect.o src/common/screen.o src/common/sound.o src/common/stream.o src/common/table.o src/common/text.o src/common/variable.o ranlib src/frotz_common.a Archiving curses interface code... ar rc src/frotz_curses.a src/curses/ux_init.o src/curses/ux_input.o src/curses/ux_pic.o src/curses/ux_screen.o src/curses/ux_text.o src/curses/ux_audio_none.o src/curses/ux_audio_oss.o ranlib src/frotz_curses.a gcc -o frotz src/frotz_common.a src/frotz_curses.a -lncurses \ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zl05to + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64 + cd frotz-2.43 + install -d -m0755 /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64//usr/bin + install -d -m0755 /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64//etc + install -d -m0755 /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64//usr/share/man/man6 + install -m0755 frotz /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64//usr/bin + install -m0644 doc/frotz.6 /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64//usr/share/man/man6 + install -m0644 doc/frotz.conf-big /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64//etc/frotz.conf + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.43-24.fc30 --unique-debug-suffix -2.43-24.fc30.riscv64 --unique-debug-src-base frotz-2.43-24.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/frotz-2.43 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64/usr/bin/frotz extracting debug info from /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64/usr/bin/frotz /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 545 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: frotz-2.43-24.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.37HVN1 + umask 022 + cd /builddir/build/BUILD + cd frotz-2.43 + DOCDIR=/builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64/usr/share/doc/frotz + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64/usr/share/doc/frotz + cp -pr AUTHORS /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64/usr/share/doc/frotz + cp -pr BUGS /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64/usr/share/doc/frotz + cp -pr ChangeLog /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64/usr/share/doc/frotz + cp -pr COPYING /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64/usr/share/doc/frotz + cp -pr DUMB /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64/usr/share/doc/frotz + cp -pr HOW_TO_PLAY /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64/usr/share/doc/frotz + cp -pr README /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64/usr/share/doc/frotz + cp -pr SPEECH /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64/usr/share/doc/frotz + cp -pr TODO /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64/usr/share/doc/frotz + cp -pr doc/frotz.conf-big doc/frotz.conf-small /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64/usr/share/doc/frotz + exit 0 Provides: config(frotz) = 2.43-24.fc30 frotz = 2.43-24.fc30 frotz(riscv-64) = 2.43-24.fc30 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) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: frotz-debugsource-2.43-24.fc30.riscv64 Provides: frotz-debugsource = 2.43-24.fc30 frotz-debugsource(riscv-64) = 2.43-24.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: frotz-debuginfo-2.43-24.fc30.riscv64 Provides: debuginfo(build-id) = 29bc12a821cd6f4dc5c27a363d8818e7b5e4c6e0 frotz-debuginfo = 2.43-24.fc30 frotz-debuginfo(riscv-64) = 2.43-24.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: frotz-debugsource(riscv-64) = 2.43-24.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64 Wrote: /builddir/build/RPMS/frotz-2.43-24.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/frotz-debugsource-2.43-24.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/frotz-debuginfo-2.43-24.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WbHxC7 + umask 022 + cd /builddir/build/BUILD + cd frotz-2.43 + /usr/bin/rm -rf /builddir/build/BUILDROOT/frotz-2.43-24.fc30.riscv64 + exit 0 Child return code was: 0