|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60438 wrong version number in php_gearman.h
Submitted: 2011-12-04 01:05 UTC Modified: 2011-12-05 16:44 UTC
From: omega13a at yahoo dot com Assigned: hradtke (profile)
Status: Closed Package: gearman (PECL)
PHP Version: 5.3.8 OS: Fedora 14
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: omega13a at yahoo dot com
New email:
PHP Version: OS:


 [2011-12-04 01:05 UTC] omega13a at yahoo dot com
I was attempting to rebuild the php-pecl-gearman package using the latest 
version of the gearman package (1.0.0). This is the result:

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cadtyh
+ umask 022
+ cd /home/omega13a/rpmbuild/BUILD
+ export LANG
+ unset DISPLAY
+ cd /home/omega13a/rpmbuild/BUILD
+ rm -rf php-pecl-gearman-1.0.0
+ /bin/mkdir -p php-pecl-gearman-1.0.0
+ cd php-pecl-gearman-1.0.0
+ /usr/bin/gzip -dc /home/omega13a/rpmbuild/SOURCES/gearman-1.0.0.tgz
+ /bin/tar -xf -
+ '[' 0 -ne 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
++ sed -n '/#define PHP_GEARMAN_VERSION/{s/.* "//;s/".*$//;p}' gearman-
+ extver=0.8.0
+ test x0.8.0 '!=' x1.0.0
+ : Error: Upstream version is 0.8.0, expecting 1.0.0.
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.cadtyh (%prep)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.cadtyh (%prep)

looking at the source code, it was obvious the problem was caused by 
PHP_GEARMAN_VERSION not being set to the correct version number. Its a minor 
thing but I thought you should know.

Expected result:
able to build the RPM without any errors.


corrected-version (last revision 2011-12-04 01:06 UTC by omega13a at yahoo dot com)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-12-05 16:36 UTC]
Automatic comment from SVN on behalf of hradtke
Log: Fixed PECL Bug #60438 (wrong version number in php_gearman.h)
 [2011-12-05 16:44 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: hradtke
 [2011-12-05 16:44 UTC]
Thank you for the feedback. I just released gearman-1.0.1 to fix this.
 [2023-02-04 09:29 UTC] daniel at mail dot com
new gearman fixed it.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 14 20:01:30 2024 UTC