Make check fails in src/import-export

Mike Evans mikee at saxicola.co.uk
Mon Jan 12 04:24:51 EST 2015


On Sun, 11 Jan 2015 19:02:22 +0100
Geert Janssens <geert.gnucash at kobaltwit.be> wrote:

> On Sunday 11 January 2015 09:43:48 John Ralls wrote:
> > > On Jan 11, 2015, at 9:33 AM, Mike Evans <mikee at saxicola.co.uk>
> > > wrote:
> > > 
> > > On Sun, 11 Jan 2015 09:16:19 -0800
> > > 
> > > John Ralls <jralls at ceridwen.us> wrote:
> > >>> On Jan 11, 2015, at 8:31 AM, Mike Evans <mikee at saxicola.co.uk>
> > >>> wrote:
> > >>> 
> > >>> With the following output snippet:
> > >>> 
> > >>> 
> > >>> make[2]: Entering directory
> > >>> `/home/mikee/Projects/gnucash/build/src/import-export/test' PASS:
> > >>> test-link
> > >>> Backtrace:
> > >>> In ../../../src/app-utils/gnucash/app-utils.scm:
> > >>> 29:  0* (use-modules (gnucash gettext))
> > >>> 29:  1  (eval-case (# # *unspecified*) (else #))
> > >>> 29:  2  (begin (process-use-modules (list (list #)))
> > >>> *unspecified*)
> > >>> 
> > >>> In unknown file:
> > >>>  ?:  3* [process-use-modules (((gnucash gettext)))]
> > >>>  ?:  4  (let* ((interfaces #)) (call-with-deferred-observers
> > >>>  (lambda () #))) ?:  5* [map #<procedure #f (mif-args)>
> > >>>  (((gnucash gettext)))] ?:  6* [#<procedure #f (mif-args)>
> > >>>  ((gnucash gettext))]
> > >>>  ?:  7* (or (apply resolve-interface mif-args) (error "no such
> > >>>  module" mif-args)) ?:  8* [apply #<procedure resolve-interface
> > >>>  (name . args)> ((gnucash gettext))] ?:  9  [resolve-interface
> > >>>  (gnucash gettext)]
> > >>>  
> > >>>   ...
> > >>>  
> > >>>  ?: 10  (let* (# # # # ...) (and # #) (if # public-i #))
> > >>>  ?: 11* (and (or (not module) (not public-i)) (error "no code for
> > >>>  module" name)) ?: 12  [error "no code for module" (gnucash
> > >>>  gettext)]
> > >>>  
> > >>>   ...
> > >>>  
> > >>>  ?: 13  [scm-error misc-error #f ...]
> > >>> 
> > >>> <unnamed port>: In procedure scm-error in expression (scm-error
> > >>> (quote misc-error) #f ...): <unnamed port>: no code for module
> > >>> (gnucash gettext)
> > >>> FAIL: test-import-parse
> > >>> ==========================================
> > >>> 1 of 2 tests failed
> > >>> Please report to gnucash-devel at gnucash.org
> > >>> ==========================================
> > >>> make[2]: *** [check-TESTS] Error 1
> > >>> make[2]: Leaving directory
> > >>> `/home/mikee/Projects/gnucash/build/src/import-export/test'
> > >>> make[1]: *** [check-am] Error 2
> > >>> make[1]: Leaving directory
> > >>> `/home/mikee/Projects/gnucash/build/src/import-export/test' make:
> > >>> *** [check-recursive] Error 1
> > >>> 
> > >>> 
> > >>> Thoughts?
> > >> 
> > >> Could be a problem with a cached .go. Try deleting ~/.cache/guile
> > >> and $PREFIX/share/gnucash/scm/ccache.
> > >> 
> > >> Regards,
> > >> John Ralls
> > > 
> > > Hi John.
> > > 
> > > rm -rf  /home/mikee/.cache/*
> > > rm -rf  /home/mikee/.ccache/*
> > > rm /home/mikee/progs/gnucash-maint/share/gnucash/scm/cache
> > > rm /home/mikee/progs/gnucash-maint/share/gnucash/scm/ccache
> > > 
> > > Still same results.
> > > 
> > > But from the backtrace, I have no
> > > ../../../src/app-utils/gnucash/app-utils.scm .  This file is at
> > > actually at ../../../src/app-utils/app-utils.scm  Where is this
> > > path defined?
> > Those links are made by the scm-links target in
> > src/app-utils/Makefile.am. Maybe you need to do a clean build.
> > 
> > Regards,
> > John Ralls
> > 
> > 
> > _______________________________________________
> > gnucash-devel mailing list
> > gnucash-devel at gnucash.org
> > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> 
> Or remove the hidden file .scm-links
> 
> The links will then be regenerated.
> 
> Geert

Thanks Geert & John.  I did a fresh build and all was well again.  I've added tests for when the deposit or withdrawal fields are either empty or are just space(es).

MikeE

-- 
Anti NSA?  Use PGP.
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x00CDB13500D7AB53  


More information about the gnucash-devel mailing list