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/python-pyahocorasick.spec'], chrootPath='/var/lib/mock//dist-an23.5-AImanager-build-537057-82836/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', 'FORCE_UNSAFE_CONFIGURE': '1'}shell=Falselogger=timeout=172800uid=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/python-pyahocorasick.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', 'FORCE_UNSAFE_CONFIGURE': '1'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1778284800 Wrote: /builddir/build/SRPMS/python-pyahocorasick-2.2.0-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-pyahocorasick.spec'], chrootPath='/var/lib/mock//dist-an23.5-AImanager-build-537057-82836/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', 'FORCE_UNSAFE_CONFIGURE': '1'}shell=Falselogger=timeout=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-pyahocorasick.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', 'FORCE_UNSAFE_CONFIGURE': '1'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1778284800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ogpfXW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyahocorasick-2.2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pyahocorasick-2.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pyahocorasick-2.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/193.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.uOOmsX + umask 022 + cd /builddir/build/BUILD + cd pyahocorasick-2.2.0 + 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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/pyahocorasick-2.2.0/.pyproject-builddir + echo -n + 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' + 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 ' + TMPDIR=/builddir/build/BUILD/pyahocorasick-2.2.0/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/pyahocorasick-2.2.0/pyproject-wheeldir --output /builddir/build/BUILD/python-pyahocorasick-2.2.0-1.an23.riscv64-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.38.4) running egg_info creating pyahocorasick.egg-info writing pyahocorasick.egg-info/PKG-INFO writing dependency_links to pyahocorasick.egg-info/dependency_links.txt writing requirements to pyahocorasick.egg-info/requires.txt writing top-level names to pyahocorasick.egg-info/top_level.txt writing manifest file 'pyahocorasick.egg-info/SOURCES.txt' reading manifest file 'pyahocorasick.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no directories found matching 'benchmarks' warning: no directories found matching 'msinttypes' warning: no directories found matching 'py' warning: no directories found matching 'unresolved_bugs' warning: no files found matching '*.bat' warning: no files found matching '*.yml' warning: no files found matching '*.h' warning: no files found matching '*.c' adding license file 'LICENSE' writing manifest file 'pyahocorasick.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) running dist_info writing pyahocorasick.egg-info/PKG-INFO writing dependency_links to pyahocorasick.egg-info/dependency_links.txt writing requirements to pyahocorasick.egg-info/requires.txt writing top-level names to pyahocorasick.egg-info/top_level.txt reading manifest file 'pyahocorasick.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no directories found matching 'benchmarks' warning: no directories found matching 'msinttypes' warning: no directories found matching 'py' warning: no directories found matching 'unresolved_bugs' warning: no files found matching '*.bat' warning: no files found matching '*.yml' warning: no files found matching '*.h' warning: no files found matching '*.c' adding license file 'LICENSE' writing manifest file 'pyahocorasick.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/pyahocorasick-2.2.0/pyahocorasick-2.2.0.dist-info' Handling pytest ; extra == 'testing' from hook generated metadata: Requires-Dist (pyahocorasick) Ignoring alien requirement: pytest ; extra == 'testing' Handling twine ; extra == 'testing' from hook generated metadata: Requires-Dist (pyahocorasick) Ignoring alien requirement: twine ; extra == 'testing' Handling setuptools ; extra == 'testing' from hook generated metadata: Requires-Dist (pyahocorasick) Ignoring alien requirement: setuptools ; extra == 'testing' Handling wheel ; extra == 'testing' from hook generated metadata: Requires-Dist (pyahocorasick) Ignoring alien requirement: wheel ; extra == 'testing' + cat /builddir/build/BUILD/python-pyahocorasick-2.2.0-1.an23.riscv64-pyproject-buildrequires + rm -rfv pyahocorasick-2.2.0.dist-info/ removed 'pyahocorasick-2.2.0.dist-info/LICENSE' removed 'pyahocorasick-2.2.0.dist-info/METADATA' removed 'pyahocorasick-2.2.0.dist-info/top_level.txt' removed directory 'pyahocorasick-2.2.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pyahocorasick-2.2.0-1.an23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-pyahocorasick.spec'], chrootPath='/var/lib/mock//dist-an23.5-AImanager-build-537057-82836/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', 'FORCE_UNSAFE_CONFIGURE': '1'}shell=Falselogger=timeout=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-pyahocorasick.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', 'FORCE_UNSAFE_CONFIGURE': '1'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1778284800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gJifh0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyahocorasick-2.2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pyahocorasick-2.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pyahocorasick-2.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/193.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.eDuc1x + umask 022 + cd /builddir/build/BUILD + cd pyahocorasick-2.2.0 + 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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/pyahocorasick-2.2.0/.pyproject-builddir + echo -n + 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' + 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 ' + TMPDIR=/builddir/build/BUILD/pyahocorasick-2.2.0/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/pyahocorasick-2.2.0/pyproject-wheeldir --output /builddir/build/BUILD/python-pyahocorasick-2.2.0-1.an23.riscv64-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.38.4) running egg_info creating pyahocorasick.egg-info writing pyahocorasick.egg-info/PKG-INFO writing dependency_links to pyahocorasick.egg-info/dependency_links.txt writing requirements to pyahocorasick.egg-info/requires.txt writing top-level names to pyahocorasick.egg-info/top_level.txt writing manifest file 'pyahocorasick.egg-info/SOURCES.txt' reading manifest file 'pyahocorasick.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no directories found matching 'benchmarks' warning: no directories found matching 'msinttypes' warning: no directories found matching 'py' warning: no directories found matching 'unresolved_bugs' warning: no files found matching '*.bat' warning: no files found matching '*.yml' warning: no files found matching '*.h' warning: no files found matching '*.c' adding license file 'LICENSE' writing manifest file 'pyahocorasick.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) running dist_info writing pyahocorasick.egg-info/PKG-INFO writing dependency_links to pyahocorasick.egg-info/dependency_links.txt writing requirements to pyahocorasick.egg-info/requires.txt writing top-level names to pyahocorasick.egg-info/top_level.txt reading manifest file 'pyahocorasick.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no directories found matching 'benchmarks' warning: no directories found matching 'msinttypes' warning: no directories found matching 'py' warning: no directories found matching 'unresolved_bugs' warning: no files found matching '*.bat' warning: no files found matching '*.yml' warning: no files found matching '*.h' warning: no files found matching '*.c' adding license file 'LICENSE' writing manifest file 'pyahocorasick.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/pyahocorasick-2.2.0/pyahocorasick-2.2.0.dist-info' Handling pytest ; extra == 'testing' from hook generated metadata: Requires-Dist (pyahocorasick) Ignoring alien requirement: pytest ; extra == 'testing' Handling twine ; extra == 'testing' from hook generated metadata: Requires-Dist (pyahocorasick) Ignoring alien requirement: twine ; extra == 'testing' Handling setuptools ; extra == 'testing' from hook generated metadata: Requires-Dist (pyahocorasick) Ignoring alien requirement: setuptools ; extra == 'testing' Handling wheel ; extra == 'testing' from hook generated metadata: Requires-Dist (pyahocorasick) Ignoring alien requirement: wheel ; extra == 'testing' + cat /builddir/build/BUILD/python-pyahocorasick-2.2.0-1.an23.riscv64-pyproject-buildrequires + rm -rfv pyahocorasick-2.2.0.dist-info/ removed 'pyahocorasick-2.2.0.dist-info/LICENSE' removed 'pyahocorasick-2.2.0.dist-info/METADATA' removed 'pyahocorasick-2.2.0.dist-info/top_level.txt' removed directory 'pyahocorasick-2.2.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pyahocorasick-2.2.0-1.an23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-pyahocorasick.spec'], chrootPath='/var/lib/mock//dist-an23.5-AImanager-build-537057-82836/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', 'FORCE_UNSAFE_CONFIGURE': '1'}shell=Falselogger=timeout=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-pyahocorasick.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', 'FORCE_UNSAFE_CONFIGURE': '1'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1778284800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.NWAyKk + umask 022 + cd /builddir/build/BUILD + cd pyahocorasick-2.2.0 + 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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/pyahocorasick-2.2.0/.pyproject-builddir + echo -n + 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' + 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 ' + TMPDIR=/builddir/build/BUILD/pyahocorasick-2.2.0/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/pyahocorasick-2.2.0/pyproject-wheeldir --output /builddir/build/BUILD/python-pyahocorasick-2.2.0-1.an23.riscv64-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.38.4) running egg_info writing pyahocorasick.egg-info/PKG-INFO writing dependency_links to pyahocorasick.egg-info/dependency_links.txt writing requirements to pyahocorasick.egg-info/requires.txt writing top-level names to pyahocorasick.egg-info/top_level.txt reading manifest file 'pyahocorasick.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no directories found matching 'benchmarks' warning: no directories found matching 'msinttypes' warning: no directories found matching 'py' warning: no directories found matching 'unresolved_bugs' warning: no files found matching '*.bat' warning: no files found matching '*.yml' warning: no files found matching '*.h' warning: no files found matching '*.c' adding license file 'LICENSE' writing manifest file 'pyahocorasick.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) running dist_info writing pyahocorasick.egg-info/PKG-INFO writing dependency_links to pyahocorasick.egg-info/dependency_links.txt writing requirements to pyahocorasick.egg-info/requires.txt writing top-level names to pyahocorasick.egg-info/top_level.txt reading manifest file 'pyahocorasick.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no directories found matching 'benchmarks' warning: no directories found matching 'msinttypes' warning: no directories found matching 'py' warning: no directories found matching 'unresolved_bugs' warning: no files found matching '*.bat' warning: no files found matching '*.yml' warning: no files found matching '*.h' warning: no files found matching '*.c' adding license file 'LICENSE' writing manifest file 'pyahocorasick.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/pyahocorasick-2.2.0/pyahocorasick-2.2.0.dist-info' Handling pytest ; extra == 'testing' from hook generated metadata: Requires-Dist (pyahocorasick) Ignoring alien requirement: pytest ; extra == 'testing' Handling twine ; extra == 'testing' from hook generated metadata: Requires-Dist (pyahocorasick) Ignoring alien requirement: twine ; extra == 'testing' Handling setuptools ; extra == 'testing' from hook generated metadata: Requires-Dist (pyahocorasick) Ignoring alien requirement: setuptools ; extra == 'testing' Handling wheel ; extra == 'testing' from hook generated metadata: Requires-Dist (pyahocorasick) Ignoring alien requirement: wheel ; extra == 'testing' + cat /builddir/build/BUILD/python-pyahocorasick-2.2.0-1.an23.riscv64-pyproject-buildrequires + rm -rfv pyahocorasick-2.2.0.dist-info/ removed 'pyahocorasick-2.2.0.dist-info/LICENSE' removed 'pyahocorasick-2.2.0.dist-info/METADATA' removed 'pyahocorasick-2.2.0.dist-info/top_level.txt' removed directory 'pyahocorasick-2.2.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dD5tf9 + 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 pyahocorasick-2.2.0 + export '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 -std=c99' + 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 -std=c99' + mkdir -p /builddir/build/BUILD/pyahocorasick-2.2.0/.pyproject-builddir + 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 -std=c99' + 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 ' + TMPDIR=/builddir/build/BUILD/pyahocorasick-2.2.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/anolis/pyproject_wheel.py /builddir/build/BUILD/pyahocorasick-2.2.0/pyproject-wheeldir Looking in indexes: https://mirrors.aliyun.com/pypi/simple/ Processing /builddir/build/BUILD/pyahocorasick-2.2.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/pyahocorasick-2.2.0/.pyproject-builddir/pip-modern-metadata-72lwjo8v/pyahocorasick.egg-info writing /builddir/build/BUILD/pyahocorasick-2.2.0/.pyproject-builddir/pip-modern-metadata-72lwjo8v/pyahocorasick.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/pyahocorasick-2.2.0/.pyproject-builddir/pip-modern-metadata-72lwjo8v/pyahocorasick.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/pyahocorasick-2.2.0/.pyproject-builddir/pip-modern-metadata-72lwjo8v/pyahocorasick.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/pyahocorasick-2.2.0/.pyproject-builddir/pip-modern-metadata-72lwjo8v/pyahocorasick.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/pyahocorasick-2.2.0/.pyproject-builddir/pip-modern-metadata-72lwjo8v/pyahocorasick.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/pyahocorasick-2.2.0/.pyproject-builddir/pip-modern-metadata-72lwjo8v/pyahocorasick.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no directories found matching 'benchmarks' warning: no directories found matching 'msinttypes' warning: no directories found matching 'py' warning: no directories found matching 'unresolved_bugs' warning: no files found matching '*.bat' warning: no files found matching '*.yml' warning: no files found matching '*.h' warning: no files found matching '*.c' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/pyahocorasick-2.2.0/.pyproject-builddir/pip-modern-metadata-72lwjo8v/pyahocorasick.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/pyahocorasick-2.2.0/.pyproject-builddir/pip-modern-metadata-72lwjo8v/pyahocorasick-2.2.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: pyahocorasick Building wheel for pyahocorasick (pyproject.toml): started Running command Building wheel for pyahocorasick (pyproject.toml) running bdist_wheel running build running build_ext building 'ahocorasick' extension creating build creating build/temp.linux-riscv64-cpython-311 creating build/temp.linux-riscv64-cpython-311/src gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -D_GNU_SOURCE -fPIC -fwrapv -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 -std=c99 -fPIC -DAHOCORASICK_UNICODE= -I/usr/include/python3.11 -c src/pyahocorasick.c -o build/temp.linux-riscv64-cpython-311/src/pyahocorasick.o gcc: error: ‘-march=rva23u64’: ISA string must begin with rv32 or rv64 error: command '/usr/bin/gcc' failed with exit code 1 error: subprocess-exited-with-error × Building wheel for pyahocorasick (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. full command: /usr/bin/python3 /usr/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /builddir/build/BUILD/pyahocorasick-2.2.0/.pyproject-builddir/tmpyvb1_8lv cwd: /builddir/build/BUILD/pyahocorasick-2.2.0 Building wheel for pyahocorasick (pyproject.toml): finished with status 'error' ERROR: Failed building wheel for pyahocorasick Failed to build pyahocorasick ERROR: Failed to build one or more wheels error: Bad exit status from /var/tmp/rpm-tmp.dD5tf9 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.dD5tf9 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-pyahocorasick.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 -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-pyahocorasick.spec