Closed Bug 680079 Opened 14 years ago Closed 9 years ago

Installing Net::SMTP::SSL with install-module.pl fails

Categories

(Bugzilla :: Installation & Upgrading, defect)

defect
Not set
minor

Tracking

()

RESOLVED WONTFIX

People

(Reporter: wicked, Unassigned)

Details

When using install-module.pl to install Net::SMTP::SSL we end up with broken installation because required module IO::Socket::SSL doesn't get installed. Broken as in, checksetup.pl still says it's not installed. Here's a transcript of what happened on our tinderbox server: --!-- Installing Net::SMTP::SSL version 1.01... Running install for module 'Net::SMTP::SSL' Running make for C/CW/CWEST/Net-SMTP-SSL-1.01.tar.gz Checksum for /home/tinderbox/.cpan/source/authors/id/C/CW/CWEST/Net-SMTP-SSL-1.01.tar.gz ok Net-SMTP-SSL-1.01/ Net-SMTP-SSL-1.01/Changes Net-SMTP-SSL-1.01/lib/ Net-SMTP-SSL-1.01/lib/Net/ Net-SMTP-SSL-1.01/lib/Net/SMTP/ Net-SMTP-SSL-1.01/lib/Net/SMTP/SSL.pm Net-SMTP-SSL-1.01/Makefile.PL Net-SMTP-SSL-1.01/MANIFEST Net-SMTP-SSL-1.01/META.yml Net-SMTP-SSL-1.01/README Net-SMTP-SSL-1.01/t/ Net-SMTP-SSL-1.01/t/test.t CPAN.pm: Going to build C/CW/CWEST/Net-SMTP-SSL-1.01.tar.gz Checking if your kit is complete... Looks good Warning: prerequisite IO::Socket::SSL not found. Writing Makefile for Net::SMTP::SSL cp lib/Net/SMTP/SSL.pm blib/lib/Net/SMTP/SSL.pm Manifying blib/man3/Net::SMTP::SSL.3pm CWEST/Net-SMTP-SSL-1.01.tar.gz /usr/bin/make -- OK Skipping test because of notest pragma Running make install Manifying blib/man3/Net::SMTP::SSL.3pm Installing /home/tinderbox/bugzilla-tip-5100/lib/Net/SMTP/SSL.pm Installing /home/tinderbox/bugzilla-tip-5100/lib/man/man3/Net::SMTP::SSL.3pm Writing /home/tinderbox/bugzilla-tip-5100/lib/x86_64-linux-thread-multi/auto/Net/SMTP/SSL/.packlist Appending installation info to /home/tinderbox/bugzilla-tip-5100/lib/x86_64-linux-thread-multi/perllocal.pod CWEST/Net-SMTP-SSL-1.01.tar.gz /usr/bin/make install -- OK -!- So clearly it detects the requirement but doesn't install it like it usually does. We should either add IO::Socket::SSL as direct requirement or report to Net::SMTP::SSL maintainer to fix his/hers packaging.. (I hear there's no such maintainer, though?)
Are you sure there is nothing wrong with your installation on landfill (maybe a too old CPAN.pm)? I installed Net::SMTP::SSL using install-module.pl on Perl 5.14.1, and it installed its dependencies correctly. # perl -MIO::Socket::SSL -wE 'say $IO::Socket::SSL::VERSION' 1.44
Hum, I tried on landfill with Perl 5.12.3, and there is something indeed wrong. But the problem is not IO::Socket::SSL. The problem is Net::SSLeay.
(In reply to Frédéric Buclin from comment #2) > Hum, I tried on landfill with Perl 5.12.3, and there is something indeed > wrong. But the problem is not IO::Socket::SSL. The problem is Net::SSLeay. I take that back. That was just a warning message when compiling the module, but everything works fine: #perl5.12.3 -Mlib=lib -MNet::SSLeay -wE 'say $Net::SSLeay::VERSION' 1.36 #perl5.12.3 -Mlib=lib -MNet::SMTP::SSL -wE 'say $Net::SMTP::SSL::VERSION' 1.01
Version: unspecified → 4.3
(In reply to Frédéric Buclin from comment #1) > Are you sure there is nothing wrong with your installation on landfill > (maybe a too old CPAN.pm)? I installed Net::SMTP::SSL using If it's too old then than definitely something install-module.pl should take care of since it specifically checks for that. :) BTW, this was on cg-bugs01 and not landfill.. It's the perl5.10.0 tip install. For reference, this is what CPAN related checks are saying on that install: Checking for CPAN (v1.81) ok: found v1.92 Checking for YAML (any) ok: found v0.71 Checking for ExtUtils-MakeMaker (v6.31) ok: found v6.59
Here's a test run after just installing latest CPAN (and nothing else). --!-- [tinderbox@cg-bugs01 bugzilla-tip-5100]$ /opt/perl-5.10.0/bin/perl install-module.pl Net::SMTP::SSL Checking for CPAN (v1.81) ok: found v1.98 Checking for YAML (any) ok: found v0.71 Checking for ExtUtils-MakeMaker (v6.31) ok: found v6.42 CPAN: Storable loaded ok (v2.18) Reading '/home/tinderbox/.cpan/Metadata' Database was generated on Fri, 26 Aug 2011 23:28:48 GMT Installing Net::SMTP::SSL version 1.01... Running install for module 'Net::SMTP::SSL' Running make for C/CW/CWEST/Net-SMTP-SSL-1.01.tar.gz CPAN: Digest::SHA loaded ok (v5.45) CPAN: Compress::Zlib loaded ok (v2.008) Checksum for /home/tinderbox/.cpan/source/authors/id/C/CW/CWEST/Net-SMTP-SSL-1.01.tar.gz ok CPAN: Archive::Tar loaded ok (v1.38) You have Archive::Tar 1.38, but 1.50 or later is recommended. Please upgrade. Net-SMTP-SSL-1.01/ Net-SMTP-SSL-1.01/Changes Net-SMTP-SSL-1.01/lib/ Net-SMTP-SSL-1.01/lib/Net/ Net-SMTP-SSL-1.01/lib/Net/SMTP/ Net-SMTP-SSL-1.01/lib/Net/SMTP/SSL.pm Net-SMTP-SSL-1.01/Makefile.PL Net-SMTP-SSL-1.01/MANIFEST Net-SMTP-SSL-1.01/META.yml Net-SMTP-SSL-1.01/README Net-SMTP-SSL-1.01/t/ Net-SMTP-SSL-1.01/t/test.t CPAN: File::Temp loaded ok (v0.18) CPAN.pm: Building C/CW/CWEST/Net-SMTP-SSL-1.01.tar.gz Checking if your kit is complete... Looks good Warning: prerequisite IO::Socket::SSL not found. Writing Makefile for Net::SMTP::SSL Could not read metadata file. Falling back to other methods to determine prerequisites CPAN: Module::CoreList loaded ok (v2.13) cp lib/Net/SMTP/SSL.pm blib/lib/Net/SMTP/SSL.pm Manifying blib/man3/Net::SMTP::SSL.3pm CWEST/Net-SMTP-SSL-1.01.tar.gz /usr/bin/make -- OK Skipping test because of notest pragma Running make install Manifying blib/man3/Net::SMTP::SSL.3pm Installing /home/tinderbox/bugzilla-tip-5100/lib/Net/SMTP/SSL.pm Installing /home/tinderbox/bugzilla-tip-5100/lib/man/man3/Net::SMTP::SSL.3pm Writing /home/tinderbox/bugzilla-tip-5100/lib/x86_64-linux-thread-multi/auto/Net/SMTP/SSL/.packlist Appending installation info to /home/tinderbox/bugzilla-tip-5100/lib/x86_64-linux-thread-multi/perllocal.pod CWEST/Net-SMTP-SSL-1.01.tar.gz /usr/bin/make install -- OK --!-- Result is the same but this time there's one a hint that this has something to do with package metadata. Clearly that "other method" doesn't work for this module. :(
install-module.pl is gone.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.