https://bugzilla.redhat.com/show_bug.cgi?id=1643778
--- Comment #4 from Robert-André Mauchin zebob.m@gmail.com --- - You haven't fixed any error I reported:
Download error on https://pypi.org/simple/setuptools_scm_git_archive/: [Errno -2] Name or service not known -- Some packages may not be found! Download error on https://pypi.org/simple/setuptools-scm-git-archive/: [Errno -2] Name or service not known -- Some packages may not be found! Couldn't find index page for 'setuptools_scm_git_archive' (maybe misspelled?) Download error on https://pypi.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found! No local packages or working download links found for setuptools_scm_git_archive Traceback (most recent call last): File "setup.py", line 30, in <module> setup( File "/usr/lib/python3.8/site-packages/setuptools/__init__.py", line 144, in setup _install_setup_requires(attrs) File "/usr/lib/python3.8/site-packages/setuptools/__init__.py", line 139, in _install_setup_requires dist.fetch_build_eggs(dist.setup_requires) File "/usr/lib/python3.8/site-packages/setuptools/dist.py", line 717, in fetch_build_eggs resolved_dists = pkg_resources.working_set.resolve( File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 780, in resolve dist = best[req.key] = env.best_match( File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1065, in best_match return self.obtain(req, installer) File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1077, in obtain return installer(requirement) File "/usr/lib/python3.8/site-packages/setuptools/dist.py", line 787, in fetch_build_egg return cmd.easy_install(req) File "/usr/lib/python3.8/site-packages/setuptools/command/easy_install.py", line 678, in easy_install raise DistutilsError(msg) distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('setuptools_scm_git_archive') RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.rsguBw (%build)
Add:
BuildRequires: python3-setuptools_scm_git_archive
- https://github.com/mbedmicro/pyOCD/archive/v%%7Bversion%7D%%7B?candidate:%%7... ⇒ %url/archive/v%{version}%{?candidate:%{candidate}}/%{name}-%{version}%{?candidate:%{candidate}}.tar.gz
- Remove the shebangs:
pyOCD.noarch: E: wrong-script-interpreter /usr/lib/python3.7/site-packages/pyOCD/tools/flash_tool.py /usr/bin/env python pyOCD.noarch: E: non-executable-script /usr/lib/python3.7/site-packages/pyOCD/tools/flash_tool.py 644 /usr/bin/env python pyOCD.noarch: E: wrong-script-interpreter /usr/lib/python3.7/site-packages/pyOCD/tools/gdb_server.py /usr/bin/env python pyOCD.noarch: E: non-executable-script /usr/lib/python3.7/site-packages/pyOCD/tools/gdb_server.py 644 /usr/bin/env python pyOCD.noarch: E: wrong-script-interpreter /usr/lib/python3.7/site-packages/pyOCD/tools/pyocd.py /usr/bin/env python pyOCD.noarch: E: non-executable-script /usr/lib/python3.7/site-packages/pyOCD/tools/pyocd.py 644 /usr/bin/env python
package-review@lists.fedoraproject.org