Bug#390570: [php-maint] Bug#390570: php5-mysql: circular dependency hell

sean finney seanius at debian.org
Tue Oct 3 15:04:15 UTC 2006

hey guys,

On Tue, 2006-10-03 at 14:52 +0200, Sven Mueller wrote:
> Steve Langasek schrieb:
> > On Tue, Oct 03, 2006 at 12:58:09PM +1000, Adam Conrad wrote:
> >>> There is a circular dependency between php5-mysql and php5-mysqli:

while i know circular dependencies are generally frowned upon, i was
under the impression that they're allowed for binaries from the same
source package, correct?  or maybe my brain is totally fabricating that
memory... it's been known to do that.

> > Color me confused; why do we need two modules for this anyway?  That seems
> > rather bletcherous.

there are two reasons behind the split from what i can tell.

1 - sync closer to ubuntu.  for all practical purposes, ubuntu has been
leading the php packaging (s/leading/the only one doing until recently/
if you will), so the better we can stay in sync with them the better.
this is of course the weaker of the two arguments :)

2 - there's no way currently to package the two modules together in the
same binary package without causing quite a bit of packaging grief wrt
the code handling the php modules.  this is the real reason, and also
why ubuntu has already done this. 

as soon as i send this email, i'm going to immediately start poking at
adam to commit his stuff into svn, and i'll see if i can take whatever
last steps/testing etc are needed to make this a moot issue.

> The mysql and mysqli module use different APIs, whoever is using the old
> API (which many OS webapps do) needs the mysql module, while anyone
> wanting to take full advantage of the more advanced MySQL features from
> MySQL 5 needs to use the new mysqli module with the new API. Both
> modules can happily coexist in the same apache instance.

which is neither an argument for or against the current setup, though.
i.e.: ideally nothing would break if they were packaged together or
seperately, except for the above mentioned stuff.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20061003/6bf17378/attachment.pgp

More information about the pkg-php-maint mailing list