[Bug 267676] devel/py-fastbencode: Update to 0.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 18 Apr 2023 20:21:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267676

Robert Clausecker <fuz@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|In Progress                 |Open

--- Comment #5 from Robert Clausecker <fuz@FreeBSD.org> ---
Build fails (on amd64 FreeBSD 13 and others):

=======================<phase: configure      >============================
===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=root UID=0 GID=0
===>   py39-fastbencode-0.2 depends on package: py39-setuptools>=63.1.0 - found
===>   py39-fastbencode-0.2 depends on file: /usr/local/bin/python3.9 - found
===>   py39-fastbencode-0.2 depends on file: /usr/local/bin/ccache - found
===>  Configuring for py39-fastbencode-0.2
/usr/local/lib/python3.9/site-packages/setuptools/installer.py:27:
SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements
should be satisfied by a PEP 517 installer.
  warnings.warn(
WARNING: The wheel package is not available.
/usr/local/bin/python3.9: No module named pip
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/setuptools/installer.py", line
82, in fetch_build_egg
    subprocess.check_call(cmd)
  File "/usr/local/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/local/bin/python3.9', '-m',
'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w',
'/tmp/tmpl7r1pqna', '--quiet', 'cython>=0.29']' returned non-zero exit status
1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 82, in <module>
    setup(ext_modules=ext_modules, cmdclass={'build_ext': build_ext})
  File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line
86, in setup
    _install_setup_requires(attrs)
  File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line
80, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 875,
in fetch_build_eggs
    resolved_dists = pkg_resources.working_set.resolve(
  File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line
789, in resolve
    dist = best[req.key] = env.best_match(
  File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line
1075, in best_match
    return self.obtain(req, installer)
  File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line
1087, in obtain
    return installer(requirement)
  File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 945,
in fetch_build_egg
    return fetch_build_egg(self, req)
  File "/usr/local/lib/python3.9/site-packages/setuptools/installer.py", line
84, in fetch_build_egg
    raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/usr/local/bin/python3.9', '-m',
'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w',
'/tmp/tmpl7r1pqna', '--quiet', 'cython>=0.29']' returned non-zero exit status
1.

The python package 'Cython' is not available. If the .c files are available,
they will be built, but modifying the .pyx files will not rebuild them.

*** Error code 1

Stop.
make: stopped in /usr/ports/devel/py-fastbencode


Please check and resubmit.

-- 
You are receiving this mail because:
You are on the CC list for the bug.