Skip to content

Instantly share code, notes, and snippets.

@ology
Last active February 20, 2025 18:59
Show Gist options
  • Save ology/f0a6f2e611fb43bfca1ccd00282e129f to your computer and use it in GitHub Desktop.
Save ology/f0a6f2e611fb43bfca1ccd00282e129f to your computer and use it in GitHub Desktop.
cpanm Future::IO ... FAIL
cpanm (App::cpanminus) 1.7047 on perl 5.038000 built for darwin-2level
Work directory is /Users/gene/.cpanm/work/1740077374.80202
You have make /usr/bin/make
You have LWP 6.72
You have /usr/bin/tar: bsdtar 3.5.3 - libarchive 3.5.3 zlib/1.2.12 liblzma/5.4.3 bz2lib/1.0.8
You have /usr/bin/unzip
Searching Future::IO () on cpanmetadb ...
--> Working on Future::IO
Fetching http://www.cpan.org/authors/id/P/PE/PEVANS/Future-IO-0.16.tar.gz
-> OK
Unpacking Future-IO-0.16.tar.gz
Entering Future-IO-0.16
Checking configure dependencies from META.json
Checking if you have Module::Build 0.4004 ... Yes (0.4234)
Checking if you have ExtUtils::Install 1.46 ... Yes (2.22)
Configuring Future-IO-0.16
Running Build.PL
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::ExpectAndCheck 0.06 ... Yes (0.07)
Checking if you have Future 0 ... Yes (0.50)
Checking if you have Test::Future::IO::Impl 0 ... Yes (0.14)
Checking if you have Test2::V0 0 ... Yes (0.000159)
Checking if you have Time::HiRes 0 ... Yes (1.9775)
Checking if you have Struct::Dumb 0 ... Yes (0.14)
Building and testing Future-IO-0.16
-> FAIL Installing Future::IO failed. See /Users/gene/.cpanm/work/1740077374.80202/build.log for details. Retry with --force to force install it.
> cpanm Future::IO
cpanm (App::cpanminus) 1.7047 on perl 5.038000 built for darwin-2level
Work directory is /Users/gene/.cpanm/work/1740077374.80202
You have make /usr/bin/make
You have LWP 6.72
You have /usr/bin/tar: bsdtar 3.5.3 - libarchive 3.5.3 zlib/1.2.12 liblzma/5.4.3 bz2lib/1.0.8
You have /usr/bin/unzip
Searching Future::IO () on cpanmetadb ...
--> Working on Future::IO
Fetching http://www.cpan.org/authors/id/P/PE/PEVANS/Future-IO-0.16.tar.gz ... OK
Unpacking Future-IO-0.16.tar.gz
x Future-IO-0.16
x Future-IO-0.16/.editorconfig
x Future-IO-0.16/Build.PL
x Future-IO-0.16/Changes
x Future-IO-0.16/LICENSE
x Future-IO-0.16/MANIFEST
x Future-IO-0.16/META.json
x Future-IO-0.16/META.yml
x Future-IO-0.16/README
x Future-IO-0.16/lib
x Future-IO-0.16/lib/Future
x Future-IO-0.16/lib/Future/IO.pm
x Future-IO-0.16/lib/Future/IO
x Future-IO-0.16/lib/Future/IO/ImplBase.pm
x Future-IO-0.16/lib/Future/IO/System.pm
x Future-IO-0.16/t
x Future-IO-0.16/t/00use.t
x Future-IO-0.16/t/01sleep.t
x Future-IO-0.16/t/02sysread.t
x Future-IO-0.16/t/03sysread_exactly.t
x Future-IO-0.16/t/03sysread_until_eof.t
x Future-IO-0.16/t/04syswrite.t
x Future-IO-0.16/t/05syswrite_exactly.t
x Future-IO-0.16/t/06connect.t
x Future-IO-0.16/t/07accept.t
x Future-IO-0.16/t/10sleep+sysread.t
x Future-IO-0.16/t/20impl-override.t
x Future-IO-0.16/t/21impl-before-load.t
x Future-IO-0.16/t/30system.t
x Future-IO-0.16/t/90rt150117.t
x Future-IO-0.16/t/99pod.t
Entering Future-IO-0.16
Checking configure dependencies from META.json
Checking if you have Module::Build 0.4004 ... Yes (0.4234)
Checking if you have ExtUtils::Install 1.46 ... Yes (2.22)
Running Build.PL
Configuring Future-IO-0.16 ... Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Future-IO' version '0.16'
OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::ExpectAndCheck 0.06 ... Yes (0.07)
Checking if you have Future 0 ... Yes (0.50)
Checking if you have Test::Future::IO::Impl 0 ... Yes (0.14)
Checking if you have Test2::V0 0 ... Yes (0.000159)
Checking if you have Time::HiRes 0 ... Yes (1.9775)
Checking if you have Struct::Dumb 0 ... Yes (0.14)
Building and testing Future-IO-0.16 ... Building Future-IO
t/00use.t ................ ok
t/01sleep.t .............. ok
t/02sysread.t ............ ok
t/03sysread_exactly.t .... ok
t/03sysread_until_eof.t .. ok
t/04syswrite.t ........... ok
t/05syswrite_exactly.t ... ok
t/06connect.t ............ 1/?
# Failed test 'Future::IO->connect fails on closed server'
# at /Users/gene/perl5/perlbrew/perls/perl-5.38.0/lib/site_perl/5.38.0/Test/Future/IO/Impl.pm line 194.
# Failed test 'Future::IO->connect failure'
# at /Users/gene/perl5/perlbrew/perls/perl-5.38.0/lib/site_perl/5.38.0/Test/Future/IO/Impl.pm line 196.
# +------+------------------+----+------------------------------------+
# | PATH | GOT | OP | CHECK |
# +------+------------------+----+------------------------------------+
# | [0] | <DOES NOT EXIST> | | connect: Connection refused\n |
# | [1] | <DOES NOT EXIST> | | connect |
# | [2] | <DOES NOT EXIST> | == | IO::Socket::INET=GLOB(0x127af4ce8) |
# | [3] | <DOES NOT EXIST> | | Connection refused |
# +------+------------------+----+------------------------------------+
# Seeded srand with seed '20250220' from local date.
t/06connect.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests
t/07accept.t ............. ok
t/10sleep+sysread.t ...... ok
t/20impl-override.t ...... ok
t/21impl-before-load.t ... ok
t/30system.t ............. 1/? Use of uninitialized value in hash element at /Users/gene/perl5/perlbrew/perls/perl-5.38.0/lib/site_perl/5.38.0/IO/Async/Loop.pm line 2527.
Use of uninitialized value $fileno in hash element at /Users/gene/perl5/perlbrew/perls/perl-5.38.0/lib/site_perl/5.38.0/IO/Async/Loop/Poll.pm line 343.
Use of uninitialized value in delete at /Users/gene/perl5/perlbrew/perls/perl-5.38.0/lib/site_perl/5.38.0/Future/IO/Impl/IOAsync.pm line 112.
Can't call method "done" on an undefined value at /Users/gene/perl5/perlbrew/perls/perl-5.38.0/lib/site_perl/5.38.0/Future/IO/Impl/IOAsync.pm line 103.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 35 after test #3.
# Seeded srand with seed '20250220' from local date.
Unable to flush stdout: Broken pipe
t/30system.t ............. Dubious, test returned 35 (wstat 8960, 0x2300)
All 3 subtests passed
t/90rt150117.t ........... ok
t/99pod.t ................ ok
Test Summary Report
-------------------
t/06connect.t (Wstat: 512 (exited 2) Tests: 3 Failed: 2)
Failed tests: 2-3
Non-zero exit status: 2
t/30system.t (Wstat: 8960 (exited 35) Tests: 3 Failed: 0)
Non-zero exit status: 35
Parse errors: No plan found in TAP output
Files=15, Tests=45, 2 wallclock secs ( 0.03 usr 0.02 sys + 0.59 cusr 0.11 csys = 0.75 CPU)
Result: FAIL
Failed 2/15 test programs. 2/45 subtests failed.
FAIL
! Installing Future::IO failed. See /Users/gene/.cpanm/work/1740077374.80202/build.log for details. Retry with --force to force install it.
> perl -v
This is perl 5, version 38, subversion 0 (v5.38.0) built for darwin-2level
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment