Re: Packages : perl5-5.30 outdated but forced for any package
Date: Mon, 18 Oct 2021 08:47:59 UTC
On Mon, 18 Oct 2021 10:13:26 +0200, Xavier Humbert wrote: > > > On 10/16/21 17:47, Herbert J. Skuhra wrote: > > On Sat, 16 Oct 2021 16:35:08 +0200, Xavier Humbert wrote: > > > >> I should definiteldy check, but what, I dunno > >> > >> [xavier@numenor ports]$ grep DEFAULT_VERSIONS /etc/make.conf > >> DEFAULT_VERSIONS+=ssl=openssl > >> DEFAULT_VERSIONS+=python=3.8 > >> DEFAULT_VERSIONS+=php=7.3 > >> DEFAULT_VERSIONS+=perl5=5.34 > >> [xavier@numenor ports]$ pkg info perl5 > >> perl5-5.34.0 > >> Name : perl5 > >> Version : 5.34.0 > >> Installed on : Wed Aug 11 20:46:45 2021 CEST > >> > >> As you can see, my version and DEFAULT_VERSIONS are in sync > > - Have you updated perl from perl 5.30 and have you followed the > > instructions in UPDATING (entry from 20161103)? > Yes, I did > > - Are there any files in /usr/local/lib/perl5/5.30/ or > > /usr/local/lib/perl5/site_perl/mach/5.30/? Can you run 'pkg which' on > > them? > > Err, yes there are files. > > I thought I found the culprit : > > [root@numenor ~]# pkg which > /usr/local/lib/perl5/site_perl/mach/5.30/ModPerl/BuildMM.pm > /usr/local/lib/perl5/site_perl/mach/5.30/ModPerl/BuildMM.pm was > installed by package ap24-mod_perl2-2.0.11,3 > > ap24-mod_perl2 does not compile actually, see my previous posts, left > unanswered > > But if I remove ap24-mod_perl2, still wants to downgrade Perl > > > - What happens if you run 'pkg upgrade'? > [root@numenor ~]# pkg upgrade > Updating FreeBSD repository catalogue... > [...] > Checking for upgrades (1903 candidates): 100%Processing candidates > (1903 candidates): 100% > > The following 678 package(s) will be affected (of 0 checked): > > [...mainly perl dependencies. Not astonished...] > > But : > Installed packages to be DOWNGRADED: > perl5: 5.34.0 -> 5.32.1_1 This is expected. Perl 5.32 is the default version for packages. 1. Is the original problem resolved (pkg install py38-platformdirs)? Or does it still try to install perl 5.30? What error do you get when you try to compile the port? 2. mod_perl2 obviously needs a patch for perl 5.34: https://svn.apache.org/viewvc?view=revision&revision=1889014 -- Herbert