Bug#437757: [php-maint] Bug#437757: php5-sqlite: Does not include PDO driver

2007-08-14 Thread Steve Langasek
clone 437757 -1
reassign -1 php5-sqlite
retitle -1 php5-sqlite: pdo_sqlite wrongly links to libsqlite3
severity -1 important
thanks

On Tue, Aug 14, 2007 at 03:26:52PM +1000, Julien Goodwin wrote:
 reassign 437757 php5-sqlite3
 retitle 437757 php5-sqlite3: Should recommend/suggest php5-sqlite for
 the PDO driver.
 severity 437757 wishlist
 thanks

 On 14/08/2007 2:38 PM, Steve Langasek wrote:
  On Tue, Aug 14, 2007 at 01:24:09PM +1000, Julien Goodwin wrote:
  Package: php5-sqlite
  Version: 5.2.3-1+b1
 OK, my bad. I don't know how I screwed that up.

 I was somehow confusing php5-sqlite  php5-sqlite3. Now I've sorted that
  it seems obvious that php5-sqlite3 should at least suggest, and ideally
 recommend php5-sqlite and add a note to the package description that
 php5-sqlite provides the sqlite driver for php5-sqlite3.

Huh?  No, it shouldn't.  php5-sqlite and php5-sqlite3 are packages for two
different versions of sqlite, there is no reason at all that one should
recommend the other.

But it seems that the pdo module in php5-sqlite is linked against libsqlite3
when it's supposed to be linked against libsqlite0.  This is a result of
libaprutil1-dev pulling in libsqlite3-dev in addition to php5's own
build-dependency on libsqlite0-dev, and preference apparently being given to
the wrong one of the two libraries at build time.

It may be that we should consider a migration from sqlite2 to sqlite3 in
php5 for lenny, but for the moment this is at least a bug for having skew
between pdo_sqlite.so and sqlite.so.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#437757: [php-maint] Bug#437757: php5-sqlite: Does not include PDO driver

2007-08-14 Thread Julien Goodwin
On 14/08/2007 5:08 PM, Steve Langasek wrote:
 On Tue, Aug 14, 2007 at 03:26:52PM +1000, Julien Goodwin wrote:
 I was somehow confusing php5-sqlite  php5-sqlite3. Now I've sorted that
  it seems obvious that php5-sqlite3 should at least suggest, and ideally
 recommend php5-sqlite and add a note to the package description that
 php5-sqlite provides the sqlite driver for php5-sqlite3.
 
 Huh?  No, it shouldn't.  php5-sqlite and php5-sqlite3 are packages for two
 different versions of sqlite, there is no reason at all that one should
 recommend the other.
php5-sqlite provides the sqlite PDO driver which supports *BOTH* sqlite2
AND sqlite3.

Perhaps it could be moved elsewhere, but in any case there needs to be
an obvious way to find what package I need to install to get the
sqlite PDO driver from php5-sqlite3

Thanks,
Julien



signature.asc
Description: OpenPGP digital signature


Bug#437757: [php-maint] Bug#437757: php5-sqlite: Does not include PDO driver

2007-08-14 Thread Steve Langasek
On Tue, Aug 14, 2007 at 05:22:14PM +1000, Julien Goodwin wrote:
 On 14/08/2007 5:08 PM, Steve Langasek wrote:
  On Tue, Aug 14, 2007 at 03:26:52PM +1000, Julien Goodwin wrote:
  I was somehow confusing php5-sqlite  php5-sqlite3. Now I've sorted that
   it seems obvious that php5-sqlite3 should at least suggest, and ideally
  recommend php5-sqlite and add a note to the package description that
  php5-sqlite provides the sqlite driver for php5-sqlite3.

  Huh?  No, it shouldn't.  php5-sqlite and php5-sqlite3 are packages for two
  different versions of sqlite, there is no reason at all that one should
  recommend the other.
 php5-sqlite provides the sqlite PDO driver which supports *BOTH* sqlite2
 AND sqlite3.

It links against libsqlite3 only.  If it supports sqlite2, that's a
side-effect of libsqlite3 supporting the sqlite2 data format.  As soon as
the inadvertent linking with libsqlite3 was corrected, the PDO driver would
immediately *drop* support for sqlite3 and *only* support sqlite2; or if
libsqlite3 does in fact support both formats, the php5 package could be
migrated entirely to libsqlite3, but then we would have to sort out what's
to be done with the out-of-tree php5-sqlite3 package.

 Perhaps it could be moved elsewhere, but in any case there needs to be
 an obvious way to find what package I need to install to get the
 sqlite PDO driver from php5-sqlite3

That's the problem of the php5-sqlite3 maintainer.  The php5-sqlite package
was never intended to have any support for sqlite3 at this point.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#437757: [php-maint] Bug#437757: php5-sqlite: Does not include PDO driver

2007-08-14 Thread Julien Danjou
At 1187079878 time_t, Steve Langasek wrote:
  Perhaps it could be moved elsewhere, but in any case there needs to be
  an obvious way to find what package I need to install to get the
  sqlite PDO driver from php5-sqlite3
 
 That's the problem of the php5-sqlite3 maintainer.  The php5-sqlite package
 was never intended to have any support for sqlite3 at this point.

Actually, if php5-sqlite now supports SQLite 3, we probably could remove
php5-sqlite3.
Last time I checked it only supported SQLite 2.

Cheers,
-- 
Julien Danjou
.''`.  Debian Developer
: :' : http://julien.danjou.info
`. `'  http://people.debian.org/~acid
  `-   9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD


signature.asc
Description: Digital signature


Bug#437757: php5-sqlite: Does not include PDO driver

2007-08-13 Thread Julien Goodwin
Package: php5-sqlite
Version: 5.2.3-1+b1
Severity: important

The package appears to not actually include the PDO driver as is claimed
by the description.

-- System Information:
Debian Release: etch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#437757: [php-maint] Bug#437757: php5-sqlite: Does not include PDO driver

2007-08-13 Thread Julien Goodwin
reassign 437757 php5-sqlite3
retitle 437757 php5-sqlite3: Should recommend/suggest php5-sqlite for
the PDO driver.
severity 437757 wishlist
thanks

On 14/08/2007 2:38 PM, Steve Langasek wrote:
 On Tue, Aug 14, 2007 at 01:24:09PM +1000, Julien Goodwin wrote:
 Package: php5-sqlite
 Version: 5.2.3-1+b1
OK, my bad. I don't know how I screwed that up.

I was somehow confusing php5-sqlite  php5-sqlite3. Now I've sorted that
 it seems obvious that php5-sqlite3 should at least suggest, and ideally
recommend php5-sqlite and add a note to the package description that
php5-sqlite provides the sqlite driver for php5-sqlite3.

Thanks,
Julien



signature.asc
Description: OpenPGP digital signature