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/scottfree.spec'], chrootPath='/var/lib/mock/f33-build-139758-42366/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/scottfree.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 setting SOURCE_DATE_EPOCH=1580342400 Wrote: /builddir/build/SRPMS/scottfree-1.14-19.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/scottfree.spec'], chrootPath='/var/lib/mock/f33-build-139758-42366/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/scottfree.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 setting SOURCE_DATE_EPOCH=1580342400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8ddGW4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf scottfree-1.14 + /usr/bin/mkdir -p scottfree-1.14 + cd scottfree-1.14 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/ScottFree.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/scottfree-1.14-Makefile.patch + /usr/bin/cat /builddir/build/SOURCES/scottfree-1.14-includes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + chmod 644 Definition Makefile README Scott.h ScottCurses.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OvDYi1 + umask 022 + cd /builddir/build/BUILD + cd scottfree-1.14 + 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 + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + /usr/bin/make -O -j4 V=1 VERBOSE=1 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 -c -o ScottCurses.o ScottCurses.c ScottCurses.c: In function 'ReadString': ScottCurses.c:197:1: warning: label 'oops' defined but not used [-Wunused-label] 197 | oops: do | ^~~~ ScottCurses.c: In function 'LoadDatabase': ScottCurses.c:241:14: warning: too many arguments for format [-Wformat-extra-args] 241 | if(fscanf(f,"%*d %d %d %d %d %d %d %d %d %d %d %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ScottCurses.c: In function 'LoadGame': ScottCurses.c:696:17: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'short int *' [-Wformat=] 696 | fscanf(f,"%ld %d %hd %d %d %hd\n", | ~^ | | | int * | %hd 697 | &BitFlags,&DarkFlag,&MyLoc,&CurrentCounter,&SavedRoom, | ~~~~~~~~~ | | | short int * ScottCurses.c: In function 'PerformActions': ScottCurses.c:1167:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1167 | return; | ^~~~~~ ScottCurses.c:1093:5: note: declared here 1093 | int PerformActions(int vb,int no) | ^~~~~~~~~~~~~~ ScottCurses.c: At top level: ScottCurses.c:1301:6: warning: return type of 'main' is not 'int' [-Wmain] 1301 | void main(int argc, char *argv[]) | ^~~~ ScottCurses.c: In function 'main': ScottCurses.c:1394:8: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] 1394 | srand(time(NULL)^getpid()^getuid()); | ^~~~ ScottCurses.c: In function 'LoadDatabase': ScottCurses.c:302:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 302 | fscanf(f,"%hd %hd %hd %hd %hd %hd", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 303 | &rp->Exits[0],&rp->Exits[1],&rp->Exits[2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | &rp->Exits[3],&rp->Exits[4],&rp->Exits[5]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ScottCurses.c:334:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 334 | fscanf(f,"%hd",&lo); | ^~~~~~~~~~~~~~~~~~~ ScottCurses.c:347:2: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 347 | fscanf(f,"%d",&ct); | ^~~~~~~~~~~~~~~~~~ ScottCurses.c:351:2: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 351 | fscanf(f,"%d",&ct); | ^~~~~~~~~~~~~~~~~~ ScottCurses.c: In function 'LoadGame': ScottCurses.c:694:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 694 | fscanf(f,"%d %d\n",&Counters[ct],&RoomSaved[ct]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ScottCurses.c:696:2: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 696 | fscanf(f,"%ld %d %hd %d %d %hd\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 697 | &BitFlags,&DarkFlag,&MyLoc,&CurrentCounter,&SavedRoom, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 698 | &GameHeader.LightTime); | ~~~~~~~~~~~~~~~~~~~~~~ ScottCurses.c:704:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 704 | fscanf(f,"%hd\n",&lo); | ^~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ScottCurses.o -o scottfree -lcurses + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WPQdH3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/scottfree-1.14-19.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/scottfree-1.14-19.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/scottfree-1.14-19.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/scottfree-1.14-19.fc33.riscv64 + cd scottfree-1.14 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/scottfree-1.14-19.fc33.riscv64 'INSTALL=/usr/bin/install -p' mkdir -p /builddir/build/BUILDROOT/scottfree-1.14-19.fc33.riscv64/usr/bin install -m 755 scottfree /builddir/build/BUILDROOT/scottfree-1.14-19.fc33.riscv64/usr/bin + install -d /builddir/build/BUILDROOT/scottfree-1.14-19.fc33.riscv64/usr/share/man/man6 + install -p -m 644 /builddir/build/SOURCES/scottfree.6 /builddir/build/BUILDROOT/scottfree-1.14-19.fc33.riscv64/usr/share/man/man6/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.14-19.fc33 --unique-debug-suffix -1.14-19.fc33.riscv64 --unique-debug-src-base scottfree-1.14-19.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/scottfree-1.14 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/scottfree-1.14-19.fc33.riscv64/usr/bin/scottfree extracting debug info from /builddir/build/BUILDROOT/scottfree-1.14-19.fc33.riscv64/usr/bin/scottfree original debug info size: 92kB, size after compression: 92kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 56 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 /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: scottfree-1.14-19.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nsRoM4 + umask 022 + cd /builddir/build/BUILD + cd scottfree-1.14 + DOCDIR=/builddir/build/BUILDROOT/scottfree-1.14-19.fc33.riscv64/usr/share/doc/scottfree + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/scottfree-1.14-19.fc33.riscv64/usr/share/doc/scottfree + cp -pr README /builddir/build/BUILDROOT/scottfree-1.14-19.fc33.riscv64/usr/share/doc/scottfree + cp -pr Definition /builddir/build/BUILDROOT/scottfree-1.14-19.fc33.riscv64/usr/share/doc/scottfree + RPM_EC=0 ++ jobs -p + exit 0 Provides: scottfree = 1.14-19.fc33 scottfree(riscv-64) = 1.14-19.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) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: scottfree-debugsource-1.14-19.fc33.riscv64 Provides: scottfree-debugsource = 1.14-19.fc33 scottfree-debugsource(riscv-64) = 1.14-19.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: scottfree-debuginfo-1.14-19.fc33.riscv64 Provides: debuginfo(build-id) = 4cb35304f0084cc5cc08a0409014913376b44b4b scottfree-debuginfo = 1.14-19.fc33 scottfree-debuginfo(riscv-64) = 1.14-19.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: scottfree-debugsource(riscv-64) = 1.14-19.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/scottfree-1.14-19.fc33.riscv64 Wrote: /builddir/build/RPMS/scottfree-1.14-19.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/scottfree-debugsource-1.14-19.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/scottfree-debuginfo-1.14-19.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Njy351 + umask 022 + cd /builddir/build/BUILD + cd scottfree-1.14 + /usr/bin/rm -rf /builddir/build/BUILDROOT/scottfree-1.14-19.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0