[Slackbuilds-users] ponce.org - can't compile gnucash-3.7

mcmurchy1917techy mcmurchy1917techy at btinternet.com
Wed Oct 23 17:30:05 UTC 2019


I've got a reasonably up to date current with multilib and ktown.

Trying to compile gnucash-3.7, downloaded from ponce this morning, and 
get this

> /tmp/SBo/gnucash-3.7/libgnucash/engine/gnc-budget.c: In function 
> 'gnc_budget_get_rec_time':
> /tmp/SBo/gnucash-3.7/libgnucash/engine/gnc-budget.c:724:13: error: 
> G_ADD_PRIVATE [-Werror]
>   724 |     return recurrenceGetTime(&(GET_PRIVATE(bgt)->recurrence));
>       |             ^~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[2]: *** 
> [libgnucash/engine/CMakeFiles/gncmod-engine.dir/build.make:237: 
> libgnucash/engine/CMakeFiles/gncmod-engine.dir/Transaction.c.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> cc1: all warnings being treated as errors
> make[2]: *** 
> [libgnucash/engine/CMakeFiles/gncmod-engine.dir/build.make:307: 
> libgnucash/engine/CMakeFiles/gncmod-engine.dir/gnc-budget.c.o] Error 1
> cc1plus: all warnings being treated as errors
> make[2]: *** 
> [libgnucash/engine/CMakeFiles/gncmod-engine.dir/build.make:69: 
> libgnucash/engine/CMakeFiles/gncmod-engine.dir/Account.cpp.o] Error 1
> make[1]: *** [CMakeFiles/Makefile2:3965: 
> libgnucash/engine/CMakeFiles/gncmod-engine.dir/all] Error 2
> make: *** [Makefile:163: all] Error 2

Took the advice of the error log and changed the gnucash.SlackBuild, to 
ignore warnings,  as follows -

> 51c51
> <   SLKCFLAGS="-O2 -fPIC"
> ---
> >   SLKCFLAGS="-O2 -fPIC -Wno-error"

It now compiles successfully. Have I -

 1. missed some new instructions on this list
 2. got something missing on my system
 3. or now simply do have to ignore warnings
 4. or something else

Comments will be most welcome.

Alex


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20191023/59e8df35/attachment-0001.htm>


More information about the SlackBuilds-users mailing list