Re: Unable to build Python38 ports like devel/py38-pycparser and even py38-setuptools
- In reply to: monochrome : "Re: Unable to build Python38 ports like devel/py38-pycparser and even py38-setuptools"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Dec 2021 23:15:54 UTC
On 2/12/2021 9:56 am, monochrome wrote: > 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 >> > Note also: There is an outstanding missing build_depends on packaging for setuptools_scm which may be responsible for a subset of these cases. I'm not confident in the assessment of portmaster being the root cause over incorrectly declared or scoped dependency sets.