Package Details: perl-io-prompt 0.997004-1

Git Clone URL: https://aur.archlinux.org/perl-io-prompt.git (read-only, click to copy)
Package Base: perl-io-prompt
Description: Interactively prompt for user input
Upstream URL: https://metacpan.org/release/IO-Prompt
Licenses: GPL, PerlArtistic
Submitter: None
Maintainer: nkukard
Last Packager: nkukard
Votes: 6
Popularity: 0.000000
First Submitted: 2007-04-16 06:30 (UTC)
Last Updated: 2019-01-06 15:39 (UTC)

Latest Comments

1 2 Next › Last »

nkukard commented on 2019-01-06 15:40 (UTC)

Should be fixed now in latest version 0.997004-1

usern_name132 commented on 2017-10-28 21:11 (UTC)

Ok managed to fix the problem, at least well enough to make it work. 1) During installation edit the PKGBUILD and comment out the following lines: 34: ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" 35: make test 36: ) 2) After the installation is complete make the Prompt.pm file writeable by root as such: sudo chmod 0744 /usr/share/perl5/vendor_perl/IO/Prompt.pm 3) Edit the file: sudo vim /usr/share/perl5/vendor_perl/IO/Prompt.pm 4) Comment-out line 16 as such: #use POSIX qw( isprint ); 5) On line 326 replace: return isprint($_) ?$_ with : return print($_) ?$ 6) Save and change the file back to 0444: sudo chmod 0444 /usr/share/perl5/vendor_perl/IO/Prompt.pm

usern_name132 commented on 2017-10-28 20:51 (UTC)

Hello! The package does no install when it tries to perform the check() function, I get the following: ERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00.load.t ....... 1/1 # 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 /usr/lib/perl5/5.26/core_perl/POSIX.pm line 192. # BEGIN failed--compilation aborted at /tmp/yaourt-tmp-apg/aur-perl-io-prompt/src/IO-Prompt-0.997003/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 t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.04 required for testing POD coverage t/pod.t ........... skipped: Test::Pod 1.14 required for testing POD Test Summary Report ------------------- t/00.load.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=3, Tests=1, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.11 cusr 0.00 csys = 0.13 CPU) Result: FAIL Failed 1/3 test programs. 1/1 subtests failed. make: *** [Makefile:853: test_dynamic] Error 255

<deleted-account> commented on 2011-10-23 19:49 (UTC)

Fixed.

allspark commented on 2011-10-19 07:51 (UTC)

error: target not found: perl-termreadkey

tpavlic commented on 2010-06-18 13:38 (UTC)

I have added an AURpan issue at github: http://github.com/xenoterracide/AURpan/issues#issue/1

tpavlic commented on 2010-06-18 13:27 (UTC)

If I manually go into: /tmp/yaourt-tmp-tpavlic/aur-perl-io-prompt/src/IO-Prompt-0.997001/t and type: perl 01.dependencies.t then I get the correct result of: 1..2 ok 1 - Output to /dev/tty ok 2 - Input from /dev/tty However, if I go to: /tmp/yaourt-tmp-tpavlic/aur-perl-io-prompt/src/IO-Prompt-0.997001 and type: make test Then I get the error the build gets: # Failed test 'Output to /dev/tty' # at t/01.dependencies.t line 4. # Failed test 'Input from /dev/tty' # at t/01.dependencies.t line 5. # Looks like you failed 2 tests of 2. t/01.dependencies.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests Too late to run CHECK block at /tmp/yaourt-tmp-tpavlic/aur-perl-io-prompt/src/IO-Prompt-0.997001/blib/lib/IO/Prompt.pm line 319. Here are the permissions on /dev/tty: crw-rw-rw- 1 root tty 5, 0 Jun 18 09:24 /dev/tty (i.e., 0666)

xenoterracide commented on 2010-06-17 12:00 (UTC)

also this issue would be better tracked on github. http://github.com/xenoterracide/AURpan/issues

xenoterracide commented on 2010-06-16 15:48 (UTC)

also what are your perms on /dev/tty ? this just seems odd... but it works for me... so i'm trying to figure out why maybe it isn't for you.