[GNC-dev] GnuCash 4.7 Released

davidcousens49 at gmail.com davidcousens49 at gmail.com
Tue Sep 28 17:59:11 EDT 2021


Hi John,

Unfortunately another build problem on Linux MInt 20.2 with 4.8. Cmake ran OK
but ninja failed to build with following error. SHA256sum on the download was
correct
FAILED: share/gnucash/migratable-prefs.xml. The full terminal output is attached
for your info.

Regards
David

On Tue, 2021-09-28 at 13:55 -0700, John Ralls wrote:
> The GnuCash development team announces GnuCash 4.8, the ninth release in the
> stable 4.x series
> 
> This is a snap release to fix crashes during migration. The macOS and Win32
> GnuCash bundles were not affected; if you use either of those you do not need
> this release.
> Between 4.7 and 4.8, the following bugfixes were accomplished:
> 
> None
> The following fixes and improvements were not associated with bug reports:
> 
>     [gsettings] Avoid crash from settings schema not being registered.
>     Rethink how gsettings migration file is constructed
>     GSettings hotfix - resolve crash due to bad schema reference
>     [gnc-plugin-page-register] call invoice editor with parent window
>     [assistant-stock-split] set parent window properly
> 
> New API
> 
> None
> Deprecations
> 
> None
> 
> New and Updated Translations: None.
> Known Problems
> 
> 
> Complete list of all open bugs: 
> https://bugs.gnucash.org/buglist.cgi?bug_severity=blocker&bug_severity=critical&bug_severity=major&bug_severity=normal&bug_severity=minor&bug_severity=trivial&bug_status=NEW&bug_status=ASSIGNED&bug_status=NEEDINFO&bug_status=REOPENED&limit=0&list_id=8149&order=priority%2Cbug_severity&query_format=advanced
> 
> Documentation
> 
> Concurrent with the release of GnuCash 4.8 we're pleased to also release a new
> version of the companion Help and Tutorial and Concepts Guide
> Between 4.7 and 4.8, the following bugfixes were accomplished:
> 
> None
> The following fixes and improvements were not associated with bug reports:
> 
>     Remove obsolete files.
>     Remove autotools.
> 
> New and Updated Translations: None
> Getting GnuCash for Windows and MacOS
> 
> GnuCash is provided for both Microsoft Windows 8.1® and later and MacOS 10.13
> (High Sierra)® and later in pre-built, all-in-one packages. An installer is
> provided for Microsoft Windows® while the MacOS® package is a disk image
> containing a drag-and-drop application bundle.
> 
> The SHA256 Hashes for the downloadable files are:
> 
>     15b8e4ff8336168eba88ef2faade377e5c5ff08e48b4660da1a33a8a407feb12  gnucash-
> 4.8.tar.bz2
>     37e6fbdee7e2ac41299cdb4ffef189c160b03f992ab30e823369df90ebb0d61f  gnucash-
> 4.8.tar.gz
>     b8c4a4bad5a073f53ea07ad46d4c13096a5d26d906ceda8c049842a8362d0a86  gnucash-
> 4.8.setup.exe
>     abb6a0bc433207c1f31fee33aa7f0c63774217b2675e5fab78062c4cd862f975  Gnucash-
> Intel-4.8-2.dmg
>     988011168a3ab2c3601a5af75f5caad89fb18a4e880311f3538b8fc7c9a068d3  gnucash-
> docs-4.8.tar.gz
> 
> Microsoft Windows:
> https://github.com/Gnucash/gnucash/releases/download/4.8/gnucash-4.8.setup.exe
>  
> https://downloads.sourceforge.net/gnucash/gnucash%20%28stable%29/4.8/gnucash-4.8.setup.exe
> 
> Apple macOS:
> https://github.com/Gnucash/gnucash/releases/download/4.8/Gnucash-Intel-4.8-1.dmg
> https://downloads.sourceforge.net/gnucash/gnucash%20%28stable%29/4.8/Gnucash-Intel-4.8-1.dmg
> 
> GnuCash is now available as a flatpak from Flathub.org. Instructions for
> installing and running may be found at https://wiki.gnucash.org/wiki/Flatpak.
> 
> Getting GnuCash as source code
> If you want to compile GnuCash 4.8 for yourself, the source code can be
> downloaded from:
> https://github.com/Gnucash/gnucash/releases/download/4.8/gnucash-4.8.tar.bz2
> https://github.com/Gnucash/gnucash/releases/download/4.8/gnucash-4.8.tar.gz
> https://downloads.sourceforge.net/gnucash/gnucash%20%28stable%29/4.8/gnucash-4.8.tar.bz2
> https://downloads.sourceforge.net/gnucash/gnucash%20%28stable%29/4.8/gnucash-4.8.tar.gz
> 
> You can also checkout the sources directly from the git repository, see
> https://wiki.gnucash.org/wiki/Git for instructions.
> 
> To compile GnuCash from the source code by yourself, you will need at least
> Gtk+ 3.24, Guile 2.0, Boost 1.54, WebKitGtk 2.4, GoogleTest 1.7.0, cmake 3.10
> and SWIG 2.0.12. Please consult the README.dependencies file in the sources
> for the exact list of dependencies and versions.
> 
> Getting the documentation
> 
> If you want to compile the GnuCash Documentation 4.8 for yourself, the source
> code can be downloaded from:
> https://github.com/Gnucash/gnucash/releases/download/4.8/gnucash-docs-4.8.tar.gz
> https://downloads.sourceforge.net/gnucash/gnucash%20%28stable%29/4.8/gnucash-docs-4.8.tar.gz
> 
> The documentation is included in the MacOS and Windows application bundles.
> 
> About the Program
> 
> GnuCash is a free, open source accounting program released under the GNU
> General Public License (GPL) and available for GNU/Linux, *BSD, Solaris,
> MacOS, and Microsoft Windows. Programming on GnuCash began in 1997, and its
> first stable release was in 1998.
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
-------------- next part --------------
$ cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr/local -DWITH_PYTHON=ON ..
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found UnixCommands: /bin/bash  
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for module 'glib-2.0>=2.56.1'
--   Found glib-2.0, version 2.64.6
-- Checking for module 'gio-2.0'
--   Found gio-2.0, version 2.64.6
-- Checking for module 'gobject-2.0'
--   Found gobject-2.0, version 2.64.6
-- Checking for module 'gmodule-2.0'
--   Found gmodule-2.0, version 2.64.6
-- Checking for module 'gthread-2.0'
--   Found gthread-2.0, version 2.64.6
-- Checking for module 'libxml-2.0>=2.9.4'
--   Found libxml-2.0, version 2.9.10
-- Checking for module 'libxslt'
--   Found libxslt, version 1.1.34
-- Checking for module 'webkit2gtk-4.0>=2.14.0'
--   Found webkit2gtk-4.0, version 2.32.4
-- Checking for module 'gtk+-3.0>=3.22.30'
--   Found gtk+-3.0, version 3.24.20
-- Checking for module 'zlib'
--   Found zlib, version 1.2.11
-- Found Gettext: /usr/local/bin/msgmerge (found suitable version "0.20.2", minimum required is "0.19.6") 
-- Found SWIG: /usr/bin/swig4.0 (found suitable version "4.0.1", minimum required is "3.0.12") 
-- Using guile-3.0.x
-- Using guile SRFI-64
-- Using guile textual-ports
-- Checking for module 'gwenhywfar>=4.20'
--   Found gwenhywfar, version 5.1.3
-- Checking for module 'aqbanking>=5.7.8'
--   Found aqbanking, version 6.0.1
-- Looking for AB_Banking_RuntimeConfig_SetCharValue
-- Looking for AB_Banking_RuntimeConfig_SetCharValue - not found
-- Checking for module 'gwengui-gtk3'
--   Found gwengui-gtk3, version 5.1.3
-- Checking for module 'libofx'
--   Found libofx, version 0.9.15
-- Performing Test HAVE_OFX_BUG_39
-- Performing Test HAVE_OFX_BUG_39 - Failed
-- Found LibXslt: xslt;xml2 (found version "1.1.34") 
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3") 
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found suitable version "3.8.10", minimum required is "3") 
-- Found Perl: /usr/bin/perl (found version "5.30.0") 
-- Checking for module 'icu-uc'
--   Found icu-uc, version 66.1
-- Checking for module 'icu-i18n'
--   Found icu-i18n, version 66.1
-- Checking for module 'libsecret-1>=0.18'
--   Found libsecret-1, version 0.20.4
-- Performing Test have_stringop_truncation
-- Performing Test have_stringop_truncation - Success
-- Checking for GTEST
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - no
-- Checking for GMOCK
-- Looking for include file dirent.h
-- Looking for include file dirent.h - found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
-- Looking for include file glob.h
-- Looking for include file glob.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file limits.h
-- Looking for include file limits.h - found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/times.h
-- Looking for include file sys/times.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file sys/wait.h
-- Looking for include file sys/wait.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file utmp.h
-- Looking for include file utmp.h - found
-- Looking for include file wctype.h
-- Looking for include file wctype.h - found
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Performing Test standard_math_library_linked_to_automatically
-- Performing Test standard_math_library_linked_to_automatically - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/david/Applications/gnucash-4.8/build

