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/python-kmod.spec'], chrootPath='/var/lib/mock/f37-build-639116-71087/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-kmod.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=1658448000 Wrote: /builddir/build/SRPMS/python-kmod-0.9-35.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-kmod.spec'], chrootPath='/var/lib/mock/f37-build-639116-71087/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-kmod.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=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.k4mTKy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-kmod-0.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-kmod-0.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-kmod-0.9 + /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.PDHxgG + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,-dT,/builddir/build/BUILD/python-kmod-0.9/.package_note-python-kmod-0.9-35.fc37.riscv64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh python-kmod 0.9-35.fc37 riscv64 + cd python-kmod-0.9 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -Wl,-dT,/builddir/build/BUILD/python-kmod-0.9/.package_note-python-kmod-0.9-35.fc37.riscv64.ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' /builddir/build/BUILD/python-kmod-0.9/setup.py:18: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup running build running build_py creating build creating build/lib.linux-riscv64-3.11 creating build/lib.linux-riscv64-3.11/kmod copying kmod/version.py -> build/lib.linux-riscv64-3.11/kmod copying kmod/__init__.py -> build/lib.linux-riscv64-3.11/kmod copying kmod/error.py -> build/lib.linux-riscv64-3.11/kmod running build_ext cythoning kmod/_util.pyx to kmod/_util.c /usr/lib64/python3.11/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /builddir/build/BUILD/python-kmod-0.9/kmod/_util.pxd tree = Parsing.p_module(s, pxd, full_module_name) cythoning kmod/kmod.pyx to kmod/kmod.c /usr/lib64/python3.11/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /builddir/build/BUILD/python-kmod-0.9/kmod/kmod.pxd tree = Parsing.p_module(s, pxd, full_module_name) cythoning kmod/list.pyx to kmod/list.c /usr/lib64/python3.11/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /builddir/build/BUILD/python-kmod-0.9/kmod/list.pxd tree = Parsing.p_module(s, pxd, full_module_name) cythoning kmod/module.pyx to kmod/module.c /usr/lib64/python3.11/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /builddir/build/BUILD/python-kmod-0.9/kmod/module.pxd tree = Parsing.p_module(s, pxd, full_module_name) building 'kmod._util' extension creating build/temp.linux-riscv64-3.11 creating build/temp.linux-riscv64-3.11/kmod 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 -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 -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 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.11 -c kmod/_util.c -o build/temp.linux-riscv64-3.11/kmod/_util.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -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 -Wl,-dT,/builddir/build/BUILD/python-kmod-0.9/.package_note-python-kmod-0.9-35.fc37.riscv64.ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-3.11/kmod/_util.o -L/usr/lib64 -lkmod -o build/lib.linux-riscv64-3.11/kmod/_util.cpython-311-riscv64-linux-gnu.so building 'kmod.kmod' extension 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 -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 -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 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.11 -c kmod/kmod.c -o build/temp.linux-riscv64-3.11/kmod/kmod.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -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 -Wl,-dT,/builddir/build/BUILD/python-kmod-0.9/.package_note-python-kmod-0.9-35.fc37.riscv64.ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-3.11/kmod/kmod.o -L/usr/lib64 -lkmod -o build/lib.linux-riscv64-3.11/kmod/kmod.cpython-311-riscv64-linux-gnu.so building 'kmod.list' extension 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 -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 -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 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.11 -c kmod/list.c -o build/temp.linux-riscv64-3.11/kmod/list.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -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 -Wl,-dT,/builddir/build/BUILD/python-kmod-0.9/.package_note-python-kmod-0.9-35.fc37.riscv64.ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-3.11/kmod/list.o -L/usr/lib64 -lkmod -o build/lib.linux-riscv64-3.11/kmod/list.cpython-311-riscv64-linux-gnu.so building 'kmod.module' extension 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 -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 -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 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.11 -c kmod/module.c -o build/temp.linux-riscv64-3.11/kmod/module.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -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 -Wl,-dT,/builddir/build/BUILD/python-kmod-0.9/.package_note-python-kmod-0.9-35.fc37.riscv64.ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-3.11/kmod/module.o -L/usr/lib64 -lkmod -o build/lib.linux-riscv64-3.11/kmod/module.cpython-311-riscv64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LO8sW3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,-dT,/builddir/build/BUILD/python-kmod-0.9/.package_note-python-kmod-0.9-35.fc37.riscv64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd python-kmod-0.9 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -Wl,-dT,/builddir/build/BUILD/python-kmod-0.9/.package_note-python-kmod-0.9-35.fc37.riscv64.ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64 --prefix /usr /builddir/build/BUILD/python-kmod-0.9/setup.py:18: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup running install running install_lib creating /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr creating /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/lib64/python3.11 creating /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/lib64/python3.11/site-packages creating /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/lib64/python3.11/site-packages/kmod copying build/lib.linux-riscv64-3.11/kmod/version.py -> /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/lib64/python3.11/site-packages/kmod copying build/lib.linux-riscv64-3.11/kmod/list.cpython-311-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/lib64/python3.11/site-packages/kmod copying build/lib.linux-riscv64-3.11/kmod/kmod.cpython-311-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/lib64/python3.11/site-packages/kmod copying build/lib.linux-riscv64-3.11/kmod/__init__.py -> /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/lib64/python3.11/site-packages/kmod copying build/lib.linux-riscv64-3.11/kmod/module.cpython-311-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/lib64/python3.11/site-packages/kmod copying build/lib.linux-riscv64-3.11/kmod/_util.cpython-311-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/lib64/python3.11/site-packages/kmod copying build/lib.linux-riscv64-3.11/kmod/error.py -> /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/lib64/python3.11/site-packages/kmod byte-compiling /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/lib64/python3.11/site-packages/kmod/version.py to version.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/lib64/python3.11/site-packages/kmod/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/lib64/python3.11/site-packages/kmod/error.py to error.cpython-311.pyc writing byte-compilation script '/tmp/tmpnaxhvn7x.py' /usr/bin/python3 -Wignore:The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives:DeprecationWarning /tmp/tmpnaxhvn7x.py removing /tmp/tmpnaxhvn7x.py running install_egg_info Writing /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/lib64/python3.11/site-packages/kmod-0.1-py3.11.egg-info + rm -rfv /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.9-35.fc37 --unique-debug-suffix -0.9-35.fc37.riscv64 --unique-debug-src-base python-kmod-0.9-35.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/python-kmod-0.9 extracting debug info from /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/lib64/python3.11/site-packages/kmod/kmod.cpython-311-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/lib64/python3.11/site-packages/kmod/_util.cpython-311-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/lib64/python3.11/site-packages/kmod/list.cpython-311-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/lib64/python3.11/site-packages/kmod/module.cpython-311-riscv64-linux-gnu.so original debug info size: 2204kB, size after compression: 2144kB /usr/bin/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 1890 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /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-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/lib/debug/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: python3-kmod-0.9-35.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WMTWUS + umask 022 + cd /builddir/build/BUILD + cd python-kmod-0.9 + DOCDIR=/builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/share/doc/python3-kmod + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/share/doc/python3-kmod + cp -pr COPYING.LESSER /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/share/doc/python3-kmod + cp -pr README /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64/usr/share/doc/python3-kmod + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-kmod = 0.9-35.fc37 python3-kmod = 0.9-35.fc37 python3-kmod(riscv-64) = 0.9-35.fc37 python3.11-kmod = 0.9-35.fc37 python3.11dist(kmod) = 0.1 python3dist(kmod) = 0.1 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) libkmod.so.2()(64bit) libkmod.so.2(LIBKMOD_5)(64bit) python(abi) = 3.11 rtld(GNU_HASH) Processing files: python-kmod-debugsource-0.9-35.fc37.riscv64 Provides: python-kmod-debugsource = 0.9-35.fc37 python-kmod-debugsource(riscv-64) = 0.9-35.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-kmod-debuginfo-0.9-35.fc37.riscv64 Provides: debuginfo(build-id) = 0c04adec9f1436186aaa07867c67b28148268df5 debuginfo(build-id) = 6ff2a6a90b0543059e8b56769b950b33ad5be214 debuginfo(build-id) = 7324b5b7903cb759f8b199069f99df5a02dbe8b5 debuginfo(build-id) = d27ab94af56a8649e5ad53fb045130585ee10b6a python-kmod-debuginfo = 0.9-35.fc37 python3-kmod-debuginfo = 0.9-35.fc37 python3-kmod-debuginfo(riscv-64) = 0.9-35.fc37 python3.11-kmod-debuginfo = 0.9-35.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-kmod-debugsource(riscv-64) = 0.9-35.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64 Wrote: /builddir/build/RPMS/python3-kmod-0.9-35.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/python3-kmod-debuginfo-0.9-35.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/python-kmod-debugsource-0.9-35.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KPUVRq + umask 022 + cd /builddir/build/BUILD + cd python-kmod-0.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-kmod-0.9-35.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.xnIJLE + umask 022 + cd /builddir/build/BUILD + rm -rf python-kmod-0.9 python-kmod-0.9.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0