2.4 and sqlite...

J. Alex Aycinena alex.aycinena at gmail.com
Sun Jan 2 14:47:23 EST 2011


Gour,


> ---------- Forwarded message ----------
> From: Gour <gour at atmarama.net>
> To: gnucash-devel at gnucash.org
> Date: Sun, 2 Jan 2011 08:23:29 +0100
> Subject: Re: 2.4 and sqlite...
> On Sat, 1 Jan 2011 16:17:06 -0500
>>>>>>> "Derek" == wrote:
>
> Derek> Because it's not *our* bug, it's a bug in libdbi,
>
> I'm aware it's not Gnucash bug...
>
> Derek> and it's a bug Derek> that only affects certain builds of libdbi,
>
> but I didn't know about the latter.
>
> Derek> I don't know enough about the bug to tell you whether it's
> Derek> something that we can easily detect at runtime.  But it's
> Derek> certainly the case that you can build GnuCash against the
> Derek> working version and then upgrade the library to the broken
> Derek> version and GnuCash will stop working.  Similarly, if you build
> Derek> GnuCash against the broken version of libdbi and then replace it
> Derek> with a working version then it should start working again.
>
> This is something I do not understand fully...Based on what I see at
> libdbi site, it looks that it's not in such a rapid development
> producing new releases so often, iow the site says:
>
> libdbi-0.8.4  2010-09-01
> libdbi-0.8.3  2008-02-06
>
> which means there are two releases in last (almost) three years.
>
> Now, which version of the libdbi is broken?
>
> Derek> Again, this is *not* a bug in GnuCash, but a bug where libdbi
> Derek> does not return valid data when compiled with fast math.
>
> That's clear.
>
> otoh, based on the links in this thread, it seems that the bug is
> present in 0.8.3 version which is not the newest one.
>
> I'll try to build gnucash on my Archlinux system, but for now I can
> only say that libdbi is built with:  ./configure --prefix=/usr
> so I do not know what does it mean in regard to '-fast-math' option.
>
> Still (although I very much admire Gnucash and its devs), I believe
> that it could be that not-too-many devs were testing with Sqlite
> back-end which is important considering that SQL storage is some of
> the 'hot stuff' proudly announced as 'major changes' in 2.4.0.
>
> Please, take my post just as constructive criticism meant to help
> improve Gnucash. (Finally, I'm the one wanting to use it.)
>

Also as a constructive comment, please realize that it is impossible
for the developers to test every possible combination of environments
and libraries that is represented in the user base. So a way that
interested parties that are not developers can certainly help with the
development efforts is to participate in testing by downloading and
exercising pre-release builds and reporting problems they find. For
the project as a whole, there is probably too little of this.

>
> Sincerely,
> Gour
>
> --
>
> Gour  | Hlapicina, Croatia  | GPG key: CDBF17CA
> ----------------------------------------------------------------
>

Alex


More information about the gnucash-devel mailing list