Bug 873594

Summary: uuid-php extension is broken
Product: [Fedora] Fedora Reporter: Remi Collet <fedora>
Component: uuidAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mhlavink, nb, steve
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: uuid-1.6.2-15.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-06 15:17:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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).