Date: Thu, 16 Jun 2022 07:08:29 +0900 From: Tatsuki Makino <tatsuki_makino@hotmail.com> To: Norikatsu Shigemura <nork@FreeBSD.org>, Andy Farkas <andyf@andyit.com.au>, ports@freebsd.org Subject: Re: make index fail Message-ID: <PSAPR03MB56398D777AE8E9E4BB20B981FAAD9@PSAPR03MB5639.apcprd03.prod.outlook.com> In-Reply-To: <9ada4098-1139-bc3e-4994-85be1986ebf4@FreeBSD.org> References: <5eaa3181-a1dd-81da-9753-be8233a677f5@andyit.com.au> <aa63a01b-beb3-b553-8c59-f6f22755b159@andyit.com.au> <PSAPR03MB563962CBC28720EDEC9E3636FAA69@PSAPR03MB5639.apcprd03.prod.outlook.com> <608a1c7f-f22b-ab79-193c-6e64e05a92a5@andyit.com.au> <PSAPR03MB56392112638F3F91F9EC451EFAA69@PSAPR03MB5639.apcprd03.prod.outlook.com> <1084b4eb-b532-5f4a-e0d7-92d7b3526efd@FreeBSD.org> <453535e5-900a-ef2d-9bce-5ba20817a680@andyit.com.au> <9ada4098-1139-bc3e-4994-85be1986ebf4@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PSAPR03MB56398D777AE8E9E4BB20B981FAAD9>