php5-uuid uses a deprecated PHP feature (pass-by-reference)

Bug #692968 reported by Mikko Rantalainen
8
This bug affects 1 person
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_call_time_pass_reference=On" must be used to be able to use the library at all.

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://cvs.ossp.org/tktview?tn=92

The patch linked from the ticket above:
http://codex.sigpipe.cz/misc/OSSP/uuid/ossp-uuid-php4-fix,0.patch

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
ProcVersionSignature: Ubuntu 2.6.31-11.154-rt
Uname: Linux 2.6.31-11-rt x86_64
Architecture: amd64
CheckboxSubmission: f0bf0101e3df07a87acfbc156f0db03d
CheckboxSystem: b5acb6c9ca4017b1d44043910f45329d
Date: Tue Dec 21 14:34:54 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate amd64 (20091020.3)
SourcePackage: ossp-uuid

Revision history for this message
Mikko Rantalainen (mira) wrote :
Revision history for this message
Mikko Rantalainen (mira) wrote :

See also bug 283398.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.