Created attachment 259819 [details] 0001-Mk-bsd.default-versions.mk-update-perl5-default-to-5.patch Perl 5.36 is EOL in a month, we need to move away from it.
(In reply to Mathieu Arnold from comment #0) exp-run?
Some failure logs: https://pkg-status.freebsd.org/gohan06/data/142amd64-default-foo/2025-04-30_17h41m48s/logs/errors/p5-Data-Swap-0.08_1.log https://pkg-status.freebsd.org/gohan06/data/142amd64-default-foo/2025-04-30_17h41m48s/logs/errors/p5-Devel-BeginLift-0.001003_1.log https://pkg-status.freebsd.org/gohan06/data/142amd64-default-foo/2025-04-30_17h41m48s/logs/errors/frozen-bubble-2.213.g20170702_1.log https://pkg-status.freebsd.org/gohan06/data/142amd64-default-foo/2025-04-30_17h41m48s/logs/errors/ja-kcode-1.0_1.log https://pkg-status.freebsd.org/gohan06/data/142amd64-default-foo/2025-04-30_17h41m48s/logs/errors/p5-Text-ClearSilver-0.10.5.4_1.log https://pkg-status.freebsd.org/gohan06/data/142amd64-default-foo/2025-04-30_17h41m48s/logs/errors/p5-Apache-DB-0.18_1.log
Patch for Japanese/kcode. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286535
I have a patch for devel/p5-Data-Swap in my perl 5.40 branch, I'll look at the others
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=070450648bd76fe5c9e750dcb814e56b666a7b9a commit 070450648bd76fe5c9e750dcb814e56b666a7b9a Author: Mathieu Arnold <mat@FreeBSD.org> AuthorDate: 2025-05-03 13:27:58 +0000 Commit: Mathieu Arnold <mat@FreeBSD.org> CommitDate: 2025-05-03 13:31:31 +0000 games/frozen-bubble: fix build with Perl 5.38+ PR: 286309 games/frozen-bubble/files/patch-inc_My_Builder.pm (new) | 11 +++++++++++ 1 file changed, 11 insertions(+)
The reported ports have been addressed, are there others ?
Exp-run seems fine
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0705456957d603c191057574a235e68c4b2b6ffd commit 0705456957d603c191057574a235e68c4b2b6ffd Author: Mathieu Arnold <mat@FreeBSD.org> AuthorDate: 2025-04-23 14:30:17 +0000 Commit: Mathieu Arnold <mat@FreeBSD.org> CommitDate: 2025-05-14 11:42:04 +0000 Mk/bsd.default-versions.mk: update perl5 default to 5.40 PR: 286309 Mk/bsd.default-versions.mk | 2 +- UPDATING | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-)
(In reply to commit-hook from comment #8) > UPDATING | 8 ++++++++ If the portmaster user follows the entry 20231017, the updates will be completed to a state where there are no issues with using perl. However, since the environment remains dirty, I will note down some other points of concern here, including that. > First, add to /etc/make.conf: > DEFAULT_VERSIONS+= perl5=5.36 This should be done as instructed. As a way to be lazy about that... -m option of portmaster may be able to be used for that. portmaster ... -m DEFAULT_VERSIONS=perl5=5.40 ... -o lang/perl5.40 perl5 However, this will disable other DEFAULT_VERSIONS due to the operation of make. If all other DEFAULT_VERSIONS are written using the operator += like DEFAULT_VERSIONS+= python=3.9 ssl=openssl111, then env can be used. env DEFAULT_VERSIONS=perl5=5.40 portmaster -o lang/perl5.40 perl5 > portmaster -f `pkg shlib -qR libperl.so.5.34` -f option here causes a rebuild of unrelated ports. It's just a waste of time. Despite wasting time, not all ports listed by the following command are included. find /usr/local/lib/perl5/site_perl/mach/5.36/ -not -type d -exec pkg which -q {} + | sort -u These ports require reinstallation to move files located in directories named with old version number. Well, I feel like I've written something similar somewhere before :)