D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-pytz-deprecation-shim-0.1.0.post0-2.mga9.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GUgwPI + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf pytz_deprecation_shim-0.1.0.post0 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/pytz_deprecation_shim-0.1.0.post0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pytz_deprecation_shim-0.1.0.post0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.SQ8ZEK + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd pytz_deprecation_shim-0.1.0.post0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/pytz_deprecation_shim-0.1.0.post0/.pyproject-builddir + CFLAGS='-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=sha1 -Wl,--enable-new-dtags' + TMPDIR=/home/pterjan/rpmbuild/BUILD/pytz_deprecation_shim-0.1.0.post0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/pytz_deprecation_shim-0.1.0.post0/pyproject-wheeldir /usr/bin/python3: No module named pip error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.SQ8ZEK (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.SQ8ZEK (%build) I: [iurt_root_command] ERROR: chroot