Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 2021 12:51:05 +0200
From:      Xavier Humbert <xavier@groumpf.org>
To:        "Herbert J. Skuhra" <herbert@gojira.at>, ports@freebsd.org
Subject:   Re: Packages : perl5-5.30 outdated but forced for any package
Message-ID:  <8e8410d6-56f1-6e49-695c-f3fa30aada99@groumpf.org>
In-Reply-To: <87r1ciafcw.wl-herbert@gojira.at>
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> <87r1ciafcw.wl-herbert@gojira.at>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------hpE8qrN1vNkiNH0eTYX2fZHi
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit


On 10/18/21 10:47, Herbert J. Skuhra wrote:
> 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)?
It's fixed now, dunno what happened :-)
> Or does it still try to install perl 5.30? What error do you get when
> you try to compile the port?
[root@numenor ~]# cd /usr/ports/devel/py-platformdirs/
[root@numenor py-platformdirs]# make
===>   py38-platformdirs-2.4.0 depends on package: py38-setuptools>0 - 
found
===>   py38-platformdirs-2.4.0 depends on file: /usr/local/bin/python3.8 
- found
===>  Configuring for py38-platformdirs-2.4.0
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "setup.py", line 3, in <module>
setup()
File "/usr/local/lib/python3.8/site-packages/setuptools/__init__.py", 
line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/local/lib/python3.8/distutils/core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/local/lib/python3.8/site-packages/setuptools/dist.py", line 
455, in __init__
_Distribution.__init__(self, {
File "/usr/local/lib/python3.8/distutils/dist.py", line 292, in __init__
self.finalize_options()
File "/usr/local/lib/python3.8/site-packages/setuptools/dist.py", line 
801, in finalize_options
ep(self)
File 
"/usr/local/lib/python3.8/site-packages/setuptools_scm/integration.py", 
line 48, in infer_version
dist.metadata.version = _get_version(config)
File 
"/usr/local/lib/python3.8/site-packages/setuptools_scm/__init__.py", 
line 156, in _get_version
dump_version(
File 
"/usr/local/lib/python3.8/site-packages/setuptools_scm/__init__.py", 
line 84, in dump_version
fp.write(template.format(version=version))
KeyError: 'version_tuple'
> 2. mod_perl2 obviously needs a patch for perl 5.34:
> https://svn.apache.org/viewvc?view=revision&revision=1889014
Thanks, I'll take a look

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer
https://www.amdh.fr

--------------hpE8qrN1vNkiNH0eTYX2fZHi--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8e8410d6-56f1-6e49-695c-f3fa30aada99>