|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchescorrected-version (last revision 2011-12-04 01:06 UTC by omega13a at yahoo dot com)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-12-05 16:36 UTC] hradtke@php.net
[2011-12-05 16:44 UTC] hradtke@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: hradtke
[2011-12-05 16:44 UTC] hradtke@php.net
[2023-02-04 09:29 UTC] daniel at mail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 21:00:01 2025 UTC |
Description: ------------ 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 + LANG=C + 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 - + STATUS=0 + '[' 0 -ne 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ sed -n '/#define PHP_GEARMAN_VERSION/{s/.* "//;s/".*$//;p}' gearman- 1.0.0/php_gearman.h + 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.