Build of Gearman::XS did not work on Ubuntu 12

Bug #1165425 reported by th0maz
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Gearman::XS
Fix Released
Medium
Brian Aker

Bug Description

hello,

i using a "standard" Ubuntu Server 12 ( ami in amazon aws )

gearman ser is running and works well with Gearman::Worker

i also installed

sudo apt-get install libgearman-dbg libgearman-dev libgearman-doc libgearman6

but i could not install your package

i tried to install it with

sudo perl -MCPAN -e'install Gearman::XS' --> Same Errors as

wget https://launchpad.net/gearmanxs/trunk/0.12/+download/Gearman-XS-0.12.tar.gz
tar -xvf Gearman-XS-0.12.tar.gz
cd Gearman-XS-0.12.tar.gz
perl Makefile.PL
make
make test

who could i solve this problem ?

thanks best regards thomas

--> failed with

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00-use.t .................. 1/5 # Testing Gearman::XS 0.12
t/00-use.t .................. ok
t/02-pod.t .................. skipped: Test::Pod required
t/03-basic.t ................ 1/34
# Failed test at t/03-basic.t line 91.
# got: 'GEARMAN_NO_REGISTERED_FUNCTIONS'
# expected: 'NO_REGISTERED_FUNCTIONS'

# Failed test at t/03-basic.t line 97.
# got: 'GEARMAN_COULD_NOT_CONNECT'
# expected: 'COULD_NOT_CONNECT'

# Failed test at t/03-basic.t line 99.
# got: 'connect_poll(Connection refused) getsockopt() failed -> libgearman/connection.cc:103'
# expected: 'COULD_NOT_CONNECT>libgearman/connection.cc:556:'
# Looks like you failed 3 tests of 34.
t/03-basic.t ................ Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/34 subtests
t/04-live.t ................. skipped: Set $ENV{GEARMAN_LIVE_TEST} to run this test
t/05-live-worker.t .......... skipped: Set $ENV{GEARMAN_LIVE_TEST} to run this test
t/06_live-worker-timeout.t .. skipped: Set $ENV{GEARMAN_LIVE_TEST} to run this test
t/80-memleak.t .............. skipped: Hacky linux memory leak test. Set $ENV{LINUX_MEMLEAK_CHECK} to a true value to run.
t/99-perlcritic.t ........... skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run.

Test Summary Report
-------------------
t/03-basic.t (Wstat: 768 Tests: 34 Failed: 3)
  Failed tests: 29, 32, 34
  Non-zero exit status: 3
Files=8, Tests=39, 0 wallclock secs ( 0.06 usr 0.07 sys + 0.29 cusr 0.12 csys = 0.54 CPU)
Result: FAIL
Failed 1/8 test programs. 3/39 subtests failed.
make: *** [test_dynamic] Error 255

Related branches

Brian Aker (brianaker)
Changed in gearmanxs:
assignee: nobody → Brian Aker (brianaker)
importance: Undecided → Medium
status: New → In Progress
Brian Aker (brianaker)
Changed in gearmanxs:
milestone: none → 0.13
status: In Progress → Fix Committed
Brian Aker (brianaker)
Changed in gearmanxs:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.