[opensuse-packaging] Re: GnuCash in 12.1 (Was: [reminder] openSUSE 12.1 Goldmaster is next week)
On Wed, Nov 02, 2011 at 02:51:31PM +0100, Dominique Leuenberger wrote:
On Wed, 2011-11-02 at 14:42 +0100, Petr Gajdos wrote:
On Wed, Nov 02, 2011 at 02:08:43PM +0100, Stephan Kulow wrote:
gnucash currently builds but does not work because it /requires/ guile versions less than 2.0, which are not (yet) present in openSUSE 12.1. To "fix" gnucash, a guile1 package would have to be made available and gnucash would have to build with it. Is that the sort of thing that would be possible after RC2? Removing gnucash is still an option, yes.
guile1 is available in multimedia:libs thanks to Dave Plater. Could I help with it somehow?
Petr
Petr,
The 'nice' fix to get would actually be a real fix on gnucash for guile 1 / 2 conversion.
Together with upstream there was a lot of work undertaken already to build it (which succeeds with all the patches we have, which is also part of the 2.4.8 release), but runtime actually fails to load guile based modules (Also the test suite of gnucash fails on that one).
bgo#655901 has some more information about this issue.
Dominique, here are steps, that caused GnuCash start at least on my factory system (hopefuly I didn't forgot something): 1. apply patch to gnucash enclosed, build and install it see http://blog.peter-b.co.uk/2011/06/geda-and-guile-dealing-with-deprecated.htm... 2. remove maxdepth setting from /usr/share/gnucash/guile-modules/gnucash/main.scm 3. replace all occurences of N_ by _ in all files in /usr/share/gnucash/guile-modules/gnucash/report /usr/share/gnucash/guile-modules/gnucash/report/standard-reports It is surely not perfect, but only way I found in short time I have for that. I'll investigate it further. Petr
On Thu, Nov 3, 2011 at 5:52 AM, Petr Gajdos <pgajdos@suse.cz> wrote:
On Wed, Nov 02, 2011 at 02:51:31PM +0100, Dominique Leuenberger wrote:
On Wed, 2011-11-02 at 14:42 +0100, Petr Gajdos wrote:
On Wed, Nov 02, 2011 at 02:08:43PM +0100, Stephan Kulow wrote:
gnucash currently builds but does not work because it /requires/ guile versions less than 2.0, which are not (yet) present in openSUSE 12.1. To "fix" gnucash, a guile1 package would have to be made available and gnucash would have to build with it. Is that the sort of thing that would be possible after RC2? Removing gnucash is still an option, yes.
guile1 is available in multimedia:libs thanks to Dave Plater. Could I help with it somehow?
Petr
Petr,
The 'nice' fix to get would actually be a real fix on gnucash for guile 1 / 2 conversion.
Together with upstream there was a lot of work undertaken already to build it (which succeeds with all the patches we have, which is also part of the 2.4.8 release), but runtime actually fails to load guile based modules (Also the test suite of gnucash fails on that one).
bgo#655901 has some more information about this issue.
Dominique,
here are steps, that caused GnuCash start at least on my factory system (hopefuly I didn't forgot something):
1. apply patch to gnucash enclosed, build and install it see http://blog.peter-b.co.uk/2011/06/geda-and-guile-dealing-with-deprecated.htm... 2. remove maxdepth setting from /usr/share/gnucash/guile-modules/gnucash/main.scm 3. replace all occurences of N_ by _ in all files in /usr/share/gnucash/guile-modules/gnucash/report /usr/share/gnucash/guile-modules/gnucash/report/standard-reports
It is surely not perfect, but only way I found in short time I have for that. I'll investigate it further.
While a 'gnucash that works with guile 2.0' is a laudable goal, in the interests of providing a gnucash that is less likely to have issues wouldn't simply providing a guile1 (and guile1-devel) package and having gnucash build against that be safer? At least for 12.1 ? -- Jon -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Thu, 2011-11-03 at 11:52 +0100, Petr Gajdos wrote:
Dominique,
here are steps, that caused GnuCash start at least on my factory system (hopefuly I didn't forgot something):
1. apply patch to gnucash enclosed, build and install it see http://blog.peter-b.co.uk/2011/06/geda-and-guile-dealing-with-deprecated.htm... 2. remove maxdepth setting from /usr/share/gnucash/guile-modules/gnucash/main.scm 3. replace all occurences of N_ by _ in all files in /usr/share/gnucash/guile-modules/gnucash/report /usr/share/gnucash/guile-modules/gnucash/report/standard-reports
Thanks! Based on that I created a package in home:dimstar:branches:GNOME:Apps that starts. Anybody run and give it a test! Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Thu, Nov 3, 2011 at 11:39 AM, Dimstar / Dominique Leuenberger <dimstar@opensuse.org> wrote:
On Thu, 2011-11-03 at 11:52 +0100, Petr Gajdos wrote:
Dominique,
here are steps, that caused GnuCash start at least on my factory system (hopefuly I didn't forgot something):
1. apply patch to gnucash enclosed, build and install it see http://blog.peter-b.co.uk/2011/06/geda-and-guile-dealing-with-deprecated.htm... 2. remove maxdepth setting from /usr/share/gnucash/guile-modules/gnucash/main.scm 3. replace all occurences of N_ by _ in all files in /usr/share/gnucash/guile-modules/gnucash/report /usr/share/gnucash/guile-modules/gnucash/report/standard-reports
Thanks!
Based on that I created a package in home:dimstar:branches:GNOME:Apps that starts.
Anybody run and give it a test!
I will try to perform a more exhaustive test soon, but a quick run and open and click-about shows that your packages do, indeed, appear to work. What's the likelihood that (assuming more successful testing) that this can become an update for 12.1? -- Jon -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sat, Nov 12, 2011 at 7:59 PM, Jon Nelson <jnelson-suse@jamponi.net> wrote:
On Thu, Nov 3, 2011 at 11:39 AM, Dimstar / Dominique Leuenberger <dimstar@opensuse.org> wrote:
On Thu, 2011-11-03 at 11:52 +0100, Petr Gajdos wrote:
Dominique,
here are steps, that caused GnuCash start at least on my factory system (hopefuly I didn't forgot something):
1. apply patch to gnucash enclosed, build and install it see http://blog.peter-b.co.uk/2011/06/geda-and-guile-dealing-with-deprecated.htm... 2. remove maxdepth setting from /usr/share/gnucash/guile-modules/gnucash/main.scm 3. replace all occurences of N_ by _ in all files in /usr/share/gnucash/guile-modules/gnucash/report /usr/share/gnucash/guile-modules/gnucash/report/standard-reports
Thanks!
Based on that I created a package in home:dimstar:branches:GNOME:Apps that starts.
Anybody run and give it a test!
I will try to perform a more exhaustive test soon, but a quick run and open and click-about shows that your packages do, indeed, appear to work.
Unfortunately, the the reports do not seem to work. I see this: ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /usr/share/gnucash/guile-modules/gnucash/core-utils.scm ;;; WARNING: compilation of /usr/share/gnucash/guile-modules/gnucash/core-utils.scm failed: ;;; ERROR: no code for module (sw_core_utils) ;;; compiling /usr/share/gnucash/guile-modules/gnucash/gnc-module.scm ;;; WARNING: compilation of /usr/share/gnucash/guile-modules/gnucash/gnc-module.scm failed: ;;; ERROR: no code for module (sw_gnc_module) ;;; compiling /usr/share/gnucash/guile-modules/gnucash/app-utils.scm ;;; WARNING: compilation of /usr/share/gnucash/guile-modules/gnucash/app-utils.scm failed: ;;; ERROR: Undefined variable: HOOK-SAVE-OPTIONS ;;; compiling /usr/share/gnucash/guile-modules/gnucash/import-export/qif-import.scm ;;; WARNING: compilation of /usr/share/gnucash/guile-modules/gnucash/import-export/qif-import.scm failed: ;;; ERROR: no code for module (sw_gnome) ;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/balsheet-eg.scm ;;; WARNING: compilation of /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/balsheet-eg.scm failed: ;;; ERROR: Wrong type to apply: #<syntax-transformer N_> ;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/eguile-utilities.scm ;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/business-reports.scm ;;; WARNING: compilation of /usr/share/gnucash/guile-modules/gnucash/report/business-reports.scm failed: ;;; ERROR: In procedure #<procedure 391a240 ()>: Unbound variable: gnc:menuname-business-reports ;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/taxinvoice.scm ;;; WARNING: compilation of /usr/share/gnucash/guile-modules/gnucash/report/taxinvoice.scm failed: ;;; ERROR: Syntax error: ;;; unknown location: source expression failed to match any pattern in form do ;;; WARNING: compilation of /usr/share/gnucash/guile-modules/gnucash/report/eguile-utilities.scm failed: ;;; ERROR: Syntax error: ;;; unknown location: source expression failed to match any pattern in form do WARNING: (gnucash report eguile-utilities): `gnc-build-dotgnucash-path' imported from both (gnucash core-utils) and (sw_engine) WARNING: (gnucash main): `gnc-build-dotgnucash-path' imported from both (gnucash core-utils) and (sw_engine) WARNING: (gnucash report report-system): `GNC-DENOM-AUTO' imported from both (sw_engine) and (gnucash engine) -- Jon -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sat, Nov 12, 2011 at 08:08:04PM -0600, Jon Nelson wrote:
Unfortunately, the the reports do not seem to work.
I see this: ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /usr/share/gnucash/guile-modules/gnucash/core-utils.scm ;;; WARNING: compilation of /usr/share/gnucash/guile-modules/gnucash/core-utils.scm failed: ;;; ERROR: no code for module (sw_core_utils) ;;; compiling /usr/share/gnucash/guile-modules/gnucash/gnc-module.scm ;;; WARNING: compilation of /usr/share/gnucash/guile-modules/gnucash/gnc-module.scm failed: ;;; ERROR: no code for module (sw_gnc_module) ;;; compiling /usr/share/gnucash/guile-modules/gnucash/app-utils.scm ;;; WARNING: compilation of /usr/share/gnucash/guile-modules/gnucash/app-utils.scm failed: ;;; ERROR: Undefined variable: HOOK-SAVE-OPTIONS ;;; compiling /usr/share/gnucash/guile-modules/gnucash/import-export/qif-import.scm ;;; WARNING: compilation of /usr/share/gnucash/guile-modules/gnucash/import-export/qif-import.scm failed: ;;; ERROR: no code for module (sw_gnome) ;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/balsheet-eg.scm ;;; WARNING: compilation of /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/balsheet-eg.scm failed: ;;; ERROR: Wrong type to apply: #<syntax-transformer N_> ;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/eguile-utilities.scm ;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/business-reports.scm ;;; WARNING: compilation of /usr/share/gnucash/guile-modules/gnucash/report/business-reports.scm failed: ;;; ERROR: In procedure #<procedure 391a240 ()>: Unbound variable: gnc:menuname-business-reports ;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/taxinvoice.scm ;;; WARNING: compilation of /usr/share/gnucash/guile-modules/gnucash/report/taxinvoice.scm failed: ;;; ERROR: Syntax error: ;;; unknown location: source expression failed to match any pattern in form do ;;; WARNING: compilation of /usr/share/gnucash/guile-modules/gnucash/report/eguile-utilities.scm failed: ;;; ERROR: Syntax error: ;;; unknown location: source expression failed to match any pattern in form do WARNING: (gnucash report eguile-utilities): `gnc-build-dotgnucash-path' imported from both (gnucash core-utils) and (sw_engine) WARNING: (gnucash main): `gnc-build-dotgnucash-path' imported from both (gnucash core-utils) and (sw_engine) WARNING: (gnucash report report-system): `GNC-DENOM-AUTO' imported from both (sw_engine) and (gnucash engine)
I will try to investigate it, as time permits. Petr
On Sat, 2011-11-12 at 19:59 -0600, Jon Nelson wrote:
I will try to perform a more exhaustive test soon, but a quick run and open and click-about shows that your packages do, indeed, appear to work. What's the likelihood that (assuming more successful testing) that this can become an update for 12.1?
Thanks for your time and efforts! As soon as we get a gnucash together (also together with upstream) that works, the online update should not cause any problem. After all we would replace a non-working package with a working one... could there be a better argument? Unfortunately, it seems, this package still has some lacking features. The fact that a bunch of it is written in guile doesn't make it easier to debug. The more exotic the languages, the less people you can find to debug the stuff :( Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
Dimstar / Dominique Leuenberger
-
Jon Nelson
-
Petr Gajdos