On Nov 24, 2011, at 2:59 AM, Mike Evans wrote: > On Thu, 24 Nov 2011 11:25:07 +0100 > Christian Stimming <[email protected]> wrote: > >> Am Donnerstag, 24. November 2011, 10:06:33 schrieb Mike Evans: >>> Make on SVN trunk fails with: >>> >>> make[2]: Entering directory `/home/mikee/Projects/gnucash/intl-scm' >>> make[2]: *** No rule to make target >>> `/home/mikee/Projects/gnucash/src/business/business-core/gnucash/business-co >>> re.scm', needed by `guile-strings.c'. Stop. make[2]: Leaving >>> directory `/home/mikee/Projects/gnucash/intl-scm' make[1]: *** >>> [all-recursive] Error 1 make[1]: Leaving directory >>> `/home/mikee/Projects/gnucash' make: *** [all] Error 2 >>> >>> Using git bisect the faulty commit appears to be r21605 >>> Output from git bisect below. >>> >>> $ git bisect good adea4467280732dec525697eba97694c05f52874 is >>> the first bad commit commit adea4467280732dec525697eba97694c05f52874 >>> Author: gjanssens <gjanssens@57a11ea4-9604-0410-9ed3-97b8803252fd> >>> Date: Mon Nov 21 10:40:17 2011 +0000 >>> >>> Dissolve the business-core module, by integrating its remaining >>> bits in the engine, where the rest already was moved before. >>> >>> git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21605 >>> 57a11ea4-9604-0410-9ed3-97b8803252fd >>> >>> >>> >>> Not sure it this peculiar to my machine. I've just upgraded from >>> FC14 to FC15, which was less than trouble free, so that may be an >>> issue, although unlikely. >> >> I had the same error, but: It's a leftover from the removal of >> directories from the source code. It would not disappear with a clean >> source directory. But, as this is an existing source directory, it >> still has this obnoxious generated extra "gnucash" directory in many >> of the source directories. Those have been generated, so they don't >> disappear through "svn update" (git pull) alone. Instead, you have to >> manually remove those: >> >> rm -rf src/business/business-core/gnucash >> >> and the same in business-utils and I think two more, four altogether. >> >> I don't know how to fix this automatically, though. >> >> Regards, >> >> Christian > > Thanks Christian/Geert. > > I had assumed that a Make clean would, um, clean all the > generated files, obviously not. > > Using; > find . -type l | grep gnucash > narrowed down the search space a little. > > Just compiled successfully after removing problem dirs.
Make clean doesn't remove those directories, but make maintainer-clean does. The catch is that you have to run it *before* the (svn|git) update runs, because afterwards the Makefiles get changed and the offending directories are no longer removed. Regards, John Ralls _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
