Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-edgegrid.spec'], chrootPath='/var/lib/mock/f36-build-29215730-3980801/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-edgegrid.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 error: /usr/lib/rpm/redhat/macros: line 71: Macro %cc has illegal name (%define) error: /usr/lib/rpm/redhat/macros: line 71: Macro %cc has illegal name (%define) Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1629158400 Wrote: /builddir/build/SRPMS/python-edgegrid-1.2.0-1.fc36.src.rpm error: /usr/lib/rpm/redhat/macros: line 71: Macro %cc has illegal name (%define) error: /usr/lib/rpm/redhat/macros: line 71: Macro %cc has illegal name (%define) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-edgegrid.spec'], chrootPath='/var/lib/mock/f36-build-29215730-3980801/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-edgegrid.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 error: /usr/lib/rpm/redhat/macros: line 71: Macro %cc has illegal name (%define) error: /usr/lib/rpm/redhat/macros: line 71: Macro %cc has illegal name (%define) Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1629158400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RTJY4W + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf edgegrid-python-1.2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/edgegrid-python-1.2.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd edgegrid-python-1.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find akamai -name '*.py' -exec sed -r -e 's|^#!/usr/bin/env.*|#|' -i '{}' ';' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IQZefy + umask 022 + cd /builddir/build/BUILD + cd edgegrid-python-1.2.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/akamai copying akamai/__init__.py -> build/lib/akamai creating build/lib/akamai/edgegrid copying akamai/edgegrid/__init__.py -> build/lib/akamai/edgegrid copying akamai/edgegrid/edgegrid.py -> build/lib/akamai/edgegrid copying akamai/edgegrid/edgerc.py -> build/lib/akamai/edgegrid creating build/lib/akamai/edgegrid/test copying akamai/edgegrid/test/__init__.py -> build/lib/akamai/edgegrid/test copying akamai/edgegrid/test/test_edgegrid.py -> build/lib/akamai/edgegrid/test + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NBPMbX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch ++ dirname /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch + cd edgegrid-python-1.2.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch running install running install_lib Skipping installation of /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch/usr/lib/python3.10/site-packages/akamai/__init__.py (namespace package) copying akamai/edgegrid/__init__.py -> /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch/usr/lib/python3.10/site-packages/akamai/edgegrid copying akamai/edgegrid/edgegrid.py -> /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch/usr/lib/python3.10/site-packages/akamai/edgegrid copying akamai/edgegrid/edgerc.py -> /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch/usr/lib/python3.10/site-packages/akamai/edgegrid copying akamai/edgegrid/test/__init__.py -> /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch/usr/lib/python3.10/site-packages/akamai/edgegrid/test copying akamai/edgegrid/test/test_edgegrid.py -> /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch/usr/lib/python3.10/site-packages/akamai/edgegrid/test byte-compiling /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch/usr/lib/python3.10/site-packages/akamai/edgegrid/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch/usr/lib/python3.10/site-packages/akamai/edgegrid/edgegrid.py to edgegrid.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch/usr/lib/python3.10/site-packages/akamai/edgegrid/edgerc.py to edgerc.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch/usr/lib/python3.10/site-packages/akamai/edgegrid/test/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch/usr/lib/python3.10/site-packages/akamai/edgegrid/test/test_edgegrid.py to test_edgegrid.cpython-310.pyc writing byte-compilation script '/tmp/tmps05y2bcs.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/tmps05y2bcs.py removing /tmp/tmps05y2bcs.py running install_egg_info running egg_info writing edgegrid_python.egg-info/PKG-INFO writing dependency_links to edgegrid_python.egg-info/dependency_links.txt writing namespace_packages to edgegrid_python.egg-info/namespace_packages.txt writing requirements to edgegrid_python.egg-info/requires.txt writing top-level names to edgegrid_python.egg-info/top_level.txt reading manifest file 'edgegrid_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'edgegrid_python.egg-info/SOURCES.txt' Copying edgegrid_python.egg-info to /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch/usr/lib/python3.10/site-packages/edgegrid_python-1.2.0-py3.10.egg-info Installing /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch/usr/lib/python3.10/site-packages/edgegrid_python-1.2.0-py3.10-nspkg.pth running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j3 --strict-build-id -m -i --build-id-seed 1.2.0-1.fc36 --unique-debug-suffix -1.2.0-1.fc36.noarch --unique-debug-src-base python-edgegrid-1.2.0-1.fc36.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/edgegrid-python-1.2.0 find: 'debug': No such file or directory + /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/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.SOEByZ + umask 022 + cd /builddir/build/BUILD + cd edgegrid-python-1.2.0 + /usr/bin/python3 -m akamai.edgegrid.test.test_edgegrid ...................... ---------------------------------------------------------------------- Ran 22 tests in 0.006s OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-edgegrid-1.2.0-1.fc36.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bsE9GF + umask 022 + cd /builddir/build/BUILD + cd edgegrid-python-1.2.0 + DOCDIR=/builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch/usr/share/doc/python3-edgegrid + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch/usr/share/doc/python3-edgegrid + cp -pr README.rst /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch/usr/share/doc/python3-edgegrid + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ZV5N4l + umask 022 + cd /builddir/build/BUILD + cd edgegrid-python-1.2.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch/usr/share/licenses/python3-edgegrid + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch/usr/share/licenses/python3-edgegrid + cp -pr LICENSE /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch/usr/share/licenses/python3-edgegrid + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-edgegrid = 1.2.0-1.fc36 python3-edgegrid = 1.2.0-1.fc36 python3.10-edgegrid = 1.2.0-1.fc36 python3.10dist(edgegrid-python) = 1.2 python3dist(edgegrid-python) = 1.2 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: python(abi) = 3.10 python3.10dist(ndg-httpsclient) python3.10dist(pyasn1) python3.10dist(pyopenssl) >= 19 python3.10dist(requests) >= 2.3 python3.10dist(urllib3) Obsoletes: python-edgegrid < 1.2.0-1.fc36 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch Wrote: /builddir/build/RPMS/python3-edgegrid-1.2.0-1.fc36.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GqWyG9 + umask 022 + cd /builddir/build/BUILD + cd edgegrid-python-1.2.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-edgegrid-1.2.0-1.fc36.noarch + RPM_EC=0 ++ jobs -p + exit 0 error: /usr/lib/rpm/redhat/macros: line 71: Macro %cc has illegal name (%define) error: /usr/lib/rpm/redhat/macros: line 71: Macro %cc has illegal name (%define) Child return code was: 0