Re: GLib-WARNING from fresh build

Derek Atkins derek at ihtfp.com
Sun Jan 26 18:26:11 EST 2014


You cannot run from the build dir like that. Make install first and the run it.  We recommend you configure with a unique --prefix like /opt/gnucash 

-derek

Sent from my HTC smartphone

----- Reply message -----
From: "alessandro basili" <alessandro.basili at cern.ch>
To: "John Ralls" <jralls at ceridwen.us>
Cc: "GnuCash development list" <gnucash-devel at gnucash.org>
Subject: GLib-WARNING from fresh build
Date: Sun, Jan 26, 2014 6:19 PM


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi John,

On 1/26/2014 8:26 PM, John Ralls wrote:
[]
>>> * 12:53:38  CRIT <gnc.engine> [xaccSplitSetValue()] numeric 
>>> error in converting the split value's denominator * 12:53:38 
>>> CRIT <gnc.engine> [xaccSplitSetValue()] numeric error in 
>>> converting the split value's denominator FAILURE 
>>> gnc_transaction_sixtp_parser_create test-xml-transaction.c:361
>>> 40 Executed 100 tests. There was 1 failure. FAIL: 
>>> test-xml-transaction Executed 1 test. All tests passed. PASS: 
>>> test-xml2-is-file ========================================== 1 
>>> of 13 tests failed Please report to gnucash-devel at gnucash.org 
>>> ========================================== make[6]: *** 
>>> [check-TESTS] Error 1 make[6]: Leaving directory 
>>> `/home/alb/Repositories/gnucash/src/backend/xml/test' make[5]: 
>>> *** [check-am] Error 2 make[5]: Leaving directory 
>>> `/home/alb/Repositories/gnucash/src/backend/xml/test' make[4]: 
>>> *** [check-recursive] Error 1 make[4]: Leaving directory 
>>> `/home/alb/Repositories/gnucash/src/backend/xml/test' make[3]: 
>>> *** [check-recursive] Error 1 make[3]: Leaving directory 
>>> `/home/alb/Repositories/gnucash/src/backend/xml' make[2]: *** 
>>> [check-recursive] Error 1 make[2]: Leaving directory 
>>> `/home/alb/Repositories/gnucash/src/backend' make[1]: *** 
>>> [check-recursive] Error 1 make[1]: Leaving directory 
>>> `/home/alb/Repositories/gnucash/src' make: ***
>>> [check-recursive] Error 1
>> 
> 
> Look at src/backend/xml/test/test-xml-transaction.log for details
> of which test failed.

for some reason I do not have any log available in that directory or
anyone in the 'vicinity'. Is there anything I would need to specifically
run to create the log? I'm trying to look it up in the docs but so far
I'm out of luck.

>> BTW, 'apt-get build-dev gnucash' was not sufficient on wheezy. I 
>> still needed to install manually the following:
[]
> That’s not surprising, since the dependencies for GC2.6 are
> different from those for GC2.4. Only Sid might have the right
> dependencies at this point.

Got it.

>> and I also had to set 'disable-dbi' since I do not have any db
>> and I don't bother for now.
> 
> If you’re going to develop you need to install libdbi, 
> libdbd-sqlite3, and sqlite3 along with their dev packages so that 
> you’re running the full test suite.

At this point I have all the 'necessaire' to perform a clean build and
my make check *did not* report any failure.
Still I have the following message when I start gnucash:

> alb at wheezy:~/Repositories/gnucash/src/bin$ ./gnucash
> 
> (process:22413): GLib-WARNING **: GError set over the top of a 
> previous GError or uninitialized memory. This indicates a bug in 
> someone's code. You must ensure an error is NULL before it's set.
> The overwriting error message was: No such file or directory
> 
> 
> This is a development version. It may or may not work. Report bugs 
> and other problems to gnucash-devel at gnucash.org You can also
> lookup and file bug reports at http://bugzilla.gnome.org To find
> the last stable version, please refer to http://www.gnucash.org 
> Trace/breakpoint trap

I'm surprised about the SIGTRAP, I'm not running with a debugger.

BTW I used r23767.

Al

- -- 
Alessandro Basili
PGP Fingerprint DCBE 430E E93D 808B 45E6 7B8A F68D A276 565C 4450
PGP Public Key available at keys.gnugp.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS5ZgEAAoJEPaNonZWXERQSMoIAJ03o3z2dCsiHVLxq+9EfZSO
9FCnmm1z3TeVw3oZZUewYaJVtlGYIkEhiktqbqDO8syDG++3oOB4yBQA007NMcRR
+TRiS4PGcf3IBiWIHd7u4spgtnRIl/U//PV7OsL9FhEqrgvcOllHoxGBKNLrAwZ9
o2RF8xvF9f3qULMrpQteZiMWz20H0bRKIQddPFNpe3ZM5bbmLgGDoYBASJw91PLv
ulUMSN3K1tnjioT7twd+BR4Xbn4SfhgGyIf1Y4nd4lTPdbiKQpshFHuZiTDsI2qb
LKgPE1iiO38o5gIMTMe5GVinnU5+TWRh473BZ7cCzS/zqcRJx1Cd8BY/XE2xUpE=
=LTYj
-----END PGP SIGNATURE-----
_______________________________________________
gnucash-devel mailing list
gnucash-devel at gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


More information about the gnucash-devel mailing list