Noticed that this is missing a depend of XString as it breaks spamassassin. Feb 22 22:14:02 vulpes spamd[70643]: Can't locate XString.pm in @INC (you may need to install the XString module) (@INC contains: lib /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/site_perl/mach/5.32 /usr/local/lib/perl5/5.32/mach /usr/local/lib/perl5/5.32) at /usr/local/lib/perl5/site_perl/Sub/Quote.pm line 50.
Created attachment 240336 [details] git diff
Build_DEPEND should be RUN_DEPEND ?
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a5d9499c055ace9e4a42de1e47f8eacec79df7b4 commit a5d9499c055ace9e4a42de1e47f8eacec79df7b4 Author: Wen Heping <wen@FreeBSD.org> AuthorDate: 2023-06-03 08:41:04 +0000 Commit: Wen Heping <wen@FreeBSD.org> CommitDate: 2023-06-03 23:08:49 +0000 devel/p5-Sub-Quote: Add missing DEPENDS PR: 269771 Reported by: vvelox@vvelox.net devel/p5-Sub-Quote/Makefile | 3 +++ 1 file changed, 3 insertions(+)
I think this change was incorrect. Sub-Quote shall not need XString with any modern perl installation. This is the actual code: # if B is already loaded, just use its perlstring if ("$]" >= 5.008_000 && "$]" != 5.010_000 && defined &B::perlstring) { *_perlstring = \&B::perlstring; } # XString is smaller than B, so prefer to use it. Buggy until 0.003. elsif (eval { require XString; XString->VERSION(0.003) }) { *_perlstring = \&XString::perlstring; } The B module is part of perl and is always present. Zane, can you please check your environment where spamd failed? Wen, the added dependency isn't correct.