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/rogue.spec'], chrootPath='/var/lib/mock/f31-build-61683-28936/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=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rogue.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1550448000 Wrote: /builddir/build/SRPMS/rogue-5.4.5-27.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rogue.spec'], chrootPath='/var/lib/mock/f31-build-61683-28936/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=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rogue.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1550448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.x6sWCG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rogue-5.4.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/rogue-5.4.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rogue-5.4.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (rogue-5.4.4-to-5.4.5.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #1 (rogue-5.4.5-writesave.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 + echo 'Patch #2 (rogue-5.4.5-backspace.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #3 (rogue-5.4.5-ncurses.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #4 (rogue-5.4.5-setgroups.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (rogue-5.4.4-to-5.4.5.patch): patching file armor.c patching file chase.c patching file command.c patching file configure patching file configure.ac patching file daemon.c patching file daemons.c patching file extern.c patching file extern.h patching file fight.c patching file .gitignore patching file init.c patching file io.c patching file list.c patching file mach_dep.c patching file main.c patching file Makefile.std patching file mdport.c patching file misc.c patching file monsters.c patching file move.c patching file new_level.c patching file options.c patching file pack.c patching file passages.c patching file potions.c patching file README.md patching file rings.c patching file rip.c patching file rogue54.sln patching file rogue54.vcproj patching file rogue.h patching file rogue.spec patching file rooms.c patching file save.c patching file score.h patching file scrolls.c patching file state.c patching file sticks.c patching file things.c patching file vers.c patching file weapons.c patching file wizard.c patching file xcrypt.c Patch #1 (rogue-5.4.5-writesave.patch): patching file state.c Patch #2 (rogue-5.4.5-backspace.patch): patching file mdport.c Patch #3 (rogue-5.4.5-ncurses.patch): patching file mdport.c Patch #4 (rogue-5.4.5-setgroups.patch): patching file mdport.c Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7zWROF + umask 022 + cd /builddir/build/BUILD + cd rogue-5.4.4 + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-setgid=games --enable-scorefile=/var/games/roguelike/rogue54.scr --enable-lockfile=/var/games/roguelike/rogue54.lck --docdir=/usr/share/doc/rogue '/usr/lib/rpm/redhat/config.sub' -> './config.sub' '/usr/lib/rpm/redhat/config.guess' -> './config.guess' checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking nlist.h usability... no checking nlist.h presence... no checking for nlist.h... no checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking term.h usability... yes checking term.h presence... yes checking for term.h... yes checking ncurses/term.h usability... yes checking ncurses/term.h presence... yes checking for ncurses/term.h... yes checking process.h usability... no checking process.h presence... no checking for process.h... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working curses... yes checking for ESCDELAY variable... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether gcc needs -traditional... no checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether lstat accepts an empty string... no checking whether lstat dereferences a symlink specified with a trailing slash... (cached) yes checking return type of signal handlers... void checking whether stat accepts an empty string... no checking for vprintf... yes checking for _doprnt... no checking for erasechar... yes checking for killchar... yes checking for alarm... yes checking for getpass... yes checking for memset... yes checking for setenv... yes checking for strchr... yes checking for nlist... no checking for _spawnl... no checking for spawnl... no checking for getpwuid... yes checking for loadav... no checking for getloadavg... yes checking for strerror... yes checking for setresgid... yes checking for setregid... yes checking for setgid... yes checking for setresuid... yes checking for setreuid... yes checking for setuid... yes checking for getuid... yes BUILDSTDERR: ch+ /usr/bin/make -O -j4 V=1 VERBOSE=1 ecking for getgid... yes checking for nroff... no checking for groff... no checking for colcrt... colcrt checking for tbl... no checking for sed... sed checking if using setgid execute bit... games checking for scoreboard file... /var/games/roguelike/rogue54.scr checking for scoreboard lockfile file... /var/games/roguelike/rogue54.lck checking if wizard mode is enabled... no checking if allscores is enabled... yes checking if checktime is enabled... no checking runtime execution limit (maximum system load average)... unlimited checking runtime execution limit (maximum online system users)... unlimited checking what the number of scores to store in scoreboard is... 10 checking word for the number of scores to store in scoreboard is... Ten checking whether to use program's built in load average function... no checking whether to use program's built in user counting function... no checking whether to docdir is defined... docdir defined configure: creating ./config.status config.status: creating Makefile config.status: creating rogue.6 config.status: creating rogue.cat config.status: creating rogue.doc config.status: creating rogue.html config.status: creating rogue.me config.status: creating config.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 -DHAVE_CONFIG_H -c vers.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 -DHAVE_CONFIG_H -c extern.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 -DHAVE_CONFIG_H -c armor.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 -DHAVE_CONFIG_H -c daemon.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 -DHAVE_CONFIG_H -c daemons.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 -DHAVE_CONFIG_H -c chase.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 -DHAVE_CONFIG_H -c 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 -DHAVE_CONFIG_H -c command.c 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=mach_dep.c: In function 'lock_sc': BUILDSTDERR: mach_dep.c:403:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 403 | (void) fgets(prbuf, MAXSTR, stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H -c io.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 -DHAVE_CONFIG_H -c list.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 -DHAVE_CONFIG_H -c fight.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 -DHAVE_CONFIG_H -c mach_dep.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 -DHAVE_CONFIG_H -c main.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 -DHAVE_CONFIG_H -c mdport.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 -DHAVE_CONFIG_H -c monsters.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 -DHAVE_CONFIG_H -c misc.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 -DHAVE_CONFIG_H -c new_level.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 -DHAVE_CONFIG_H -c move.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 -DHAVE_CONFIG_H -c options.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 -DHAVE_CONFIG_H -c potions.c 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-protectionsave.c: In function 'restore': BUILDSTDERR: save.c:165:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 165 | if (strcmp(file, "-r") == 0) BUILDSTDERR: | ^~ BUILDSTDERR: save.c:168:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 168 | md_tstphold(); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: rip.c: In function 'death': BUILDSTDERR: rip.c:277:12: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 277 | (void) fgets(prbuf,10,stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from rip.c:15: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'score' at rip.c:150:6: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from weapons.c:14: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'init_weapon' at weapons.c:166:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 8 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'init_weapon' at weapons.c:167:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 8 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: state.c:72:12: warning: 'format_error' defined but not used [-Wunused-variable] BUILDSTDERR: 72 | static int format_error = FALSE; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: state.c:71:12: warning: 'write_error' defined but not used [-Wunused-variable] BUILDSTDERR: 71 | static int write_error = FALSE; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: state.c:70:12: warning: 'read_error' defined but not used [-Wunused-variable] BUILDSTDERR: 70 | static int read_error = FALSE; BUILDSTDERR: | ^~~~~~~~~~ -DHAVE_CONFIG_H -c rings.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 -DHAVE_CONFIG_H -c pack.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 -DHAVE_CONFIG_H -c passages.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 -DHAVE_CONFIG_H -c scrolls.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 -DHAVE_CONFIG_H -c save.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 -DHAVE_CONFIG_H -c rip.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 -DHAVE_CONFIG_H -c rooms.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 -DHAVE_CONFIG_H -c weapons.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 -DHAVE_CONFIG_H -c sticks.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 -DHAVE_CONFIG_H -c wizard.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 -DHAVE_CONFIG_H -c things.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 -DHAVE_CONFIG_H -c xcrypt.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 -DHAVE_CONFIG_H -c state.c BUILDSTDERR: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_S+ RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 OURCE=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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld vers.o extern.o armor.o chase.o command.o daemon.o daemons.o fight.o init.o io.o list.o mach_dep.o main.o mdport.o misc.o monsters.o move.o new_level.o options.o pack.o passages.o potions.o rings.o rip.o rooms.o save.o scrolls.o state.o sticks.o things.o weapons.o wizard.o xcrypt.o -lcurses -o rogue Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.08i9YE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64 + cd rogue-5.4.4 + mkdir -p /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64//usr/bin + mkdir -p /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64//usr/share/doc/rogue + mkdir -p /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64//usr/share/man/man6 + mkdir -p /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64//var/games/roguelike + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64 'INSTALL=/usr/bin/install -p' BUILDSTDERR: chgrp: changing group of '/builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/var/games/roguelike/rogue54.scr': Operation not permitted BUILDSTDERR: chgrp: changing group of '/builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/usr/bin/rogue': Operation not permitted + install -D -p -m644 rogue.png /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64//usr/share/icons/hicolor/32x32/apps/rogue.png + desktop-file-install --dir /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/usr/share/applications rogue.desktop + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 5.4.5-27.fc31 --unique-debug-suffix -5.4.5-27.fc31.riscv64 --unique-debug-src-base rogue-5.4.5-27.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rogue-5.4.4 BUILDSTDERR: 697 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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 touch test if test ! -f /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/var/games/roguelike/rogue54.scr ; then /usr/bin/install -p -m 0664 test /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/var/games/roguelike/rogue54.scr ; fi /usr/bin/install -p -m 0755 rogue /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/usr/bin/rogue if test "xgames" != "x" ; then \ chgrp games /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/var/games/roguelike/rogue54.scr ; \ chgrp games /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/usr/bin/rogue ; \ chmod 02755 /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/usr/bin/rogue ; \ chmod 0464 /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/var/games/roguelike/rogue54.scr ; \ fi if test -d /usr/share/man/man6 ; then /usr/bin/install -p -m 0644 rogue.6 /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/usr/share/man/man6/rogue.6 ; fi if test ! -d /usr/share/man/man6 ; then /usr/bin/install -p -m 0644 rogue.6 /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/usr/share/man/rogue.6 ; fi /usr/bin/install -p -m 0644 rogue.doc /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/usr/share/doc/rogue/rogue.doc /usr/bin/install -p -m 0644 rogue.html /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/usr/share/doc/rogue/rogue.html /usr/bin/install -p -m 0644 rogue.cat /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/usr/share/doc/rogue/rogue.cat /usr/bin/install -p -m 0644 LICENSE.TXT /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/usr/share/doc/rogue/LICENSE.TXT /usr/bin/install -p -m 0644 rogue.me /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/usr/share/doc/rogue/rogue.me if test ! -f /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/var/games/roguelike/rogue54.lck ; then /usr/bin/install -p -m 0666 test /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/var/games/roguelike/rogue54.lck ; rm -f /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/var/games/roguelike/rogue54.lck ; fi rm -f test /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/usr/share/applications/rogue.desktop: error: (will be fatal in the future): value "rogue.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/usr/bin/rogue extracting debug info from /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/usr/bin/rogue original debug info size: 692kB, size after compression: 532kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: rogue-5.4.5-27.fc31.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.bSaYmG + umask 022 + cd /builddir/build/BUILD + cd rogue-5.4.4 + LICENSEDIR=/builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/usr/share/licenses/rogue + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/usr/share/licenses/rogue + cp -pr LICENSE.TXT /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64/usr/share/licenses/rogue + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: application() application(rogue.desktop) config(rogue) = 5.4.5-27.fc31 rogue = 5.4.5-27.fc31 rogue(riscv-64) = 5.4.5-27.fc31 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: rogue-debugsource-5.4.5-27.fc31.riscv64 Provides: rogue-debugsource = 5.4.5-27.fc31 rogue-debugsource(riscv-64) = 5.4.5-27.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rogue-debuginfo-5.4.5-27.fc31.riscv64 Provides: debuginfo(build-id) = 5a18177eaa63ed6d86d71b1736cd08bb0712b95b rogue-debuginfo = 5.4.5-27.fc31 rogue-debuginfo(riscv-64) = 5.4.5-27.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rogue-debugsource(riscv-64) = 5.4.5-27.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64 Wrote: /builddir/build/RPMS/rogue-5.4.5-27.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rogue-debugsource-5.4.5-27.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rogue-debuginfo-5.4.5-27.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Y0jkxE + umask 022 + cd /builddir/build/BUILD + cd rogue-5.4.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rogue-5.4.5-27.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0