Files
poky/meta/recipes-devtools
Ross Burton df91eb0278 guile: touch compiled modules on sstate install
When guile is installed from sstate, if the compiled files get a modified time
older than the source files then guile will produce warnings like this:

;;; note: source file /data/poky-master/tmp/sysroots/x86_64-linux/usr/share/guile/2.0/ice-9/boot-9.scm
;;; newer than compiled /data/poky-master/tmp/sysroots/x86_64-linux/usr/lib/guile/2.0/ccache/ice-9/boot-9.go

Not staging the files and letting guile re-compile them on demand won't work:

;;; compiling /data/poky-master/tmp/sysroots/x86_64-linux/usr/share/guile/2.0/system/base/compile.scm
;;; it seems /data/poky-master/tmp/sysroots/x86_64-linux/usr/share/guile/2.0/system/base/compile.scm
;;; is part of the compiler; skipping auto-compilation

So, use a sstate postinst function to explicitly touch the compiled files after
the extraction to ensure that they are fresher.

[ YOCTO #3370 ]

(From OE-Core rev: 1e96fea6c603a500e21b9cd4626ecd19049bf04b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-13 15:21:43 +00:00
..
2012-09-28 15:19:39 +01:00
2012-07-28 09:20:51 +01:00
2012-01-03 12:14:31 +00:00
2012-09-02 05:52:07 -07:00
2012-10-03 10:04:56 +01:00
2012-09-02 05:52:10 -07:00
2012-02-28 12:27:46 +00:00
2012-09-28 15:19:39 +01:00
2012-09-21 11:10:21 +01:00
2012-02-26 22:51:58 +00:00
2011-07-20 15:27:36 +01:00
2011-11-29 11:22:04 +00:00
2012-05-08 14:49:15 +01:00
2012-07-17 10:54:01 +01:00
2012-09-24 12:13:49 +01:00
2011-12-08 15:24:32 +00:00
2012-08-19 10:46:39 +01:00