https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7666
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from [email protected] --- (In reply to Kevin A. McGrail from comment #1) > Any suggest fix? For the build problem: I think the exit here: https://metacpan.org/source/KMCGRAIL/Mail-SpamAssassin-3.4.2/Makefile.PL#L328 is wrong. At least it's wrong when it comes to missing perl module dependencies --- exiting means that no Makefile would be created, and CPAN.pm cannot continue with automatic dependency installation. However, the exit 0 might be still OK if required binaries are missing --- CPAN.pm cannot install these automatically. Currently there are none (all binary dependencies are optional), but maybe the code should be prepared to deal with this situation. For the test problem: probably running spamassassin with -T (taint mode) is causing the existing PERL5LIB to be ineffective. I just learned about the TEST_PERL_TAINT environment variable, and indeed, when setting ENV TEST_PERL_TAINT=no in the Dockerfile before the CMD line, then the test suite runs much better (still there are some test failures, but much less). Maybe SATest.pm could add a series on -I options (build from PERL5LIB) if tainting is enabled. -- You are receiving this mail because: You are the assignee for the bug.
