Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/clonekeen.spec'], chrootPath='/var/lib/mock/f41-build-831137-156795/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/clonekeen.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=1692144000 Wrote: /builddir/build/SRPMS/clonekeen-0.8.4-28.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/clonekeen.spec'], chrootPath='/var/lib/mock/f41-build-831137-156795/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/clonekeen.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=1692144000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.Y3d7iz + umask 022 + cd /builddir/build/BUILD/clonekeen-0.8.4-build + test -d /builddir/build/BUILD/clonekeen-0.8.4-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/clonekeen-0.8.4-build + /usr/bin/rm -rf /builddir/build/BUILD/clonekeen-0.8.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/clonekeen-0.8.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/clonekeen-0.8.4-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JA8QX6 + umask 022 + cd /builddir/build/BUILD/clonekeen-0.8.4-build + cd /builddir/build/BUILD/clonekeen-0.8.4-build + rm -rf keen + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/clonekeen-src-84-clean.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd keen + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/clonekeen-0.8.4-data.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/clonekeen-0.8.4-noSDLmain.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/clonekeen-0.8.4-fcommon-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find -name '*.o' -delete + cp -a /builddir/build/SOURCES/extract.c /builddir/build/SOURCES/clonekeen-extract-sounds.c . + sed -i 's/\r//g' README src/changelog.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7qrQC0 + umask 022 + cd /builddir/build/BUILD/clonekeen-0.8.4-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd keen + make -j4 -C src -f Makefile make: Entering directory '/builddir/build/BUILD/clonekeen-0.8.4-build/keen/src' gcc -O2 -c main.c -o main.o gcc -O2 -c sanity.c -o sanity.o gcc -O2 -c game.c -o game.o gcc -O2 -c gamedo.c -o gamedo.o sanity.c: In function ‘run_sanity’: sanity.c:140:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 140 | wheretogetit = (char)(*list)[i+2]; | ^ sanity.c:155:50: warning: comparison between pointer and integer 155 | if (wheretogetit == COMESWITHKEEN || 1) | ^~ sanity.c:156:54: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 156 | getFromWhere = kFromOriginal; | ^ sanity.c:158:54: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 158 | getFromWhere = kFromCloneKeen; | ^ gcc -O2 -c gamepdo.c -o gamepdo.o gcc -O2 -c gamepdo_wm.c -o gamepdo_wm.o gcc -O2 -c editor/editor.c -o editor/editor.o gcc -O2 -c editor/autolight.c -o editor/autolight.o gcc -O2 -c console.c -o console.o gcc -O2 -c fileio.c -o fileio.o gcc -O2 -c maploader.c -o maploader.o fileio.c: In function ‘fcaseopen’: fileio.c:73:33: error: implicit declaration of function ‘stat’ [-Wimplicit-function-declaration] 73 | stat("trying '%s'", fname); | ^~~~ make: *** [Makefile:100: fileio.o] Error 1 make: *** Waiting for unfinished jobs.... make: Leaving directory '/builddir/build/BUILD/clonekeen-0.8.4-build/keen/src' error: Bad exit status from /var/tmp/rpm-tmp.7qrQC0 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.7qrQC0 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/clonekeen.spec