[...] i686-tld-linux-gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -fno-caller-saves -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -I. -I./Include -fPIC -DPy_BUILD_CORE -o Programs/_testembed.o ./Programs/_testembed.c # Substitution happens here, as the completely-expanded BINDIR # is not available in configure sed -e "s,@EXENAME@,/usr/bin/python3.6m," < ./Misc/python-config.in >python-config.py # Replace makefile compat. variable references with shell script compat. ones; -> LC_ALL=C sed -e 's,\$(\([A-Za-z0-9_]*\)),\$\{\1\},g' < Misc/python-config.sh >python-config # On Darwin, always use the python version of the script, the shell # version doesn't use the compiler customizations that are provided # in python (_osx_support.py). if test `uname -s` = Darwin; then \ cp python-config.py python-config; \ fi Traceback (most recent call last): File "./Python/makeopcodetargets.py", line 11, in from importlib.machinery import SourceFileLoader ImportError: No module named 'importlib' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "./Python/makeopcodetargets.py", line 13, in import imp ImportError: No module named 'imp' make: *** [Python/opcode_targets.h] Error 1 make: *** Waiting for unfinished jobs.... Traceback (most recent call last): File "./Parser/asdl_c.py", line 6, in import asdl File "/tmp/B.Q9pl0P/BUILD/Python-3.6.1/Parser/asdl.py", line 22, in from collections import namedtuple File "/usr/lib/python3.5/collections/__init__.py", line 26, in from operator import itemgetter as _itemgetter, eq as _eq ImportError: No module named 'operator' make: *** [Include/Python-ast.h] Error 1 error: Bad exit status from /tmp/B.Q9pl0P/BUILD/tmp/rpm-tmp.97281 (%build) RPM build errors: Bad exit status from /tmp/B.Q9pl0P/BUILD/tmp/rpm-tmp.97281 (%build) ended at: Tue Apr 4 14:18:33 2017, done in 0:00:19.897691 error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device + chmod -R u+rwX /tmp/B.Q9pl0P/BUILD + rm -rf /tmp/B.Q9pl0P/tmp /tmp/B.Q9pl0P/BUILD mesg: ttyname failed: Inappropriate ioctl for device + rm -rf /tmp/B.Q9pl0P Begin-TLD-Builder-Info Build-Time: user:15.82s sys:3.77s real:26.12s (faults io:0 non-io:1886176) End-TLD-Builder-Info