Mock Version: 5.2 Mock Version: 5.2 Mock Version: 5.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/glob2.spec'], chrootPath='/var/lib/mock/f40-build-2286906-55719/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=864000uid=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/glob2.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 warning: %patchN is deprecated (10 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1705622400 Wrote: /builddir/build/SRPMS/glob2-0.9.4.4-65.fc40.src.rpm RPM build warnings: %patchN is deprecated (10 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/glob2.spec'], chrootPath='/var/lib/mock/f40-build-2286906-55719/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=864000uid=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/glob2.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 warning: %patchN is deprecated (10 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1705622400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kn1vaa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf glob2-0.9.4.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/glob2-0.9.4.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd glob2-0.9.4.4 + rm -rf /builddir/build/BUILD/glob2-0.9.4.4-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/glob2-0.9.4.4-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #3 (glob2-0.9.4.1-gcc44.patch):' Patch #3 (glob2-0.9.4.1-gcc44.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file libgag/include/StreamBackend.h patching file libgag/src/StreamBackend.cpp patching file libgag/src/Stream.cpp patching file libgag/src/TextStream.cpp Patch #4 (glob2_SConstruct.patch): + echo 'Patch #4 (glob2_SConstruct.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file SConstruct Patch #5 (glob2-private.patch): + echo 'Patch #5 (glob2-private.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/Game.h Patch #6 (glob2-fix_missing_return_in_nonvoid_functions.patch): + echo 'Patch #6 (glob2-fix_missing_return_in_nonvoid_functions.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/SimplexNoise.cpp patching file src/YOGClientDownloadableMapList.cpp patching file src/YOGPlayerPrivateInfo.cpp patching file src/YOGClientMapDownloadScreen.cpp patching file src/YOGServer.cpp patching file src/UnitConsts.cpp patching file src/YOGClientPlayerListManager.cpp patching file src/WinningConditions.cpp patching file src/NetGamePlayerManager.cpp Patch #7 (glob2-iostream.patch): + echo 'Patch #7 (glob2-iostream.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/VoiceRecorder.cpp Patch #8 (glob2-gcc7.patch): + echo 'Patch #8 (glob2-gcc7.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/EditorMainMenu.cpp patching file src/LANMenuScreen.cpp patching file src/YOGClientLobbyScreen.cpp Patch #9 (glob2-python3.patch): + echo 'Patch #9 (glob2-python3.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .python3 --fuzz=0 patching file scons/addDependentLibsToBundle.py patching file scons/bundle.py patching file scons/dmg.py patching file scons/nsis.py patching file SConstruct Patch #10 (glob2-scons3.patch): + echo 'Patch #10 (glob2-scons3.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .scons3 --fuzz=0 patching file SConstruct Patch #11 (glob2-fix-tabs.patch): + echo 'Patch #11 (glob2-fix-tabs.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fixtabs --fuzz=0 patching file SConstruct Patch #12 (glob2-bool.patch): + echo 'Patch #12 (glob2-bool.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bool --fuzz=0 patching file src/AIEcho.cpp + sed -i -e 3d -e 12d data/glob2.desktop + sed -i s#Icon=glob2-icon-48x48#Icon=glob2# data/glob2.desktop + chmod -x campaigns/Tutorial_Campaign.txt + sed -i 's/\r//' campaigns/Tutorial_Campaign.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KR6IuJ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 ' + 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 ' + 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 -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 -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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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 glob2-0.9.4.4 + scons-3 -j64 INSTALLDIR=/builddir/build/BUILDROOT/glob2-0.9.4.4-65.fc40.riscv64/usr/share BINDIR=/builddir/build/BUILDROOT/glob2-0.9.4.4-65.fc40.riscv64/usr/bin DATADIR=/usr/share 'CXXFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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' --portaudio=true RPM build warnings: RPM build errors: /var/tmp/rpm-tmp.KR6IuJ: line 47: scons-3: command not found error: Bad exit status from /var/tmp/rpm-tmp.KR6IuJ (%build) %patchN is deprecated (10 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.KR6IuJ (%build) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/glob2.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/glob2.spec'