Skip Menu |
 

This queue is for tickets about the threads-lite CPAN distribution.

Report information
The Basics
Id: 57309
Status: open
Priority: 0/
Queue: threads-lite

People
Owner: LEONT [...] cpan.org
Requestors: alexandrfedorov [...] gmail.com
Cc:
AdminCc:

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



Subject: don't install at windows in Perl 5.12
Download (untitled) / with headers
text/plain 5.5k
Show quoted text
cpan> install threads::lite
Running install for module 'threads::lite' Running Build for L/LE/LEONT/threads-lite-0.026.tar.gz Has already been unwrapped into directory C:\strawberry\cpan\build\threads-lite-0.026-D_5eiJ Has already been made Running Build test Generating script 'lib\threads\lite.lds' dlltool --def "lib\threads\lite.def" --output-exp "lib\threads\lite.exp" g++ -o "blib\arch\auto\threads\lite\lite.dll" -Wl,--base-file,"lib\threads\lite.base" -Wl,--image-base,0x420d0000 -mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C: \strawberry\c\lib" "lib\threads\lite.lds" "lib\threads\lite.exp" lib\threads\lite.o:lite.c:(.text+0x149a): undefined reference to `SvREFCNT_inc_nn' lib\threads\lite.o:lite.c:(.text+0x1782): undefined reference to `_return_elements' collect2: ld returned 1 exit status dlltool --def "lib\threads\lite.def" --output-exp "lib\threads\lite.exp" --base-file "lib\threads\lite.base" g++ -o "blib\arch\auto\threads\lite\lite.dll" -Wl,--image-base,0x420d0000 -mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" "lib\threads\lite.lds " "lib\threads\lite.exp" lib\threads\lite.o:lite.c:(.text+0x149a): undefined reference to `SvREFCNT_inc_nn' lib\threads\lite.o:lite.c:(.text+0x1782): undefined reference to `_return_elements' collect2: ld returned 1 exit status t\00-load.t ....... # Failed test 'use threads::lite;' # at t\00-load.t line 6. # Tried to use 'threads::lite'. # Error: Can't locate loadable object for module threads::lite in @INC (@INC contains: C:\strawberry\cpan\build\threads-lite-0.026-D_5eiJ\blib\lib C:\straw berry\cpan\build\threads-lite-0.026-D_5eiJ\blib\arch C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib) at (eval 4) line 2 # Compilation failed in require at (eval 4) line 2. t\00-load.t ....... 1/1 # BEGIN failed--compilation aborted at (eval 4) line 2. # Testing threads::lite 0.026, Perl 5.012000, C:\STRAWB~1\perl\bin\perl.exe # Looks like you failed 1 test of 1. t\00-load.t ....... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t\10-basics.t ..... Can't locate loadable object for module threads::lite in @INC (@INC contains: C:\strawberry\cpan\build\threads-lite-0.026-D_5eiJ\blib\lib C: \strawberry\cpan\build\threads-lite-0.026-D_5eiJ\blib\arch C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib .) at t\10-basics.t line 9 Compilation failed in require at t\10-basics.t line 9. BEGIN failed--compilation aborted at t\10-basics.t line 9. t\10-basics.t ..... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests t\11-input.t ...... Can't locate loadable object for module threads::lite in @INC (@INC contains: C:\strawberry\cpan\build\threads-lite-0.026-D_5eiJ\blib\lib C: \strawberry\cpan\build\threads-lite-0.026-D_5eiJ\blib\arch C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib .) at t\11-input.t l ine 8 Compilation failed in require at t\11-input.t line 8. BEGIN failed--compilation aborted at t\11-input.t line 8. t\11-input.t ...... Dubious, test returned 2 (wstat 512, 0x200) Failed 1/1 subtests t\20-lists.t ...... Can't locate loadable object for module threads::lite in @INC (@INC contains: C:\strawberry\cpan\build\threads-lite-0.026-D_5eiJ\blib\lib C: \strawberry\cpan\build\threads-lite-0.026-D_5eiJ\blib\arch C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib .) at C:\strawberry\ cpan\build\threads-lite-0.026-D_5eiJ\blib\lib/threads/lite/list.pm line 9 Compilation failed in require at C:\strawberry\cpan\build\threads-lite-0.026-D_5eiJ\blib\lib/threads/lite/list.pm line 9. BEGIN failed--compilation aborted at C:\strawberry\cpan\build\threads-lite-0.026-D_5eiJ\blib\lib/threads/lite/list.pm line 9. Compilation failed in require at t\20-lists.t line 6. BEGIN failed--compilation aborted at t\20-lists.t line 6. t\20-lists.t ...... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t\20-queues.t ..... Can't locate loadable object for module threads::lite in @INC (@INC contains: C:\strawberry\cpan\build\threads-lite-0.026-D_5eiJ\blib\lib C: \strawberry\cpan\build\threads-lite-0.026-D_5eiJ\blib\arch C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib .) at t\20-queues.t line 9 Compilation failed in require at t\20-queues.t line 9. BEGIN failed--compilation aborted at t\20-queues.t line 9. t\20-queues.t ..... Dubious, test returned 2 (wstat 512, 0x200) Failed 3/3 subtests t\pod-coverage.t .. skipped: Test::Pod::Coverage 1.08 required for testing POD coverage t\pod.t ........... skipped: Test::Pod 1.22 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 t\10-basics.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 2 tests but ran 0. t\11-input.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. t\20-lists.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t\20-queues.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 3 tests but ran 0. Files=7, Tests=1, 1 wallclock secs ( 0.06 usr + 0.08 sys = 0.14 CPU) Result: FAIL Failed 5/7 test programs. 1/1 subtests failed. LEONT/threads-lite-0.026.tar.gz C:\strawberry\perl\bin\perl.exe ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports LEONT/threads-lite-0.026.tar.gz Running Build install make test had returned bad status, won't install without force
Hi Alexandr, I think I've just fixed the compilation issues in 0.27. Regards, Leon
Download (untitled) / with headers
text/plain 1.7k
Втр Май 11 04:20:40 2010, LEONT писал: Show quoted text
> Hi Alexandr, > > I think I've just fixed the compilation issues in 0.27. > > Regards, > > Leon
No... Now another problem, during tests Perl is being crashed with errors: Running Build test t\00-load.t ....... 1/1 # Testing threads::lite 0.027, Perl 5.012000, C:\STRAWB~1\perl\bin\perl.exe t\00-load.t ....... ok t\10-basics.t ..... 1/2 Free to wrong pool 25cfa50 not 1631e10. t\10-basics.t ..... Dubious, test returned 5 (wstat 1280, 0x500) All 2 subtests passed t\11-input.t ...... 1/1 Free to wrong pool 25edd98 not 1a11e00. t\11-input.t ...... Dubious, test returned 5 (wstat 1280, 0x500) All 1 subtests passed t\20-lists.t ...... Free to wrong pool 1641e00 not 23deba8 at C:\strawberry\cpan\build\threads-lite-0.027-VVIuN1\blib\lib/threads/lite/list.pm line 50. t\20-lists.t ...... Dubious, test returned 5 (wstat 1280, 0x500) No subtests run t\20-queues.t ..... Free to wrong pool 261a3a0 not 1901e10 at (eval 9) line 5. t\20-queues.t ..... Dubious, test returned 5 (wstat 1280, 0x500) Failed 3/3 subtests t\pod-coverage.t .. skipped: Test::Pod::Coverage 1.08 required for testing POD coverage t\pod.t ........... skipped: Test::Pod 1.22 required for testing POD Test Summary Report ------------------- t\10-basics.t (Wstat: 1280 Tests: 2 Failed: 0) Non-zero exit status: 5 t\11-input.t (Wstat: 1280 Tests: 1 Failed: 0) Non-zero exit status: 5 t\20-lists.t (Wstat: 1280 Tests: 0 Failed: 0) Non-zero exit status: 5 Parse errors: No plan found in TAP output t\20-queues.t (Wstat: 1280 Tests: 0 Failed: 0) Non-zero exit status: 5 Parse errors: Bad plan. You planned 3 tests but ran 0. Files=7, Tests=4, 7 wallclock secs ( 0.08 usr + 0.05 sys = 0.13 CPU) Result: FAIL Failed 4/7 test programs. 0/4 subtests failed.
Download (untitled) / with headers
text/plain 402b
On Sat May 15 11:19:19 2010, zloyrusskiy wrote: Show quoted text
> > No... Now another problem, during tests Perl is being crashed with > errors: >
Apparantly, Perl wants me to deallocate memory in the same thread where it was allocated, and on thread death all memory assocciated with that thread is freed. I'm not sure how to make this strange behavior work with threads::lite, but it's not going to be simple :-(.


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.