Re: make index fail

From: Tatsuki Makino <tatsuki_makino_at_hotmail.com>
Date: Wed, 15 Jun 2022 22:08:29 UTC
Hello.

The current default PERL5_DEFAULT is 5.32, is this due to it being overwritten by the installed perl?
The override of it is done by Mk/bsd.default-versions.mk.
PERL5_DEFAULT is then used in Mk/Uses/perl5.mk, but lang/perl5*/version.mk is not included when it is an unsupported version.
As a result, PERL_VERSION and PERL5_DEPEND are undefined.
After that, whatever PERL_LEVEL is, if PERL_PORT is undefined, then perl5.32 is assigned.
Thereby, subsequent *_DEPENDS+=${PERL5_DEPEND}:lang/${PERL_PORT} are added :lang/perl5.32

It seems that the following commands can be reproduced at any time.
make -C /usr/ports/accessibility/qt5-speech/ PERL5_DEFAULT=5.30 -V EXTRACT_DEPENDS

Maybe lang/perl5*/version.mk of PERL5_DEFAULT should always be included.

Regards.

Norikatsu Shigemura wrote on 2022/06/10 20:31:
> On 2022/06/10 20:10, Andy Farkas wrote:
>>> If you use perl 5.30, update to perl 5.32 or 5.34.
>>> Perl 5.30 is no longer support in this time.
>> I will install perl-5.32.
>> Interesting you say perl5-30 not supported anymore (I believe you) but:
> 
> I fixed this issue, I tried following check:
> 
> cd /usr/ports/accessibility/qt5-speech; make describe
>   You can get 8th column[*] like '/usr/ports/lang/perl5.3x',
>   In my past case, '/usr/ports/:lang/perl5.32'
> 
>   [*] Simplify, do make describe | awk -F'|' '{print $8}'
> 
> 8th column was described ${PERL5_DEPEND}:lang/${PERL_PORT} by bsd.port.mk.  And PERL5_DEPEND and PERL_PORT were defined on
> lang/perl5.xx/version.mk.  So I noticed that perl 5.30 was
> retired, and update to 5.34 to fix this issue.
>