php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63431 0.0.5 still has 0.0.4 version in php_libevent.h
Submitted: 2012-11-03 18:10 UTC Modified: 2017-10-24 04:45 UTC
From: tobias382 at gmail dot com Assigned:
Status: Suspended Package: libevent (PECL)
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tobias382 at gmail dot com
New email:
PHP Version: OS:

 

 [2012-11-03 18:10 UTC] tobias382 at gmail dot com
Description:
------------
As of 0.0.5, php_libevent.h still contains this line:

#define PHP_LIBEVENT_VERSION "0.0.4"

instead of this line:

#define PHP_LIBEVENT_VERSION "0.0.5"

which prevents it from being used as a dependency in projects via Composer 
because phpversion("libevent") returns '0.0.4' for the 0.0.5 build when projects 
do actually need 0.0.5.

Test script:
---------------
Run php composer.phar install with this in the current working directory and libevent 0.0.5 installed:

{
  "require": {
    "ext-libevent": "0.0.5"
  }
}

Expected result:
----------------
$ php composer.phar install
Loading composer repositories with package information
Installing dependencies
Nothing to install or update
Generating autoload files

Actual result:
--------------
$ php composer.phar install
Loading composer repositories with package information
Installing dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested PHP extension ext-libevent 0.0.5 has the wrong version 
(0.0.4) installed.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-08-05 19:49 UTC] krakjoe@php.net
-Assigned To: +Assigned To: osmanov
 [2013-08-06 11:57 UTC] osmanov@php.net
-Assigned To: osmanov +Assigned To: tony2001
 [2013-08-06 11:57 UTC] osmanov@php.net
I don't maintain the "libevent" extension. Mine is "event" 
http://pecl.php.net/package/event
 [2013-08-06 12:52 UTC] tobias382 at gmail dot com
I'm very confused. According to http://pecl.php.net/package/libevent and 
http://pecl.php.net/package/event osmanov maintains the event extension and 
tony2001 maintains the libevent extension. Does the site have you two reversed?
 [2017-10-24 04:45 UTC] kalle@php.net
-Status: Assigned +Status: Suspended -Assigned To: tony2001 +Assigned To:
 [2017-10-24 04:45 UTC] kalle@php.net
I'm gonna close this as the libevent package on PECL had no had a release for 4 years, and there haven't really been much acitivity since. If development picks back up then this report should be re-opened
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC