php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59089 Gearman extension won't build against gearmand-0.12
Submitted: 2010-02-26 21:37 UTC Modified: 2010-04-03 20:07 UTC
From: pavel+pecl at killua dot eu Assigned:
Status: Closed Package: gearman (PECL)
PHP Version: 5.2.12 OS: Gentoo
Private report: No CVE-ID: None
 [2010-02-26 21:37 UTC] pavel+pecl at killua dot eu
Description:
------------
A detailed report thanks to Matthew Schultz here: 
http://bugs.gentoo.org/show_bug.cgi?id=306547

Actual result:
--------------
make -j2 
/bin/sh /var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/libtool --mode=compile x86_64-pc-linux-gnu-gcc  -I. -I/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0 -DPHP_ATOM_INC -I/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/include -I/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/main -I/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0 -I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main -I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/lib64/php5/include/php/ext/date/lib  -DHAVE_CONFIG_H  -O2 -pipe -march=native -Wall   -c /var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c -o php_gearman.lo 
libtool: compile:  x86_64-pc-linux-gnu-gcc -I. -I/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0 -DPHP_ATOM_INC -I/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/include -I/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/main -I/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0 -I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main -I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/lib64/php5/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -march=native -Wall -c /var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c  -fPIC -DPIC -o .libs/php_gearman.o
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:910: error: expected specifier-qualifier-list before ?gearman_st?
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c: In function ?zm_startup_gearman?:
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4491: error: ?GEARMAN_ALLOCATED? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4491: error: (Each undeclared identifier is reported only once
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4491: error: for each function it appears in.)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4500: error: ?GEARMAN_CON_ALLOCATED? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4518: error: ?GEARMAN_CON_STATE_ADDRINFO? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4521: error: ?GEARMAN_CON_STATE_CONNECT? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4524: error: ?GEARMAN_CON_STATE_CONNECTING? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4527: error: ?GEARMAN_CON_STATE_CONNECTED? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4533: error: ?GEARMAN_CON_SEND_STATE_PRE_FLUSH? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4536: error: ?GEARMAN_CON_SEND_STATE_FORCE_FLUSH? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4539: error: ?GEARMAN_CON_SEND_STATE_FLUSH? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4542: error: ?GEARMAN_CON_SEND_STATE_FLUSH_DATA? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4545: error: ?GEARMAN_CON_RECV_STATE_NONE? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4548: error: ?GEARMAN_CON_RECV_STATE_READ? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4554: error: ?GEARMAN_PACKET_ALLOCATED? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4557: error: ?GEARMAN_PACKET_COMPLETE? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4560: error: ?GEARMAN_PACKET_FREE_DATA? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4686: error: ?GEARMAN_TASK_ALLOCATED? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4689: error: ?GEARMAN_TASK_SEND_IN_USE? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4728: error: ?GEARMAN_JOB_ALLOCATED? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4731: error: ?GEARMAN_JOB_ASSIGNED_IN_USE? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4734: error: ?GEARMAN_JOB_WORK_IN_USE? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4737: error: ?GEARMAN_JOB_FINISHED? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4827: error: ?GEARMAN_WORKER_FUNCTION_PACKET_IN_USE? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4830: error: ?GEARMAN_WORKER_FUNCTION_CHANGE? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4833: error: ?GEARMAN_WORKER_FUNCTION_REMOVE? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4836: error: ?GEARMAN_WORKER_WORK_STATE_GRAB_JOB? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4839: error: ?GEARMAN_WORKER_WORK_STATE_FUNCTION? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4842: error: ?GEARMAN_WORKER_WORK_STATE_COMPLETE? undeclared (first use in this function)
/var/tmp/portage/dev-php5/pecl-gearman-0.6.0/work/gearman-0.6.0/php_gearman.c:4845: error: ?GEARMAN_WORKER_WORK_STATE_FAIL? undeclared (first use in this function)
make: *** [php_gearman.lo] Error 1


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-26 21:51 UTC] pavel+pecl at killua dot eu
My bad, overlooked the initial work on gearmand-0.12 porting in svn. Keeping this bug open only so that others don't repeat my mistake.
 [2010-04-03 20:07 UTC] contact at jamesluedke dot com
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pecl.php.net/get/gearman


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC