Skip Menu |

This queue is for tickets about the MIME-Types CPAN distribution.

Report information
The Basics
Id: 98664
Status: resolved
Priority: 0/
Queue: MIME-Types

People
Owner: Nobody in particular
Requestors: paul [...] city-fan.org
Cc: SREZIC [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.08
Fixed in: (no value)



Subject: Fails with perl 5.8.x
For example, with 5.8.8: $ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/10type.......ok t/11typeol.....ok t/20types......Possible unintended interpolation of @accept in string at lib/MIME/Types.pm line 171. Possible unintended interpolation of @accept in string at lib/MIME/Types.pm line 171. Backslash found where operator expected at lib/MIME/Types.pm line 184, near "{ $acc =~ s/\" (Might be a runaway multi-line // string starting on line 171) (Missing operator before \?) Use of $# is deprecated at lib/MIME/Types.pm line 184. String found where operator expected at lib/MIME/Types.pm line 197, near "my $fns = !@_ ? return () : ref $_[0] eq '" (Might be a runaway multi-line '' string starting on line 186) Global symbol "$q" requires explicit package name at lib/MIME/Types.pm line 171. Global symbol "@accept" requires explicit package name at lib/MIME/Types.pm line 171. Global symbol "$match" requires explicit package name at lib/MIME/Types.pm line 171. Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 171. Global symbol "@accept" requires explicit package name at lib/MIME/Types.pm line 171. Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 171. syntax error at lib/MIME/Types.pm line 184, near "{ $acc =~ s/\" Global symbol "$m" requires explicit package name at lib/MIME/Types.pm line 184. Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 184. Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 184. Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 184. lib/MIME/Types.pm has too many errors. Compilation failed in require at t/20types.t line 13. BEGIN failed--compilation aborted at t/20types.t line 13. # Looks like your test died before it could output anything. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-36 Failed 36/36 tests, 0.00% okay t/21accept.....Possible unintended interpolation of @accept in string at lib/MIME/Types.pm line 171. Possible unintended interpolation of @accept in string at lib/MIME/Types.pm line 171. Backslash found where operator expected at lib/MIME/Types.pm line 184, near "{ $acc =~ s/\" (Might be a runaway multi-line // string starting on line 171) (Missing operator before \?) Use of $# is deprecated at lib/MIME/Types.pm line 184. String found where operator expected at lib/MIME/Types.pm line 197, near "my $fns = !@_ ? return () : ref $_[0] eq '" (Might be a runaway multi-line '' string starting on line 186) Global symbol "$q" requires explicit package name at lib/MIME/Types.pm line 171. Global symbol "@accept" requires explicit package name at lib/MIME/Types.pm line 171. Global symbol "$match" requires explicit package name at lib/MIME/Types.pm line 171. Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 171. Global symbol "@accept" requires explicit package name at lib/MIME/Types.pm line 171. Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 171. syntax error at lib/MIME/Types.pm line 184, near "{ $acc =~ s/\" Global symbol "$m" requires explicit package name at lib/MIME/Types.pm line 184. Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 184. Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 184. Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 184. lib/MIME/Types.pm has too many errors. Compilation failed in require at t/21accept.t line 13. BEGIN failed--compilation aborted at t/21accept.t line 13. # Looks like your test died before it could output anything. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-9 Failed 9/9 tests, 0.00% okay t/22accbest....Possible unintended interpolation of @accept in string at lib/MIME/Types.pm line 171. Possible unintended interpolation of @accept in string at lib/MIME/Types.pm line 171. Backslash found where operator expected at lib/MIME/Types.pm line 184, near "{ $acc =~ s/\" (Might be a runaway multi-line // string starting on line 171) (Missing operator before \?) Use of $# is deprecated at lib/MIME/Types.pm line 184. String found where operator expected at lib/MIME/Types.pm line 197, near "my $fns = !@_ ? return () : ref $_[0] eq '" (Might be a runaway multi-line '' string starting on line 186) Global symbol "$q" requires explicit package name at lib/MIME/Types.pm line 171. Global symbol "@accept" requires explicit package name at lib/MIME/Types.pm line 171. Global symbol "$match" requires explicit package name at lib/MIME/Types.pm line 171. Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 171. Global symbol "@accept" requires explicit package name at lib/MIME/Types.pm line 171. Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 171. syntax error at lib/MIME/Types.pm line 184, near "{ $acc =~ s/\" Global symbol "$m" requires explicit package name at lib/MIME/Types.pm line 184. Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 184. Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 184. Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 184. lib/MIME/Types.pm has too many errors. Compilation failed in require at t/22accbest.t line 13. BEGIN failed--compilation aborted at t/22accbest.t line 13. # Looks like your test died before it could output anything. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-25 Failed 25/25 tests, 0.00% okay t/30export.....Possible unintended interpolation of @accept in string at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 171. Possible unintended interpolation of @accept in string at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 171. Backslash found where operator expected at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 184, near "{ $acc =~ s/\" (Might be a runaway multi-line // string starting on line 171) (Missing operator before \?) Use of $# is deprecated at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 184. String found where operator expected at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 197, near "my $fns = !@_ ? return () : ref $_[0] eq '" (Might be a runaway multi-line '' string starting on line 186) Global symbol "$q" requires explicit package name at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 171. Global symbol "@accept" requires explicit package name at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 171. Global symbol "$match" requires explicit package name at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 171. Global symbol "$acc" requires explicit package name at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 171. Global symbol "@accept" requires explicit package name at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 171. Global symbol "$acc" requires explicit package name at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 171. syntax error at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 184, near "{ $acc =~ s/\" Global symbol "$m" requires explicit package name at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 184. Global symbol "$acc" requires explicit package name at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 184. Global symbol "$acc" requires explicit package name at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 184. Global symbol "$acc" requires explicit package name at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 184. /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm has too many errors. Compilation failed in require at t/30export.t line 14. BEGIN failed--compilation aborted at t/30export.t line 14. # Looks like your test died before it could output anything. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-40 Failed 40/40 tests, 0.00% okay t/40mojo.......skipped all skipped: Mojo probably not installed Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/20types.t 255 65280 36 72 200.00% 1-36 t/21accept.t 255 65280 9 18 200.00% 1-9 t/22accbest.t 255 65280 25 50 200.00% 1-25 t/30export.t 255 65280 40 80 200.00% 1-40 1 test skipped. Failed 4/7 test scripts, 42.86% okay. 110/156 subtests failed, 29.49% okay. make: *** [test_dynamic] Error 255 I don't know if you're still interested in supporting 5.8, but if not it would be good to state an explicit 5.10 dependency.
Subject: Re: [rt.cpan.org #98664] Fails with perl 5.8.x
Date: Sat, 6 Sep 2014 20:22:28 +0200
To: "paul [...] city-fan.org via RT" <bug-MIME-Types [...] rt.cpan.org>
From: Mark Overmeer <mark [...] nluug.nl>
* paul@city-fan.org via RT (bug-MIME-Types@rt.cpan.org) [140906 12:07]: Show quoted text
> Sat Sep 06 08:07:45 2014: Request 98664 was acted upon. > Transaction: Ticket created by paul@city-fan.org > Queue: MIME-Types > Subject: Fails with perl 5.8.x > Broken in: 2.08 > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=98664 > > > For example, with 5.8.8:
Show quoted text
> I don't know if you're still interested in supporting 5.8, but if not > it would be good to state an explicit 5.10 dependency.
It probably is the use of '//'. I'll revert that in next release. -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
bump - this is causing failures with Plack since MIME::Types is one of the runtime dependencies.
Subject: Re: [rt.cpan.org #98664] Fails with perl 5.8.x
Date: Sun, 14 Sep 2014 18:16:43 +0200
To: Tatsuhiko Miyagawa via RT <bug-MIME-Types [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* Tatsuhiko Miyagawa via RT (bug-MIME-Types@rt.cpan.org) [140913 18:46]: Show quoted text
> Queue: MIME-Types > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=98664 > > > bump - this is causing failures with Plack since MIME::Types is one > of the runtime dependencies.
This is only causing failures on Plack if you are stuck to Perl 5.8, which is already followed-up by 5.10 in 2007. I advice you to upgrade your installation. I have released 2.09 which restores 5.8 compatibility. -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Fixed in 2.09