Skip Menu |

This queue is for tickets about the Gearman-XS CPAN distribution.

Report information
The Basics
Id: 60216
Status: resolved
Priority: 0/
Queue: Gearman-XS

People
Owner: mail [...] dennis-schoen.de
Requestors: ANDREWF [...] cpan.org
Cc:
AdminCc:

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



Subject: Unresolved symbol (savesvpv) with Perl 5.8.5
Gearman::XS compiles on Perl 5.8.5, but fails at runtime, for example running the tests, I get: t/00-use.t .................. 1/5 # Failed test 'use Gearman::XS;' # at t/00-use.t line 12. # Tried to use 'Gearman::XS'. # Error: Can't load '/home/aford/.cpan/build/Gearman-XS-0.9-9A3FZJ/blib/arch/auto/Gearman/XS/XS.so' for module Gearman::XS: /h\ ome/aford/.cpan/build/Gearman-XS-0.9-9A3FZJ/blib/arch/auto/Gearman/XS/XS.so: undefined symbol: savesvpv at /usr/lib/perl5/5.8.5/i38\ 6-linux-thread-multi/DynaLoader.pm line 230. # at /home/aford/.cpan/build/Gearman-XS-0.9-9A3FZJ/blib/lib/Gearman/XS.pm line 175 The symbol "savesvpv" was introduced in Perl 5.9.2, but is not supported by ppport.h. The attached patch defines the function, but wraps it in an #if that evaluates to true for Perl versions less than 5.9.2. The patched distro works for me on Perl 5.8.5 on 32-bit Intel Linux, but should work on all platforms.
Subject: Gearman-XS-savesvpv-patch
Download Gearman-XS-savesvpv-patch
application/octet-stream 683b

Message body not shown because it is not plain text.

The latest version of Gearman::XS is 0.10 which doesn't use savesvpv. Please try with the latest version.
Ok Gearman::XS 0.10 still uses savesvpv, but it's changed in trunk already. I'm going to do a release soon to fix this bug. Sorry for the confusion.
Resolved in the, just uploaded, 0.11 version.