GNOME Bugzilla – Bug 787497
Disabling OFX, AqBanking or python-bindings support cripples the dist build target
Last modified: 2018-06-29 23:59:26 UTC
When OFX, AqBanking or python-bindings is disabled (via configure or cmake command line switches) the source files for these optional features are not included in the dist tarball. A subsequent attempt to build gnucash with any of these optional features starting from this dist tarball will fail due to missing source files. The solution would be to ensure the distribution related parts of any of these optional features should always be triggered while running 'make/ninja dist' regardless of whether they are disabled. Alternatively we should not allow to run make dist if any optional feature is disabled.
Hi, While testing an update of the FreeBSD ports tree to the latest version (2.6.18) I discovered that the official source distribution file for that version is affected by this issue. Some files required to build the python extension, like __init__.py, are actually missing from the distribution. I can work around this by adding the missing files in the FreeBSD port, but I think the distribution file should be rerolled or a fixup dot release made with all the relevant files.
I just checked with our release manager. He said he took care of the issue with the latest release (2.6.19). Myself I went through current unstable and identified and fixed one final issue regarding gwenui. The distribution tarball will now correctly have all files regardles of whether aqbanking, ofx or python.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=787497. Please update any external references or bookmarks.