<div>Hi,<br></div><div><br></div><div>Not sure if it's the same error, but there is an email from Lenard Spencer (Sep 22):<br></div><div>---<br></div><div>Just a heads up to everyone who uses Gnucash on -current, the new glib2
broke the build using the script from 14.2/master.  The fix is simple -
put these two lines before the cmake command:<br></div><div dir="auto"><div><br></div><div dir="auto">export CC=clang<br></div><div dir="auto">export CXX=clang++<br></div><div dir="auto"><br></div><div dir="auto">This will be addressed in SBo when 15.0 is released.<br></div><div dir="auto">---<br></div><div dir="auto"><br></div><div dir="auto">Cheers,<br></div><div dir="auto">Diego<br></div><div><br></div></div><div class="protonmail_signature_block protonmail_signature_block-empty"><div class="protonmail_signature_block-user protonmail_signature_block-empty"><div><br></div></div><div class="protonmail_signature_block-proton protonmail_signature_block-empty"><br></div></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div> On Wednesday, October 23, 2019 6:30 PM, mcmurchy1917techy via SlackBuilds-users <slackbuilds-users@slackbuilds.org> wrote:<br></div><div> <br></div><blockquote class="protonmail_quote" type="cite"><p><span style="font-size:undefinedpx"></span></p><div><span style="font-family:menlo,consolas,"courier new",monospace">I've got a reasonably up to date current with
          multilib and ktown.</span><br></div><p></p><p><span style="font-size:undefinedpx"></span></p><div><span style="font-family:menlo,consolas,"courier new",monospace">Trying to compile gnucash-3.7, downloaded
          from ponce this morning, and get this</span><br></div><p></p><p><br></p><blockquote type="cite"><div>/tmp/SBo/gnucash-3.7/libgnucash/engine/gnc-budget.c:
        In function 'gnc_budget_get_rec_time':<br></div><div> /tmp/SBo/gnucash-3.7/libgnucash/engine/gnc-budget.c:724:13:
        error: G_ADD_PRIVATE [-Werror]<br></div><div>   724 |     return
        recurrenceGetTime(&(GET_PRIVATE(bgt)->recurrence));<br></div><div>       |             ^~~~~~~~~~~~~~~<br></div><div> cc1: all warnings being treated as errors<br></div><div> make[2]: ***
        [libgnucash/engine/CMakeFiles/gncmod-engine.dir/build.make:237:
        libgnucash/engine/CMakeFiles/gncmod-engine.dir/Transaction.c.o]
        Error 1<br></div><div> make[2]: *** Waiting for unfinished jobs....<br></div><div> cc1: all warnings being treated as errors<br></div><div> make[2]: ***
        [libgnucash/engine/CMakeFiles/gncmod-engine.dir/build.make:307:
        libgnucash/engine/CMakeFiles/gncmod-engine.dir/gnc-budget.c.o]
        Error 1<br></div><div> cc1plus: all warnings being treated as errors<br></div><div> make[2]: ***
        [libgnucash/engine/CMakeFiles/gncmod-engine.dir/build.make:69:
        libgnucash/engine/CMakeFiles/gncmod-engine.dir/Account.cpp.o]
        Error 1<br></div><div> make[1]: *** [CMakeFiles/Makefile2:3965:
        libgnucash/engine/CMakeFiles/gncmod-engine.dir/all] Error 2<br></div><div> make: *** [Makefile:163: all] Error 2<br></div></blockquote><p><br></p><p>Took the advice of the error log and changed the
      gnucash.SlackBuild, to ignore warnings,  as follows -<br></p><p><br></p><blockquote type="cite"><div>51c51<br></div><div> <   SLKCFLAGS="-O2 -fPIC"<br></div><div> ---<br></div><div> >   SLKCFLAGS="-O2 -fPIC -Wno-error"<br></div></blockquote><p><br></p><p>It now compiles successfully. Have I -<br></p><ol><li>missed some new instructions on this list<br></li><li>got something missing on my system<br></li><li>or now simply do have to ignore warnings<br></li><li>or something else<br></li></ol><p>Comments will be most welcome.<br></p><p>Alex<br></p><p><br></p></blockquote><div><br></div>