https://bugzilla.redhat.com/show_bug.cgi?id=1739786 --- Comment #5 from Ankur Sinha (FranciscoD) <sanjay.ankur@xxxxxxxxx> --- Hrm, no luck: --- Mock Version: 1.4.17 Mock Version: 1.4.17 Mock Version: 1.4.17 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-makefun.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_GB.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f9b5d6c8750>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lle62yzs:/etc/resolv.conf']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lle62yzs:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b2485c78596e47c58b8dfb7be024a637', '-D', '/var/lib/mock/fedora-rawhide-x86_64/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lle62yzs:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=en_GB.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-makefun.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_GB.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1565395200 Wrote: /builddir/build/SRPMS/python-makefun-1.6.10-1.fc31.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/python-makefun.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_GB.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f9b5d6c8750>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lle62yzs:/etc/resolv.conf']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lle62yzs:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '314bc3d5fae44452943fafc86a609b84', '-D', '/var/lib/mock/fedora-rawhide-x86_64/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lle62yzs:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=en_GB.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/python-makefun.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_GB.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1565395200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fsbTst + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf makefun-1.6.10 + /usr/bin/gzip -dc /builddir/build/SOURCES/makefun-1.6.10.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd makefun-1.6.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -r -i 's/'\''pandoc'\'', //' setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.y0iHDt + umask 022 + cd /builddir/build/BUILD + cd makefun-1.6.10 + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + echo 'python3dist(pytoml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + /usr/bin/python3 -I /usr/lib/rpm/redhat/pyproject_buildrequires.py Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 41.0.1) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.33.1) Traceback (most recent call last): File "setup.py", line 22, in <module> from setuptools_scm import get_version ModuleNotFoundError: No module named 'setuptools_scm' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 241, in main extras=args.extras, File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 193, in generate_requires generate_build_requirements(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 157, in generate_build_requirements new_reqs = get_requires() File "/usr/lib/python3.7/site-packages/setuptools/build_meta.py", line 145, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=['wheel']) File "/usr/lib/python3.7/site-packages/setuptools/build_meta.py", line 126, in _get_build_requires self.run_setup() File "/usr/lib/python3.7/site-packages/setuptools/build_meta.py", line 141, in run_setup exec(compile(code, __file__, 'exec'), locals()) File "setup.py", line 26, in <module> 'them manually using conda or other system. The list is : ' + str(SETUP_REQUIRES)), e) File "<string>", line 3, in raise_from Exception: Required packages for setup not found. You may wish you execute "pip install -r ci_tools/requirements-setup.txt" to install them or alternatively install them manually using conda or other system. The list is : ['pytest-runner', 'setuptools_scm', 'pypandoc', 'six'] python3-devel python3dist(packaging) python3dist(pip) >= 19 python3dist(pytoml) python3dist(setuptools) >= 40.8 python3dist(wheel) RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.y0iHDt (%generate_buildrequires) Bad exit status from /var/tmp/rpm-tmp.y0iHDt (%generate_buildrequires) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 748, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 314bc3d5fae44452943fafc86a609b84 -D /var/lib/mock/fedora-rawhide-x86_64/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.lle62yzs:/etc/resolv.conf --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$ --setenv=LANG=en_GB.UTF-8 -u mockbuild bash --login -c /usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/python-makefun.spec Mock Version: 1.4.17 --- I think setuptools_scm needs to be included in BR. It isn't being picked up by the automatic generator(s)---it is mentioned in setup.py, though. -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx