Skip to content

Instantly share code, notes, and snippets.

@ology
Last active June 12, 2023 17:54
Show Gist options
  • Save ology/9a6eea0386ef3b2101736703d7a66d6e to your computer and use it in GitHub Desktop.
Save ology/9a6eea0386ef3b2101736703d7a66d6e to your computer and use it in GitHub Desktop.
IO::Async fails to install on my macOS Monterey 12.6 :\
cpanm (App::cpanminus) 1.7044 on perl 5.034000 built for darwin-2level
Work directory is /Users/geneboggs/.cpanm/work/1686591626.77409
You have make /usr/bin/make
You have LWP 6.59
You have /usr/bin/tar: bsdtar 3.5.1 - libarchive 3.5.1 zlib/1.2.11 liblzma/5.0.5 bz2lib/1.0.8
You have /usr/bin/unzip
Searching IO::Async () on cpanmetadb ...
--> Working on IO::Async
Fetching https://cpan.metacpan.org/authors/id/P/PE/PEVANS/IO-Async-0.802.tar.gz
-> OK
Unpacking IO-Async-0.802.tar.gz
Entering IO-Async-0.802
Checking configure dependencies from META.json
Checking if you have ExtUtils::Install 1.46 ... Yes (2.20)
Checking if you have Module::Build 0.4004 ... Yes (0.4231)
Configuring IO-Async-0.802
Running Build.PL
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Future::Utils 0.18 ... Yes (0.50)
Checking if you have Struct::Dumb 0 ... Yes (0.14)
Checking if you have Test::Metrics::Any 0 ... Yes (0.01)
Checking if you have Socket 2.007 ... Yes (2.031)
Checking if you have Storable 0 ... Yes (3.23)
Checking if you have Test::Identity 0 ... Yes (0.01)
Checking if you have IO::Poll 0 ... Yes (1.46)
Checking if you have Future 0.33 ... Yes (0.50)
Checking if you have Test::Fatal 0 ... Yes (0.016)
Checking if you have Test::More 0.88 ... Yes (1.302183)
Checking if you have File::stat 0 ... Yes (1.09)
Checking if you have Exporter 5.57 ... Yes (5.76)
Checking if you have Time::HiRes 0 ... Yes (1.9767)
Checking if you have File::Temp 0 ... Yes (0.2311)
Checking if you have Test::Refcount 0 ... Yes (0.10)
Checking if you have Test::Future::IO::Impl 0 ... Yes (0.14)
Checking if you have List::Util 0 ... Yes (1.60)
Building and testing IO-Async-0.802
-> FAIL Installing IO::Async failed. See /Users/geneboggs/.cpanm/work/1686591626.77409/build.log for details. Retry with --force to force install it.
▸ cpanm IO::Async
cpanm (App::cpanminus) 1.7044 on perl 5.034000 built for darwin-2level
Work directory is /Users/geneboggs/.cpanm/work/1686591626.77409
You have make /usr/bin/make
You have LWP 6.59
You have /usr/bin/tar: bsdtar 3.5.1 - libarchive 3.5.1 zlib/1.2.11 liblzma/5.0.5 bz2lib/1.0.8
You have /usr/bin/unzip
Searching IO::Async () on cpanmetadb ...
--> Working on IO::Async
Fetching https://cpan.metacpan.org/authors/id/P/PE/PEVANS/IO-Async-0.802.tar.gz ... OK
Unpacking IO-Async-0.802.tar.gz
x IO-Async-0.802
x IO-Async-0.802/Build.PL
x IO-Async-0.802/Changes
x IO-Async-0.802/LICENSE
x IO-Async-0.802/MANIFEST
x IO-Async-0.802/META.json
x IO-Async-0.802/META.yml
x IO-Async-0.802/README
x IO-Async-0.802/examples
x IO-Async-0.802/examples/chat-server.pl
x IO-Async-0.802/examples/echo-server.pl
x IO-Async-0.802/examples/netcat-client.pl
x IO-Async-0.802/examples/readwrite-futures.pl
x IO-Async-0.802/examples/tail-logfile.pl
x IO-Async-0.802/examples/tcp-proxy.pl
x IO-Async-0.802/examples/whoami-server.pl
x IO-Async-0.802/lib
x IO-Async-0.802/lib/Future
x IO-Async-0.802/lib/Future/IO
x IO-Async-0.802/lib/Future/IO/Impl
x IO-Async-0.802/lib/Future/IO/Impl/IOAsync.pm
x IO-Async-0.802/lib/IO
x IO-Async-0.802/lib/IO/Async.pm
x IO-Async-0.802/lib/IO/Async
x IO-Async-0.802/lib/IO/Async/Channel.pm
x IO-Async-0.802/lib/IO/Async/Debug.pm
x IO-Async-0.802/lib/IO/Async/File.pm
x IO-Async-0.802/lib/IO/Async/FileStream.pm
x IO-Async-0.802/lib/IO/Async/Function.pm
x IO-Async-0.802/lib/IO/Async/Future.pm
x IO-Async-0.802/lib/IO/Async/Handle.pm
x IO-Async-0.802/lib/IO/Async/Listener.pm
x IO-Async-0.802/lib/IO/Async/Loop.pm
x IO-Async-0.802/lib/IO/Async/LoopTests.pm
x IO-Async-0.802/lib/IO/Async/Metrics.pm
x IO-Async-0.802/lib/IO/Async/Notifier.pm
x IO-Async-0.802/lib/IO/Async/OS.pm
x IO-Async-0.802/lib/IO/Async/PID.pm
x IO-Async-0.802/lib/IO/Async/Process.pm
x IO-Async-0.802/lib/IO/Async/Protocol.pm
x IO-Async-0.802/lib/IO/Async/Resolver.pm
x IO-Async-0.802/lib/IO/Async/Routine.pm
x IO-Async-0.802/lib/IO/Async/Signal.pm
x IO-Async-0.802/lib/IO/Async/Socket.pm
x IO-Async-0.802/lib/IO/Async/Stream.pm
x IO-Async-0.802/lib/IO/Async/Test.pm
x IO-Async-0.802/lib/IO/Async/Timer.pm
x IO-Async-0.802/lib/IO/Async/Internals
x IO-Async-0.802/lib/IO/Async/Internals/ChildManager.pm
x IO-Async-0.802/lib/IO/Async/Internals/Connector.pm
x IO-Async-0.802/lib/IO/Async/Internals/FunctionWorker.pm
x IO-Async-0.802/lib/IO/Async/Internals/TimeQueue.pm
x IO-Async-0.802/lib/IO/Async/Loop
x IO-Async-0.802/lib/IO/Async/Loop/Poll.pm
x IO-Async-0.802/lib/IO/Async/Loop/Select.pm
x IO-Async-0.802/lib/IO/Async/OS
x IO-Async-0.802/lib/IO/Async/OS/MSWin32.pm
x IO-Async-0.802/lib/IO/Async/OS/cygwin.pm
x IO-Async-0.802/lib/IO/Async/OS/linux.pm
x IO-Async-0.802/lib/IO/Async/Protocol
x IO-Async-0.802/lib/IO/Async/Protocol/LineStream.pm
x IO-Async-0.802/lib/IO/Async/Protocol/Stream.pm
x IO-Async-0.802/lib/IO/Async/Timer
x IO-Async-0.802/lib/IO/Async/Timer/Absolute.pm
x IO-Async-0.802/lib/IO/Async/Timer/Countdown.pm
x IO-Async-0.802/lib/IO/Async/Timer/Periodic.pm
x IO-Async-0.802/t
x IO-Async-0.802/t/00use.t
x IO-Async-0.802/t/01timequeue.t
x IO-Async-0.802/t/02os.t
x IO-Async-0.802/t/03loop-magic.t
x IO-Async-0.802/t/04notifier.t
x IO-Async-0.802/t/05notifier-loop.t
x IO-Async-0.802/t/06notifier-mixin.t
x IO-Async-0.802/t/07notifier-future.t
x IO-Async-0.802/t/10loop-poll-io.t
x IO-Async-0.802/t/10loop-select-io.t
x IO-Async-0.802/t/11loop-poll-timer.t
x IO-Async-0.802/t/11loop-select-timer.t
x IO-Async-0.802/t/12loop-poll-signal.t
x IO-Async-0.802/t/12loop-select-signal.t
x IO-Async-0.802/t/13loop-poll-idle.t
x IO-Async-0.802/t/13loop-select-idle.t
x IO-Async-0.802/t/14loop-poll-process.t
x IO-Async-0.802/t/14loop-select-process.t
x IO-Async-0.802/t/15loop-poll-control.t
x IO-Async-0.802/t/15loop-select-control.t
x IO-Async-0.802/t/16loop-poll-metrics.t
x IO-Async-0.802/t/16loop-select-metrics.t
x IO-Async-0.802/t/18loop-poll-legacy.t
x IO-Async-0.802/t/18loop-select-legacy.t
x IO-Async-0.802/t/19loop-future.t
x IO-Async-0.802/t/19test.t
x IO-Async-0.802/t/20handle.t
x IO-Async-0.802/t/21stream-1read.t
x IO-Async-0.802/t/21stream-2write.t
x IO-Async-0.802/t/21stream-3split.t
x IO-Async-0.802/t/21stream-4encoding.t
x IO-Async-0.802/t/22timer-absolute.t
x IO-Async-0.802/t/22timer-countdown.t
x IO-Async-0.802/t/22timer-periodic.t
x IO-Async-0.802/t/23signal.t
x IO-Async-0.802/t/24listener.t
x IO-Async-0.802/t/25socket.t
x IO-Async-0.802/t/26pid.t
x IO-Async-0.802/t/27file.t
x IO-Async-0.802/t/28filestream.t
x IO-Async-0.802/t/30loop-fork.t
x IO-Async-0.802/t/31loop-spawnchild.t
x IO-Async-0.802/t/32loop-spawnchild-setup.t
x IO-Async-0.802/t/33process.t
x IO-Async-0.802/t/34process-handles.t
x IO-Async-0.802/t/35loop-openprocess.t
x IO-Async-0.802/t/36loop-runchild.t
x IO-Async-0.802/t/37loop-child-root.t
x IO-Async-0.802/t/38loop-thread.t
x IO-Async-0.802/t/39loop-runproccess.t
x IO-Async-0.802/t/40channel.t
x IO-Async-0.802/t/41routine.t
x IO-Async-0.802/t/42function.t
x IO-Async-0.802/t/50resolver.t
x IO-Async-0.802/t/51loop-connect.t
x IO-Async-0.802/t/52loop-listen.t
x IO-Async-0.802/t/53loop-extend.t
x IO-Async-0.802/t/60protocol.t
x IO-Async-0.802/t/61protocol-stream.t
x IO-Async-0.802/t/62protocol-linestream.t
x IO-Async-0.802/t/63handle-connect.t
x IO-Async-0.802/t/64handle-bind.t
x IO-Async-0.802/t/70future-io.t
x IO-Async-0.802/t/99pod.t
x IO-Async-0.802/t/RoutineTester.pm
x IO-Async-0.802/t/StupidLoop.pm
x IO-Async-0.802/t/TimeAbout.pm
Entering IO-Async-0.802
Checking configure dependencies from META.json
Checking if you have ExtUtils::Install 1.46 ... Yes (2.20)
Checking if you have Module::Build 0.4004 ... Yes (0.4231)
Running Build.PL
Configuring IO-Async-0.802 ... Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'IO-Async' version '0.802'
OK
Checking dependencies from MYMETA.json ...
Checking if you have Future::Utils 0.18 ... Yes (0.50)
Checking if you have Struct::Dumb 0 ... Yes (0.14)
Checking if you have Test::Metrics::Any 0 ... Yes (0.01)
Checking if you have Socket 2.007 ... Yes (2.031)
Checking if you have Storable 0 ... Yes (3.23)
Checking if you have Test::Identity 0 ... Yes (0.01)
Checking if you have IO::Poll 0 ... Yes (1.46)
Checking if you have Future 0.33 ... Yes (0.50)
Checking if you have Test::Fatal 0 ... Yes (0.016)
Checking if you have Test::More 0.88 ... Yes (1.302183)
Checking if you have File::stat 0 ... Yes (1.09)
Checking if you have Exporter 5.57 ... Yes (5.76)
Checking if you have Time::HiRes 0 ... Yes (1.9767)
Checking if you have File::Temp 0 ... Yes (0.2311)
Checking if you have Test::Refcount 0 ... Yes (0.10)
Checking if you have Test::Future::IO::Impl 0 ... Yes (0.14)
Checking if you have List::Util 0 ... Yes (1.60)
Building and testing IO-Async-0.802 ... Building IO-Async
t/00use.t .................... ok
t/01timequeue.t .............. ok
t/02os.t ..................... ok
t/03loop-magic.t ............. ok
t/04notifier.t ............... ok
t/05notifier-loop.t .......... ok
t/06notifier-mixin.t ......... ok
t/07notifier-future.t ........ ok
t/10loop-poll-io.t ........... ok
t/10loop-select-io.t ......... ok
t/11loop-poll-timer.t ........ ok
t/11loop-select-timer.t ...... ok
t/12loop-poll-signal.t ....... ok
t/12loop-select-signal.t ..... ok
t/13loop-poll-idle.t ......... ok
t/13loop-select-idle.t ....... ok
t/14loop-poll-process.t ...... ok
t/14loop-select-process.t .... ok
t/15loop-poll-control.t ...... ok
t/15loop-select-control.t .... ok
t/16loop-poll-metrics.t ...... ok
t/16loop-select-metrics.t .... ok
t/18loop-poll-legacy.t ....... ok
t/18loop-select-legacy.t ..... ok
t/19loop-future.t ............ ok
t/19test.t ................... ok
t/20handle.t ................. ok
t/21stream-1read.t ........... ok
t/21stream-2write.t .......... ok
t/21stream-3split.t .......... ok
t/21stream-4encoding.t ....... ok
t/22timer-absolute.t ......... ok
t/22timer-countdown.t ........ ok
t/22timer-periodic.t ......... ok
t/23signal.t ................. ok
t/24listener.t ............... ok
t/25socket.t ................. 1/?
# Failed test 'data after autoflush send'
# at t/25socket.t line 244.
# got: ''
# expected: 'immediate
# '
# Failed test 'data[0] after split autoflush send'
# at t/25socket.t line 252.
# got: 'immediate
# '
# expected: 'First
# '
# Failed test 'data[1] after split autoflush send'
# at t/25socket.t line 253.
# got: 'First
# '
# expected: 'Second
# '
# Looks like you failed 3 tests of 40.
t/25socket.t ................. Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/40 subtests
t/26pid.t .................... ok
t/27file.t ................... ok
t/28filestream.t ............. ok
t/30loop-fork.t .............. ok
t/31loop-spawnchild.t ........ ok
t/32loop-spawnchild-setup.t .. ok
t/33process.t ................ ok
t/34process-handles.t ........ ok
t/35loop-openprocess.t ....... ok
t/36loop-runchild.t .......... ok
t/37loop-child-root.t ........ skipped: not root
t/38loop-thread.t ............ skipped: Threads are not available
t/39loop-runproccess.t ....... ok
t/40channel.t ................ ok
t/41routine.t ................ ok
t/42function.t ............... 1/? Warning: unable to close filehandle $wr properly: Bad file descriptor during global destruction.
Warning: unable to close filehandle $wr properly: Bad file descriptor during global destruction.
Warning: unable to close filehandle $out properly: Bad file descriptor during global destruction.
Warning: unable to close filehandle $out properly: Bad file descriptor during global destruction.
Warning: unable to close filehandle properly: Bad file descriptor during global destruction.
Warning: unable to close filehandle properly: Bad file descriptor during global destruction.
t/42function.t ............... ok
t/50resolver.t ............... ok
t/51loop-connect.t ........... ok
t/52loop-listen.t ............ ok
t/53loop-extend.t ............ ok
t/60protocol.t ............... ok
t/61protocol-stream.t ........ ok
t/62protocol-linestream.t .... ok
t/63handle-connect.t ......... ok
t/64handle-bind.t ............ ok
t/70future-io.t .............. skipped: Future::IO is not available
t/99pod.t .................... ok
Test Summary Report
-------------------
t/25socket.t (Wstat: 768 Tests: 40 Failed: 3)
Failed tests: 33, 35-36
Non-zero exit status: 3
Files=64, Tests=1672, 94 wallclock secs ( 0.39 usr 0.22 sys + 7.56 cusr 2.34 csys = 10.51 CPU)
Result: FAIL
Failed 1/64 test programs. 3/1672 subtests failed.
FAIL
! Installing IO::Async failed. See /Users/geneboggs/.cpanm/work/1686591626.77409/build.log for details. Retry with --force to force install it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment