Closed Bug 631328 Opened 13 years ago Closed 13 years ago

install-module.pl is unable to install Email::MIME on Perl <5.8.5, because Email::MIME 1.907 now requires 5.8.5 as a minimum

Categories

(Bugzilla :: Installation & Upgrading, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: LpSolit, Assigned: com.mozilla)

Details

Email::MIME 1.907 has been released yesterday, and it now requires Perl 5.8.5. When trying to install Email::MIME with install-module.pl on Perl <5.8.5, an error is thrown:

  CPAN.pm: Going to build R/RJ/RJBS/Email-MIME-1.907.tar.gz

Perl v5.8.5 required--this is only v5.8.1, stopped at Makefile.PL line 1.

Does it mean Bugzilla should now require Perl 5.8.5 as a minimum too, as Email::MIME is a required module?

For the record, note that DBI and URI have also recently bumped the minimum Perl version required: 5.8.1 for both. So we are safe here. :)
Auugh. Well, we don't *require* Email::MIME 1.907, so there's no need to bump our requirement--at least, not yet.
I know, but that's the version install-module.pl tries to install.
rjbs: do you really need 5.8.5 to get correct encoding. It looks like 5.8.1 works fine too, right?
Depends on: 655477
Whiteboard: [blocker will fix]
Email::MIME 1.908 has been released which brings back support for 5.8.1. Thanks a lot rjbs! :)
Assignee: installation → com.mozilla
Status: NEW → RESOLVED
Closed: 13 years ago
No longer depends on: 655477
Resolution: --- → FIXED
Whiteboard: [blocker will fix]
(In reply to Frédéric Buclin from comment #4)
> Email::MIME 1.908 has been released which brings back support for 5.8.1.
> Thanks a lot rjbs! :)

I don't find that Email::MIME 1.908 supports Perl 5.8.1. The Makefile.PL still requires Perl 5.8.5.

http://cpansearch.perl.org/src/RJBS/Email-MIME-1.908/Makefile.PL

I'm unable to install Bugzilla 4.0.2 on SLES 9 with Perl 5.8.3 installed. Can you update the Makefile.PL to only require Perl versions 5.8.1 and newer?
(In reply to hugh from comment #5)
> I'm unable to install Bugzilla 4.0.2 on SLES 9 with Perl 5.8.3 installed.
> Can you update the Makefile.PL to only require Perl versions 5.8.1 and newer?

You could edit the file manually, and decrease the required Perl version, no? Not ideal, but it's a workaround.
True. I can change the Perl version in the Makefile.PL, but I'm not very familiar with compiling/installing CPAN modules.

I just wanted to report that, contrary to comment #4 above, Email::MIME 1.908 doesn't resolve what it claims to.

I'm currently running Bugzilla 3.4.4, so I'm not in any rush to upgrade to 4.0.2. Perhaps I'll spend some more time learning about CPAN compilation/installation to see if I can get Email::MIME 1.908 to install into the Bugzilla 4.0.2 installation directory.
I will make a new Email::MIME release with this error corrected in the next day or two.

Unfortunately, the tool that I usually use to test for this problem has upstream prereqs that are broken, and I'd like to get that working before making the release.  I'll have a look at those today.
Email::MIME 1.909 now requires perl 5.8.1 correctly.  Sorry for the delay, some upstream test libraries that I don't control were broken, and I didn't push very hard to get them fixed.
You need to log in before you can comment on or make changes to this bug.