Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 2021 10:47:59 +0200
From:      "Herbert J. Skuhra" <herbert@gojira.at>
To:        ports@freebsd.org
Subject:   Re: Packages : perl5-5.30 outdated but forced for any package
Message-ID:  <87r1ciafcw.wl-herbert@gojira.at>
In-Reply-To: <5dc3414a-0c70-0ff1-04af-9d7a718fac2f@groumpf.org>
References:  <daf41762-0539-cdb4-58ed-c9df219131c0@groumpf.org> <YWqUrDiJ0rpU7olO@mail.bsd4all.net> <43716bb1-ef00-e2cd-e729-c0c794c20610@groumpf.org> <878rytkm39.wl-herbert@gojira.at> <5dc3414a-0c70-0ff1-04af-9d7a718fac2f@groumpf.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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+=3Dssl=3Dopenssl
> >> DEFAULT_VERSIONS+=3Dpython=3D3.8
> >> DEFAULT_VERSIONS+=3Dphp=3D7.3
> >> DEFAULT_VERSIONS+=3Dperl5=3D5.34
> >> [xavier@numenor ports]$ pkg info perl5
> >> perl5-5.34.0
> >> Name =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0: perl5
> >> Version =A0=A0=A0=A0=A0=A0=A0: 5.34.0
> >> Installed on =A0=A0: 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 whic=
h' 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=3Drevision&revision=3D1889014

--
Herbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87r1ciafcw.wl-herbert>