$ ninja
[63/970] Generating ../../lib/x86_64-l...3.0/site-ccache/gnucash/json/syntax.go
wrote `/home/david/Applications/gnucash-4.8/build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/json/syntax.go'
[67/970] Generating ../../lib/x86_64-l....0/site-ccache/gnucash/json/builder.go
wrote `/home/david/Applications/gnucash-4.8/build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/json/builder.go'
[68/970] Generating ../../lib/x86_64-l...ucash/deprecated/migrate-prefs-user.go
wrote `/home/david/Applications/gnucash-4.8/build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/deprecated/migrate-prefs-user.go'
[75/970] Generating ../../lib/x86_64-l...he/gnucash/deprecated/migrate-prefs.go
wrote `/home/david/Applications/gnucash-4.8/build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/deprecated/migrate-prefs.go'
[82/970] Generating ../../lib/x86_64-l...3.0/site-ccache/gnucash/json/parser.go
wrote `/home/david/Applications/gnucash-4.8/build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/json/parser.go'
[87/970] Generating ../../lib/x86_64-l.../guile/3.0/site-ccache/gnucash/json.go
wrote `/home/david/Applications/gnucash-4.8/build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/json.go'
[95/970] Generating ../../../lib/x86_6...eprecated/gnucash/deprecated-module.go
wrote `/home/david/Applications/gnucash-4.8/build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/deprecated/gnucash/deprecated-module.go'
[297/970] Linking CXX shared library lib/libgnc-backend-xml-utils.so
/usr/bin/ld: libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-xml-backend.cpp.o: in function `GncXmlBackend::write_to_file(bool)':
gnc-xml-backend.cpp:(.text+0x12f7): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
[300/970] Generating ../../lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/deprecated/gnucash/report/business-reports.go
wrote `/home/david/Applications/gnucash-4.8/build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/deprecated/gnucash/report/business-reports.go'
[301/970] Generating ../../lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/deprecated/gnucash/report/stylesheets.go
wrote `/home/david/Applications/gnucash-4.8/build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/deprecated/gnucash/report/stylesheets.go'
[302/970] Generating ../../lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/deprecated/gnucash/report/report-system/report-collectors.go
wrote `/home/david/Applications/gnucash-4.8/build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/deprecated/gnucash/report/report-system/report-collectors.go'
[303/970] Generating ../../lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/deprecated/gnucash/report/report-system/collectors.go
wrote `/home/david/Applications/gnucash-4.8/build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/deprecated/gnucash/report/report-system/collectors.go'
[304/970] Generating ../../lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/deprecated/gnucash/report/utility-reports.go
wrote `/home/david/Applications/gnucash-4.8/build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/deprecated/gnucash/report/utility-reports.go'
[365/970] Generating ../../lib/x86_64-linux-gnu/guile/3.0/site-ccache/tests/unittest-support.go
wrote `/home/david/Applications/gnucash-4.8/build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/tests/unittest-support.go'
[379/970] Generating ../../share/gnucash/migratable-prefs.xml
FAILED: share/gnucash/migratable-prefs.xml 
cd /home/david/Applications/gnucash-4.8/build/gnucash/gschemas && /usr/bin/cmake -E cat /home/david/Applications/gnucash-4.8/gnucash/import-export/aqb/gschemas/migratable-prefs.xml /home/david/Applications/gnucash-4.8/gnucash/import-export/ofx/gschemas/migratable-prefs.xml /home/david/Applications/gnucash-4.8/gnucash/gschemas/migratable-prefs.xml > /home/david/Applications/gnucash-4.8/build/share/gnucash/migratable-prefs.xml
CMake Error: cmake version 3.16.3
Usage: /usr/bin/cmake -E <command> [arguments...]
Available commands: 
  capabilities              - Report capabilities built into cmake in JSON format
  chdir dir cmd [args...]   - run command in a given directory
  compare_files [--ignore-eol] file1 file2
                              - check if file1 is same as file2
  copy <file>... destination  - copy files to destination (either file or directory)
  copy_directory <dir>... destination   - copy content of <dir>... directories to 'destination' directory
  copy_if_different <file>... destination  - copy files if it has changed
  echo [<string>...]        - displays arguments as text
  echo_append [<string>...] - displays arguments as text but no new line
  env [--unset=NAME]... [NAME=VALUE]... COMMAND [ARG]...
                            - run command in a modified environment
  environment               - display the current environment
  make_directory <dir>...   - create parent and <dir> directories
  md5sum <file>...          - create MD5 checksum of files
  sha1sum <file>...         - create SHA1 checksum of files
  sha224sum <file>...       - create SHA224 checksum of files
  sha256sum <file>...       - create SHA256 checksum of files
  sha384sum <file>...       - create SHA384 checksum of files
  sha512sum <file>...       - create SHA512 checksum of files
  remove [-f] <file>...     - remove the file(s), use -f to force it
  remove_directory <dir>... - remove directories and their contents
  rename oldname newname    - rename a file or directory (on one volume)
  server                    - start cmake in server mode
  sleep <number>...         - sleep for given number of seconds
  tar [cxt][vf][zjJ] file.tar [file/dir1 file/dir2 ...]
                            - create or extract a tar or zip archive
  time command [args...]    - run command and display elapsed time
  touch <file>...           - touch a <file>.
  touch_nocreate <file>...  - touch a <file> but do not create it.
  create_symlink old new    - create a symbolic link new -> old
  true                      - do nothing with an exit code of 0
  false                     - do nothing with an exit code of 1

[383/970] Generating ../../lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/deprecated/gnucash/unittest-support.go
wrote `/home/david/Applications/gnucash-4.8/build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/deprecated/gnucash/unittest-support.go'
[386/970] Generating gnucash.desktop.in
ninja: build stopped: subcommand failed.



More information about the gnucash-devel mailing list