Re: Unable to build Python38 ports like devel/py38-pycparser and even py38-setuptools

From: monochrome <monochrome_at_twcny.rr.com>
Date: Wed, 01 Dec 2021 22:56:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259981

I guess the "fix" is to install one or more from within the ports tree 
and not using portmaster



On 12/1/21 16:55, Christian Weisgerber wrote:
> On 2021-11-28, Kevin Oberman <rkoberman@gmail.com> wrote:
> 
>> If I remember correctly, the fix is to de-install both py38-packaging and
>> py38-setuptools.
>>> pkg delete -f py38-setuptools
>>> pkg delete -f py38-packaging
>>> portmaster devel/pkg-packaging
>>> portmaster devel/py-setuptools
> 
> I'm stuck in the same catch-22 and this doesn't work.
> 
> I can't install py-packaging because it depends on py-setuptools.
> py-setuptools can't be installed because it seems to require
> py-packaging:
> 
>    File "/extra/obj/usr/ports/devel/py-setuptools/work-py38/setuptools-57.0.0/pkg_resources/__init__.py", line 772, in resolve
>      raise DistributionNotFound(req, requirers)
> pkg_resources.DistributionNotFound: The 'packaging>=20.0' distribution was not found and is required by the application
> *** Error code 1
>