GNOME Bugzilla – Bug 752204
.gml2 files are modified during build
Last modified: 2018-06-29 23:41:50 UTC
Files src/backend/xml/test/test-files/*.gml2 are modified during build but not cleaned.
Are you running "make clean" and "make distclean" ? If you are worried about generated/changes files being left on you system then you might consider building outside the source tree. In your gnucash source base dir do: mkdir build cd build ../configure $YOUR_OPTIONS Then run make from the build dir, this keeps generated files outside the source tree. http://wiki.gnucash.org/wiki/Building You can also run git clean -r to remove files that are not part of the original git clone of gnucash. Also which branch are you building master or maint ?
I'm the maintainer of GnuCash in Debian so yes, build environment is clean. :) From our QA prospective it is not nice that GnuCash build system modifies its own source tree so second build in the same tree may not be exactly the same. I've notice that during re-build of the GnuCash v2.6.7 (from source tarball, outside of git repository). The problem with those .gml2 files is that they are apparently not generated during build-time as removing them before build resulting FTBFS. This is a minor problem with build system...
You may have to wait for either John Ralls or Geert Janssens in that case as I'm not the build expert. Both of whom are about to, or have just gone on holiday.
Most of the time the only difference is that the files are compressed after the test. I've changed that in git so that they won't be; now they'll only change if scrub does. It will be in the next release.
Thanks. Those files are not just compressed but also have "<ts:date>" timestamp changed. Ideally it would be nice if those files are not changed at all or re-built from scratch every time. I wanted to try your fix but could not find it in git... I reckon I'll revisit this issue upon next release anyway...
Oh, right, timezones. They're not built files, but there's no good reason to write them back out, either. The intent is to make sure that the scrub functions work. I'll just comment out the save line.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=752204. Please update any external references or bookmarks.