Nearly ditched FreeBSD because of the issue. ThanksJust solved upgrading the ports tree:
sudo portsnap auto
You'll have a new reason tomorrow. Every 10 minute project takes 1/2 day because of some tiny version issue with one thing or another. BTW, you run this command on a 12.1 system and after 20 minutes it tells you that your version had ended and nothing is guaranteed to work.Nearly ditched FreeBSD because of the issue. Thanks
Sounds like a classic example of software mismanagement to me.So I can't upgrade a php extension because I can't upgrade gnu m4 without upgrading my entire system. It's the biggest pile of dung in human history.
I'm now getting the same error, trying to run
sudo make makesum
As far as I know I upgraded from 13.1 to 13.2 correctly.
Any suggestions?
perl5
in DEFAULT_VERSIONS
defaults to either whatever perl version is installed locally, or 5.34
now, so there's no need to add it to DEFAULT_VERSIONS
yourself.# Tmp for Perl upgrade
# migrating from 5.32 to 5.34, do:
# First, add to /etc/make.conf:
# DEFAULT_VERSIONS+=perl5=5.34
# Execute:
# portupgrade -o lang/perl5.34 -f lang/perl5.32
# You can now remove the DEFAULT_VERSIONS line
# Execute:
# portupgrade -f `pkg shlib -qR libperl.so.5.32`
#DEFAULT_VERSIONS+=perl5=5.34
So, 3 years ago, someone had a broken or outdated ports tree missing perl 5.32 ... and now that this version is finally gone for good, we see this thread again?![]()
There's only one single ports tree, this has nothing to do with with your FreeBSD version. And again, 5.32 was removed recently. The default already is 5.34. You're only running into this issue because there's this additional "magic" to override the default with whatever version you already have installed. I'm questioning whether this kind of magic is a good idea at all. I don't see anything similar for other software versions that can be configured inI don't know if this means that 13.2 has now been left behind wrt default ports Perl or whether the next quarterly pkg update will make perl5 == 5.34.
DEFAULT_VERSIONS
.You mean "on quarterly". The FreeBSD version has nothing to do with it.On 13.2-RELEASE-p4 quarterly the default is still 5.32.
And it's also wrong. This just checks packages you have installed locally.paulf> pkg info | grep perl
perl5-5.32.1_3 Practical Extraction and Report Language
perl5.34-5.34.1_2 Practical Extraction and Report Language
2023Q4
. perl5-5.32 is gone in that branch, see https://cgit.freebsd.org/ports/tree/Mk/bsd.default-versions.mk?h=2023Q4#n112You mean that default versions are always the same across all currently supported versions?You mean "on quarterly". The FreeBSD version has nothing to do with it.
And it's also wrong. This just checks packages you have installed locally.
The latest quarterly branch is2023Q4
. perl5-5.32 is gone in that branch, see https://cgit.freebsd.org/ports/tree/Mk/bsd.default-versions.mk?h=2023Q4#n112
There's just one ports tree, it isn't tied to any FreeBSD version. The defaults forYou mean that default versions are always the same across all currently supported versions?
DEFAULT_VERSIONS
are set in Mk/bsd.default-versions.mk. So, yes.OSVERSION
), but this is done in different ways if needed. The only example I'm currently aware of is the meta-port graphics/drm-kmod.This is a whole other story, mixing ports and packages. Of course this will fail when packages are built from a completely different state of the ports tree.Yesterday I did a git pull of ports source but pkg wasn't yet on 2023Q4.
portmaster -a
.===>>> Currently installed version: curl-8.2.1
===>>> Port directory: /usr/ports/ftp/curl
===>>> This port is marked IGNORE
===>>> Invalid perl5 version 5.32
===>>> If you are sure you can build it, remove the
IGNORE line in the Makefile and try again.
DEPRECATED: Support ends three years after .0 release. Please upgrade to a more recent version of Perl
Expired This port expired on: 2023-09-30
Check your /etc/make.conf. The default Perl version changed to 5.36 not too long ago.I've only used the ports tree to install software and not pkg AFAIK.