Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/x264.spec'], chrootPath='/mnt/mock/kojid//dist-an23-build-586723-98174/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=1728000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/x264.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: Macro expanded in comment on line 17: %{without bootstrap} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1792022400 Wrote: /builddir/build/SRPMS/x264-0.165-1.20250608gitb35605ac.an23.src.rpm RPM build warnings: Macro expanded in comment on line 17: %{without bootstrap} Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/x264.spec'], chrootPath='/mnt/mock/kojid//dist-an23-build-586723-98174/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=1728000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/x264.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: Macro expanded in comment on line 17: %{without bootstrap} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1792022400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.v1LfJr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf x264-0.165-20250608gitb35605ac + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/x264-0.165-20250608gitb35605ac.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd x264-0.165-20250608gitb35605ac + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/version.h . + echo 'Patch #0 (x264-nover.patch):' Patch #0 (x264-nover.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .nover --fuzz=0 patching file configure Hunk #1 succeeded at 1506 (offset 116 lines). Patch #1 (196.patch): + echo 'Patch #1 (196.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ppc64le --fuzz=0 patching file common/ppc/mc.c patching file common/ppc/pixel.c patching file common/ppc/mc.c Patch #11 (x264-opencl.patch): + echo 'Patch #11 (x264-opencl.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .opencl --fuzz=0 patching file common/opencl.c Patch #12 (x264-gpac-strcpy.patch): + echo 'Patch #12 (x264-gpac-strcpy.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gpac-strcpy --fuzz=0 patching file x264.c Hunk #1 succeeded at 70 (offset 4 lines). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4aia9p + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rva23u64 -mabi=lp64d' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rva23u64 -mabi=lp64d' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rva23u64 -mabi=lp64d -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rva23u64 -mabi=lp64d -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd x264-0.165-20250608gitb35605ac + ./configure --enable-lto --host=riscv64-Anolis-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --includedir=/usr/include --libdir=/usr/lib64 --disable-asm --disable-lavf --disable-swscale --disable-ffms --enable-debug --enable-shared --system-libx264 --enable-pic Invalid configuration `riscv64-Anolis-linux': machine `riscv64-Anolis' not recognized Unknown system , edit the configure error: Bad exit status from /var/tmp/rpm-tmp.4aia9p (%build) RPM build warnings: RPM build errors: Macro expanded in comment on line 17: %{without bootstrap} Bad exit status from /var/tmp/rpm-tmp.4aia9p (%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/x264.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/x264.spec