Skip Menu |

This queue is for tickets about the WWW-Curl CPAN distribution.

Report information
The Basics
Id: 78963
Status: resolved
Priority: 0/
Queue: WWW-Curl

People
Owner: szbalint [...] cpan.org
Requestors: kaustubh.gadkari [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 4.15
  • 4.19_9903
Fixed in: 4.16



Subject: Module fails to install on OS X
Date: Tue, 14 Aug 2012 14:15:50 -0600
To: bug-WWW-Curl [...] rt.cpan.org
From: Kaustubh Gadkari <kaustubh.gadkari [...] gmail.com>
When installing WWW::Curl::Easy on OS X via CPAN, the installation fails at the make test stage with the following error: t/19multi.t ............... 1/20 # Failed test 'The read or write fdset contains one fd' # at t/19multi.t line 61. # Failed test 'The read or write fdset still only contains one fd' # at t/19multi.t line 64. # Failed test 'The read or write fdset contains two fds' # at t/19multi.t line 67. t/19multi.t ............... 16/20 # Looks like you failed 3 tests of 20. t/19multi.t ............... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/20 subtests t/20undefined_subs.t ...... ok t/21write-to-scalar.t ..... ok t/meta.t .................. skipped: Test::CPAN::Meta required for testing META.yml t/pod-coverage.t .......... skipped: Test::Pod::Coverage 1.04 required for testing POD coverage t/pod.t ................... ok Test Summary Report ------------------- t/19multi.t (Wstat: 768 Tests: 20 Failed: 3) Failed tests: 11-13 Non-zero exit status: 3 Files=22, Tests=821, 17 wallclock secs ( 0.16 usr 0.08 sys + 1.23 cusr 0.26 csys = 1.73 CPU) Result: FAIL Failed 1/22 test programs. 3/821 subtests failed. make: *** [test_dynamic] Error 255 SZBALINT/WWW-Curl-4.15.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports SZBALINT/WWW-Curl-4.15.tar.gz Running make install make test had returned bad status, won't install without force $ perl -v This is perl 5, version 12, subversion 4 (v5.12.4) built for darwin-thread-multi-2level (with 2 registered patches, see perl -V for more detail) $ uname -a Darwin dhcp26.netsec.colostate.edu 12.0.0 Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64 -- Kaustubh Gadkari
I just got the same error on Arch Linux x86_64. After some tracing I've found that this occurs if you have curl compiled with the --enable-threaded-resolver option, but have no idea at this moment how to make it work without recompiling curl. On Wed, 15 Aug 2012 05:16:21 +0900, kaustubh.gadkari@gmail.com wrote: Show quoted text
> When installing WWW::Curl::Easy on OS X via CPAN, the installation > fails at the make test stage with the following error: > > t/19multi.t ............... 1/20 > # Failed test 'The read or write fdset contains one fd' > # at t/19multi.t line 61. > > # Failed test 'The read or write fdset still only contains one fd' > # at t/19multi.t line 64. > > # Failed test 'The read or write fdset contains two fds' > # at t/19multi.t line 67. > t/19multi.t ............... 16/20 # Looks like you failed 3 tests of 20. > t/19multi.t ............... Dubious, test returned 3 (wstat 768, 0x300) > Failed 3/20 subtests > t/20undefined_subs.t ...... ok > t/21write-to-scalar.t ..... ok > t/meta.t .................. skipped: Test::CPAN::Meta required for > testing META.yml > t/pod-coverage.t .......... skipped: Test::Pod::Coverage 1.04 required > for testing POD coverage > t/pod.t ................... ok > > Test Summary Report > ------------------- > t/19multi.t (Wstat: 768 Tests: 20 Failed: 3) > Failed tests: 11-13 > Non-zero exit status: 3 > Files=22, Tests=821, 17 wallclock secs ( 0.16 usr 0.08 sys + 1.23 > cusr 0.26 csys = 1.73 CPU) > Result: FAIL > Failed 1/22 test programs. 3/821 subtests failed. > make: *** [test_dynamic] Error 255 > SZBALINT/WWW-Curl-4.15.tar.gz > /usr/bin/make test -- NOT OK > //hint// to see the cpan-testers results for installing this module, try: > reports SZBALINT/WWW-Curl-4.15.tar.gz > Running make install > make test had returned bad status, won't install without force > > > $ perl -v > > This is perl 5, version 12, subversion 4 (v5.12.4) built for > darwin-thread-multi-2level > (with 2 registered patches, see perl -V for more detail) > > $ uname -a > Darwin dhcp26.netsec.colostate.edu 12.0.0 Darwin Kernel Version > 12.0.0: Sun Jun 24 23:00:16 PDT 2012; > root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64
Thank you for the bugreport! I've resolved this issue in the latest WWW::Curl version. On Sun Apr 28 08:32:51 2013, YIBE wrote: Show quoted text
> I just got the same error on Arch Linux x86_64. After some > tracing I've found that this occurs if you have curl compiled > with the --enable-threaded-resolver option, but have no idea at > this moment how to make it work without recompiling curl. > > > On Wed, 15 Aug 2012 05:16:21 +0900, kaustubh.gadkari@gmail.com wrote:
> > When installing WWW::Curl::Easy on OS X via CPAN, the installation > > fails at the make test stage with the following error: > > > > t/19multi.t ............... 1/20 > > # Failed test 'The read or write fdset contains one fd' > > # at t/19multi.t line 61. > > > > # Failed test 'The read or write fdset still only contains one fd' > > # at t/19multi.t line 64. > > > > # Failed test 'The read or write fdset contains two fds' > > # at t/19multi.t line 67. > > t/19multi.t ............... 16/20 # Looks like you failed 3 tests of 20. > > t/19multi.t ............... Dubious, test returned 3 (wstat 768, 0x300) > > Failed 3/20 subtests > > t/20undefined_subs.t ...... ok > > t/21write-to-scalar.t ..... ok > > t/meta.t .................. skipped: Test::CPAN::Meta required for > > testing META.yml > > t/pod-coverage.t .......... skipped: Test::Pod::Coverage 1.04 required > > for testing POD coverage > > t/pod.t ................... ok > > > > Test Summary Report > > ------------------- > > t/19multi.t (Wstat: 768 Tests: 20 Failed: 3) > > Failed tests: 11-13 > > Non-zero exit status: 3 > > Files=22, Tests=821, 17 wallclock secs ( 0.16 usr 0.08 sys + 1.23 > > cusr 0.26 csys = 1.73 CPU) > > Result: FAIL > > Failed 1/22 test programs. 3/821 subtests failed. > > make: *** [test_dynamic] Error 255 > > SZBALINT/WWW-Curl-4.15.tar.gz > > /usr/bin/make test -- NOT OK > > //hint// to see the cpan-testers results for installing this module, try: > > reports SZBALINT/WWW-Curl-4.15.tar.gz > > Running make install > > make test had returned bad status, won't install without force > > > > > > $ perl -v > > > > This is perl 5, version 12, subversion 4 (v5.12.4) built for > > darwin-thread-multi-2level > > (with 2 registered patches, see perl -V for more detail) > > > > $ uname -a > > Darwin dhcp26.netsec.colostate.edu 12.0.0 Darwin Kernel Version > > 12.0.0: Sun Jun 24 23:00:16 PDT 2012; > > root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64
> >