You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2017/08/22 13:19:51 UTC
[Bug 7462] New: spamassassin fails tests without '.' in @INC (Can't
locate SATest.pm in @INC)
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7462
Bug ID: 7462
Summary: spamassassin fails tests without '.' in @INC (Can't
locate SATest.pm in @INC)
Product: Spamassassin
Version: 3.4.1
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: spamassassin
Assignee: dev@spamassassin.apache.org
Reporter: spamassassinbugs_peep@parallaxshift.com
Target Milestone: Undefined
Created attachment 5461
--> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5461&action=edit
Patch to add . to @INC so SATest.pm can be found
When setting PERL_USE_UNSAFE_INC=0 in their environment to smoke out runtime
issues ( for terrible reasons explained in
https://wiki.gentoo.org/wiki/Project:Perl/Dot-In-INC-Removal#Counter_Balance )
The following tests will fail
===========================
basic_meta.t
body_mod.t
config_errs.t
debug.t
get_headers.t
idn_dots.t
missing_hb_separator.t
priorities.t
regexp_valid.t
relative_scores.t
reuse.t
uri_html.t
uri.t
uri_text.t
===========================
with errors like:
===========================
Can't locate SATest.pm in @INC (you may need to install the SATest module)
(@INC contains: ../blib/lib
/var/tmp/portage/mail-filter/spamassassin-3.4.1-r12/work/Mail-SpamAssassin-3.4.1/blib/lib
/var/tmp/portage/mail-filter/spamassassin-3.4.1-r12/work/Mail-SpamAssassin-3.4.1/blib/arch
/etc/perl /usr/local/lib64/perl5/5.26.0/x86_64-linux
/usr/local/lib64/perl5/5.26.0 /usr/lib64/perl5/vendor_perl/5.26.0/x86_64-linux
/usr/lib64/perl5/vendor_perl/5.26.0 /usr/local/lib64/perl5
/usr/lib64/perl5/vendor_perl/5.26.0-RC1 /usr/lib64/perl5/vendor_perl/5.25.12
/usr/lib64/perl5/vendor_perl/5.25.11 /usr/lib64/perl5/vendor_perl/5.22.3
/usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.26.0/x86_64-linux
/usr/lib64/perl5/5.26.0) at t/uri_text.t line 21.
BEGIN failed--compilation aborted at t/uri_text.t line 21.
===========================
Fix is to ape what the other tests do any "use lib '.'" before "use SATest" is
called.
Originally noticed in Gentoo Linux:
https://bugs.gentoo.org/show_bug.cgi?id=627678
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7462] spamassassin fails tests without '.' in @INC (Can't
locate SATest.pm in @INC)
Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7462
Karsten Bräckelmann <gu...@rudersport.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Karsten Bräckelmann <gu...@rudersport.de> ---
Thanks, Philippe. Committed to trunk and stable 3.4 branch.
Sending t/basic_meta.t
Sending t/body_mod.t
Sending t/config_errs.t
Sending t/debug.t
Sending t/get_headers.t
Sending t/idn_dots.t
Sending t/missing_hb_separator.t
Sending t/priorities.t
Sending t/regexp_valid.t
Sending t/relative_scores.t
Sending t/reuse.t
Sending t/uri.t
Sending t/uri_html.t
Sending t/uri_text.t
Committed revision 1806113.
Committed revision 1806114.
Closing RESOLVED FIXED.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7462] spamassassin fails tests without '.' in @INC (Can't
locate SATest.pm in @INC)
Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7462
Michael Orlitzky <mi...@orlitzky.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |michael@orlitzky.com
--
You are receiving this mail because:
You are the assignee for the bug.