Bug 873594 - uuid-php extension is broken
Summary: uuid-php extension is broken
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: uuid
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-06 09:33 UTC by Remi Collet
Modified: 2012-11-06 21:19 UTC (History)
3 users (show)

Fixed In Version: uuid-1.6.2-15.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-06 15:17:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Remi Collet 2012-11-06 09:33:18 UTC
The PHP extension provided in uuid-php package seems broken.

Various methods require argument passed by reference, which is not supported in PHP 5.4.

$ php -r 'echo uuid_create();'
Warning: uuid_create() expects exactly 1 parameter, 0 given ...
1

$ php -r 'echo uuid_create($ctx);'
Warning: uuid_create(): uuid_create: parameter wasn't passed by reference ...
1

$ php -r 'echo uuid_create(&$ctx);'
Fatal error: Call-time pass-by-reference has been removed ...


It seems this extension is not required by any package.

More, Horde detects this extension and try to use it, when installed, but fails as it expects the uuid extension from pecl. So, horde package need to conflicts with this extension.

I have php-pecl-uuid package near to be ready, but this is not a drop in replacement (API are quite different).


Note You need to log in before you can comment on or make changes to this bug.