Il giorno gio 13 ott 2022 alle 00:29:15 +0200, Federico Bruni
<f...@inventati.org> ha scritto:
Il giorno mer 12 ott 2022 alle 23:59:32 +0200, Federico Bruni
<f...@inventati.org> ha scritto:
I'll have to find a solution when building the flatpak.
Waiting for minutes or hours while CPU hits 100% is not an option.
For the records, another application using Guile (GNU Cash) had the
same problem with flatpak three years ago.
Their workaround was disabling recompilation. Bad idea or good idea?
https://github.com/flathub/org.gnucash.GnuCash/blob/master/patches/0001-Never-recompile.patch
Open issue which did not receive any feedback from flatpak developers:
https://github.com/flatpak/flatpak/issues/3064
Today I noticed that the current Frescobaldi flatpak (LilyPond 2.23.80)
doesn't hang, but it always prints a wall of annoying messages like:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
lilypond 2.23.80 [Senza nome] in avvio...
;;; note: source file /app/share/guile/2.2/ice-9/psyntax-pp.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/ice-9/psyntax-pp.go
;;; note: source file /app/share/guile/2.2/srfi/srfi-1.scm
;;; newer than compiled /app/lib/guile/2.2/ccache/srfi/srfi-1.go
;;; note: source file /app/share/guile/2.2/srfi/srfi-9.scm
;;; newer than compiled /app/lib/guile/2.2/ccache/srfi/srfi-9.go
;;; note: source file /app/share/guile/2.2/srfi/srfi-9/gnu.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/srfi/srfi-9/gnu.go
;;; note: source file /app/share/guile/2.2/srfi/srfi-11.scm
;;; newer than compiled /app/lib/guile/2.2/ccache/srfi/srfi-11.go
;;; note: source file /app/share/guile/2.2/rnrs/bytevectors.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/rnrs/bytevectors.go
;;; note: source file /app/share/guile/2.2/system/base/compile.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/system/base/compile.go
;;; note: source file /app/share/guile/2.2/system/vm/vm.scm
;;; newer than compiled /app/lib/guile/2.2/ccache/system/vm/vm.go
;;; note: source file /app/share/guile/2.2/language/tree-il/optimize.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/tree-il/optimize.go
;;; note: source file
/app/share/guile/2.2/language/tree-il/primitives.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/tree-il/primitives.go
;;; note: source file /app/share/guile/2.2/language/tree-il/peval.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/tree-il/peval.go
;;; note: source file /app/share/guile/2.2/language/tree-il/effects.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/tree-il/effects.go
;;; note: source file
/app/share/guile/2.2/language/tree-il/fix-letrec.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/tree-il/fix-letrec.go
;;; note: source file /app/share/guile/2.2/language/cps/optimize.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/cps/optimize.go
;;; note: source file /app/share/guile/2.2/language/cps/constructors.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/cps/constructors.go
;;; note: source file /app/share/guile/2.2/language/cps.scm
;;; newer than compiled /app/lib/guile/2.2/ccache/language/cps.go
;;; note: source file /app/share/guile/2.2/language/cps/intmap.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/cps/intmap.go
;;; note: source file /app/share/guile/2.2/language/cps/with-cps.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/cps/with-cps.go
;;; note: source file
/app/share/guile/2.2/language/cps/contification.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/cps/contification.go
;;; note: source file /app/share/guile/2.2/language/cps/renumber.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/cps/renumber.go
;;; note: source file /app/share/guile/2.2/language/cps/cse.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/cps/cse.go
;;; note: source file
/app/share/guile/2.2/language/cps/effects-analysis.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/cps/effects-analysis.go
;;; note: source file /app/share/guile/2.2/language/cps/dce.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/cps/dce.go
;;; note: source file /app/share/guile/2.2/language/cps/types.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/cps/types.go
;;; note: source file /app/share/guile/2.2/language/cps/licm.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/cps/licm.go
;;; note: source file /app/share/guile/2.2/language/cps/peel-loops.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/cps/peel-loops.go
;;; note: source file /app/share/guile/2.2/language/cps/simplify.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/cps/simplify.go
;;; note: source file
/app/share/guile/2.2/language/cps/specialize-primcalls.scm
;;; newer than compiled Processing
`/tmp/frescobaldi-_njz_6q3/tmpauumw2bn/document.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `document.pdf'...
/app/lib/guile/2.2/ccache/language/cps/specialize-primcalls.go
;;; note: source file
/app/share/guile/2.2/language/cps/specialize-numbers.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/cps/specialize-numbers.go
;;; note: source file /app/share/guile/2.2/system/foreign.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/system/foreign.go
;;; note: source file /app/share/guile/2.2/language/cps/verify.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/cps/verify.go
;;; note: source file /app/share/guile/2.2/language/cps/primitives.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/cps/primitives.go
;;; note: source file /app/share/guile/2.2/ice-9/rdelim.scm
;;; newer than compiled /app/lib/guile/2.2/ccache/ice-9/rdelim.go
;;; note: source file
/app/dev/share/lilypond/2.23.80/scm/lily/curried-definitions.scm
;;; newer than compiled
/app/dev/lib/lilypond/2.23.80/ccache/lily/curried-definitions.go
;;; note: source file
/app/dev/share/lilypond/2.23.80/scm/lily/output-lib.scm
;;; newer than compiled
/app/dev/lib/lilypond/2.23.80/ccache/lily/output-lib.go
;;; note: source file
/app/dev/share/lilypond/2.23.80/scm/lily/parser-ly-from-scheme.scm
;;; newer than compiled
/app/dev/lib/lilypond/2.23.80/ccache/lily/parser-ly-from-scheme.go
;;; note: source file /app/share/guile/2.2/system/vm/program.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/system/vm/program.go
;;; note: source file /app/share/guile/2.2/system/vm/loader.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/system/vm/loader.go
;;; note: source file
/app/dev/share/lilypond/2.23.80/scm/lily/chord-name.scm
;;; newer than compiled
/app/dev/lib/lilypond/2.23.80/ccache/lily/chord-name.go
;;; note: source file
/app/dev/share/lilypond/2.23.80/scm/lily/bar-line.scm
;;; newer than compiled
/app/dev/lib/lilypond/2.23.80/ccache/lily/bar-line.go
;;; note: source file
/app/dev/share/lilypond/2.23.80/scm/lily/flag-styles.scm
;;; newer than compiled
/app/dev/lib/lilypond/2.23.80/ccache/lily/flag-styles.go
;;; note: source file
/app/dev/share/lilypond/2.23.80/scm/lily/scheme-engravers.scm
;;; newer than compiled
/app/dev/lib/lilypond/2.23.80/ccache/lily/scheme-engravers.go
;;; note: source file
/app/dev/share/lilypond/2.23.80/scm/lily/titling.scm
;;; newer than compiled
/app/dev/lib/lilypond/2.23.80/ccache/lily/titling.go
;;; note: source file /app/share/guile/2.2/language/scheme/spec.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/scheme/spec.go
;;; note: source file
/app/share/guile/2.2/language/scheme/compile-tree-il.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/scheme/compile-tree-il.go
;;; note: source file
/app/share/guile/2.2/language/scheme/decompile-tree-il.scm
;;; newer than compiled
/app/lib/guile/2.2/ccache/language/scheme/decompile-tree-il.go
;;; note: source file /app/share/guile/2.2/ice-9/iconv.scm
;;; newer than compiled /app/lib/guile/2.2/ccache/ice-9/iconv.go
Success: compilation successfully completed
Completato con successo in 1.1".
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
I though that disabling Scheme recompilation would have also stopped
this check.
Here's the PR where I introduced the change:
https://github.com/flathub/org.frescobaldi.Frescobaldi/pull/14
How can I disable these messages?