D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/pam-python-1.0.6-4.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.YMBBUN + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf pam-python-1.0.6 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/pam-python-1.0.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pam-python-1.0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/pam-python-1.0.6-fedora.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/pam-python-1.0.6-build.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.6YbBxL + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd pam-python-1.0.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j8 V=1 VERBOSE=1 'OPTFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' 'LDFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' /usr/bin/make --directory doc /usr/bin/make --directory src make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pam-python-1.0.6/src' sed "s,\\\$PWD,$(pwd),g" "test-pam_python.pam.in" >"test-pam_python.pam.tmp" mv test-pam_python.pam.tmp test-pam_python.pam make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pam-python-1.0.6/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pam-python-1.0.6/src' gcc -O0 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -o ctest ctest.c -lpam make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pam-python-1.0.6/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pam-python-1.0.6/src' CFLAGS="-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wextra -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -I/usr/local/lib/ " ./setup.py build Traceback (most recent call last): File "./setup.py", line 28, in if not os.environ.has_key("Py_DEBUG"): AttributeError: '_Environ' object has no attribute 'has_key' make[1]: *** [Makefile:11: pam_python.so] Error 1 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pam-python-1.0.6/src' make: *** [Makefile:6: lib] Error 2 make: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pam-python-1.0.6/doc' sphinx-build -b html -E . html Running Sphinx v2.4.4 making output directory... done loading intersphinx inventory from http://docs.python.org/2.7/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'http://docs.python.org/2.7/objects.inv' not fetchable due to : HTTPConnectionPool(host='docs.python.org', port=80): Max retries exceeded with url: /2.7/objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) building [mo]: targets for 0 po files that are out of date building [html]: targets for 1 source files that are out of date updating environment: [new config] 1 added, 0 changed, 0 removed reading sources... [100%] pam_python looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [100%] pam_python /home/iurt/rpmbuild/BUILD/pam-python-1.0.6/doc/pam_python.rst:460: WARNING: unknown keyword: import /home/iurt/rpmbuild/BUILD/pam-python-1.0.6/doc/pam_python.rst:471: WARNING: unknown keyword: import /home/iurt/rpmbuild/BUILD/pam-python-1.0.6/doc/pam_python.rst:471: WARNING: unknown keyword: import /home/iurt/rpmbuild/BUILD/pam-python-1.0.6/doc/pam_python.rst:471: WARNING: unknown keyword: import generating indices... genindexdone writing additional pages... searchdone copying static files... ... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 5 warnings. The HTML pages are in html. rm -f html/index.html && ln -s pam_python.html html/index.html make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pam-python-1.0.6/doc' error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.6YbBxL (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.6YbBxL (%build) I: [iurt_root_command] ERROR: chroot