https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6244
Summary: M::S::Util::DependencyInfo gives misleading
diagnostics and hides a failure reason
Product: Spamassassin
Version: 3.3.0
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P5
Component: Building & Packaging
AssignedTo: [email protected]
ReportedBy: [email protected]
When some external perl modules fail on a 'require', the SpamAssassin
installation procedure reports 'optional module out of date',
instead of showing a failure reason. For example:
$ perl Makefile.PL
[...]
optional module out of date: IO::Socket::INET6
optional module out of date: IO::Socket::SSL
optional module out of date: Compress::Zlib
Trying to load these modules from a command line shows that they are the
latest version, but fail to compile for whatever reason, like an incompatible
(old) version of perl, or whatever. For example (with perl 5.6.2):
$ perl -e 'use IO::Socket::INET6; print IO::Socket::INET6->VERSION,"\n"'
Bareword "AF_INET6" not allowed while "strict subs" in use at
/usr/local/lib/perl5/site_perl/5.6.2/IO/Socket/INET6.pm line 58.
$ perl -e 'use IO::Socket::SSL; print IO::Socket::SSL->VERSION,"\n"'
Constant name 'HASH(0x815f844)' has invalid characters at
/usr/local/lib/perl5/site_perl/5.6.2/IO/Socket/SSL.pm line 25
$ perl -e 'use Compress::Zlib; print Compress::Zlib->VERSION,"\n"'
Can't locate Scalar/Util.pm in @INC (@INC contains: ...)
at /usr/local/lib/perl5/site_perl/5.6.2/Compress/Zlib.pm line 9.
--
Configure bugmail:
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.