(address . bug-guix@gnu.org)
Although lepton-eda installs pre-compiled Scheme .go files to
/share/lepton-eda/ccache/, the lepton-schematic program still triggers a
recompilation during launch. Here’s what I see when I launch the
program:
Toggle snippet (39 lines)
$ lepton-schematic -s gschemrc drum.sch
(lepton-schematic:14654): Gtk-WARNING **: 15:22:15.948: Unable to locate theme engine in module_path: "adwaita",
(lepton-schematic:14654): Gtk-WARNING **: 15:22:15.955: Unable to locate theme engine in module_path: "adwaita",
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/geda.scm
;;; compiled /home/rekado/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/geda.scm.go
;;; compiling /gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/geda-deprecated-config.scm
;;; compiled /home/rekado/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/geda-deprecated-config.scm.go
;;; compiling /gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/color-map.scm
;;; compiled /home/rekado/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/color-map.scm.go
;;; compiling /gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/conf/schematic/deprecated.scm
;;; conf/schematic/deprecated.scm:134:4: warning: non-literal format string
;;; conf/schematic/deprecated.scm:99:8: warning: possibly unbound variable `autoplace-pin-attributes'
;;; conf/schematic/deprecated.scm:125:0: warning: possibly unbound variable `place-netname-attribute-handler'
;;; conf/schematic/deprecated.scm:160:13: warning: possibly unbound variable `make-component/library'
;;; conf/schematic/deprecated.scm:165:19: warning: possibly unbound variable `promote-attribs!'
;;; conf/schematic/deprecated.scm:182:6: warning: possibly unbound variable `default-titleblock'
;;; compiled /home/rekado/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/conf/schematic/deprecated.scm.go
;;; compiling /gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/default-attrib-positions.scm
;;; compiled /home/rekado/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/default-attrib-positions.scm.go
;;; compiling /gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/auto-place-attribs.scm
;;; compiled /home/rekado/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/auto-place-attribs.scm.go
;;; compiling /gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/auto-place-netname.scm
;;; compiled /home/rekado/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/auto-place-netname.scm.go
;;; compiling /gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/conf/schematic/attribs.scm
;;; compiled /home/rekado/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/conf/schematic/attribs.scm.go
;;; compiling /gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/conf/schematic/stroke.scm
;;; compiled /home/rekado/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/conf/schematic/stroke.scm.go
;;; compiling /gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/conf/schematic/keys.scm
;;; compiled /home/rekado/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/conf/schematic/keys.scm.go
;;; compiling /gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/conf/schematic/menu.scm
;;; compiled /home/rekado/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/m13rb2am9iwh6zvfh9lqmkna1564kyv5-lepton-eda-1.9.11-20200604/share/lepton-eda/scheme/conf/schematic/menu.scm.go
;;; compiling /home/rekado/dev/schematics/drum/gschemrc
;;; compiled /home/rekado/.cache/guile/ccache/2.2-LE-8-3.A/home/rekado/dev/schematics/drum/gschemrc.go
Perhaps the directory /share/lepton-eda/ccache/ is wrong and should
instead be changed to /lib/guile/3.0/site-ccache?
--
Ricardo