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

Logan Rathbone poprocks at gmail.com
Thu Oct 24 02:44:12 UTC 2019


On Wed, Oct 23, 2019 at 06:30:05PM +0100, mcmurchy1917techy via SlackBuilds-users wrote:
> 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
>
> [snip]
>
> 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

I believe an update to glib2 (2.62+) caused some similar issues. Many
SlackBuilds on -current have had to be modified to prevent this.

See this section of the relevant thread on LQ:

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


More information about the SlackBuilds-users mailing list