Skip Menu |

This queue is for tickets about the IO-Prompt CPAN distribution.

Report information
The Basics
Id: 118893
Status: open
Priority: 0/
Queue: IO-Prompt

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: "isprint" is not exported by the POSIX module
POSIX::isprint was removed from perl 5.25.7: # Failed test 'use IO::Prompt;' # at t/00.load.t line 4. # Tried to use 'IO::Prompt'. # Error: "isprint" is not exported by the POSIX module # Can't continue after import errors at /opt/perl-5.25.7/lib/5.25.7/x86_64-linux/POSIX.pm line 192. # BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2016112203/IO-Prompt-0.997003-0/blib/lib/IO/Prompt.pm line 16. # Compilation failed in require at t/00.load.t line 4. # BEGIN failed--compilation aborted at t/00.load.t line 4. # Testing IO::Prompt # Looks like you failed 1 test of 1. t/00.load.t ....... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests See also https://rt.perl.org/Ticket/Display.html?id=130126
Subject: [PATCH] "isprint" is not exported by the POSIX module
On 2016-11-22 01:11:08, SREZIC wrote: Show quoted text
> POSIX::isprint was removed from perl 5.25.7: > > # Failed test 'use IO::Prompt;' > # at t/00.load.t line 4. > # Tried to use 'IO::Prompt'. > # Error: "isprint" is not exported by the POSIX module > # Can't continue after import errors at /opt/perl- > 5.25.7/lib/5.25.7/x86_64-linux/POSIX.pm line 192. > # BEGIN failed--compilation aborted at /tmpfs/.cpan-build- > cpansand/2016112203/IO-Prompt-0.997003-0/blib/lib/IO/Prompt.pm line > 16. > # Compilation failed in require at t/00.load.t line 4. > # BEGIN failed--compilation aborted at t/00.load.t line 4. > # Testing IO::Prompt > # Looks like you failed 1 test of 1. > t/00.load.t ....... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/1 subtests > > > See also https://rt.perl.org/Ticket/Display.html?id=130126
A possible patch is at http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/IO-Prompt-0.997003-RT118893.patch CPAN.pm users may use the distroprefs file https://github.com/eserte/srezic-cpan-distroprefs/blob/master/IO-Prompt.yml for automatic patching. I understand that this module is sort-of deprecated, but the number of reverse dependencies is not that small (MetaCPAN lists 30 of them, see https://metacpan.org/requires/distribution/IO-Prompt?sort=[[2,1]] ), so it would be good to fix the problem.
Subject: Re: [rt.cpan.org #118893] [PATCH] "isprint" is not exported by the POSIX module
Date: Fri, 25 Nov 2016 09:02:36 +1100
To: bug-IO-Prompt [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Patch applied! Update uploaded! Thanks, Slaven. :-) Damian