php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65076 1.5.0-alpha hard coded in 1.5.1
Submitted: 2013-06-20 20:55 UTC Modified: 2013-06-21 08:55 UTC
From: ben dot harper at rackspace dot com Assigned: andrey (profile)
Status: Closed Package: mysqlnd_ms (PECL)
PHP Version: Irrelevant OS: n/a
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ben dot harper at rackspace dot com
New email:
PHP Version: OS:

 

 [2013-06-20 20:55 UTC] ben dot harper at rackspace dot com
Description:
------------
Hello,

I get getting the following when attempting to create a rpm:

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zfd5w3
+ umask 022
+ cd /builddir/build/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /builddir/build/BUILD
+ rm -rf php54-pecl-mysqlnd-ms-1.5.1
+ /bin/mkdir -p php54-pecl-mysqlnd-ms-1.5.1
+ cd php54-pecl-mysqlnd-ms-1.5.1
+ /bin/tar -xf -
+ /usr/bin/gzip -dc /builddir/build/SOURCES/mysqlnd_ms-1.5.1.tgz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cp /builddir/build/SOURCES/mysqlnd_ms.ini mysqlnd_ms.ini
++ sed -n '/#define MYSQLND_MS_VERSION /{s/.* "//;s/".*$//;p}' mysqlnd_ms-
1.5.1/mysqlnd_ms.h
+ extver=1.5.0-alpha
+ test x1.5.0-alpha '!=' x1.5.1
+ : Error: Upstream version is 1.5.0-alpha, expecting 1.5.1.
+ exit 1

Looks like 1.5.0-alpha is still hard coded:

$ grep 1.5.0-alpha php54-pecl-mysqlnd-ms-1.5.1/* -R
php54-pecl-mysqlnd-ms-1.5.1/mysqlnd_ms-
1.5.1/tests/mysqlnd_ms_reflection_extension.phpt:Version: 1.5.0-alpha
php54-pecl-mysqlnd-ms-1.5.1/mysqlnd_ms-
1.5.1/tests/mysqlnd_ms_constants.phpt:MYSQLND_MS_VERSION = '1.5.0-alpha'
php54-pecl-mysqlnd-ms-1.5.1/mysqlnd_ms-1.5.1/mysqlnd_ms.h:#define 
MYSQLND_MS_VERSION "1.5.0-alpha"


The spec file can be found here:

https://github.com/iuscommunity-pkg/php54-pecl-mysqlnd_ms

Let me know if you need any additional information.

-Ben


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-06-21 08:55 UTC] andrey@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: andrey
 [2013-06-21 08:55 UTC] andrey@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php

1.5.2 should fix this, and of course will be 1.5.2 :)
Thank you!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 21:01:31 2024 UTC