[GNC] Rebuild of Gnucash 3.1-1 on Arch fails

Richard Ullger rullger at gmail.com
Sat Jun 9 11:51:31 EDT 2018


Hi,

I'm trying to rebuild gnucash 3.1-1, downloaded from Sourcefourge,
following the boost update in Arch, but fails with the error below.

I had 3.1 build with no problems previously. Trying to rebuild 3.1 fails
with the same error.

I've managed to temporarily build without the python integration.

The build is in a clean chroot.

Can anyone offer any tips on where to look for a solution? It seems the
offending file is automatically generated by swig.

Many thanks.

Richard.

[ 30%] Built target scm-test-core
Scanning dependencies of target unittest_support
[ 30%] Building C object
common/test-core/CMakeFiles/unittest_support.dir/swig-unittest-support-python.c.o
/build/gnucash/src/gnucash-3.1/common/test-core/swig-unittest-support-python.c:
In function ‘SWIG_Python_FixMethods’:
/build/gnucash/src/gnucash-3.1/common/test-core/swig-unittest-support-python.c:4490:15:
error: ‘strncpy’ output truncated before terminating nul copying 10
bytes from a string of the same length [-Werror=stringop-truncation]
               strncpy(buff, "swig_ptr: ", 10);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: ***
[common/test-core/CMakeFiles/unittest_support.dir/build.make:63:
common/test-core/CMakeFiles/unittest_support.dir/swig-unittest-support-python.c.o]
Error 1
make[1]: *** [CMakeFiles/Makefile2:1738:
common/test-core/CMakeFiles/unittest_support.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/richard/chroot/richard/build


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20180609/6a63bd8e/attachment.sig>


More information about the gnucash-user mailing list