D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-pyp2rpm-1.1.3-0.20150715.git519bb99.6.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.MetXdH + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf fedora-python-pyp2rpm-519bb99 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/pyp2rpm-1.1.3.git519bb99.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd fedora-python-pyp2rpm-519bb99 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (pyp2rpm-mageia.patch):' Patch #0 (pyp2rpm-mageia.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file pyp2rpm/settings.py + echo 'Patch #1 (pyp2rpm-mageia-string.patch):' Patch #1 (pyp2rpm-mageia-string.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file pyp2rpm/filters.py patching file pyp2rpm/templates/mageia.spec + echo 'Patch #2 (pyp2rpm-pypi-url.patch):' Patch #2 (pyp2rpm-pypi-url.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file pyp2rpm/settings.py + sed -i -e 's!distribute!setuptools!g' setup.py + rm -rf pyp2rpm.egg-info + rm -rf /home/pterjan/rpmbuild/BUILD/python3-python-pyp2rpm-1.1.3-0.20150715.git519bb99.6.mga7 + cp -a . /home/pterjan/rpmbuild/BUILD/python3-python-pyp2rpm-1.1.3-0.20150715.git519bb99.6.mga7 + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Soe0q2 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd fedora-python-pyp2rpm-519bb99 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + pushd /home/pterjan/rpmbuild/BUILD/python3-python-pyp2rpm-1.1.3-0.20150715.git519bb99.6.mga7 ~/rpmbuild/BUILD/python3-python-pyp2rpm-1.1.3-0.20150715.git519bb99.6.mga7 ~/rpmbuild/BUILD/fedora-python-pyp2rpm-519bb99 + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/pyp2rpm copying pyp2rpm/version.py -> build/lib/pyp2rpm copying pyp2rpm/utils.py -> build/lib/pyp2rpm copying pyp2rpm/package_getters.py -> build/lib/pyp2rpm copying pyp2rpm/package_data.py -> build/lib/pyp2rpm copying pyp2rpm/name_convertor.py -> build/lib/pyp2rpm copying pyp2rpm/metadata_extractors.py -> build/lib/pyp2rpm copying pyp2rpm/logger.py -> build/lib/pyp2rpm copying pyp2rpm/exceptions.py -> build/lib/pyp2rpm copying pyp2rpm/dependency_parser.py -> build/lib/pyp2rpm copying pyp2rpm/convertor.py -> build/lib/pyp2rpm copying pyp2rpm/bin.py -> build/lib/pyp2rpm copying pyp2rpm/archive.py -> build/lib/pyp2rpm copying pyp2rpm/__init__.py -> build/lib/pyp2rpm copying pyp2rpm/settings.py -> build/lib/pyp2rpm copying pyp2rpm/filters.py -> build/lib/pyp2rpm creating build/lib/pyp2rpm/templates copying pyp2rpm/templates/pld.spec -> build/lib/pyp2rpm/templates copying pyp2rpm/templates/macros.spec -> build/lib/pyp2rpm/templates copying pyp2rpm/templates/fedora.spec -> build/lib/pyp2rpm/templates copying pyp2rpm/templates/mageia.spec -> build/lib/pyp2rpm/templates + sleep 1 + popd ~/rpmbuild/BUILD/fedora-python-pyp2rpm-519bb99 + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' Download error on https://pypi.python.org/simple/funcsigs/: [Errno -2] Name or service not known -- Some packages may not be found! Couldn't find index page for 'funcsigs' (maybe misspelled?) Download error on https://pypi.python.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found! No local packages or working download links found for funcsigs Traceback (most recent call last): File "setup.py", line 62, in 'Topic :: System :: Software Distribution', File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 128, in setup _install_setup_requires(attrs) File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 123, in _install_setup_requires dist.fetch_build_eggs(dist.setup_requires) File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 513, in fetch_build_eggs replace_conflicting=True, File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 774, in resolve replace_conflicting=replace_conflicting File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1057, in best_match return self.obtain(req, installer) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1069, in obtain return installer(requirement) File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 580, in fetch_build_egg return cmd.easy_install(req) File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 666, in easy_install raise DistutilsError(msg) distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('funcsigs') error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Soe0q2 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Soe0q2 (%build) I: [iurt_root_command] ERROR: chroot