SA Bugzilla – Bug 3628
[review] 'make test' fails if Storable is not installed
Last modified: 2004-07-28 23:03:10 UTC
t/spamd_allow_user_rules.spamd start failed: log: logging enabled: facility: stderr socket: file output: stderr logging to stderr disabled: already debugging to stderr debug: SpamAssassin version 3.0.0-pre3 debug: Score set 0 chosen. debug: no Storable module found Required module Storable not found! Maybe you need to kill a running spamd process? t/spamd_allow_user_rules.NOK 3 Not found: myfoo = 1.0 MYFOO t/spamd_allow_user_rules.FAILED tests 1, 3-4 Failed 3/5 tests, 40.00% okay not a pre3 blocker IMO, but something we have to fix before the main release. To be honest, I think we should just require Storable in Makefile.PL...
milestone
I'm +1 for requiring Storable, or we could not run that test if it's not installed. I think it's failing now because virtual-config-dir was just added to the copy_config stuff.
Storable shouldn't be required. There's already code in M::SA to check for it, so we can easily add in a check.
I don't have Storable installed and for me it works...
Actually, got to correct that. I don't have Storable manually installed but it seems like its included in Perl 5.8.2.
I'd prefer to avoid adding a new module requirement if it's reasonably possible.
*** Bug 3629 has been marked as a duplicate of this bug. ***
Created attachment 2188 [details] Patch File This patch takes the easy approach of a quick little require Storable check. I didn't use the method in SpamAssassin.pm because a) it's private and b) we'd have to create an SA object to make the call.
Setting to review state.
+1
Committed revision 30927.