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

2019-10-23 Thread Matteo Bernardini
Il giorno mer 23 ott 2019 alle ore 19:30 mcmurchy1917techy via
SlackBuilds-users  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
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



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

2019-10-23 Thread Logan Rathbone
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
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



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

2019-10-23 Thread mcmurchy1917techy via SlackBuilds-users

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


___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/