Skip Menu |
 

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

Report information
The Basics
Id: 129807
Status: patched
Priority: 0/
Queue: IO-Async

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

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



Subject: Can't locate Future/IO.pm (0.73)
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-8795-1560370081-666.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 352
Download (untitled) / with headers
text/plain 352b
t/70future-io.t fails if Future::IO is not installed: ... Can't locate Future/IO.pm in @INC (you may need to install the Future::IO module) (@INC contains: . ... ) at t/70future-io.t line 16. BEGIN failed--compilation aborted at t/70future-io.t line 16. t/70future-io.t .............. Dubious, test returned 2 (wstat 512, 0x200) No subtests run ...
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-8795-1560370081-666.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-8795-1560370081-666.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-21679-1560524145-1119.129807-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 680
Download (untitled) / with headers
text/plain 680b
On Wed Jun 12 13:08:02 2019, SREZIC wrote: Show quoted text
> t/70future-io.t fails if Future::IO is not installed: > > ... > Can't locate Future/IO.pm in @INC (you may need to install the > Future::IO module) (@INC contains: . ... ) at t/70future-io.t line 16. > BEGIN failed--compilation aborted at t/70future-io.t line 16. > t/70future-io.t .............. > Dubious, test returned 2 (wstat 512, 0x200) > No subtests run > ...
I have the same behavior when installing IO::Async version 0.73 upgrading from 0.72. Manually installing Future::IO version 0.05 resolves the issue, and allows IO::Async to pass its test suite and install cleanly. I've verified this in Perl 5.16, 5.28, and 5.30.
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-21679-1560524145-1119.129807-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-8795-1560370081-666.0-0-0 [...] rt.cpan.org> <rt-4.0.18-21679-1560524145-1119.129807-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-15103-1560525105-662.129807-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 175
Download (untitled) / with headers
text/plain 175b
Yeah; the test should probably just be conditional on the module existing: plan skip_all => "Future::IO is not available" unless eval { require Future::IO }; -- Paul Evans
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-15103-1560525105-662.129807-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
X-RT-Interface: Web
References: <rt-4.0.18-8795-1560370081-666.0-0-0 [...] rt.cpan.org> <rt-4.0.18-21679-1560524145-1119.129807-0-0 [...] rt.cpan.org> <rt-4.0.18-15103-1560525105-662.129807-0-0 [...] rt.cpan.org>
Content-Type: multipart/mixed; boundary="----------=_1561313136-18576-2"
Message-ID: <rt-4.0.18-18576-1561313136-1986.129807-0-0 [...] rt.cpan.org>
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 31
Patch attached -- Paul Evans
MIME-Version: 1.0
Subject: rt129807.patch
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Type: text/x-patch; name="rt129807.patch"
Content-Disposition: inline; filename="rt129807.patch"
Content-Transfer-Encoding: binary
Content-Length: 421
Download rt129807.patch
text/x-diff 421b
=== modified file 't/70future-io.t' --- t/70future-io.t 2019-04-10 23:12:39 +0000 +++ t/70future-io.t 2019-06-23 18:04:55 +0000 @@ -13,8 +13,9 @@ use IO::Async::Loop; use IO::Async::OS; -use Future::IO; -use Future::IO::Impl::IOAsync; +eval { require Future::IO; } or + plan skip_all => "Future::IO is not available"; +require Future::IO::Impl::IOAsync; use constant AUT => $ENV{TEST_QUICK_TIMERS} ? 0.1 : 1;


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.