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/py3c.spec'], chrootPath='/var/lib/mock/dist-oc9-build-51159-14595/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=991gid=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/py3c.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/py3c-1.4-3.oc9.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/py3c.spec'], chrootPath='/var/lib/mock/dist-oc9-build-51159-14595/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=991gid=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/py3c.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.WOE7VQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf py3c-1.4 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/py3c-1.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd py3c-1.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.MP5Z2o + 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 py3c-1.4 + make -j32 py3c.pc includedir=/usr/include sed -e's:@includedir@:/usr/include:' py3c.pc.in > py3c.pc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rIEsDk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/py3c-1.4-3.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/py3c-1.4-3.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/py3c-1.4-3.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/py3c-1.4-3.oc9.x86_64 + cd py3c-1.4 + make install prefix=/builddir/build/BUILDROOT/py3c-1.4-3.oc9.x86_64/usr includedir=/builddir/build/BUILDROOT/py3c-1.4-3.oc9.x86_64/usr/include mkdir -p -m 0755 /builddir/build/BUILDROOT/py3c-1.4-3.oc9.x86_64/usr/include/py3c install -m 0644 include/py3c.h /builddir/build/BUILDROOT/py3c-1.4-3.oc9.x86_64/usr/include/py3c.h install -m 0644 include/py3c/capsulethunk.h include/py3c/comparison.h include/py3c/compat.h include/py3c/fileshim.h include/py3c/py3shims.h include/py3c/tpflags.h /builddir/build/BUILDROOT/py3c-1.4-3.oc9.x86_64/usr/include/py3c/ mkdir -p -m 0755 /builddir/build/BUILDROOT/py3c-1.4-3.oc9.x86_64/usr/share/pkgconfig install -m 0644 py3c.pc /builddir/build/BUILDROOT/py3c-1.4-3.oc9.x86_64/usr/share/pkgconfig/ + sed --in-place '-es!/builddir/build/BUILDROOT/py3c-1.4-3.oc9.x86_64!!' /builddir/build/BUILDROOT/py3c-1.4-3.oc9.x86_64/usr/share/pkgconfig/py3c.pc + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ziFL2x + 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 py3c-1.4 + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + 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' + make -j32 test-python3 cd test; rm -rvf /builddir/build/BUILD/py3c-1.4/test/build ; python3 setup.py build -b /builddir/build/BUILD/py3c-1.4/test/build running build running build_ext building 'test_py3c' extension creating /builddir/build/BUILD/py3c-1.4/test/build creating /builddir/build/BUILD/py3c-1.4/test/build/temp.linux-x86_64-cpython-310 gcc -Wno-unused-result -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I../include -I/usr/include/python3.10 -c test_empty.c -o /builddir/build/BUILD/py3c-1.4/test/build/temp.linux-x86_64-cpython-310/test_empty.o -Werror -Wall gcc -Wno-unused-result -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I../include -I/usr/include/python3.10 -c test_py3c.c -o /builddir/build/BUILD/py3c-1.4/test/build/temp.linux-x86_64-cpython-310/test_py3c.o -Werror -Wall creating /builddir/build/BUILD/py3c-1.4/test/build/lib.linux-x86_64-cpython-310 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/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 /builddir/build/BUILD/py3c-1.4/test/build/temp.linux-x86_64-cpython-310/test_empty.o /builddir/build/BUILD/py3c-1.4/test/build/temp.linux-x86_64-cpython-310/test_py3c.o -L/usr/lib64 -o /builddir/build/BUILD/py3c-1.4/test/build/lib.linux-x86_64-cpython-310/test_py3c.cpython-310-x86_64-linux-gnu.so echo /builddir/build/BUILD/py3c-1.4/test/build /builddir/build/BUILD/py3c-1.4/test/build PYTHONPATH=/builddir/build/BUILD/py3c-1.4/test/build/lib.linux-x86_64-cpython-310 python3 test -v test_get_context (__main__.CapsuleChecks) ... ok test_get_destructor (__main__.CapsuleChecks) ... ok test_get_name (__main__.CapsuleChecks) ... ok test_get_pointer (__main__.CapsuleChecks) ... ok test_get_pointer_nullname (__main__.CapsuleChecks) ... ok test_import (__main__.CapsuleChecks) ... ok test_invalid (__main__.CapsuleChecks) ... ok test_invalid_operations (__main__.CapsuleChecks) ... ok test_set_context (__main__.CapsuleChecks) ... ok test_setdestructor (__main__.CapsuleChecks) ... ok test_setname (__main__.CapsuleChecks) ... ok test_setpointer (__main__.CapsuleChecks) ... ok test_type (__main__.CapsuleChecks) ... ok test_valid (__main__.CapsuleChecks) ... ok test_return_notimplemented (__main__.ComparisonHelperChecks) ... ok test_unreachable (__main__.ComparisonHelperChecks) ... ok test_bad_type (__main__.FileShimChecks) ... ok test_read (__main__.FileShimChecks) ... ok test_read_write (__main__.FileShimChecks) ... ok test_write (__main__.FileShimChecks) ... ok test_fromstring (__main__.FloatChecks) ... ok test_as (__main__.IntChecks) ... ok test_check (__main__.IntChecks) ... ok test_check_exact (__main__.IntChecks) ... ok test_from (__main__.IntChecks) ... ok test_type (__main__.IntChecks) ... ok test_all_comparisons (__main__.NewComparisonChecks) ... ok test_number (__main__.NewComparisonChecks) ... ok test_number_int_equality (__main__.NewComparisonChecks) ... ok test_number_number_equality (__main__.NewComparisonChecks) ... ok test_all_comparisons (__main__.OldComparisonChecks) ... ok test_number (__main__.OldComparisonChecks) ... ok test_number_int_equality (__main__.OldComparisonChecks) ... ok test_number_number_equality (__main__.OldComparisonChecks) ... ok test_raw_calloc_zero (__main__.RawMallocChecks) ... ok test_raw_malloc (__main__.RawMallocChecks) ... ok test_raw_malloc_zerosize (__main__.RawMallocChecks) ... ok test_raw_realloc (__main__.RawMallocChecks) ... ok test_raw_realloc_null (__main__.RawMallocChecks) ... ok test_raw_realloc_zero (__main__.RawMallocChecks) ... ok test_asstring (__main__.StringChecks) ... ok test_asutf8 (__main__.StringChecks) ... ok test_asutf8andsize (__main__.StringChecks) ... ok test_asutf8string (__main__.StringChecks) ... ok test_check (__main__.StringChecks) ... ok test_check_exact (__main__.StringChecks) ... ok test_concat (__main__.StringChecks) ... ok test_decode (__main__.StringChecks) ... ok test_format (__main__.StringChecks) ... ok test_fromformat (__main__.StringChecks) ... ok test_fromstring (__main__.StringChecks) ... ok test_fromstringandsize (__main__.StringChecks) ... ok test_internfromstring (__main__.StringChecks) ... ok test_interninplace (__main__.StringChecks) ... ok test_type (__main__.StringChecks) ... ok ---------------------------------------------------------------------- Ran 55 tests in 0.109s OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: py3c-devel-1.4-3.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xrvibm + umask 022 + cd /builddir/build/BUILD + cd py3c-1.4 + DOCDIR=/builddir/build/BUILDROOT/py3c-1.4-3.oc9.x86_64/usr/share/doc/py3c-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/py3c-1.4-3.oc9.x86_64/usr/share/doc/py3c-devel + cp -pr README.rst /builddir/build/BUILDROOT/py3c-1.4-3.oc9.x86_64/usr/share/doc/py3c-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.CXTlpL + umask 022 + cd /builddir/build/BUILD + cd py3c-1.4 + LICENSEDIR=/builddir/build/BUILDROOT/py3c-1.4-3.oc9.x86_64/usr/share/licenses/py3c-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/py3c-1.4-3.oc9.x86_64/usr/share/licenses/py3c-devel + cp -pr LICENSE.MIT /builddir/build/BUILDROOT/py3c-1.4-3.oc9.x86_64/usr/share/licenses/py3c-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: pkgconfig(py3c) = 1.4 py3c-devel = 1.4-3.oc9 py3c-devel(x86-64) = 1.4-3.oc9 py3c-static = 1.4-3.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/py3c-1.4-3.oc9.x86_64 Wrote: /builddir/build/RPMS/py3c-devel-1.4-3.oc9.x86_64.rpm Child return code was: 0