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

Matteo Bernardini matteo.bernardini at gmail.com
Thu Oct 24 04:47:06 UTC 2019


Il giorno mer 23 ott 2019 alle ore 19:30 mcmurchy1917techy via
SlackBuilds-users <slackbuilds-users at slackbuilds.org> ha scritto:
>
> 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 -
>
> missed some new instructions on this list
> got something missing on my system
> or now simply do have to ignore warnings
> or something else
>
> Comments will be most welcome.
>
> Alex

Hi Alex,

As SBo doesn't support current this mailing list is not the right
place to discuss this stuff, I suggest you to report things to fix on
current on the dedicated LQ topic (please read carefully the first
post there before)

https://www.linuxquestions.org/questions/slackware-14/sbo-scripts-not-building-on-current-read-1st-post-pls-4175561999/

don't get me wrong, but as I explain there I'm not fixing in realtime
everything on SBo to run perfectly on current in this unofficial
repository, it's just a best-effort thing based mainly on reports by
the users: so, when something disruptive like the recent glib2 or
icu4c upgrades in current happen, many libraries/applications of which
I have no idea of are involved and remain broken until someone doesn't
report them (thanks a lot for this!).

Matteo


More information about the SlackBuilds-users mailing list