Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-pyeclib.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-240911-22006/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-pyeclib.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-pyeclib-1.6.1-2.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-pyeclib.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-240911-22006/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-pyeclib.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qjTHrP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyeclib-1.6.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pyeclib-1.6.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pyeclib-1.6.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/pyeclib-1.6.0-noexplib.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ULhH0W + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 pyeclib-1.6.1 + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib.linux-x86_64-cpython-311 creating build/lib.linux-x86_64-cpython-311/pyeclib copying pyeclib/__init__.py -> build/lib.linux-x86_64-cpython-311/pyeclib copying pyeclib/ec_iface.py -> build/lib.linux-x86_64-cpython-311/pyeclib copying pyeclib/core.py -> build/lib.linux-x86_64-cpython-311/pyeclib copying pyeclib/utils.py -> build/lib.linux-x86_64-cpython-311/pyeclib copying pyeclib/enum.py -> build/lib.linux-x86_64-cpython-311/pyeclib running build_ext building 'pyeclib_c' extension creating build/temp.linux-x86_64-cpython-311 creating build/temp.linux-x86_64-cpython-311/src creating build/temp.linux-x86_64-cpython-311/src/c creating build/temp.linux-x86_64-cpython-311/src/c/pyeclib_c gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC "-DMAJOR VERSION=1" "-DMINOR VERSION=6" -I/usr/include/python3.11 -Isrc/c/pyeclib_c -I/usr/include -I/usr/include/liberasurecode -I/usr/include/liberasurecode -I/usr/include -I/usr/include/python3.11 -c src/c/pyeclib_c/pyeclib_c.c -o build/temp.linux-x86_64-cpython-311/src/c/pyeclib_c/pyeclib_c.o src/c/pyeclib_c/pyeclib_c.c: In function ‘redirect_stderr’: src/c/pyeclib_c/pyeclib_c.c:209:5: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 209 | freopen(_PATH_DEVNULL, "w", stderr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-cpython-311/src/c/pyeclib_c/pyeclib_c.o -L/usr/lib64 -lerasurecode -o build/lib.linux-x86_64-cpython-311/pyeclib_c.abi3.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0PG5Ot + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64 + cd pyeclib-1.6.1 + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64 running install /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: 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. 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/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr creating /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/lib64/python3.11 creating /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/lib64/python3.11/site-packages copying build/lib.linux-x86_64-cpython-311/pyeclib_c.abi3.so -> /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/lib64/python3.11/site-packages creating /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/pyeclib copying build/lib.linux-x86_64-cpython-311/pyeclib/utils.py -> /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/pyeclib copying build/lib.linux-x86_64-cpython-311/pyeclib/core.py -> /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/pyeclib copying build/lib.linux-x86_64-cpython-311/pyeclib/enum.py -> /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/pyeclib copying build/lib.linux-x86_64-cpython-311/pyeclib/__init__.py -> /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/pyeclib copying build/lib.linux-x86_64-cpython-311/pyeclib/ec_iface.py -> /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/pyeclib byte-compiling /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/pyeclib/utils.py to utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/pyeclib/core.py to core.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/pyeclib/enum.py to enum.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/pyeclib/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/pyeclib/ec_iface.py to ec_iface.cpython-311.pyc writing byte-compilation script '/tmp/tmp4yvafzxa.py' /usr/bin/python3 /tmp/tmp4yvafzxa.py removing /tmp/tmp4yvafzxa.py running install_egg_info running egg_info writing pyeclib.egg-info/PKG-INFO writing dependency_links to pyeclib.egg-info/dependency_links.txt writing top-level names to pyeclib.egg-info/top_level.txt reading manifest file 'pyeclib.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pyeclib.egg-info/SOURCES.txt' Copying pyeclib.egg-info to /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/pyeclib-1.6.1-py3.11.egg-info running install_scripts *************************************************** ** ** PyECLib libraries have been installed to: ** /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/ ** ** Any user using this library must update: ** LD_LIBRARY_PATH ** ** Run 'ldconfig' or place this line: ** export LD_LIBRARY_PATH=/builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/ ** ** into .bashrc, .profile, or the appropriate shell ** start-up script! Also look at ldconfig(8) man ** page for a more static LD configuration ** *************************************************** + rm -rfv /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.6.1-2.ocs23 --unique-debug-suffix -1.6.1-2.ocs23.x86_64 --unique-debug-src-base python-pyeclib-1.6.1-2.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/pyeclib-1.6.1 extracting debug info from /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/lib64/python3.11/site-packages/pyeclib_c.abi3.so 87 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/lib/debug/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: python3-pyeclib-1.6.1-2.ocs23.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mxZjvX + umask 022 + cd /builddir/build/BUILD + cd pyeclib-1.6.1 + DOCDIR=/builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/share/doc/python3-pyeclib + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/share/doc/python3-pyeclib + cp -pr README.rst /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64/usr/share/doc/python3-pyeclib + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-pyeclib = 1.6.1-2.ocs23 python3-pyeclib = 1.6.1-2.ocs23 python3-pyeclib(x86-64) = 1.6.1-2.ocs23 python3.11-pyeclib = 1.6.1-2.ocs23 python3.11dist(pyeclib) = 1.6.1 python3dist(pyeclib) = 1.6.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: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) liberasurecode.so.1()(64bit) python(abi) = 3.11 rtld(GNU_HASH) Obsoletes: python3.11-pyeclib < 1.6.1-2.ocs23 Processing files: python-pyeclib-debugsource-1.6.1-2.ocs23.x86_64 Provides: python-pyeclib-debugsource = 1.6.1-2.ocs23 python-pyeclib-debugsource(x86-64) = 1.6.1-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-pyeclib-debuginfo-1.6.1-2.ocs23.x86_64 Provides: debuginfo(build-id) = 5e01ff787ed37c6a1d851efaeda4461c436eebb0 python-pyeclib-debuginfo = 1.6.1-2.ocs23 python3-pyeclib-debuginfo = 1.6.1-2.ocs23 python3-pyeclib-debuginfo(x86-64) = 1.6.1-2.ocs23 python3.11-pyeclib-debuginfo = 1.6.1-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-pyeclib-debugsource(x86-64) = 1.6.1-2.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-pyeclib-1.6.1-2.ocs23.x86_64 Wrote: /builddir/build/RPMS/python-pyeclib-debugsource-1.6.1-2.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/python3-pyeclib-debuginfo-1.6.1-2.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/python3-pyeclib-1.6.1-2.ocs23.x86_64.rpm Child return code was: 0