Mock Version: 1.2.17 Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/PyYAML.spec'], chrootPath='/var/lib/mock/sclo7-python27-rh-el7-build-54594-209345/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/PyYAML.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python27-PyYAML-3.10-15.bs1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/PyYAML.spec'], chrootPath='/var/lib/mock/sclo7-python27-rh-el7-build-54594-209345/root'shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/PyYAML.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.j4jrr6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PyYAML-3.10 + /usr/bin/gzip -dc /builddir/build/SOURCES/PyYAML-3.10.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd PyYAML-3.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod a-x examples/yaml-highlight/yaml_hl.py + sed -i 's|#!/usr/bin/python||' examples/yaml-highlight/yaml_hl.py + echo 'Patch #0 (PyYAML-size_t_not_int.patch):' Patch #0 (PyYAML-size_t_not_int.patch): + /usr/bin/cat /builddir/build/SOURCES/PyYAML-size_t_not_int.patch + /usr/bin/patch -p1 --fuzz=0 patching file ext/_yaml.pxd patching file ext/_yaml.pyx + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wUKOWa + umask 022 + cd /builddir/build/BUILD + cd PyYAML-3.10 + scl enable python27 - running build running build_py creating build creating build/lib.linux-aarch64-2.7 creating build/lib.linux-aarch64-2.7/yaml copying lib/yaml/parser.py -> build/lib.linux-aarch64-2.7/yaml copying lib/yaml/constructor.py -> build/lib.linux-aarch64-2.7/yaml copying lib/yaml/resolver.py -> build/lib.linux-aarch64-2.7/yaml copying lib/yaml/scanner.py -> build/lib.linux-aarch64-2.7/yaml copying lib/yaml/emitter.py -> build/lib.linux-aarch64-2.7/yaml copying lib/yaml/loader.py -> build/lib.linux-aarch64-2.7/yaml copying lib/yaml/nodes.py -> build/lib.linux-aarch64-2.7/yaml copying lib/yaml/serializer.py -> build/lib.linux-aarch64-2.7/yaml copying lib/yaml/reader.py -> build/lib.linux-aarch64-2.7/yaml copying lib/yaml/tokens.py -> build/lib.linux-aarch64-2.7/yaml copying lib/yaml/__init__.py -> build/lib.linux-aarch64-2.7/yaml copying lib/yaml/dumper.py -> build/lib.linux-aarch64-2.7/yaml copying lib/yaml/cyaml.py -> build/lib.linux-aarch64-2.7/yaml copying lib/yaml/events.py -> build/lib.linux-aarch64-2.7/yaml copying lib/yaml/representer.py -> build/lib.linux-aarch64-2.7/yaml copying lib/yaml/error.py -> build/lib.linux-aarch64-2.7/yaml copying lib/yaml/composer.py -> build/lib.linux-aarch64-2.7/yaml running build_ext building '_yaml' extension creating build/temp.linux-aarch64-2.7 creating build/temp.linux-aarch64-2.7/ext gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -I/opt/rh/python27/root/usr/include/python2.7 -c ext/_yaml.c -o build/temp.linux-aarch64-2.7/ext/_yaml.o In file included from /opt/rh/python27/root/usr/include/python2.7/Python.h:8:0, from ext/_yaml.c:4: /opt/rh/python27/root/usr/include/python2.7/pyconfig.h:6:25: fatal error: pyconfig-64.h: No such file or directory #include "pyconfig-64.h" ^ compilation terminated. error: command 'gcc' failed with exit status 1 error: Bad exit status from /var/tmp/rpm-tmp.wUKOWa (%build) Bad exit status from /var/tmp/rpm-tmp.wUKOWa (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/PyYAML.spec