Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-yara.spec'], chrootPath='/var/lib/mock/f45-build-33885-674/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=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.thmwolyb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.thmwolyb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6251a5981c5b4a5b8a943e751c0a8891', '-D', '/var/lib/mock/f45-build-33885-674/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.thmwolyb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-yara.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1784678400 Wrote: /builddir/build/SRPMS/python-yara-4.5.4-5.fc45.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-yara.spec'], chrootPath='/var/lib/mock/f45-build-33885-674/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=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.thmwolyb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.thmwolyb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3674980515494687bd2014e5d2614e9c', '-D', '/var/lib/mock/f45-build-33885-674/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.thmwolyb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-yara.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 warning: The %py3_build macro is deprecated and will likely stop working in Fedora 45. See the current Python packaging guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ warning: The %py3_install macro is deprecated and will likely stop working in Fedora 45. See the current Python packaging guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ setting SOURCE_DATE_EPOCH=1784678400 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.5EpwbT Creating(rpmbuild.env): /builddir/build/BUILD/python-yara-4.5.4-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/python-yara-4.5.4-build" RPM_OPT_FLAGS="-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes " RPM_ARCH="riscv64" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/python-yara-4.5.4-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="python-yara" RPM_PACKAGE_VERSION="4.5.4" RPM_PACKAGE_RELEASE="5.fc45" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eiBZ5s + umask 022 + cd /builddir/build/BUILD/python-yara-4.5.4-build + cd /builddir/build/BUILD/python-yara-4.5.4-build + rm -rf yara-python-4.5.4 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/python-yara-4.5.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd yara-python-4.5.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EH7x6B + umask 022 + cd /builddir/build/BUILD/python-yara-4.5.4-build + CFLAGS='-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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d -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-hardened-ld-errors -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 yara-python-4.5.4 + CFLAGS='-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' --dynamic-linking /builddir/build/BUILD/python-yara-4.5.4-build/yara-python-4.5.4/setup.py:391: DeprecationWarning: codecs.open() is deprecated. Use open() instead. with open('README.rst', 'r', 'utf-8') as f: /usr/lib/python3.15/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running build running build_ext /builddir/build/BUILD/python-yara-4.5.4-build/yara-python-4.5.4/setup.py:69: DeprecationWarning: codecs.open() is deprecated. Use open() instead. devnull = open(os.devnull, 'w') building 'yara' extension creating build/temp.linux-riscv64-cpython-315 gcc -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -DBUCKETS_128=1 -DCHECKSUM_1B=1 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_STDBOOL_H=1 -DHAVE_MEMMEM=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.15 -c yara-python.c -o build/temp.linux-riscv64-cpython-315/yara-python.o -std=c99 yara-python.c: In function ‘process_compile_externals’: yara-python.c:1532:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1532 | identifier = PY_STRING_TO_C(key); | ^ yara-python.c:52:27: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | #define PY_STRING_TO_C(x) PyUnicode_AsUTF8(x) | ^~~~~~~~~~~~~~~~ yara-python.c:1561:19: note: in expansion of macro ‘PY_STRING_TO_C’ 1561 | char* str = PY_STRING_TO_C(value); | ^~~~~~~~~~~~~~ yara-python.c: In function ‘process_match_externals’: yara-python.c:1609:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1609 | identifier = PY_STRING_TO_C(key); | ^ yara-python.c:52:27: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | #define PY_STRING_TO_C(x) PyUnicode_AsUTF8(x) | ^~~~~~~~~~~~~~~~ yara-python.c:1638:19: note: in expansion of macro ‘PY_STRING_TO_C’ 1638 | char* str = PY_STRING_TO_C(value); | ^~~~~~~~~~~~~~ yara-python.c: In function ‘Rules_next’: yara-python.c:2062:7: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 2062 | else | ^~~~ yara-python.c:2065:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 2065 | PyDict_SetItemString(meta_list, meta->identifier, object); | ^~~~~~~~~~~~~~~~~~~~ yara-python.c: In function ‘Rules_match’: yara-python.c:2203:48: warning: comparison between pointer and integer 2203 | if (callback_data.allow_duplicate_metadata == NULL) | ^~ yara-python.c: In function ‘yara_compile’: yara-python.c:2856:18: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2856 | source = PY_STRING_TO_C(value); | ^ yara-python.c:2857:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2857 | ns = PY_STRING_TO_C(key); | ^ yara-python.c:2891:20: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2891 | filepath = PY_STRING_TO_C(value); | ^ yara-python.c:2892:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2892 | ns = PY_STRING_TO_C(key); | ^ creating build/lib.linux-riscv64-cpython-315 gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer build/temp.linux-riscv64-cpython-315/yara-python.o -L/usr/lib64 -lyara -o build/lib.linux-riscv64-cpython-315/yara.cpython-315-riscv64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bQWaT5 + umask 022 + cd /builddir/build/BUILD/python-yara-4.5.4-build + '[' /builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-yara-4.5.4-build + mkdir /builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT + CFLAGS='-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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d -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-hardened-ld-errors -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 yara-python-4.5.4 + CFLAGS='-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT --prefix /usr /builddir/build/BUILD/python-yara-4.5.4-build/yara-python-4.5.4/setup.py:391: DeprecationWarning: codecs.open() is deprecated. Use open() instead. with open('README.rst', 'r', 'utf-8') as f: /usr/lib/python3.15/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running install /usr/lib/python3.15/site-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT/usr/lib64/python3.15/site-packages copying build/lib.linux-riscv64-cpython-315/yara.cpython-315-riscv64-linux-gnu.so -> /builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT/usr/lib64/python3.15/site-packages writing byte-compilation script '/tmp/tmp2ojbke4c.py' /usr/bin/python3 /tmp/tmp2ojbke4c.py removing /tmp/tmp2ojbke4c.py running install_egg_info running egg_info creating yara_python.egg-info writing yara_python.egg-info/PKG-INFO writing dependency_links to yara_python.egg-info/dependency_links.txt writing top-level names to yara_python.egg-info/top_level.txt writing manifest file 'yara_python.egg-info/SOURCES.txt' reading manifest file 'yara_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'yara/libyara/modules/module_list' warning: no files found matching '*.c' under directory 'yara' warning: no files found matching '*.h' under directory 'yara' adding license file 'LICENSE' writing manifest file 'yara_python.egg-info/SOURCES.txt' Copying yara_python.egg-info to /builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT/usr/lib64/python3.15/site-packages/yara_python-4.5.4-py3.15.egg-info running install_scripts + rm -rfv /builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 4.5.4-5.fc45 --unique-debug-suffix -4.5.4-5.fc45.riscv64 --unique-debug-src-base python-yara-4.5.4-5.fc45.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/python-yara-4.5.4-build/yara-python-4.5.4 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/python-yara-4.5.4-5.fc45.riscv64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT/usr/lib64/python3.15 using python3.15 Bytecompiling .py files below /builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT/usr/lib/debug/usr/lib64/python3.15 using python3.15 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j8 /builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT Scanned 15 directories and 8 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT/usr Scanned 14 directories and 8 files, considered 8 files, read 2 files, linked 1 files, 0 errors sum of sizes of linked files: 1 bytes Reading /builddir/build/BUILD/python-yara-4.5.4-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.FdeQ43 + umask 022 + cd /builddir/build/BUILD/python-yara-4.5.4-build + CFLAGS='-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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d -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 -march=rva23u64 -mabi=lp64d -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-hardened-ld-errors -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 yara-python-4.5.4 + CFLAGS='-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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin + PYTHONPATH=/builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT/usr/lib64/python3.15/site-packages:/builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT/usr/lib/python3.15/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_XDIST_AUTO_NUM_WORKERS=8 + /usr/bin/pytest -k '' tests.py -v ============================= test session starts ============================== platform linux -- Python 3.15.0rc2, pytest-9.1.1, pluggy-1.6.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/python-yara-4.5.4-build/yara-python-4.5.4 collecting ... collected 47 items tests.py::TestYara::testAnonymousStrings PASSED [ 2%] tests.py::TestYara::testArithmeticOperators PASSED [ 4%] tests.py::TestYara::testAt PASSED [ 6%] tests.py::TestYara::testBitwiseOperators PASSED [ 8%] tests.py::TestYara::testBooleanOperators PASSED [ 10%] tests.py::TestYara::testCallback PASSED [ 12%] tests.py::TestYara::testCallbackAll PASSED [ 14%] tests.py::TestYara::testComments PASSED [ 17%] tests.py::TestYara::testCompare PASSED [ 19%] tests.py::TestYara::testComparisonOperators PASSED [ 21%] tests.py::TestYara::testCompileFile PASSED [ 23%] tests.py::TestYara::testCompileFiles PASSED [ 25%] tests.py::TestYara::testCompilerErrorOnWarning PASSED [ 27%] tests.py::TestYara::testConsoleCallback PASSED [ 29%] tests.py::TestYara::testCount PASSED [ 31%] tests.py::TestYara::testDuplicateMeta PASSED [ 34%] tests.py::TestYara::testEntrypoint PASSED [ 36%] tests.py::TestYara::testExternals PASSED [ 38%] tests.py::TestYara::testFilesize PASSED [ 40%] tests.py::TestYara::testFor PASSED [ 42%] tests.py::TestYara::testGlobalPrivate PASSED [ 44%] tests.py::TestYara::testHexStrings PASSED [ 46%] tests.py::TestYara::testIn PASSED [ 48%] tests.py::TestYara::testIncludeCallback PASSED [ 51%] tests.py::TestYara::testIncludeFiles PASSED [ 53%] tests.py::TestYara::testIntegerFunctions PASSED [ 55%] tests.py::TestYara::testLength PASSED [ 57%] tests.py::TestYara::testMatchMemoryview PASSED [ 59%] tests.py::TestYara::testMatchedLength PASSED [ 61%] tests.py::TestYara::testMeta PASSED [ 63%] tests.py::TestYara::testMetaNull PASSED [ 65%] tests.py::TestYara::testModuleData PASSED [ 68%] tests.py::TestYara::testModules PASSED [ 70%] tests.py::TestYara::testOf PASSED [ 72%] tests.py::TestYara::testOffset PASSED [ 74%] tests.py::TestYara::testRE PASSED [ 76%] tests.py::TestYara::testRulesIterator PASSED [ 78%] tests.py::TestYara::testScanMeta PASSED [ 80%] tests.py::TestYara::testSetConfig PASSED [ 82%] tests.py::TestYara::testStringIO PASSED [ 85%] tests.py::TestYara::testStrings PASSED [ 87%] tests.py::TestYara::testSyntax PASSED [ 89%] tests.py::TestYara::testTooManyArguments PASSED [ 91%] tests.py::TestYara::testWarningCallback PASSED [ 93%] tests.py::TestYara::testWildcardStrings PASSED [ 95%] tests.py::TestYara::testXorKey PASSED [ 97%] tests.py::TestYara::testXorKeyNoXorString PASSED [100%] ============================== 47 passed in 2.59s ============================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-yara-4.5.4-5.fc45.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6nyriZ + umask 022 + cd /builddir/build/BUILD/python-yara-4.5.4-build + cd yara-python-4.5.4 + DOCDIR=/builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT/usr/share/doc/python3-yara + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT/usr/share/doc/python3-yara + cp -pr /builddir/build/BUILD/python-yara-4.5.4-build/yara-python-4.5.4/README.rst /builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT/usr/share/doc/python3-yara + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.4lrcuu + umask 022 + cd /builddir/build/BUILD/python-yara-4.5.4-build + cd yara-python-4.5.4 + LICENSEDIR=/builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT/usr/share/licenses/python3-yara + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT/usr/share/licenses/python3-yara + cp -pr /builddir/build/BUILD/python-yara-4.5.4-build/yara-python-4.5.4/LICENSE /builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT/usr/share/licenses/python3-yara + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-yara = 4.5.4-5.fc45 python3-yara = 4.5.4-5.fc45 python3-yara(riscv-64) = 4.5.4-5.fc45 python3.15-yara = 4.5.4-5.fc45 python3.15dist(yara-python) = 4.5.4 python3dist(yara-python) = 4.5.4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-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) libyara.so.10()(64bit) python(abi) = 3.15 rtld(GNU_HASH) Obsoletes: python-yara < 4.5.4-5.fc45 Processing files: python-yara-debugsource-4.5.4-5.fc45.riscv64 Provides: python-yara-debugsource = 4.5.4-5.fc45 python-yara-debugsource(riscv-64) = 4.5.4-5.fc45 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-yara-debuginfo-4.5.4-5.fc45.riscv64 Provides: debuginfo(build-id) = 83ac5a28cb05532d0c7d63bce5b38a11eed2cc6c python-yara-debuginfo = 4.5.4-5.fc45 python3-yara-debuginfo = 4.5.4-5.fc45 python3-yara-debuginfo(riscv-64) = 4.5.4-5.fc45 python3.15-yara-debuginfo = 4.5.4-5.fc45 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-yara-debugsource(riscv-64) = 4.5.4-5.fc45 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/python-yara-4.5.4-build/BUILDROOT Wrote: /builddir/build/RPMS/python3-yara-4.5.4-5.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/python-yara-debugsource-4.5.4-5.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/python3-yara-debuginfo-4.5.4-5.fc45.riscv64.rpm RPM build warnings: The %py3_build macro is deprecated and will likely stop working in Fedora 45. See the current Python packaging guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ The %py3_install macro is deprecated and will likely stop working in Fedora 45. See the current Python packaging guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ Child return code was: 0