Your message dated Sun, 21 Jan 2007 01:44:28 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#407250: mysql-ruby: binNMU needed to catch new symbols in 
libmysqlclient15-dev
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libmysql-ruby1.8
Version: 2.7.1-1
Severity: serious

Hi,

With libmysql-ruby1.8 2.7.1-1 (version in testing), with:
----------------
require 'dbi'
dbh = DBI.connect('DBI:MSQL:db','user','password')
dbh.select_all('SELECT clusterName, count(*)/2 from clusters group by
clusterName') { |r| p r }
----------------
I get (on i386):
----------------
/usr/lib/ruby/1.8/DBD/Mysql/Mysql.rb:649:in `column_info': undefined method 
`[]' for nil:NilClass (NoMethodError)
        from /usr/lib/ruby/1.8/DBD/Mysql/Mysql.rb:648:in `each'
        from /usr/lib/ruby/1.8/DBD/Mysql/Mysql.rb:648:in `column_info'
        from /usr/lib/ruby/1.8/DBD/Mysql/Mysql.rb:573:in `execute'
        from /usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
        from /usr/lib/ruby/1.8/DBD/Mysql/Mysql.rb:570:in `execute'
        from /usr/lib/ruby/1.8/dbi.rb:893:in `execute'
        from /usr/lib/ruby/1.8/dbi.rb:480:in `execute'
        from /usr/lib/ruby/1.8/dbi.rb:511:in `select_all'
----------------
Instead of:
----------------
["sagittaire", "0.5000"]
----------------

This is caused by the fact that libmysql-ruby1.8 2.7.1-1 was compiled against
an old version of libmysqlclient*-dev, missing types for some float fields
(count(*)/2 generates a float).

Rebuilding the package fixes the problem, so a binNMU should be enough.  I'm
not sure if all archs are affected, or just i386 (the package was built and
uploaded on i386 by the maintainer).

The version in unstable (2.7.3-1) is not affected.

I have not tried to reproduce this problem directly with libmysql-ruby (I'm
using DBI).
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED]             GPG: 1024D/023B3F4F |


--- End Message ---
--- Begin Message ---
On Wed, Jan 17, 2007 at 09:07:09AM +0100, Lucas Nussbaum wrote:

> With libmysql-ruby1.8 2.7.1-1 (version in testing), with:

[...]

> This is caused by the fact that libmysql-ruby1.8 2.7.1-1 was compiled against
> an old version of libmysqlclient*-dev, missing types for some float fields
> (count(*)/2 generates a float).

> Rebuilding the package fixes the problem, so a binNMU should be enough.  I'm
> not sure if all archs are affected, or just i386 (the package was built and
> uploaded on i386 by the maintainer).

BinNMU scheduled on i386, no further maintainer action should be required. 
(Should this bug really have been considered RC, though?)

Cheers,
-- 
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/

--- End Message ---

Reply via email to