Now that perl5-5.40 is the default, I upgraded from 5.36, then ran portupgrade -vf $(pkg shlib -qR libperl.so.5.36) amavisd-new was in the list and indeed rebuilt. p5-Time-HiRes was rebuilt, too When I try to launch amavisd, I get this [root@numenor ~]# amavisd panic: XSUB Time::HiRes::gettimeofday (HiRes.c) failed to extend arg stack: base=828798018, sp=828798030, hwm=828798028 My OS is FreeBSD 13.5-STABLE-amd64 whith HEAD port tree Xavier
Hi! Does it work if you remove p5-Time-HiRes? Perl 5.40 obviously installs a newer version (1.9777 vs 1.9764) of it: $ pkg info -l perl5 |grep -i hires /usr/local/lib/perl5/5.40/mach/Time/HiRes.pm /usr/local/lib/perl5/5.40/mach/auto/Time/HiRes/HiRes.so /usr/local/lib/perl5/5.40/perl/man/man3/Time::HiRes.3.gz @maintainer: latest version of amavavis(d-new) is 2.13.1.
(In reply to Herbert J. Skuhra from comment #1) Yes ! I didn't notice that Many thanks ! Xavier
Created attachment 260456 [details] amavisd-new 2.13.1 update
I attached a patch to update to 2.13.1. It works for me with perl5.40. I want to do some more test and will probably commit this on Sunday.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=475e45a40f5e8001f02b44f28c668988cf9bab2a commit 475e45a40f5e8001f02b44f28c668988cf9bab2a Author: Florian Smeets <flo@FreeBSD.org> AuthorDate: 2025-05-18 08:22:25 +0000 Commit: Florian Smeets <flo@FreeBSD.org> CommitDate: 2025-05-18 14:58:00 +0000 security/amavisd-new: Update to 2.13.1 PR: 286838 security/amavisd-new/Makefile | 97 +++++++++++----------- security/amavisd-new/distinfo | 6 +- security/amavisd-new/files/patch-amavisd (gone) | 40 --------- .../amavisd-new/files/patch-amavisd.conf (gone) | 20 ----- security/amavisd-new/pkg-plist | 73 +++++++++++++++- 5 files changed, 124 insertions(+), 112 deletions(-)
2.13.1 has been committed and works with perl5.40
2.13.0 release note say: Switch from Net::LibIDN to Net::LibIDN2 (if available). Can you update the dependency ?