guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Auto-compilation warning/errors caused by guild


From: Maxim Cournoyer
Subject: Auto-compilation warning/errors caused by guild
Date: Wed, 25 Jan 2017 20:09:37 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hello Guix,

I was looking at the build log of the "gnucash" package, trying to
investigate why it doesn't remember its settings, and stumbled on many
warning/errors like:

[...]
/gnu/store/70f2l7892914g6mv0w4hwfcmnd7xg2fs-guile-2.0.12/bin/guild compile -o 
de_DE.go de_DE.scm
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /gnu/store/70f2l7892914g6mv0w4hwfcmnd7xg2fs-guile-2.0.12/bin/guild
;;; WARNING: compilation of 
/gnu/store/70f2l7892914g6mv0w4hwfcmnd7xg2fs-guile-2.0.12/bin/guild failed:
;;; ERROR: failed to create path for auto-compiled file 
"/gnu/store/70f2l7892914g6mv0w4hwfcmnd7xg2fs-guile-2.0.12/bin/guild"
wrote `taxtxf.go'
[...]
Apparently these are caused by the fact that "guild" is a scheme script (it's 
part
of the guile package) which doesn't have a compiled version (a .go file)
in the store: when using this script guile tries to auto-compile it but
fails to write it (I guess because there is no $HOME and the store
location is read-only?)

Would it be possible to have our guile package(s) include any bundled
scheme file such as guild have their built ".go" counterpart? Would this
resolve these errors?

Failing that, I could add a the make flag GUILE_AUTO_COMPILE=0 in the
gnucash build recipe, but fixing the problem at its root would be much better.

Thanks,

Maxim

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]