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 noarch --nodeps /builddir/build/SPECS/imagefactory-plugins.spec'], chrootPath='/var/lib/mock/dist-oc9-build-118332-69295/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 noarch --nodeps /builddir/build/SPECS/imagefactory-plugins.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 warning: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/imagefactory-plugins-1.1.16-11.oc9.src.rpm RPM build warnings: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/imagefactory-plugins.spec'], chrootPath='/var/lib/mock/dist-oc9-build-118332-69295/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 noarch --nodeps /builddir/build/SPECS/imagefactory-plugins.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 warning: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.me8Zqw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf imagefactory-imagefactory-1.1.16-1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/imagefactory-1.1.16-1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd imagefactory-imagefactory-1.1.16-1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv imagefactory_plugins ../ + rm -rf CONTRIBUTING.md COPYING MANIFEST.in Makefile README.documentation README.markdown cert-ec2.pem conf imagefactory imagefactory.conf imagefactory.spec imagefactory.spec.in imagefactoryd imgfac pylint.conf scripts setup.cfg setup.py tests windows-proxy-code + mv ../imagefactory_plugins/Atlas ../imagefactory_plugins/COPYING ../imagefactory_plugins/Docker ../imagefactory_plugins/EC2 ../imagefactory_plugins/GCE ../imagefactory_plugins/HyperV ../imagefactory_plugins/IndirectionCloud ../imagefactory_plugins/MANIFEST.in ../imagefactory_plugins/Makefile ../imagefactory_plugins/MockCloud ../imagefactory_plugins/MockOS ../imagefactory_plugins/Nova ../imagefactory_plugins/OVA ../imagefactory_plugins/OpenStack ../imagefactory_plugins/RHEVM ../imagefactory_plugins/Rackspace ../imagefactory_plugins/TinMan ../imagefactory_plugins/__init__.py ../imagefactory_plugins/conf ../imagefactory_plugins/imagefactory-plugins.spec.in ../imagefactory_plugins/ovfcommon ../imagefactory_plugins/setup.py ../imagefactory_plugins/vSphere . + rmdir ../imagefactory_plugins/ Patch #0 (imagefactory-1.1.14-utf8-config-id.patch): + echo 'Patch #0 (imagefactory-1.1.14-utf8-config-id.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Docker/Docker.py Hunk #1 succeeded at 426 (offset -6 lines). Patch #1 (container-github-pr434.patch): + echo 'Patch #1 (container-github-pr434.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Docker/Docker.py Patch #2 (fix-armv7l.patch): + echo 'Patch #2 (fix-armv7l.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Docker/Docker.py Patch #3 (imagefactory-Docker.py-Pass-the-use_ino-option-to-fix-hardlnks.patch): + echo 'Patch #3 (imagefactory-Docker.py-Pass-the-use_ino-option-to-fix-hardlnks.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file Docker/Docker.py Hunk #1 succeeded at 322 (offset 10 lines). Patch #4 (0001-TinMan.py-adjust-to-oz-generate_diskimage-size-unit-.patch): + echo 'Patch #4 (0001-TinMan.py-adjust-to-oz-generate_diskimage-size-unit-.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file TinMan/TinMan.py Patch #5 (0002-Python-3.12-adjust-for-removal-of-SafeConfigParser.patch): + echo 'Patch #5 (0002-Python-3.12-adjust-for-removal-of-SafeConfigParser.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file EC2/EC2.py patching file IndirectionCloud/IndirectionCloud.py patching file Nova/Nova.py patching file Rackspace/Rackspace.py patching file TinMan/TinMan.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TrYzuG + 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/lib/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/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd imagefactory-imagefactory-1.1.16-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' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MBPZJd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/imagefactory-plugins-1.1.16-11.oc9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/imagefactory-plugins-1.1.16-11.oc9.noarch ++ dirname /builddir/build/BUILDROOT/imagefactory-plugins-1.1.16-11.oc9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/imagefactory-plugins-1.1.16-11.oc9.noarch + cd imagefactory-imagefactory-1.1.16-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/imagefactory-plugins-1.1.16-11.oc9.noarch /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() + rm -rfv /builddir/build/BUILDROOT/imagefactory-plugins-1.1.16-11.oc9.noarch/usr/bin/__pycache__ + rm -rf /builddir/build/BUILDROOT/imagefactory-plugins-1.1.16-11.oc9.noarch/usr/lib/python3.11/site-packages/imagefactory_plugins/MockOS + rm -rf /builddir/build/BUILDROOT/imagefactory-plugins-1.1.16-11.oc9.noarch/usr/lib/python3.11/site-packages/imagefactory_plugins/MockCloud + rm -rf /builddir/build/BUILDROOT/imagefactory-plugins-1.1.16-11.oc9.noarch/usr/lib/python3.11/site-packages/imagefactory_plugins/Nova + rm -rf /builddir/build/BUILDROOT/imagefactory-plugins-1.1.16-11.oc9.noarch/etc/imagefactory/jeos_images + rm -rf /builddir/build/BUILDROOT/imagefactory-plugins-1.1.16-11.oc9.noarch/usr/bin/create-ec2-factory-credentials + rm -rf /builddir/build/BUILDROOT/imagefactory-plugins-1.1.16-11.oc9.noarch/usr/lib/python3.11/site-packages/imagefactory_plugins/EC2 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.1.16-11.oc9 --unique-debug-suffix -1.1.16-11.oc9.noarch --unique-debug-src-base imagefactory-plugins-1.1.16-11.oc9.noarch -S debugsourcefiles.list /builddir/build/BUILD/imagefactory-imagefactory-1.1.16-1 find: 'debug': No such file or directory + /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/imagefactory-plugins-1.1.16-11.oc9.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: imagefactory-plugins-1.1.16-11.oc9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.D3LMzH + umask 022 + cd /builddir/build/BUILD + cd imagefactory-imagefactory-1.1.16-1 + LICENSEDIR=/builddir/build/BUILDROOT/imagefactory-plugins-1.1.16-11.oc9.noarch/usr/share/licenses/imagefactory-plugins + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/imagefactory-plugins-1.1.16-11.oc9.noarch/usr/share/licenses/imagefactory-plugins + cp -pr COPYING /builddir/build/BUILDROOT/imagefactory-plugins-1.1.16-11.oc9.noarch/usr/share/licenses/imagefactory-plugins + RPM_EC=0 ++ jobs -p + exit 0 Provides: imagefactory-plugins = 1.1.16-11.oc9 python3.11dist(imagefactory-plugins) = 1.1.15 python3dist(imagefactory-plugins) = 1.1.15 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.11 Obsoletes: imagefactory-plugins-EC2 < 1.1.15-3 imagefactory-plugins-EC2-jeos-images < 1.1.15-3 Processing files: imagefactory-plugins-ovfcommon-1.1.16-11.oc9.noarch Provides: imagefactory-plugins-ovfcommon = 1.1.16-11.oc9 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.11 Processing files: imagefactory-plugins-OVA-1.1.16-11.oc9.noarch Provides: imagefactory-plugins-OVA = 1.1.16-11.oc9 Requires(interp): /bin/sh /bin/sh 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(post): /bin/sh Requires(postun): /bin/sh Requires: python(abi) = 3.11 Processing files: imagefactory-plugins-IndirectionCloud-1.1.16-11.oc9.noarch Provides: imagefactory-plugins-IndirectionCloud = 1.1.16-11.oc9 Requires(interp): /bin/sh /bin/sh 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(post): /bin/sh Requires(postun): /bin/sh Requires: python(abi) = 3.11 Processing files: imagefactory-plugins-TinMan-1.1.16-11.oc9.noarch Provides: imagefactory-plugins-TinMan = 1.1.16-11.oc9 Requires(interp): /bin/sh /bin/sh 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(post): /bin/sh Requires(postun): /bin/sh Requires: python(abi) = 3.11 Processing files: imagefactory-plugins-OpenStack-1.1.16-11.oc9.noarch Provides: imagefactory-plugins-OpenStack = 1.1.16-11.oc9 Requires(interp): /bin/sh /bin/sh 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(post): /bin/sh Requires(postun): /bin/sh Requires: python(abi) = 3.11 Processing files: imagefactory-plugins-Rackspace-1.1.16-11.oc9.noarch Provides: imagefactory-plugins-Rackspace = 1.1.16-11.oc9 Requires(interp): /bin/sh /bin/sh 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(post): /bin/sh Requires(postun): /bin/sh Requires: python(abi) = 3.11 Processing files: imagefactory-plugins-Rackspace-JEOS-images-1.1.16-11.oc9.noarch error: File not found: /builddir/build/BUILDROOT/imagefactory-plugins-1.1.16-11.oc9.noarch/etc/imagefactory/jeos_images/rackspace_fedora_jeos.conf error: File not found: /builddir/build/BUILDROOT/imagefactory-plugins-1.1.16-11.oc9.noarch/etc/imagefactory/jeos_images/rackspace_rhel_jeos.conf RPM build warnings: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) RPM build errors: File not found: /builddir/build/BUILDROOT/imagefactory-plugins-1.1.16-11.oc9.noarch/etc/imagefactory/jeos_images/rackspace_fedora_jeos.conf File not found: /builddir/build/BUILDROOT/imagefactory-plugins-1.1.16-11.oc9.noarch/etc/imagefactory/jeos_images/rackspace_rhel_jeos.conf Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/imagefactory-plugins.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/imagefactory-plugins.spec