[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ruby-sqlite3 FTBFS



* Antonio Terceiro <terceiro@debian.org> [140506 22:48]:
> On Mon, May 05, 2014 at 10:57:37AM -0300, Antonio Terceiro wrote:
> > On Sun, May 04, 2014 at 05:00:58PM +0200, David Suárez wrote:
> > > El Domingo, 4 de mayo de 2014 16:06:50 Christian Hofstaedtler escribió:
> > > > Upstream said something about LE vs. BE:
> > > > https://github.com/sparklemotion/sqlite3-ruby/issues/128
> > > Maybe something like:
> > > 
> > > ++ test_encoding.rb
> > > - db = SQLite3::Database.new(':memory:'.encode('UTF-16LE'))
> > > + utf16 = ([1].pack("I") == [1].pack("N")) ? "UTF-16BE" : "UTF-16LE"
> > > + db = SQLite3::Database.new(':memory:'.encode(utf16))
> > > 
> > > ++statement.c
> > > if (UTF16_LE_P(value) || UTF16_BE_P(value)) {
> > > 
> > > But I'm unable to test it on my i386 machine :)
> > 
> > I tested these changes on s390x and they don't fix the problem :-(
> 
> After some extra modifications I got it to work and I am uploading a
> fixed package. Thanks!

Great to hear!

Please also report anything you find upstream.

Thanks a lot,
-- 
 ,''`.  Christian Hofstaedtler <zeha@debian.org>
: :' :  Debian Developer
`. `'   7D1A CFFA D9E0 806C 9C4C  D392 5C13 D6DB 9305 2E03
  `-

Attachment: pgp5k4MQ9nB8x.pgp
Description: PGP signature


Reply to: