Philippe Chaintreuil via users wrote on 26/12/22 6:27 am:
I'm getting test failures for the dnsbl_subtests.t. Figured I'd check
here before filing a bug.
I'm running Spam Assassin 4.0.0 on Gentoo Linux. Perl 5.36.0.
Test output:
======================================================================
...
t/dnsbl_subtests.t ................ 1/46 rules: unknown eval
'check_uridnsbl' for X_URIBL_N_3
rules: unknown eval 'check_uridnsbl' for X_URIBL_Y_2D
rules: unknown eval 'check_uridnsbl' for X_URIBL_N_0B
I haven't tested on gentoo, but I have tested on different platforms
with perl 5.36.0.
I can get exactly that set of error messages by commenting out the
loadplugin for URIDNSBL in rules/init.pre or deleting the file
rules/init.pre completely, and running make test with the default
setting of run_net_tests=n in t/config.dist. If I change it to
run_net_tests=y then the test t/uribl.t also fails where it tries to use
check_uridnsbl
None of the other tests use check_uridnsbl so they don't generate
errors. t/spamd_allow_user_rules.t references check_uridnsbl but it is
checking something with rule parsing and never tries to run it so it
doesn't fail.
rules/init.pre contains a second loadplugin line, for spf. If the entire
file is not being loaded then if you enable net tests then the t/spf.t
and t/spf_welcome.t tests would fail too because the spf plugin will be
missing, as well as t/uribl.t failing because URIDNSBL is missing.
I guess you should see if rules/init.pre is somehow not there.