Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Dec 2021 10:15:54 +1100
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        monochrome <monochrome@twcny.rr.com>, Christian Weisgerber <naddy@mips.inka.de>, freebsd-ports@freebsd.org, Kai Knoblich <kai@freebsd.org>
Subject:   Re: Unable to build Python38 ports like devel/py38-pycparser and even py38-setuptools
Message-ID:  <b49a4ab8-87ef-2adf-c8fb-6a811de41e43@FreeBSD.org>
In-Reply-To: <c8a523a2-0026-075e-0274-ffd54a7ab166@twcny.rr.com>
References:  <4aabecf116ce10431b21aba202a47a48004f252e.camel@uos.de> <CAN6yY1s6tAbshER3448F1Hxz%2B2kdDOBO4zK%2BG%2BnVk8ziEsdjaw@mail.gmail.com> <slrnsqfrq6.2gur.naddy@lorvorc.mips.inka.de> <c8a523a2-0026-075e-0274-ffd54a7ab166@twcny.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b49a4ab8-87ef-2adf-c8fb-6a811de41e43>