php5-uuid uses a deprecated PHP feature (pass-by-reference)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ossp-uuid (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Package php5-uuid (generated from source package oosp-uuid) provides a PHP interface to OSSP UUID library. Unfortunately, the API provided is broken by design and cannot be used without using deprecated PHP features. Namely, the PHP configuration setting "allow_
This issue has been reported upstream since 2006 but has not been fixed regardless the fact that the original bug report included a patch to fix the issue. (Disclaimer: I'm not the original reporter of that bug or author of that patch.)
I'd suggest that Ubuntu either applies the patch suggested in the upstream bug database or drops the php5-uuid package because it should be considered broken.
Upstream bug ticket:
http://
The patch linked from the ticket above:
http://
Obviously, the patch should be updated to also update the file uuid.php5.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: php5-uuid 1.6.2-1ubuntu1
ProcVersionSign
Uname: Linux 2.6.31-11-rt x86_64
Architecture: amd64
CheckboxSubmission: f0bf0101e3df07a
CheckboxSystem: b5acb6c9ca4017b
Date: Tue Dec 21 14:34:54 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate amd64 (20091020.3)
SourcePackage: ossp-uuid
See also bug 283398.