Re: What is this "gi" Python module that x11-toolkits/gtk40 wants?

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Sun, 11 Sep 2022 15:28:35 UTC

On 11.09.2022 18:11, David Wolfskill wrote:
> On Sun, Sep 11, 2022 at 05:47:31PM +0300, Dima Panov wrote:
>> Moin!
>>
>> On 11.09.2022 17:04, David Wolfskill wrote:
>>> ...
>>> The tail end of that "full log" reads:
>>>
>>> | Adding test "reftest wrapping-in-boxes-in-boxes.ui"
>>> | Program python3 (gi) found: NO
>>> |
>>> | testsuite/introspection/meson.build:1:0: ERROR: python3 is missing modules: gi
>>>
>>
>> It should be textproc/py-gi-docgen but it not a hard-requirement and
>> should pass without.
> 
> Thanks!  But I seem to have that installed:
> 
> g1-70(12.3-S)[20] pkg info -o \*-gi-\*
> py39-gi-docgen-2022.1          textproc/py-gi-docgen
> 
>> Error also can be caused by wrong python3 detection but it should be
>> covered via BINARY_ALIAS
>>
> Hmmm... Well:
> 
> g1-70(12.3-S)[21] pkg info -o pyth\*
> python-3.9_3,2                 lang/python
> python3-3_3                    lang/python3
> python39-3.9.13                lang/python39
> 
> And:
> 
> g1-70(12.3-S)[34] ls -lT /usr/local/bin/python{,3{,.9}}
> lrwxr-xr-x  1 root  wheel     7 Sep 11 08:04:00 2022 /usr/local/bin/python -> python3
> lrwxr-xr-x  1 root  wheel     9 Sep 11 08:04:00 2022 /usr/local/bin/python3 -> python3.9
> -r-xr-xr-x  1 root  wheel  5256 Sep 11 07:58:02 2022 /usr/local/bin/python3.9
> 
> Re-building/installing textproc/py-gi-docgen was (also) successful in
> and of itself, but a subsequent attempt to build x11-toolkits/gtk40
> still failed with the same whine about "Program python3 (gi) found: NO".
> 
> Weird.
> 
>


Just curious -- did you rebuild/reinstall *ALL* 'py3*-*' modules after 
bump default python from 3.8 to 3.9?

-- 
Sincerely,
Dima (fluffy@FreeBSD.org, https://t.me/FluffyBSD)
(desktop, kde, x11, office, ports-secteam)@FreeBSD team